kernel BUG at /usr/src/modules/kvm/mmu.c:307!
invalid opcode: 0000 [1] SMP
CPU 1
Problem is not there if running without mod probes on KVM and KVM_AMD
This happens after adding Microsoft Service Pack 4 to a Win2k install.
Package was running -no-acpi
Reproducible.
-win2k-hack makes no difference
It doesn't happen with earlier versions of win2k except when it was
installing the new KDE packages of windows on a pristine win2k service
pack 2 install.
Kvm works fine on other OS's except it does crash with the OS used for
Norton Ghost on e-machines XP image restore. It worked ok for image
restore running on freedos.
The same images run fine in a pure qemu mode.
OS is debian testing
kernel is: Linux miro 2.6.24-rc5 #1 SMP Wed Dec 26 00:53:14 CST 2007
x86_64 GNU/Linux
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 75
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 2
cpu MHz : 2009.246
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm
extapic cr8_legacy
bogomips : 4021.07
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 75
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 2
cpu MHz : 2009.246
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm
extapic cr8_legacy
bogomips : 4018.93
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/miro-root
1368927 678698 619861 53% /
tmpfs 997808 0 997808 0% /lib/init/rw
udev 10240 112 10128 2% /dev
tmpfs 997808 0 997808 0% /dev/shm
/dev/sda1 241116 111562 117106 49% /boot
/dev/mapper/miro-home2
309313552 71451664 222149632 25% /home
/dev/mapper/miro-tmp 388741 10319 358352 3% /tmp
/dev/mapper/miro-usr 44044120 14213296 27600220 34% /usr
/dev/mapper/miro-var 11820976 2117964 9103264 19% /var
KVM version:/sbin/modinfo kvm
filename: /lib/modules/2.6.24-rc5/misc/kvm.ko
license: GPL
author: Qumranet
version: kvm-48
srcversion: 63B0F92A3F1152C05FE5A8F
depends:
vermagic: 2.6.24-rc5 SMP mod_unload
/sbin/modinfo kvm_amd
filename: /lib/modules/2.6.24-rc5/misc/kvm-amd.ko
license: GPL
author: Qumranet
version: kvm-48
srcversion: 22F744921D178E88E9B84A7
depends: kvm
vermagic: 2.6.24-rc5 SMP mod_unload
host arch: x86_64
guest that crashed: win2k srv pack 4
start cmd line: kvm -hda /home/watermod/KVM/win2k_srvpk4_.img -m 512
-no-acpi
no-kvm - works fine.
Jan 23 01:35:50 miro kernel: ------------[ cut here ]------------
Jan 23 01:35:50 miro kernel: kernel BUG at /usr/src/modules/kvm/mmu.c:307!
Jan 23 01:35:50 miro kernel: invalid opcode: 0000 [1] SMP
Jan 23 01:35:50 miro kernel: CPU 1
Jan 23 01:35:50 miro kernel: Modules linked in: nls_iso8859_1 cifs kvm_amd kvm
nvidia(P) binfmt_misc ppdev ipv6 fuse tun loop snd_emu10k1_synth snd_emux_synth
snd_seq_virmidi snd_seq_midi_emul snd_emu10k1 snd_seq_dummy snd_seq_oss
snd_seq_midi snd_seq_midi_event snd_seq snd_rawmidi firmware_class
snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_device
snd_timer snd_page_alloc snd_util_mem snd_hwdep psmouse parport_pc parport snd
pcspkr serio_raw emu10k1_gp k8temp soundcore gameport i2c_nforce2 i2c_core
button evdev ext3 jbd mbcache dm_mirror dm_snapshot dm_mod sg usbhid sr_mod
cdrom sd_mod sata_nv pata_amd libata r8169 scsi_mod ehci_hcd ohci_hcd thermal
processor fan
Jan 23 01:35:50 miro kernel: Pid: 17315, comm: kvm Tainted: P 2.6.24-rc5
#1
Jan 23 01:35:50 miro kernel: RIP: 0010:[<ffffffff8894c43d>]
[<ffffffff8894c43d>] :kvm:mmu_memory_cache_alloc+0xd/0x2a
Jan 23 01:35:50 miro kernel: RSP: 0018:ffff81005ebad9e8 EFLAGS: 00010246
Jan 23 01:35:50 miro kernel: RAX: 0000000000000000 RBX: ffffc20004a02428 RCX:
0000000000000028
Jan 23 01:35:50 miro kernel: RDX: ffff81006eb70088 RSI: 0000000000000028 RDI:
ffff81006e9e8398
Jan 23 01:35:50 miro kernel: RBP: ffff81006e9e8080 R08: 0000000000000004 R09:
0000000000000000
Jan 23 01:35:50 miro kernel: R10: 0000000003d45163 R11: ffff81003f4eac28 R12:
ffff81003f4eac28
Jan 23 01:35:50 miro kernel: R13: ffff81006e9e8080 R14: ffff81003f4eac28 R15:
0000000003d45000
Jan 23 01:35:50 miro kernel: FS: 00000000ffdff000(0000)
GS:ffff81007b868dc0(0000) knlGS:0000000000000000
Jan 23 01:35:50 miro kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jan 23 01:35:50 miro kernel: CR2: 00002b203221b000 CR3: 0000000063a55000 CR4:
00000000000006e0
Jan 23 01:35:50 miro kernel: DR0: ffffffff803ffb28 DR1: 0000000000000000 DR2:
0000000000000000
Jan 23 01:35:50 miro kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff1 DR7:
0000000000000702
Jan 23 01:35:50 miro kernel: Process kvm (pid: 17315, threadinfo
ffff81005ebac000, task ffff81007a768770)
Jan 23 01:35:50 miro kernel: Stack: 0000000000003d45 ffffffff8894c4f1
0000000048cee000 0000000000000002
Jan 23 01:35:50 miro kernel: 0000000048cee043 ffffffff8894cc75
0000000000003d45 0000000000000000
Jan 23 01:35:50 miro kernel: 0000000000000000 0000000003d45000
0000000000000282 0000000000000000
Jan 23 01:35:50 miro kernel: Call Trace:
Jan 23 01:35:50 miro kernel: [<ffffffff8894c4f1>] :kvm:rmap_add+0x89/0xeb
Jan 23 01:35:50 miro kernel: [<ffffffff8894cc75>]
:kvm:paging32_set_pte_common+0x1a0/0x1f5
Jan 23 01:35:50 miro kernel: [<ffffffff8894cd13>]
:kvm:paging32_set_pte+0x49/0x4e
Jan 23 01:35:50 miro kernel: [<ffffffff8894d1e1>]
:kvm:kvm_mmu_pte_write+0x26f/0x325
Jan 23 01:35:50 miro kernel: [<ffffffff88948614>]
:kvm:emulator_write_emulated_onepage+0x6e/0xce
Jan 23 01:35:50 miro kernel: [<ffffffff8895143e>]
:kvm:x86_emulate_insn+0x28aa/0x3e90
Jan 23 01:35:50 miro kernel: [<ffffffff889473af>]
:kvm:kvm_get_cs_db_l_bits+0x17/0x2f
Jan 23 01:35:50 miro kernel: [<ffffffff88948b3b>]
:kvm:emulate_instruction+0x19b/0x277
Jan 23 01:35:50 miro kernel: [<ffffffff88962822>]
:kvm_amd:pf_interception+0xad/0x100
Jan 23 01:35:50 miro kernel: [<ffffffff88949535>]
:kvm:kvm_vcpu_ioctl+0x371/0xf55
Jan 23 01:35:50 miro kernel: [<ffffffff8022bdc6>] try_to_wake_up+0x247/0x258
Jan 23 01:35:50 miro kernel: [<ffffffff80229df3>] enqueue_task+0x13/0x1e
Jan 23 01:35:50 miro kernel: [<ffffffff8022a1aa>] __wake_up_common+0x46/0x75
Jan 23 01:35:50 miro kernel: [<ffffffff8022b859>] __wake_up+0x38/0x4f
Jan 23 01:35:50 miro kernel: [<ffffffff8028bb3b>] core_sys_select+0x233/0x264
Jan 23 01:35:50 miro kernel: [<ffffffff802480c7>] getnstimeofday+0x2f/0x84
Jan 23 01:35:50 miro kernel: [<ffffffff8024593d>] enqueue_hrtimer+0xf5/0x102
Jan 23 01:35:50 miro kernel: [<ffffffff802460f2>] hrtimer_start+0xff/0x111
Jan 23 01:35:50 miro kernel: [<ffffffff8028a92d>] do_ioctl+0x21/0x6b
Jan 23 01:35:50 miro kernel: [<ffffffff8028abba>] vfs_ioctl+0x243/0x25c
Jan 23 01:35:50 miro kernel: [<ffffffff8028ac24>] sys_ioctl+0x51/0x71
Jan 23 01:35:50 miro kernel: [<ffffffff8020b6be>] system_call+0x7e/0x83
Jan 23 01:35:50 miro kernel:
Jan 23 01:35:50 miro kernel:
Jan 23 01:35:50 miro kernel: Code: 0f 0b eb fe ff c8 89 07 48 98 48 8b 54 c7 08
31 c0 fc 48 89
Jan 23 01:35:50 miro kernel: RIP [<ffffffff8894c43d>]
:kvm:mmu_memory_cache_alloc+0xd/0x2a
Jan 23 01:35:50 miro kernel: RSP <ffff81005ebad9e8>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel