[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200217003250.GD14493@shao2-debian>
Date: Mon, 17 Feb 2020 08:32:50 +0800
From: kernel test robot <lkp@...el.com>
To: "Paul E. McKenney" <paulmck@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>, lkp@...ts.01.org
Subject: [EXP] bc3db9afb8:
WARNING:at_kernel/rcu/update.c:#rcutorture_sched_setaffinity
FYI, we noticed the following commit (built with gcc-7):
commit: bc3db9afb8492662a1108616342f288de66baa8f ("EXP: rcutorture hack to force CPU hotplug onto CPU 0")
https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2020.02.12a
in testcase: locktorture
with following parameters:
runtime: 300s
test: cpuhotplug
test-description: This torture test consists of creating a number of kernel threads which acquire the lock and hold it for specific amount of time, thus simulating different critical region behaviors.
test-url: https://www.kernel.org/doc/Documentation/locking/locktorture.txt
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------------------+------------+------------+
| | 881cfdedff | bc3db9afb8 |
+--------------------------------------------------------------+------------+------------+
| boot_successes | 12 | 0 |
| boot_failures | 0 | 8 |
| WARNING:at_kernel/rcu/update.c:#rcutorture_sched_setaffinity | 0 | 8 |
| RIP:rcutorture_sched_setaffinity | 0 | 8 |
+--------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>
[ 45.941547] WARNING: CPU: 1 PID: 608 at kernel/rcu/update.c:470 rcutorture_sched_setaffinity+0x42/0x50
[ 45.942689] Modules linked in: locktorture torture sr_mod cdrom ata_generic pata_acpi ppdev parport_pc parport floppy ata_piix i2c_piix4 libata
[ 45.943974] CPU: 1 PID: 608 Comm: torture_onoff Not tainted 5.5.0-rc1-00215-gbc3db9afb84926 #1
[ 45.944888] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 45.945784] RIP: 0010:rcutorture_sched_setaffinity+0x42/0x50
[ 45.946379] Code: c3 80 3d 63 e7 6f 01 00 75 f0 89 c2 48 c7 c6 20 ea 01 82 48 c7 c7 d8 3a 32 82 48 89 04 24 c6 05 46 e7 6f 01 01 e8 8e 4b f8 ff <0f> 0b 48 8b 04 24 eb c8 66 0f 1f 44 00 00 66 66 66 66 90 55 53 48
[ 45.948208] RSP: 0018:ffffc9000073bed0 EFLAGS: 00010282
[ 45.948767] RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff82665ae8
[ 45.949484] RDX: 0000000000000001 RSI: 0000000000000086 RDI: 0000000000000246
[ 45.950200] RBP: ffffffffa00d4080 R08: 00000000000002b1 R09: 000000000000004d
[ 45.950919] R10: 0000000000000000 R11: ffffc9000073bd70 R12: 0000000000000000
[ 45.951637] R13: ffff8881fb5fa680 R14: 0000000000000000 R15: ffffffffa00d07e0
[ 45.952352] FS: 0000000000000000(0000) GS:ffff88823fd00000(0000) knlGS:0000000000000000
[ 45.953231] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 45.953833] CR2: 00000000080a2190 CR3: 00000001f8cdc000 CR4: 00000000000406e0
[ 45.954548] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 45.955268] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 45.955982] Call Trace:
[ 45.956327] torture_onoff+0x11a/0x240 [torture]
[ 45.956838] kthread+0x11e/0x140
[ 45.957232] ? kthread_park+0x90/0x90
[ 45.957664] ret_from_fork+0x35/0x40
[ 45.958090] ---[ end trace f8c8e9eb90a11ee5 ]---
To reproduce:
# build kernel
cd linux
cp config-5.5.0-rc1-00215-gbc3db9afb84926 .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-7 CC=gcc-7 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
Thanks,
lkp
View attachment "config-5.5.0-rc1-00215-gbc3db9afb84926" of type "text/plain" (181296 bytes)
View attachment "job-script" of type "text/plain" (4327 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (15296 bytes)
View attachment "locktorture" of type "text/plain" (2729 bytes)
Powered by blists - more mailing lists