Linux RCU subsystem development
 help / color / mirror / Atom feed
From: Pengfei Xu <pengfei.xu@intel.com>
To: Frederic Weisbecker <frederic@kernel.org>
Cc: <boqun.feng@gmail.com>, <quic_neeraju@quicinc.com>,
	<paulmck@kernel.org>, <heng.su@intel.com>, <lkp@intel.com>,
	<peterz@infradead.org>, <rcu@vger.kernel.org>
Subject: Re: [Syzkaller & bisect] There is "sys_perf_event_open" soft lockup BUG in v6.3-rc2 kernel
Date: Sat, 18 Mar 2023 10:32:17 +0800	[thread overview]
Message-ID: <ZBUisfcPvXzqrSQh@xpf.sh.intel.com> (raw)
In-Reply-To: <ZBR0qFQYoq4+2sXC@lothringen>

Hi Frederic Weisbecker,

On 2023-03-17 at 15:09:44 +0100, Frederic Weisbecker wrote:
> On Fri, Mar 17, 2023 at 03:48:33PM +0800, Pengfei Xu wrote:
> > Hi Frederic Weisbecker and kernel experts,
> > 
> > Platform: x86 platforms
> > There is "sys_perf_event_open" soft lockup BUG in v6.3-rc2 kernel in guest.
> 
> I can reproduce with you tests which is based on v6.2-rc5. However when
> I forward port your .config to a v6.3-rc2, the issue doesn't trigger anymore.
> 
> Did you manage to reproduce on v6.3-rc2? And if so do you still have the related
> .config ?
> 
  Ah, I fogot to say: kconfig_origin will be changed after "make olddefconfig",
  there were many items changed in .config after "make olddefconfig" in v6.3-rc2.

 I used below way to make the .config.
 1. Copy the kconfig origin to .config: https://github.com/xupengfe/syzkaller_logs/blob/main/230316_062127_sys_perf_event_open/kconfig_origin
 2. Fogort that the bisect script will change .config: CONFIG_LOCALVERSION="-kvm"  ->  CONFIG_LOCALVERSION="-eeac8ede1755", seems to have little effect.
 3. make olddefconfig  // Then .config will be changed in v6.3-rc2 kernel code.
    Put .config after make olddefconfig in link:
    https://github.com/xupengfe/syzkaller_logs/blob/main/230316_062127_sys_perf_event_open/kconfig_v6.3-rc2_after_make_olddefconfig
 4. make -jx bzImage   //x should equal or less than cpu num your pc has

    Put v6.3-rc2 bzImage in link:
    https://github.com/xupengfe/syzkaller_logs/blob/main/230316_062127_sys_perf_event_open/bzImage_eeac8ede17557680855031c6f305ece2378af326

And it could be reproduced after maunally test in 150s.
v6.3-rc2 reproduced dmesg:
https://github.com/xupengfe/syzkaller_logs/blob/main/230316_062127_sys_perf_event_open/v6.3-rc2_perf_related_problem_dmesg.log

And it could be reproduced on our ADL-N client x86 PC in guest.

Thanks!
BR.
-Pengfei

> Thanks.

  reply	other threads:[~2023-03-18  2:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-17  7:48 [Syzkaller & bisect] There is "sys_perf_event_open" soft lockup BUG in v6.3-rc2 kernel Pengfei Xu
2023-03-17 14:09 ` Frederic Weisbecker
2023-03-18  2:32   ` Pengfei Xu [this message]
2023-03-20 16:48     ` Frederic Weisbecker
2023-03-21  5:53       ` Pengfei Xu
2023-03-22  7:19         ` Pengfei Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZBUisfcPvXzqrSQh@xpf.sh.intel.com \
    --to=pengfei.xu@intel.com \
    --cc=boqun.feng@gmail.com \
    --cc=frederic@kernel.org \
    --cc=heng.su@intel.com \
    --cc=lkp@intel.com \
    --cc=paulmck@kernel.org \
    --cc=peterz@infradead.org \
    --cc=quic_neeraju@quicinc.com \
    --cc=rcu@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox