[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20161130180624.GA15492@yexl-desktop>
Date: Thu, 1 Dec 2016 02:06:24 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Yinghai Lu <yinghai@...nel.org>,
Borislav Petkov <bp@...en8.de>,
LKML <linux-kernel@...r.kernel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>, tipbuild@...or.com,
lkp@...org
Subject: [lkp] [x86/tsc] 8b223bc7ab: BUG:unable_to_handle_kernel
FYI, we noticed the following commit:
commit: 8b223bc7abe0e30e8d297a24ee6c6c07ef8d0bb9 ("x86/tsc: Store and check TSC ADJUST MSR")
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/timers
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 1G
caused below changes:
+------------------------------------------------------------------+------------+------------+
| | bec8520dca | 8b223bc7ab |
+------------------------------------------------------------------+------------+------------+
| boot_successes | 2 | 0 |
| boot_failures | 4 | 4 |
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup | 1 | |
| calltrace:parport_pc_init | 1 | |
| calltrace:SyS_finit_module | 1 | |
| WARNING:at_lib/kobject.c:#kobject_add_internal | 1 | |
| BUG:kernel_reboot-without-warning_in_test_stage | 1 | |
| invoked_oom-killer:gfp_mask=0x | 2 | |
| Mem-Info | 2 | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 2 | |
| BUG:unable_to_handle_kernel | 0 | 4 |
| Oops | 0 | 4 |
| RIP:_find_next_bit | 0 | 4 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 4 |
+------------------------------------------------------------------+------------+------------+
[ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.000000] hpet clockevent registered
[ 0.000000] tsc: Detected 2593.992 MHz processor
[ 0.000000] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 0.000000] IP: [<ffffffff8147c1a5>] _find_next_bit+0x15/0x70
[ 0.000000] PGD 0
[ 0.000000]
[ 0.000000] Oops: 0000 [#1] SMP
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.0-rc5-00008-g8b223bc #1
[ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 0.000000] task: ffffffff81e0e4c0 task.stack: ffffffff81e00000
[ 0.000000] RIP: 0010:[<ffffffff8147c1a5>] [<ffffffff8147c1a5>] _find_next_bit+0x15/0x70
[ 0.000000] RSP: 0000:ffffffff81e03eb0 EFLAGS: 00010246
[ 0.000000] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 0.000000] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
[ 0.000000] RBP: ffffffff81e03ec0 R08: ffffffffffffffff R09: 0000000000000000
[ 0.000000] R10: 0000000000000020 R11: 000000000013ca64 R12: 0000000000000000
[ 0.000000] R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000008e
[ 0.000000] FS: 0000000000000000(0000) GS:ffff880029a00000(0000) knlGS:0000000000000000
[ 0.000000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.000000] CR2: 0000000000000000 CR3: 0000000001e07000 CR4: 00000000000406b0
[ 0.000000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 0.000000] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 0.000000] Stack:
[ 0.000000] ffffffff81e03ec0 ffffffff8147c218 ffffffff81e03ee0 ffffffff81465a46
[ 0.000000] ffff880029a0d580 000000000000d580 ffffffff81e03f18 ffffffff81053005
[ 0.000000] 0000000000000002 0000000000016a00 ffffffff820b4920 ffffffff820c12e0
[ 0.000000] Call Trace:
[ 0.000000] [<ffffffff8147c218>] ? find_next_bit+0x18/0x20
[ 0.000000] [<ffffffff81465a46>] cpumask_any_but+0x26/0x50
[ 0.000000] [<ffffffff81053005>] tsc_store_and_check_tsc_adjust+0x75/0x120
[ 0.000000] [<ffffffff8200a518>] tsc_init+0x19f/0x24d
[ 0.000000] [<ffffffff82006df7>] x86_late_time_init+0xf/0x11
[ 0.000000] [<ffffffff81ffbeb0>] start_kernel+0x35b/0x414
[ 0.000000] [<ffffffff81ffb120>] ? early_idt_handler_array+0x120/0x120
[ 0.000000] [<ffffffff81ffb2d6>] x86_64_start_reservations+0x2a/0x2c
[ 0.000000] [<ffffffff81ffb415>] x86_64_start_kernel+0x13d/0x14c
[ 0.000000] Code: d0 48 0f 47 c2 5d c3 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 c8 48 89 d1 49 c7 c0 ff ff ff ff 48 c1 e9 06 49 89 c1 55 <4c> 33 0c cf 89 d1 48 83 e2 c0 49 d3 e0 48 89 e5 4c 89 c1 4c 21
[ 0.000000] RIP [<ffffffff8147c1a5>] _find_next_bit+0x15/0x70
[ 0.000000] RSP <ffffffff81e03eb0>
[ 0.000000] CR2: 0000000000000000
[ 0.000000] ---[ end trace a444a5b30abeb907 ]---
[ 0.000000] Kernel panic - not syncing: Fatal exception
Elapsed time: 40
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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.9.0-rc5-00008-g8b223bc" of type "text/plain" (153626 bytes)
View attachment "job-script" of type "text/plain" (3976 bytes)
Download attachment "dmesg.xz" of type "application/octet-stream" (4552 bytes)
Powered by blists - more mailing lists