jclulow / illumos-kvm

KVM driver for illumos (now with 25% more AMD-V). Note: latest work is in branch "pre-ept"; use that one!
Other
51 stars 11 forks source link

Panic using kvm on a dual Xeon 5160 box #8

Open arekinath opened 12 years ago

arekinath commented 12 years ago

Built SmartOS with your illumos-kvm (pre-ept branch), running it on a box with dual Xeon 5160. kvms start ok, but sometimes (this happens normally with the debian installer after you hit return at the boot menu), it panics. my zones dataset is two mirrors, so unfortunately I can't save dumps on it properly (trying to remedy this, but the output from mdb is all I have for now):

Mar  7 06:10:22 pinnate.cooperi.net kvm: WARNING: mmu_pages_clear_parents: unsync_children (-1)
r_parents: unsy pinnate.cooperi.net kvm: WARNING: mmu_pages_clea
panic[cpu0]/thread=ffffff03f26347e0: assertion failed: res != NULL, file: kvm_mmu.c, line: 3054

ffffff001ac21e80 fffffffffba868b8 ()
ffffff001ac21fc0 kvm:page_private+77 ()
ffffff001ac21ff0 kvm:page_header+2e ()
ffffff001ac22050 kvm:__mmu_unsync_walk+ad ()
ffffff001ac220b0 kvm:__mmu_unsync_walk+e4 ()
ffffff001ac22100 kvm:mmu_unsync_walk+55 ()
ffffff001ac22290 kvm:mmu_sync_children+151 ()
ffffff001ac222d0 kvm:mmu_sync_roots+92 ()
ffffff001ac22300 kvm:kvm_mmu_sync_roots+23 ()
ffffff001ac22330 kvm:kvm_set_cr3+38 ()
ffffff001ac22380 kvm:handle_cr+f8 ()
ffffff001ac223c0 kvm:vmx_handle_exit+191 ()
ffffff001ac22400 kvm:vcpu_enter_guest+3e4 ()
ffffff001ac22430 kvm:__vcpu_run+84 ()
ffffff001ac22480 kvm:kvm_arch_vcpu_ioctl_run+115 ()
ffffff001ac22cc0 kvm:kvm_ioctl+134 ()
ffffff001ac22d00 genunix:cdev_ioctl+39 ()
ffffff001ac22d50 specfs:spec_ioctl+60 ()
ffffff001ac22de0 genunix:fop_ioctl+55 ()
ffffff001ac22f00 genunix:ioctl+9b ()
ffffff001ac22f10 unix:brand_sys_syscall+1f5 ()

panic: entering debugger (no dump device, continue to reboot)
Loaded modules: [ scsi_vhci stmf_sbd crypto mac cpc uppc neti sd ptm ufs mpt zfs
 sppp ipc apix uhci fctl hook lofs idm ip logindmux usba specfs pcplusmp nfs 
random qlc cpu.generic arp mpt_sas stmf sockfs smbsrv ]
kmdb: target stopped at:
kmdb_enter+0xb: movq   %rax,%rdi
[0]>
jclulow commented 12 years ago

This is one we've seen before and I've just found a machine that I have access to on which I can actually reproduce it, or something very similar. May not require a dump at this stage!

arekinath commented 12 years ago

Now that we have support for dumping onto multi-vdev zpools, I have a dump for you! :) http://xylem.cooperi.net/pinnate-20120702-vmdump0.tar.bz2

ghost commented 9 years ago

Is there any update on this? I have the same problem. The moment i boot up a Centos 7 KVM, the machine panics. Looks like the same problem, the panic is the same.

If needed i can give access to an test machine with DRAC.