From: tdempsey42-xwVYE8SWAR3R7s880joybQ@public.gmane.org Subject: Guest crash on startup Date: Sun, 28 Oct 2007 18:05:07 -0400 Message-ID: <200710281805.07311.tdempsey42@charter.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Hello, I attempted to install Windows XP(sp2) as a guest and it crashes with a blank window, with QEMU/KVM[Stopped] in the title, and a general protection fault in the logs. The install starts fine with -no-kvm. Below is the output from /proc/version, /proc/cpuinfo and dmesg. I am using kvm-48. qemu cmd: /usr/local/kvm/bin/qemu-system-x86_64 test.img -cdrom Microsoft\ Windows\ XP\ Professional\ \(SP2\).iso -boot d kernel version: Linux version 2.6.23-gentoo (root@jart) (gcc version 4.1.2 (Gentoo 4.1.2)) #1 SMP PREEMPT Sun Oct 28 13:40:52 EDT 2007 dmesg output: general protection fault: 0000 [#1] PREEMPT SMP Modules linked in: kvm_intel kvm ipx p8022 psnap llc p8023 arc4 ecb blkcipher cryptomgr crypto_algapi ieee80211_crypt_wep snd_hda_intel snd_pcm snd_timer snd snd_page_alloc yenta_socket rsrc_nonstatic pcmcia_core ipw3945 fglrx(P) dm_bbr dm_snapshot e1000 xfs jfs dm_mirror scsi_wait_scan CPU: 0 EIP: 0060:[] Tainted: P VLI EFLAGS: 00210206 (2.6.23-gentoo #1) EIP is at vmx_save_host_state+0x132/0x190 [kvm_intel] eax: 00000009 ebx: 00000000 ecx: c0000080 edx: 007444d2 esi: f5872000 edi: 00000008 ebp: 007444d2 esp: f55e7d34 ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068 Process qemu-system-x86 (pid: 10064, ti=f55e6000 task=f5871a40 task.ti=f55e6000) Stack: 5820726f 0000000a f5872000 00000000 f56d6000 f5872000 f982e6e8 b251e067 00000001 10002800 00000000 f982ee70 f67bc840 00000000 f982f9b7 dfb423b8 c018aa96 00000000 d662d853 dfb423c0 000f41a8 f55e7dc4 f5809234 f5871a40 Call Trace: [] kvm_vcpu_ioctl_run+0xa8/0x4c0 [kvm] [] kvm_vcpu_ioctl+0x0/0xba0 [kvm] [] kvm_vcpu_ioctl+0xb47/0xba0 [kvm] [] __d_lookup+0xb6/0x150 [] do_page_fault+0x0/0x6b0 [] error_code+0x72/0x78 [] kunmap_atomic+0x35/0x70 [] file_read_actor+0xf3/0x100 [] do_generic_mapping_read+0x3c5/0x490 [] kunmap_atomic+0x35/0x70 [] get_page_from_freelist+0x2c3/0x3c0 [] __inc_zone_state+0x17/0x70 [] activate_page+0xab/0xc0 [] _spin_unlock_irq+0xe/0x30 [] mark_page_accessed+0x2d/0x40 [] filemap_fault+0x215/0x4b0 [] __inc_zone_state+0x17/0x70 [] __do_fault+0x173/0x380 [] handle_mm_fault+0x190/0x700 [] __atomic_notifier_call_chain+0x48/0x70 [] kvm_vcpu_ioctl+0x0/0xba0 [kvm] [] do_ioctl+0x2b/0x90 [] vfs_ioctl+0x5c/0x290 [] sys_ioctl+0x3d/0x70 [] sysenter_past_esp+0x5f/0x85 ======================= Code: 31 d9 31 f8 09 c1 74 2b 8b 0c 24 b8 01 00 00 00 31 db 89 86 74 0d 00 00 89 ea 89 f8 09 da 81 e1 01 08 00 00 09 c8 b9 80 00 00 c0 <0f> 30 ff 86 80 08 00 00 8b 5c 24 08 8b 74 24 0c 8b 7c 24 10 8b EIP: [] vmx_save_host_state+0x132/0x190 [kvm_intel] SS:ESP 0068:f55e7d34 note: qemu-system-x86[10064] exited with preempt_count 1 general protection fault: 0000 [#2] PREEMPT SMP Modules linked in: kvm_intel kvm ipx p8022 psnap llc p8023 arc4 ecb blkcipher cryptomgr crypto_algapi ieee80211_crypt_wep snd_hda_intel snd_pcm snd_timer snd snd_page_alloc yenta_socket rsrc_nonstatic pcmcia_core ipw3945 fglrx(P) dm_bbr dm_snapshot e1000 xfs jfs dm_mirror scsi_wait_scan CPU: 0 EIP: 0060:[] Tainted: P D VLI EFLAGS: 00210046 (2.6.23-gentoo #1) EIP is at load_msrs+0x18/0x30 [kvm_intel] eax: 5820726f ebx: f74beff8 ecx: 6c696620 edx: 0000000a esi: 00000000 edi: 00000001 ebp: f5872000 esp: f55e7c2c ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068 Process qemu-system-x86 (pid: 10064, ti=f55e6000 task=f5871a40 task.ti=f55e6000) Stack: 00000001 00000001 00000000 f91707ba 00ff003c c2816000 f5872004 00000000 00000010 f5870540 f982c54c f983acf9 00000000 f5871a40 f983a9e2 00000010 f5871a40 f5870540 f55e7c88 00000000 f55e6000 00000001 f55e6000 c044c6b0 Call Trace: [] vmx_vcpu_put+0xfa/0x130 [kvm_intel] [] kvm_sched_out+0xc/0x10 [kvm] [] preempt_notifier_trigger+0x79/0x90 [kvm] [] pn_int1_handler+0x12/0x30 [kvm] [] schedule+0x0/0x700 [] do_exit+0x576/0x7b0 [] die+0x26d/0x280 [] do_general_protection+0x0/0x2b0 [] error_code+0x72/0x78 [] kvm_emulate_pio_string+0x22b/0x320 [kvm] [] vmx_save_host_state+0x132/0x190 [kvm_intel] [] kvm_vcpu_ioctl_run+0xa8/0x4c0 [kvm] [] kvm_vcpu_ioctl+0x0/0xba0 [kvm] [] kvm_vcpu_ioctl+0xb47/0xba0 [kvm] [] __d_lookup+0xb6/0x150 [] do_page_fault+0x0/0x6b0 [] error_code+0x72/0x78 [] kunmap_atomic+0x35/0x70 [] file_read_actor+0xf3/0x100 [] do_generic_mapping_read+0x3c5/0x490 [] kunmap_atomic+0x35/0x70 [] get_page_from_freelist+0x2c3/0x3c0 [] __inc_zone_state+0x17/0x70 [] activate_page+0xab/0xc0 [] _spin_unlock_irq+0xe/0x30 [] mark_page_accessed+0x2d/0x40 [] filemap_fault+0x215/0x4b0 [] __inc_zone_state+0x17/0x70 [] __do_fault+0x173/0x380 [] handle_mm_fault+0x190/0x700 [] __atomic_notifier_call_chain+0x48/0x70 [] kvm_vcpu_ioctl+0x0/0xba0 [kvm] [] do_ioctl+0x2b/0x90 [] vfs_ioctl+0x5c/0x290 [] sys_ioctl+0x3d/0x70 [] sysenter_past_esp+0x5f/0x85 ======================= Code: <0f> 30 46 83 c3 10 39 f7 75 ee 5b 5e 5f c3 8d 76 00 8d bc 27 00 00 EIP: [] load_msrs+0x18/0x30 [kvm_intel] SS:ESP 0068:f55e7c2c Fixing recursive fault but reboot is needed! n505248@jart ~ $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2600 @ 2.16GHz stepping : 8 cpu MHz : 2167.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 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 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts pni monitor vmx est tm2 xtpr bogomips : 4326.24 clflush size : 64 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 14 model name : Genuine Intel(R) CPU T2600 @ 2.16GHz stepping : 8 cpu MHz : 2167.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 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 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon bts pni monitor vmx est tm2 xtpr bogomips : 4322.53 clflush size : 64 Thanks ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/