[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180305174848.vp7pg7me5hyhvafx@inn>
Date: Tue, 6 Mar 2018 01:48:48 +0800
From: kernel test robot <fengguang.wu@...el.com>
To: Thomas Garnier <thgarnie@...gle.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Thomas Garnier <thgarnie@...gle.com>, lkp@...org
Subject: [kvm] b916ec9e0b: BUG:unable_to_handle_kernel
FYI, we noticed the following commit (built with gcc-7):
commit: b916ec9e0bd05841928f4352076c700a2f8e8d03 ("kvm: Adapt assembly for PIE support")
https://github.com/thgarnie/linux.git kaslr_pie_v2
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------------------------+------------+------------+
| | a0cf071d8a | b916ec9e0b |
+------------------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 7 | 16 |
| invoked_oom-killer:gfp_mask=0x | 7 | 2 |
| Mem-Info | 7 | 2 |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 7 | 2 |
| BUG:unable_to_handle_kernel | 0 | 14 |
| Oops:#[##] | 0 | 14 |
| RIP:__raw_callee_save___kvm_vcpu_is_preempted | 0 | 14 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 14 |
+------------------------------------------------------------------+------------+------------+
[ 0.050553] BUG: unable to handle kernel paging request at 0000000000016250
[ 0.051000] IP: __raw_callee_save___kvm_vcpu_is_preempted+0xb/0x20
[ 0.051000] PGD 0 P4D 0
[ 0.051000] Oops: 0000 [#1] SMP PTI
[ 0.051000] Modules linked in:
[ 0.051000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.16.0-rc3-next-20180301-05054-gb916ec9 #1
[ 0.051000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 0.051000] RIP: 0010:__raw_callee_save___kvm_vcpu_is_preempted+0xb/0x20
[ 0.051000] RSP: 0000:ffffc90000633c98 EFLAGS: 00010046
[ 0.051000] RAX: ffff88013fd00000 RBX: ffffffff82b19578 RCX: 0000000000000001
[ 0.051000] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 0000000000000001
[ 0.051000] RBP: ffff88013fc23500 R08: 0000000000000001 R09: 0000000000000000
[ 0.051000] R10: ffff88013300f6f0 R11: 0000000000000001 R12: ffff88013fd23500
[ 0.051000] R13: 0000000000000001 R14: 0000000000040000 R15: ffff88013fc23544
[ 0.051000] FS: 0000000000000000(0000) GS:ffff88013fc00000(0000) knlGS:0000000000000000
[ 0.051000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.051000] CR2: 0000000000016250 CR3: 000000000220a000 CR4: 00000000000006f0
[ 0.051000] Call Trace:
[ 0.051000] __pv_queued_spin_lock_slowpath+0x218/0x280
[ 0.051000] check_tsc_warp+0xaa/0x170
[ 0.051000] check_tsc_sync_source+0x8f/0x1c0
[ 0.051000] native_cpu_up+0x3dc/0x930
[ 0.051000] ? cpuhp_kick_ap+0x70/0x70
[ 0.051000] bringup_cpu+0x2b/0xa0
[ 0.051000] cpuhp_invoke_callback+0x8a/0x5c0
[ 0.051000] ? ring_buffer_record_is_on+0x10/0x10
[ 0.051000] _cpu_up+0xad/0x170
[ 0.051000] ? set_debug_rodata+0x11/0x11
[ 0.051000] do_cpu_up+0x82/0xa0
[ 0.051000] smp_init+0xc5/0xca
[ 0.051000] kernel_init_freeable+0x10d/0x21e
[ 0.051000] ? rest_init+0xd0/0xd0
[ 0.051000] kernel_init+0xa/0x110
[ 0.051000] ret_from_fork+0x35/0x40
[ 0.051000] Code: 48 83 c4 08 89 d8 5b 5d 41 5c c3 bb ea ff ff ff e9 42 ff ff ff 90 90 90 90 90 90 90 90 90 90 90 48 8d 05 69 30 12 01 48 8b 04 f8 <48> 03 05 6e 3e fb 7e 80 38 00 0f 95 c0 c3 0f 1f 80 00 00 00 00
[ 0.051000] RIP: __raw_callee_save___kvm_vcpu_is_preempted+0xb/0x20 RSP: ffffc90000633c98
[ 0.051000] CR2: 0000000000016250
[ 0.051000] ---[ end trace 34c84f63453fdd06 ]---
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,
lkp
View attachment "config-4.16.0-rc3-next-20180301-05054-gb916ec9" of type "text/plain" (163890 bytes)
View attachment "job-script" of type "text/plain" (4267 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (5912 bytes)
Powered by blists - more mailing lists