Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1170390pxk; Fri, 25 Sep 2020 07:58:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUpOaK9032rNZwTmj1yQcqMejXV9WI/DAkjLYza6vVwwfzoLL+Hms852bq6/Ihz8dwtBCu X-Received: by 2002:a17:906:f1d5:: with SMTP id gx21mr2912749ejb.165.1601045922601; Fri, 25 Sep 2020 07:58:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601045922; cv=none; d=google.com; s=arc-20160816; b=XztU8UPAyfH4Hr6f3+QEWxq4IEBxpTSfShXppp962xuiuzjSw1vGrngC4V4ls6arY4 fghn6lQ04hQLVlaa8QZhWt3xUn33XlYOLwoCIS5BOhKDkz1sp7PhWqzlIWXELoeRAucc ZezADl5WQFKO2xK67qH1aj2VkUq9ETdfxqx3HbLkJTBhQVGMzJM9GlcYt3bzFFH4MlXj KHntyD1iA/EOKYojmL86fUaHkW0I/+yzf86u4HnLRf88q6S5DJHRyq66URcuFxjxT72z AAiHSi6T36hOVdaaWVXUi3GM0GcmLYz50LYDO5fASwCbLfgPLsaqU5Ucgpxehm+20cVQ v2yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=jdsVcBFQ9ypbzt+EABZZO3KI1wjxLgzdtBy6jIJV8BA=; b=kWC7NQGHvkPsw6WKdixxgmZyqvJpv77GvwGjUThEmvuCI6v0GsGYghUkqD6K0DNTGq GgOvZtBY3ig2rlVvfSoW2oh+Cq+qPwfRU3qS4lxBOfnmwU3xyEws3iAnRfAfcY7wqGt7 4gdj9sPUnut2YcWQqvHRhcgPatKnqkF4EuTYh9bcKIFVsv0dc1k9F4bsziArHEaA5sUV yD8/RjGhN+GORuiKYvv8r9BcY4T1iFQqXKkAtB2PTADcZIwPfibsF4OF4ImPf5JlKl5J WhqIq9u6lQ1nPeMEEqzhjbzE+rCiWHpEN7MSeKGTJaNZNuw4v4b3EdgO6IrKeDRwtgRw aTcQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n25si1987955ejc.572.2020.09.25.07.58.17; Fri, 25 Sep 2020 07:58:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729040AbgIYOzD (ORCPT + 99 others); Fri, 25 Sep 2020 10:55:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:37408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728330AbgIYOzC (ORCPT ); Fri, 25 Sep 2020 10:55:02 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 145BC2074B; Fri, 25 Sep 2020 14:55:00 +0000 (UTC) Date: Fri, 25 Sep 2020 10:54:58 -0400 From: Steven Rostedt To: Naresh Kamboju Cc: Greg Kroah-Hartman , Joel Fernandes , Peter Zijlstra , Namhyung Kim , LKML , linux- stable , Sasha Levin , Masami Hiramatsu , LTP List , lkft-triage@lists.linaro.org Subject: Re: [stable 4.19] [PANIC]: tracing: Centralize preemptirq tracepoints and unify their usage Message-ID: <20200925105458.567d0bf4@oasis.local.home> In-Reply-To: References: <20180823023839.GA13343@shao2-debian> <20180828195347.GA228832@joelaf.mtv.corp.google.com> <20200925051518.GA605188@kroah.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Sep 2020 12:55:13 +0530 Naresh Kamboju wrote: > On Fri, 25 Sep 2020 at 10:45, Greg Kroah-Hartman > wrote: > > > > On Fri, Sep 25, 2020 at 10:13:05AM +0530, Naresh Kamboju wrote: > > > >From stable rc 4.18.1 onwards to today's stable rc 4.19.147 > > > > > > There are two problems while running LTP tracing tests > > > 1) kernel panic on i386, qemu_i386, x86_64 and qemu_x86_64 [1] > > > 2) " segfault at 0 ip " and "Code: Bad RIP value" on x86_64 and qemu_x86_64 [2] > > > Please refer to the full test logs from below links. > > > > > > The first bad commit found by git bisect. > > > commit: c3bc8fd637a9623f5c507bd18f9677effbddf584 > > > tracing: Centralize preemptirq tracepoints and unify their usage > > > > > > Reported-by: Naresh Kamboju > > > > So this also is reproducable in 5.4 and Linus's tree right now? > > No. > The reported issues are not reproducible on 5.4, 5.8 and Linus's tree. The crash looks like its cr3 related, which I believe Peter Zijlstra did a restructuring of that code to not let it be an issue anymore. I'll have to look deeper. The rework may be too intrusive to backport, but we do have other work arounds for this issue if that would be acceptable for backporting. > > > > > Or are newer kernels working fine? > > No. > There are different issues while testing LTP tracing on 5.4, 5.8 and > Linus 's 5.9. > > NETDEV WATCHDOG: eth0 (igb): transmit queue 2 timed out > WARNING: CPU: 1 PID: 331 at net/sched/sch_generic.c:442 dev_watchdog+0x4c7/0x4d0 > https://lore.kernel.org/stable/CA+G9fYtS_nAX=sPV8zTTs-nOdpJ4uxk9sqeHOZNuS4WLvBcPGg@mail.gmail.com/ > > I see this on 5.4, 5.8 and Linus 's 5.9. > rcu: INFO: rcu_sched self-detected stall on CPU > ? ftrace_graph_caller+0xc0/0xc0 > https://lore.kernel.org/stable/CA+G9fYsdTLRj55_bvod8Sf+0zvK0RRMp5+FeJcOx5oAcAKOGXA@mail.gmail.com/T/#u I've seen that too and couldn't bisect it down to any such commit. I'm not sure if it is even a bug per-se, because in my test suite, I've commented out the warning, and the system still remains stable. -- Steve