[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20171127022021.GG21779@yexl-desktop>
Date: Mon, 27 Nov 2017 10:20:21 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: Dave Hansen <dave.hansen@...ux.intel.com>
Cc: Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Andy Lutomirski <luto@...nel.org>,
Borislav Petkov <bp@...en8.de>,
Brian Gerst <brgerst@...il.com>,
Denys Vlasenko <dvlasenk@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Rik van Riel <riel@...hat.com>,
LKML <linux-kernel@...r.kernel.org>, tipbuild@...or.com,
lkp@...org
Subject: [lkp-robot] [x86/mm/kaiser] 01a00bfbd7:
kernel_BUG_at_arch/x86/kernel/mpparse.c
FYI, we noticed the following commit (built with gcc-6):
commit: 01a00bfbd7adce7baf95c54c2250de86a5675308 ("x86/mm/kaiser: Use PCID feature to make user and kernel switches faster")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.x86/mm
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 1G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-----------------------------------------+------------+------------+
| | 332132b268 | 01a00bfbd7 |
+-----------------------------------------+------------+------------+
| boot_successes | 10 | 4 |
| boot_failures | 0 | 6 |
| kernel_BUG_at_arch/x86/kernel/mpparse.c | 0 | 6 |
| PANIC:early_exception | 0 | 6 |
| RIP:default_get_smp_config | 0 | 6 |
+-----------------------------------------+------------+------------+
[ 0.000000] kernel BUG at arch/x86/kernel/mpparse.c:559!
PANIC: early exception 0x06 IP 10:ffffffff82aeaf68 error 0 cr2 0xffff880032fff000
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.0-01253-g01a00bfb #1
[ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 0.000000] task: ffffffff8221fc40 task.stack: ffffffff82200000
[ 0.000000] RIP: 0010:default_get_smp_config+0x627/0x6b6
[ 0.000000] RSP: 0000:ffffffff82203e08 EFLAGS: 00010002 ORIG_RAX: 0000000000000000
[ 0.000000] RAX: 0000000000000027 RBX: 000000003ff7ec00 RCX: 0000000000000000
[ 0.000000] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 0.000000] RBP: 000000003ffe0000 R08: ffffffff8221fc40 R09: 0000000000000001
[ 0.000000] R10: ffffffff82203d88 R11: ffffffff8389778c R12: ffff88003ffdfc58
[ 0.000000] R13: ffffffffff200a80 R14: 0000000000000000 R15: 0000000000000000
[ 0.000000] FS: 0000000000000000(0000) GS:ffffffff82274000(0000) knlGS:0000000000000000
[ 0.000000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.000000] CR2: ffff880032fff000 CR3: 0000000002218000 CR4: 00000000000606b0
[ 0.000000] Call Trace:
[ 0.000000] ? early_memunmap+0xc/0x14
[ 0.000000] ? sfi_unmap_memory+0x3b/0x43
[ 0.000000] ? sfi_init+0x188/0x2a9
[ 0.000000] ? setup_arch+0xfc5/0x109b
[ 0.000000] ? printk+0x54/0x77
[ 0.000000] ? start_kernel+0xad/0x810
[ 0.000000] ? copy_bootdata+0x29/0x132
[ 0.000000] ? x86_64_start_reservations+0x42/0x4a
[ 0.000000] ? x86_64_start_kernel+0xac/0xb5
[ 0.000000] ? secondary_startup_64+0xa5/0xb0
[ 0.000000] Code: 8e 14 00 85 db 74 34 be 10 00 00 00 4c 89 ef 48 ff 05 3d 8e 14 00 e8 82 72 01 00 48 ff 05 39 8e 14 00 eb 72 48 ff 05 18 8e 14 00 <0f> 0b 48 ff 05 2f 8e 14 00 48 ff 05 30 8e 14 00 45 85 f6 75 20
Elapsed time: 10
#!/bin/bash
# To reproduce,
# 1) save job-script and this script (both are attached in 0day report email)
# 2) run this script with your compiled kernel and optional env $INSTALL_MOD_PATH
kernel=$1
initrds=(
/osimage/debian/debian-x86_64-2016-08-31.cgz
/lkp/lkp/lkp-x86_64.cgz
/osimage/deps/debian-x86_64-2016-08-31.cgz/lkp_2017-08-01.cgz
/osimage/deps/debian-x86_64-2016-08-31.cgz/rsync-rootfs_2016-11-15.cgz
/osimage/deps/debian-x86_64-2016-08-31.cgz/run-ipconfig_2016-11-15.cgz
)
HTTP_PREFIX=https://github.com/0day-ci/lkp-qemu/raw/master
wget --timestamping "${initrds[@]/#/$HTTP_PREFIX}"
{
cat "${initrds[@]//*\//}"
[[ $INSTALL_MOD_PATH ]] && (
cd "$INSTALL_MOD_PATH"
find lib | cpio -o -H newc --quiet | gzip
)
echo job-script | cpio -o -H newc --quiet | gzip
} > initrd.img
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu host
-kernel $kernel
-initrd initrd.img
-m 1024
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-watchdog-action debug
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
ip=::::vm-lkp-hsw01-1G-5::dhcp
root=/dev/ram0
user=lkp
job=/job-script
ARCH=x86_64
kconfig=x86_64-randconfig-r0-11271738
branch=linux-devel/devel-catchup-201711271924
commit=01a00bfbd7adce7baf95c54c2250de86a5675308
BOOT_IMAGE=/pkg/linux/x86_64-randconfig-r0-11271738/gcc-6/01a00bfbd7adce7baf95c54c2250de86a5675308/vmlinuz-4.14.0-01253-g01a00bfb
max_uptime=600
RESULT_ROOT=/result/boot/1/vm-lkp-hsw01-1G/debian-x86_64-2016-08-31.cgz/x86_64-randconfig-r0-11271738/gcc-6/01a00bfbd7adce7baf95c54c2250de86a5675308/0
result_service=tmpfs
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
net.ifnames=0
printk.devkmsg=on
panic=-1
softlockup_panic=1
nmi_watchdog=panic
oops=panic
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
View attachment "config-4.14.0-01253-g01a00bfb" of type "text/plain" (119382 bytes)
View attachment "job-script" of type "text/plain" (4273 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (3388 bytes)
Powered by blists - more mailing lists