[Bug 392570] Re: kvm hanging on startup

MBP markus at spampit.retsiemuab.de
Sun Dec 20 12:01:04 GMT 2009


I seem to have the same problem with Unutu 9.10, except that sudo modprobe kvm_amd npt=0 doesn't help (following dump is after 
# rmmod kvm_amd
# rmmod kvm
# modprobe kvm_amd npt=0
# modinfo kvm_amd
filename:       /lib/modules/2.6.31-16-generic/kernel/arch/x86/kvm/kvm-amd.ko
license:        GPL
author:         Qumranet
srcversion:     9681CBC361395569DF6AB8A
depends:        kvm
vermagic:       2.6.31-16-generic SMP mod_unload modversions 
parm:           npt:int
parm:           nested:int
# uname -a
Linux gart 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux

$ kvm -no-acpi -m 1280 -localtime -smb / /kvmwin/windows.img
[ Note: Changing around the options to kvm doesn't really help although sometime one manages to get into beginning of windows boot before crash]

$ dmesg   [only the end of it of course]
[  329.358143] kvm: Nested Paging disabled
[  360.783334] ------------[ cut here ]------------
[  360.783348] kernel BUG at /build/buildd/linux-2.6.31/arch/x86/kvm/../../../virt/kvm/kvm_main.c:2412!
[  360.783356] invalid opcode: 0000 [#1] SMP 
[  360.783364] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
[  360.783370] CPU 0 
[  360.783374] Modules linked in: kvm_amd kvm nls_iso8859_1 nls_cp437 vfat fat binfmt_misc ppdev nfs lockd nfs_acl auth_rpcgss sunrpc autofs4 snd_hda_codec_atihdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm_oss snd_hwdep snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event iptable_filter snd_seq ip_tables snd_timer snd_seq_device lp snd i2c_piix4 amd64_edac_mod parport x_tables soundcore edac_core fglrx(P) snd_page_alloc reiserfs dm_raid45 xor usbhid sky2 [last unloaded: kvm]
[  360.783453] Pid: 5159, comm: kvm Tainted: P           2.6.31-16-generic #53-Ubuntu .
[  360.783460] RIP: 0010:[<ffffffffa04fe10d>]  [<ffffffffa04fe10d>] kvm_handle_fault_on_reboot+0xd/0x20 [kvm]
[  360.783499] RSP: 0018:ffff88011950fcb8  EFLAGS: 00010046
[  360.783505] RAX: ffff8801154fe000 RBX: ffff880110490000 RCX: 0000000028022000
[  360.783510] RDX: 0000000000000000 RSI: ffff88011950fce4 RDI: 0000000028022000
[  360.783516] RBP: ffff88011950fcb8 R08: 0000000000000000 R09: 00000000000e0000
[  360.783521] R10: 0000000000000001 R11: 0000000000000000 R12: ffff88011b54c000
[  360.783526] R13: 0000000000000007 R14: ffff88011b54c000 R15: 0000000001a6ad60
[  360.783533] FS:  00007ff9ef0de910(0000) GS:ffff880028022000(0000) knlGS:00000000f69a9750
[  360.783538] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  360.783543] CR2: 000000000054d9d0 CR3: 00000001195cd000 CR4: 00000000000006f0
[  360.783549] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  360.783554] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  360.783561] Process kvm (pid: 5159, threadinfo ffff88011950e000, task ffff880119494410)
[  360.783565] Stack:
[  360.783568]  ffff88011950fd18 ffffffffa0531984 0000000000000082 ffff880110490000
[  360.783577] <0> ffff88011950fd08 00000000812788aa ffff880110490000 ffff880110490000
[  360.783585] <0> ffff88011b54c000 0000000000000007 ffff88011b54c000 0000000001a6ad60
[  360.783595] Call Trace:
[  360.783611]  [<ffffffffa0531984>] svm_vcpu_run+0x154/0x440 [kvm_amd]
[  360.783639]  [<ffffffffa0505a3a>] vcpu_enter_guest+0x22a/0x5c0 [kvm]
[  360.783651]  [<ffffffffa05301be>] ? svm_vcpu_load+0x3e/0xb0 [kvm_amd]
[  360.783674]  [<ffffffffa0505e33>] __vcpu_run+0x63/0x320 [kvm]
[  360.783698]  [<ffffffffa050bdb2>] kvm_arch_vcpu_ioctl_run+0x82/0x1c0 [kvm]
[  360.783721]  [<ffffffffa05015f3>] kvm_vcpu_ioctl+0x473/0x5c0 [kvm]
[  360.783733]  [<ffffffff8106c688>] ? __sigqueue_free+0x38/0x40
[  360.783743]  [<ffffffff8106f1c9>] ? __dequeue_signal+0xd9/0x1f0
[  360.783751]  [<ffffffff8106f31c>] ? dequeue_signal+0x3c/0x170
[  360.783759]  [<ffffffff8112e36d>] vfs_ioctl+0x1d/0xa0
[  360.783766]  [<ffffffff8112e999>] do_vfs_ioctl+0x79/0x370
[  360.783772]  [<ffffffff8112ed11>] sys_ioctl+0x81/0xa0
[  360.783782]  [<ffffffff81012002>] system_call_fastpath+0x16/0x1b
[  360.783786] Code: c7 86 80 00 00 00 20 ba 52 a0 31 c0 48 89 e5 c9 c3 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 80 3d 29 e7 02 00 00 55 48 89 e5 75 04 <0f> 0b eb fe eb fe 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 
[  360.783850] RIP  [<ffffffffa04fe10d>] kvm_handle_fault_on_reboot+0xd/0x20 [kvm]
[  360.783873]  RSP <ffff88011950fcb8>
[  360.783879] ---[ end trace 641b3d53165eb621 ]---

Core is a AM3 (AMD AthlonII 64X2 245) in an AM2+ board in case that is
relevant (but hardware seems otherwise to be stable).

BTW, in case there are questions, I will be away from tomorrow till end
of year.

-- 
kvm hanging on startup
https://bugs.launchpad.net/bugs/392570
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.



More information about the Ubuntu-server-bugs mailing list