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: [#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:[a04fe10d] [a04fe10d]
kvm_handle_fault_on_reboot+0xd/0x20 [kvm]
[ 360.783499] RSP: 0018:88011950fcb8 EFLAGS: 00010046
[ 360.783505] RAX: 8801154fe000 RBX: 88011049 RCX: 28022000
[ 360.783510] RDX: RSI: 88011950fce4 RDI: 28022000
[ 360.783516] RBP: 88011950fcb8 R08: R09: 000e
[ 360.783521] R10: 0001 R11: R12: 88011b54c000
[ 360.783526] R13: 0007 R14: 88011b54c000 R15: 01a6ad60
[ 360.783533] FS: 7ff9ef0de910() GS:880028022000()
knlGS:f69a9750
[ 360.783538] CS: 0010 DS: ES: CR0: 80050033
[ 360.783543] CR2: 0054d9d0 CR3: 0001195cd000 CR4: 06f0
[ 360.783549] DR0: DR1: DR2:
[ 360.783554] DR3: DR6: 0ff0 DR7: 0400
[ 360.783561] Process kvm (pid: 5159, threadinfo 88011950e000, task
880119494410)
[ 360.783565] Stack:
[ 360.783568] 88011950fd18 a0531984 0082
88011049
[ 360.783577] 0 88011950fd08 812788aa 88011049
88011049
[ 360.783585] 0 88011b54c000 0007 88011b54c000
01a6ad60
[ 360.783595] Call Trace:
[ 360.783611] [a0531984] svm_vcpu_run+0x154/0x440 [kvm_amd]
[ 360.783639] [a0505a3a] vcpu_enter_guest+0x22a/0x5c0 [kvm]
[ 360.783651] [a05301be] ? svm_vcpu_load+0x3e/0xb0 [kvm_amd]
[ 360.783674] [a0505e33] __vcpu_run+0x63/0x320 [kvm]
[ 360.783698] [a050bdb2] kvm_arch_vcpu_ioctl_run+0x82/0x1c0 [kvm]
[ 360.783721] [a05015f3] kvm_vcpu_ioctl+0x473/0x5c0 [kvm]
[ 360.783733] [8106c688] ? __sigqueue_free+0x38/0x40
[ 360.783743] [8106f1c9] ? __dequeue_signal+0xd9/0x1f0
[ 360.783751] [8106f31c] ? dequeue_signal+0x3c/0x170
[ 360.783759] [8112e36d] vfs_ioctl+0x1d/0xa0
[ 360.783766] [8112e999] do_vfs_ioctl+0x79/0x370
[ 360.783772] [8112ed11] sys_ioctl+0x81/0xa0
[ 360.783782] [81012002] 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 [a04fe10d] kvm_handle_fault_on_reboot+0xd/0x20
[kvm]
[ 360.783873] RSP 88011950fcb8
[ 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.
--
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: