Bug 40752 - BUG: unable to handle kernel paging request at bffffc20
Summary: BUG: unable to handle kernel paging request at bffffc20
Status: CLOSED OBSOLETE
Alias: None
Product: Virtualization
Classification: Unclassified
Component: kvm (show other bugs)
Hardware: All Linux
: P1 high
Assignee: virtualization_kvm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 15:11 UTC by Philippe Gauthier
Modified: 2012-05-12 13:55 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Philippe Gauthier 2011-08-09 15:11:37 UTC
The system became unresponsive while running a virtual machine. It is running Debian sid/unstable.

The userspace kvm was version qemu-kvm 0.14.1+dfsg-4.

~$ uname -a
Linux gridbug 3.0.0-1-686-pae #1 SMP Sun Jul 24 14:27:32 UTC 2011 i686 GNU/Linux

------------sysklogd output----------------
Aug  9 01:58:35 gridbug kernel: [294131.197652] *pdpt = 000000002a0ce001 *pde = 0000000000000000 
Aug  9 01:58:35 gridbug kernel: [294131.197658] Modules linked in: kvm_intel kvm btrfs zlib_deflate crc32c libcrc32c ufs qnx4 hfsplus hfs minix ntfs
 vfat msdos fat jfs xfs reiserfs ext3 jbd ext2 dm_mod i2c_core acpi_cpufreq mperf cpufreq_powersave cpufreq_conservative cpufreq_stats cpufreq_users
pace ppdev lp bnep rfcomm bluetooth binfmt_misc fuse nfsd nfs lockd fscache auth_rpcgss nfs_acl sunrpc loop snd_hda_codec_hdmi snd_hda_codec_realtek
 snd_hda_intel snd_hda_codec hp_wmi snd_hwdep evdev rng_core fglrx(P) sparse_keymap snd_pcm rfkill i82975x_edac edac_core snd_seq snd_timer snd_seq_
device parport_pc processor parport psmouse serio_raw pcspkr snd button thermal_sys wmi soundcore snd_page_alloc ext4 mbcache jbd2 crc16 usbhid hid 
sg sr_mod cdrom sd_mod crc_t10dif ata_generic ata_piix ahci floppy libahci uhci_hcd libata tg3 libphy ehci_hcd scsi_mod usbcore [last unloaded: scsi
_wait_scan]
Aug  9 01:58:35 gridbug kernel: [294131.197712] 
Aug  9 01:58:35 gridbug kernel: [294131.197715] Pid: 24025, comm: kvm Tainted: P        W  O 3.0.0-1-686-pae #1 Hewlett-Packard HP xw4400 Workstatio
n/0A68h
Aug  9 01:58:35 gridbug kernel: [294131.197719] EIP: 0060:[<f9d82788>] EFLAGS: 00010246 CPU: 1
Aug  9 01:58:35 gridbug kernel: [294131.197727] EIP is at shadow_walk_okay+0x13/0x4c [kvm]
Aug  9 01:58:35 gridbug kernel: [294131.197729] EAX: f2265de4 EBX: bffffc20 ECX: 00000001 EDX: 00000000
Aug  9 01:58:35 gridbug kernel: [294131.197731] ESI: 00000000 EDI: 00000000 EBP: 00000006 ESP: f2265d10
Aug  9 01:58:35 gridbug kernel: [294131.197733]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Aug  9 01:58:35 gridbug kernel: [294131.197738]  0010a867 00000000 f9d894c0 00000006 eadc00a8 ead940e0 02b84798 00000007
Aug  9 01:58:35 gridbug kernel: [294131.197744]  0000000f 00000002 00000000 00000001 ead95601 00000001 00000004 00000000
Aug  9 01:58:35 gridbug kernel: [294131.197749]  00000001 0000bdbe 00000000 0000a1b8 00000000 1aa96867 80000000 0bdbe867
Aug  9 01:58:35 gridbug kernel: [294131.197763]  [<f9d894c0>] ? paging64_page_fault+0x435/0x68b [kvm]
Aug  9 01:58:35 gridbug kernel: [294131.197768]  [<f9da9303>] ? vmx_get_rflags+0x20/0x4a [kvm_intel]
Aug  9 01:58:35 gridbug kernel: [294131.197777]  [<f9d84c46>] ? kvm_mmu_page_fault+0xf/0x5e [kvm]
Aug  9 01:58:35 gridbug kernel: [294131.197781]  [<f9daadfe>] ? handle_exception+0x146/0x2bb [kvm_intel]
Aug  9 01:58:35 gridbug kernel: [294131.197785]  [<f9dab196>] ? vmx_handle_exit+0x1cb/0x1eb [kvm_intel]
Aug  9 01:58:35 gridbug kernel: [294131.197793]  [<f9d81e59>] ? kvm_arch_vcpu_ioctl_run+0x9fe/0xc37 [kvm]
Aug  9 01:58:35 gridbug kernel: [294131.197797]  [<f9da90f7>] ? vmcs_read64+0x17/0x20 [kvm_intel]
Aug  9 01:58:35 gridbug kernel: [294131.197802]  [<c1029d0c>] ? should_resched+0x5/0x1f
Comment 1 Avi Kivity 2011-08-09 17:11:23 UTC
Hardware information (/proc/cpuinfo)?  Is this reproducible?
Comment 2 Philippe Gauthier 2011-08-09 18:16:25 UTC
This system was reinstalled from Ubuntu running kernel 2.6.38 to Debian running 3.0 just the day before the crash happened. I will keep an eye for more occurrences of the problem.

~$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz
stepping	: 6
cpu MHz		: 1596.000
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
bogomips	: 5333.78
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz
stepping	: 6
cpu MHz		: 2667.000
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow
bogomips	: 5333.51
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:
Comment 3 Avi Kivity 2011-08-10 13:39:24 UTC
On 08/09/2011 09:16 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=40752
>
>
>
>
>
>

Xiao, any idea?
Comment 4 Anonymous Emailer 2011-08-15 03:00:06 UTC
Reply-To: xiaoguangrong@cn.fujitsu.com

On 08/10/2011 09:39 PM, Avi Kivity wrote:
> On 08/09/2011 09:16 PM, bugzilla-daemon@bugzilla.kernel.org wrote:
>> https://bugzilla.kernel.org/show_bug.cgi?id=40752
>>
>>
>>
>>
>>
>>
> 
> Xiao, any idea?
> 

Sorry, i was on vacation, i'll look at it.
Comment 5 Anonymous Emailer 2011-08-15 08:08:52 UTC
Reply-To: xiaoguangrong@cn.fujitsu.com

On 08/09/2011 11:11 PM, bugzilla-daemon@bugzilla.kernel.org wrote:

> _wait_scan]
> Aug  9 01:58:35 gridbug kernel: [294131.197712] 
> Aug  9 01:58:35 gridbug kernel: [294131.197715] Pid: 24025, comm: kvm
> Tainted:
> P        W  O 3.0.0-1-686-pae #1 Hewlett-Packard HP xw4400 Workstatio
> n/0A68h
> Aug  9 01:58:35 gridbug kernel: [294131.197719] EIP: 0060:[<f9d82788>]
> EFLAGS:
> 00010246 CPU: 1
> Aug  9 01:58:35 gridbug kernel: [294131.197727] EIP is at
> shadow_walk_okay+0x13/0x4c [kvm]
> Aug  9 01:58:35 gridbug kernel: [294131.197729] EAX: f2265de4 EBX: bffffc20
> ECX: 00000001 EDX: 00000000
> Aug  9 01:58:35 gridbug kernel: [294131.197731] ESI: 00000000 EDI: 00000000
> EBP: 00000006 ESP: f2265d10
> Aug  9 01:58:35 gridbug kernel: [294131.197733]  DS: 007b ES: 007b FS: 00d8
> GS:
> 00e0 SS: 0068
> Aug  9 01:58:35 gridbug kernel: [294131.197738]  0010a867 00000000 f9d894c0
> 00000006 eadc00a8 ead940e0 02b84798 00000007
> Aug  9 01:58:35 gridbug kernel: [294131.197744]  0000000f 00000002 00000000
> 00000001 ead95601 00000001 00000004 00000000
> Aug  9 01:58:35 gridbug kernel: [294131.197749]  00000001 0000bdbe 00000000
> 0000a1b8 00000000 1aa96867 80000000 0bdbe867
> Aug  9 01:58:35 gridbug kernel: [294131.197763]  [<f9d894c0>] ?
> paging64_page_fault+0x435/0x68b [kvm]
> Aug  9 01:58:35 gridbug kernel: [294131.197768]  [<f9da9303>] ?
> vmx_get_rflags+0x20/0x4a [kvm_intel]
> Aug  9 01:58:35 gridbug kernel: [294131.197777]  [<f9d84c46>] ?
> kvm_mmu_page_fault+0xf/0x5e [kvm]
> Aug  9 01:58:35 gridbug kernel: [294131.197781]  [<f9daadfe>] ?
> handle_exception+0x146/0x2bb [kvm_intel]
> Aug  9 01:58:35 gridbug kernel: [294131.197785]  [<f9dab196>] ?
> vmx_handle_exit+0x1cb/0x1eb [kvm_intel]
> Aug  9 01:58:35 gridbug kernel: [294131.197793]  [<f9d81e59>] ?
> kvm_arch_vcpu_ioctl_run+0x9fe/0xc37 [kvm]
> Aug  9 01:58:35 gridbug kernel: [294131.197797]  [<f9da90f7>] ?
> vmcs_read64+0x17/0x20 [kvm_intel]
> Aug  9 01:58:35 gridbug kernel: [294131.197802]  [<c1029d0c>] ?
> should_resched+0x5/0x1f
> 

Hi Philippe,

The log looks little strange, could you test it using upstream code and 
show us your .config file, the steps to trigger please?
Comment 6 Alan 2012-05-12 13:55:22 UTC
No response
Closing as obsolete

Note You need to log in before you can comment on or make changes to this bug.