Re: [Syzkaller & bisect] There is "sys_perf_event_open" soft lockup BUG in v6.3-rc2 kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux