[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210211323.6916d5f9-oliver.sang@intel.com>
Date: Fri, 21 Oct 2022 13:51:52 +0800
From: kernel test robot <oliver.sang@...el.com>
To: "Paul E. McKenney" <paulmck@...ux.ibm.com>
CC: <lkp@...ts.01.org>, <lkp@...el.com>,
Andrea Parri <andrea.parri@...rulasolutions.com>,
<linux-kernel@...r.kernel.org>, <rcu@...r.kernel.org>
Subject: [rcutorture] c682db558e:
WARNING:at_kernel/rcu/rcutorture.c:#synchronize_rcu_trivial[rcutorture]
Greeting,
FYI, we noticed WARNING:at_kernel/rcu/rcutorture.c:#synchronize_rcu_trivial[rcutorture] due to commit (built with gcc-11):
commit: c682db558e6eec10a711b0a6bcb8c35fd15f6a39 ("rcutorture: Add trivial RCU implementation")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: rcutorture
version:
with following parameters:
runtime: 300s
test: default
torture_type: trivial
test-description: rcutorture is rcutorture kernel module load/unload test.
test-url: https://www.kernel.org/doc/Documentation/RCU/torture.txt
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Link: https://lore.kernel.org/r/202210211323.6916d5f9-oliver.sang@intel.com
[ 81.535925][ T557] WARNING: CPU: 1 PID: 557 at kernel/rcu/rcutorture.c:686 synchronize_rcu_trivial+0x68/0x80 [rcutorture]
[ 81.537317][ T557] Modules linked in: rcutorture torture crct10dif_pclmul crc32_pclmul input_leds serio_raw evbug evdev qemu_fw_cfg fuse autofs4
[ 81.538869][ T557] CPU: 1 PID: 557 Comm: rcu_torture_fak Not tainted 5.2.0-rc1-00012-gc682db558e6ee #1
[ 81.539977][ T557] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-4 04/01/2014
[ 81.541185][ T557] RIP: 0010:synchronize_rcu_trivial+0x68/0x80 [rcutorture]
[ 81.542034][ T557] Code: 10 e1 65 8b 05 19 75 fa 5f 39 c5 75 1d 89 ef 48 c7 c6 68 e7 42 82 e8 97 69 89 e1 3b 05 65 5c 3c e2 89 c5 72 b1 5b 5d 41 5c c3 <0f> 0b eb df 48 89 de 48 c7 c7 40 2c 07 a0 e8 c5 3e 47 e1 eb a6 0f
[ 81.544415][ T557] RSP: 0018:ffff8884013e3eb8 EFLAGS: 00010297
[ 81.545128][ T557] RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000
[ 81.546055][ T557] RDX: 0000000000000003 RSI: 0000000000000006 RDI: ffff8884011c4000
[ 81.551600][ T557] RBP: 0000000000000000 R08: 00000012fbeab273 R09: 0000000000000000
[ 81.552536][ T557] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8884011c4000
[ 81.553475][ T557] R13: 0000000000000000 R14: ffff8883fb4f8140 R15: ffff8884010a7c78
[ 81.570759][ T557] FS: 0000000000000000(0000) GS:ffff88843fc00000(0000) knlGS:0000000000000000
[ 81.571728][ T557] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 81.572437][ T557] CR2: 0000000000451c00 CR3: 0000000401451000 CR4: 00000000000406a0
[ 81.573298][ T557] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 81.574145][ T557] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 81.575015][ T557] Call Trace:
[ 81.575382][ T557] rcu_torture_fakewriter+0x18f/0x1b0 [rcutorture]
[ 81.576090][ T557] kthread+0xfc/0x130
[ 81.576522][ T557] ? srcu_read_delay+0x80/0x80 [rcutorture]
[ 81.577157][ T557] ? kthread_park+0x80/0x80
[ 81.577651][ T557] ret_from_fork+0x3a/0x50
[ 81.578127][ T557] irq event stamp: 53978
[ 81.579697][ T557] hardirqs last enabled at (53977): [<ffffffff81926454>] _raw_spin_unlock_irq+0x24/0x30
[ 81.581466][ T557] hardirqs last disabled at (53978): [<ffffffff810025d7>] trace_hardirqs_off_thunk+0x1a/0x1c
[ 81.582712][ T557] softirqs last enabled at (53650): [<ffffffff81c002a7>] __do_softirq+0x2a7/0x57f
[ 81.584032][ T557] softirqs last disabled at (53645): [<ffffffff810ed04a>] irq_exit+0x8a/0xc0
[ 81.584975][ T557] ---[ end trace 5c545242e2860e7a ]---
To reproduce:
# build kernel
cd linux
cp config-5.2.0-rc1-00012-gc682db558e6ee .config
make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config-5.2.0-rc1-00012-gc682db558e6ee" of type "text/plain" (123297 bytes)
View attachment "job-script" of type "text/plain" (5357 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (29128 bytes)
View attachment "rcutorture" of type "text/plain" (6161 bytes)
Powered by blists - more mailing lists