[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211203011548.GA5881@xsang-OptiPlex-9020>
Date: Fri, 3 Dec 2021 09:15:48 +0800
From: kernel test robot <oliver.sang@...el.com>
To: "Paul E. McKenney" <paulmck@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
lkp@...el.com
Subject: [rcutorture] 46faccd527:
WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_writer[rcutorture]
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 46faccd52724dc4f779da6c328b8d894846b8e30 ("rcutorture: More thoroughly test nested readers")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2021.11.30b
in testcase: rcutorture
version:
with following parameters:
runtime: 300s
test: default
torture_type: srcu
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-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------------------------+------------+------------+
| | bcc46f0b2a | 46faccd527 |
+--------------------------------------------------------------------+------------+------------+
| boot_successes | 55 | 35 |
| boot_failures | 0 | 20 |
| WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_writer[rcutorture] | 0 | 20 |
| EIP:rcu_torture_writer | 0 | 20 |
| calltrace:do_softirq_own_stack | 0 | 12 |
+--------------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>
[ 325.115664][ T529] ------------[ cut here ]------------
[ 325.116845][ T529] rcu_torture_writer: rtort_pipe_count: 4
[ 325.117999][ T529] WARNING: CPU: 0 PID: 529 at kernel/rcu/rcutorture.c:1278 rcu_torture_writer+0x590/0x6f0 [rcutorture]
[ 325.120374][ T529] Modules linked in: rcutorture torture
[ 325.121573][ T529] CPU: 0 PID: 529 Comm: rcu_torture_wri Not tainted 5.16.0-rc1-00037-g46faccd52724 #1 b5cf7d385afc57ab3fa152cf43de31cbfe88ce04
[ 325.124250][ T529] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 325.126067][ T529] EIP: rcu_torture_writer+0x590/0x6f0 [rcutorture]
[ 325.127582][ T529] Code: b8 01 00 00 00 87 05 70 a1 72 f7 85 c0 74 2b 83 ff 63 0f 87 20 01 00 00 ff 73 fc 68 9c 7b 72 f7 68 d4 75 72 f7 e8 9d ef 31 ca <0f> 0b 83
c4 0c eb 89 8d b4 26 00 00 00 00 66 90 e8 9b 8d 9e c9 8b
[ 325.131635][ T529] EAX: 00000027 EBX: f772b034 ECX: c2351948 EDX: 00000001
[ 325.133071][ T529] ESI: 00000000 EDI: 00000046 EBP: f40cdf8c ESP: f40cdf5c
[ 325.134455][ T529] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00010292
[ 325.136123][ T529] CR0: 80050033 CR2: b7219000 CR3: 357c6000 CR4: 000006b0
[ 325.137479][ T529] Call Trace:
[ 325.138064][ T529] kthread+0x12c/0x150
[ 325.138649][ T529] ? rcu_torture_pipe_update+0x120/0x120 [rcutorture a8481dc77ce1197ae1610575a1871655600ee491]
[ 325.141288][ T529] ? set_kthread_struct+0x40/0x40
[ 325.142308][ T529] ret_from_fork+0x19/0x24
[ 325.143277][ T529] irq event stamp: 121029
[ 325.144291][ T529] hardirqs last enabled at (121039): [<c10a519e>] __up_console_sem+0x4e/0x60
[ 325.145984][ T529] hardirqs last disabled at (121046): [<c10a5185>] __up_console_sem+0x35/0x60
[ 325.147915][ T529] softirqs last enabled at (120862): [<c1ad4f1a>] __do_softirq+0x2aa/0x466
[ 325.149575][ T529] softirqs last disabled at (120761): [<c101f406>] do_softirq_own_stack+0x26/0x30
[ 325.151630][ T529] ---[ end trace ffb013ff47f63253 ]---
To reproduce:
# build kernel
cd linux
cp config-5.16.0-rc1-00037-g46faccd52724 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 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.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
View attachment "config-5.16.0-rc1-00037-g46faccd52724" of type "text/plain" (124385 bytes)
View attachment "job-script" of type "text/plain" (4723 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (22204 bytes)
View attachment "rcutorture" of type "text/plain" (8612 bytes)
Powered by blists - more mailing lists