[<prev] [next>] [day] [month] [year] [list]
Message-ID: <874mbws8fs.fsf@yhuang-dev.intel.com>
Date: Thu, 24 Mar 2016 14:20:55 +0800
From: kernel test robot <ying.huang@...ux.intel.com>
TO: Andy Lutomirski <luto@...nel.org>
CC: LKML <linux-kernel@...r.kernel.org>
Subject: [lkp] [x86/mm] 5d230e335b: BUG: using smp_processor_id() in
preemptible [00000000] code: swapper/0/1
FYI, we noticed the below changes on
https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/pcid
commit 5d230e335bd53c69be7498fe69fbdce0d4231c21 ("x86/mm: Give mmu contexts a generation id")
[ 3.428667] Write protecting the kernel read-only data: 14336k
[ 3.430040] Freeing unused kernel memory: 1252K (ffff8800018c7000 - ffff880001a00000)
[ 3.432811] Freeing unused kernel memory: 664K (ffff880001d5a000 - ffff880001e00000)
[ 3.434324] BUG: using smp_processor_id() in preemptible [00000000] code: swapper/0/1
[ 3.435848] caller is debug_smp_processor_id+0x17/0x20
[ 3.436742] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.438227] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.439847] ffffffff81cb2e08 ffff88001349bde0 ffffffff814e8ecc 0000000000000001
[ 3.441539] ffff88001349be10 ffffffff81504229 ffff88001343aac0 ffff880013495540
[ 3.443215] ffff88001343aac0 ffff880010213000 ffff88001349be20 ffffffff81504247
[ 3.444913] Call Trace:
[ 3.445553] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.446446] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.447471] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.448471] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.449431] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.450388] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.451265] [<ffffffff810b341b>] mm_alloc+0x3b/0x50
[ 3.452139] [<ffffffff811a93f0>] do_execveat_common+0x240/0x650
[ 3.453184] [<ffffffff818b5d10>] ? rest_init+0x90/0x90
[ 3.454076] [<ffffffff811a9827>] do_execve+0x27/0x30
[ 3.454955] [<ffffffff81002026>] run_init_process+0x26/0x30
[ 3.455896] [<ffffffff818b5d4d>] kernel_init+0x3d/0xe0
[ 3.456807] [<ffffffff818c168f>] ret_from_fork+0x3f/0x70
[ 3.457720] [<ffffffff818b5d10>] ? rest_init+0x90/0x90
[ 3.459695] BUG: using smp_processor_id() in preemptible [00000000] code: init/1
[ 3.461175] caller is debug_smp_processor_id+0x17/0x20
[ 3.462059] CPU: 1 PID: 1 Comm: init Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.463154] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.464748] ffffffff81cb2e08 ffff88001349bd50 ffffffff814e8ecc 0000000000000001
[ 3.466439] ffff88001349bd80 ffffffff81504229 ffff88001343a740 ffff8800101f6ac0
[ 3.468120] ffff88001343a740 0000000000000000 ffff88001349bd90 ffffffff81504247
[ 3.469815] Call Trace:
[ 3.479836] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.480729] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.481740] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.482727] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.483962] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.485032] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.485920] [<ffffffff810b42fd>] copy_process+0x9ed/0x1690
[ 3.486927] [<ffffffff81504247>] ? debug_smp_processor_id+0x17/0x20
[ 3.487936] [<ffffffff810b5161>] _do_fork+0xd1/0x370
[ 3.488845] [<ffffffff810db294>] ? __might_sleep+0x44/0x80
[ 3.489799] [<ffffffff8116db62>] ? __might_fault+0x32/0x40
[ 3.490733] [<ffffffff810b5484>] SyS_clone+0x14/0x20
[ 3.491620] [<ffffffff818c12f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 3.492790] BUG: using smp_processor_id() in preemptible [00000000] code: init/140
[ 3.494283] caller is debug_smp_processor_id+0x17/0x20
[ 3.495183] CPU: 1 PID: 140 Comm: init Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.496630] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.498252] ffffffff81cb2e08 ffff8800101b3d50 ffffffff814e8ecc 0000000000000001
[ 3.499942] ffff8800101b3d80 ffffffff81504229 ffff88001343a3c0 ffff880010670040
[ 3.501626] ffff88001343a3c0 0000000000000000 ffff8800101b3d90 ffffffff81504247
[ 3.503316] Call Trace:
[ 3.503943] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.504850] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.505869] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.506860] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.507821] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.508791] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.509677] [<ffffffff810b42fd>] copy_process+0x9ed/0x1690
[ 3.510681] [<ffffffff810b5161>] _do_fork+0xd1/0x370
[ 3.511564] [<ffffffff810b5484>] SyS_clone+0x14/0x20
[ 3.512451] [<ffffffff818c12f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 3.513626] BUG: using smp_processor_id() in preemptible [00000000] code: init/141
[ 3.515130] caller is debug_smp_processor_id+0x17/0x20
[ 3.516019] CPU: 1 PID: 141 Comm: init Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.517468] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.519096] ffffffff81cb2e08 ffff8800101bfde8 ffffffff814e8ecc 0000000000000001
[ 3.520770] ffff8800101bfe18 ffffffff81504229 ffff88001343a040 ffff880010670040
[ 3.522442] ffff88001343a040 ffff880010213000 ffff8800101bfe28 ffffffff81504247
[ 3.524124] Call Trace:
[ 3.524755] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.525649] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.526671] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.527676] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.528636] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.529603] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.530498] [<ffffffff810b341b>] mm_alloc+0x3b/0x50
[ 3.531377] [<ffffffff811a93f0>] do_execveat_common+0x240/0x650
[ 3.532417] [<ffffffff811a9aa5>] SyS_execve+0x35/0x40
[ 3.533307] [<ffffffff818c1595>] stub_execve+0x5/0x5
[ 3.534195] [<ffffffff818c12f2>] ? entry_SYSCALL_64_fastpath+0x16/0x71
[ 3.535578] BUG: using smp_processor_id() in preemptible [00000000] code: rcS/141
[ 3.537077] caller is debug_smp_processor_id+0x17/0x20
[ 3.537980] CPU: 1 PID: 141 Comm: rcS Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.539106] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.540729] ffffffff81cb2e08 ffff8800101bfd50 ffffffff814e8ecc 0000000000000001
[ 3.542407] ffff8800101bfd80 ffffffff81504229 ffff88001343a3c0 ffff880013626ac0
[ 3.544094] ffff88001343a3c0 0000000000000000 ffff8800101bfd90 ffffffff81504247
[ 3.545771] Call Trace:
[ 3.546414] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.547309] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.548340] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.549348] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.550310] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.551272] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.552162] [<ffffffff810b42fd>] copy_process+0x9ed/0x1690
[ 3.553160] [<ffffffff811a726d>] ? cp_new_stat+0x14d/0x170
[ 3.554100] [<ffffffff810b5161>] _do_fork+0xd1/0x370
[ 3.554986] [<ffffffff810b5484>] SyS_clone+0x14/0x20
[ 3.555882] [<ffffffff818c12f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 3.556994] BUG: using smp_processor_id() in preemptible [00000000] code: rcS/142
[ 3.558499] caller is debug_smp_processor_id+0x17/0x20
[ 3.559413] CPU: 1 PID: 142 Comm: rcS Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.560506] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.562121] ffffffff81cb2e08 ffff8800136c3de8 ffffffff814e8ecc 0000000000000001
[ 3.563804] ffff8800136c3e18 ffffffff81504229 ffff8800136cfb00 ffff880013626ac0
[ 3.565913] ffff8800136cfb00 ffff880010213000 ffff8800136c3e28 ffffffff81504247
[ 3.567603] Call Trace:
[ 3.568246] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.569212] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.570245] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.571248] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.572201] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.573156] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.574040] [<ffffffff810b341b>] mm_alloc+0x3b/0x50
[ 3.574918] [<ffffffff811a93f0>] do_execveat_common+0x240/0x650
[ 3.575971] [<ffffffff811a9aa5>] SyS_execve+0x35/0x40
[ 3.576884] [<ffffffff818c1595>] stub_execve+0x5/0x5
[ 3.577776] [<ffffffff818c12f2>] ? entry_SYSCALL_64_fastpath+0x16/0x71
[ 3.579337] BUG: using smp_processor_id() in preemptible [00000000] code: rcS/141
[ 3.580830] caller is debug_smp_processor_id+0x17/0x20
[ 3.581732] CPU: 1 PID: 141 Comm: rcS Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.582829] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.584435] ffffffff81cb2e08 ffff8800101bfde8 ffffffff814e8ecc 0000000000000001
[ 3.586128] ffff8800101bfe18 ffffffff81504229 ffff8800136cfb00 ffff880010670040
[ 3.587809] ffff8800136cfb00 ffff880010213000 ffff8800101bfe28 ffffffff81504247
[ 3.589532] Call Trace:
[ 3.590174] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.591072] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.592110] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.593107] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.594050] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.594998] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.595886] [<ffffffff810b341b>] mm_alloc+0x3b/0x50
[ 3.596761] [<ffffffff811a93f0>] do_execveat_common+0x240/0x650
[ 3.597799] [<ffffffff811a9aa5>] SyS_execve+0x35/0x40
[ 3.598699] [<ffffffff818c1595>] stub_execve+0x5/0x5
[ 3.599596] [<ffffffff818c12f2>] ? entry_SYSCALL_64_fastpath+0x16/0x71
[ 3.600986] BUG: using smp_processor_id() in preemptible [00000000] code: rc/141
[ 3.602478] caller is debug_smp_processor_id+0x17/0x20
[ 3.603373] CPU: 1 PID: 141 Comm: rc Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.604452] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.606061] ffffffff81cb2e08 ffff8800101bfd50 ffffffff814e8ecc 0000000000000001
[ 3.607743] ffff8800101bfd80 ffffffff81504229 ffff88001343a040 ffff880010666ac0
[ 3.609446] ffff88001343a040 0000000000000000 ffff8800101bfd90 ffffffff81504247
[ 3.611124] Call Trace:
[ 3.611754] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.612639] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.613652] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.614645] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.615597] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.616547] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.617432] [<ffffffff810b42fd>] copy_process+0x9ed/0x1690
[ 3.618430] [<ffffffff811a726d>] ? cp_new_stat+0x14d/0x170
[ 3.619377] [<ffffffff810b5161>] _do_fork+0xd1/0x370
[ 3.620266] [<ffffffff810b5484>] SyS_clone+0x14/0x20
[ 3.621180] [<ffffffff818c12f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 3.622283] BUG: using smp_processor_id() in preemptible [00000000] code: rc/143
[ 3.623747] caller is debug_smp_processor_id+0x17/0x20
[ 3.624641] CPU: 1 PID: 143 Comm: rc Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.625714] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.627311] ffffffff81cb2e08 ffff88000f9dbde8 ffffffff814e8ecc 0000000000000001
[ 3.629433] ffff88000f9dbe18 ffffffff81504229 ffff88001343a3c0 ffff880010666ac0
[ 3.631113] ffff88001343a3c0 ffff880010213000 ffff88000f9dbe28 ffffffff81504247
[ 3.632780] Call Trace:
[ 3.633420] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.634310] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.635324] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.636453] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.637727] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.638691] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.639594] [<ffffffff810b341b>] mm_alloc+0x3b/0x50
[ 3.640489] [<ffffffff811a93f0>] do_execveat_common+0x240/0x650
[ 3.641549] [<ffffffff811a9aa5>] SyS_execve+0x35/0x40
[ 3.652373] [<ffffffff818c1595>] stub_execve+0x5/0x5
[ 3.653263] [<ffffffff818c12f2>] ? entry_SYSCALL_64_fastpath+0x16/0x71
[ 3.654894] BUG: using smp_processor_id() in preemptible [00000000] code: rc/141
[ 3.656379] caller is debug_smp_processor_id+0x17/0x20
[ 3.657463] CPU: 1 PID: 141 Comm: rc Not tainted 4.5.0-rc2-00216-g5d230e3 #1
[ 3.658745] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 3.660357] ffffffff81cb2e08 ffff8800101bfd50 ffffffff814e8ecc 0000000000000001
[ 3.662048] ffff8800101bfd80 ffffffff81504229 ffff88001343a3c0 ffff880013626ac0
[ 3.663733] ffff88001343a3c0 0000000000000000 ffff8800101bfd90 ffffffff81504247
[ 3.665417] Call Trace:
[ 3.666051] [<ffffffff814e8ecc>] dump_stack+0x4e/0x82
[ 3.666952] [<ffffffff81504229>] check_preemption_disabled+0xd9/0xe0
[ 3.667986] [<ffffffff81504247>] debug_smp_processor_id+0x17/0x20
[ 3.669017] [<ffffffff810521a7>] init_asid_context+0x17/0x40
[ 3.669987] [<ffffffff81013368>] init_new_context+0x18/0x100
[ 3.670948] [<ffffffff810b314e>] mm_init+0x15e/0x1b0
[ 3.671838] [<ffffffff810b42fd>] copy_process+0x9ed/0x1690
[ 3.672840] [<ffffffff810d7690>] ? preempt_count_add+0x80/0xc0
[ 3.673813] [<ffffffff810eace8>] ? remove_wait_queue+0x48/0x50
[ 3.674784] [<ffffffff810b5161>] _do_fork+0xd1/0x370
[ 3.675671] [<ffffffff810b5484>] SyS_clone+0x14/0x20
[ 3.676557] [<ffffffff818c12f2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 3.909872] gfs2: path_lookup on rootfs returned error -2
FYI, raw QEMU command line is:
qemu-system-x86_64 -enable-kvm -cpu Nehalem -kernel /pkg/linux/x86_64-randconfig-v0-03240154/gcc-5/5d230e335bd53c69be7498fe69fbdce0d4231c21/vmlinuz-4.5.0-rc2-00216-g5d230e3 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-intel12-yocto-x86_64-9/bisect_boot-1-yocto-minimal-x86_64.cgz-x86_64-randconfig-v0-03240154-5d230e335bd53c69be7498fe69fbdce0d4231c21-20160324-49136-1pdtf4g-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-v0-03240154 branch=linux-devel/devel-catchup-201603240223 commit=5d230e335bd53c69be7498fe69fbdce0d4231c21 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-v0-03240154/gcc-5/5d230e335bd53c69be7498fe69fbdce0d4231c21/vmlinuz-4.5.0-rc2-00216-g5d230e3 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-intel12-yocto-x86_64/yocto-minimal-x86_64.cgz/x86_64-randconfig-v0-03240154/gcc-5/5d230e335bd53c69be7498fe69fbdce0d4231c21/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-intel12-yocto-x86_64-9::dhcp drbd.minor_count=8' -initrd /fs/KVM/initrd-vm-intel12-yocto-x86_64-9 -m 320 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -drive file=/fs/KVM/disk0-vm-intel12-yocto-x86_64-9,media=disk,if=virtio -drive file=/fs/KVM/disk1-vm-intel12-yocto-x86_64-9,media=disk,if=virtio -pidfile /dev/shm/kboot/pid-vm-intel12-yocto-x86_64-9 -serial file:/dev/shm/kboot/serial-vm-intel12-yocto-x86_64-9 -daemonize -display none -monitor null
Thanks,
Kernel Test Robot
View attachment "config-4.5.0-rc2-00216-g5d230e3" of type "text/plain" (82424 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (11924 bytes)
Powered by blists - more mailing lists