Bugs item #2638990, was opened at 2009-02-25 23:35
Message generated for change (Comment added) made by ivanvimes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2638990&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: David Rasche (drasche2)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segfault 284

Initial Comment:
Host
(2) Intel Xeon (E5430) Quad Core Processors (2.66GHz)
16G mem
Host OS: Ubuntu 8.10 (64bit)
kvm-72
libvirt 0.4.4

Guest OS Win2k3 Server (32 bit)

After running for 8 to 48 hours, Win2k3 guest system crashes with no warning. 
Syslog shows the following segmentation fault:

Feb 25 16:12:02 host-b kernel: [448190.415857] kvm[25511]: segfault at 284 ip 
000000000043
386f sp 00007fff97fa3a70 error 4 in kvm[400000+19e000]

this error has been confirmed on 2 different machines with exactly the same 
setup.

We are running KVM through libvirt with the following xml setup.

<domain type='kvm'>
  <name>exchange</name>
  <uuid>e8d93082-c1db-426c-9ad3-ae651095ceb5</uuid>
  <memory>4096000</memory>
  <currentMemory>4096000</currentMemory>
  <vcpu>3</vcpu>
  <os>
    <type>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='disk'>
      <source file='/mnt/vg0/lvol3/exchange.qcow2'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/vg1/lv_exchdb'/>
      <target dev='hdb' bus='ide'/>
    </disk>
    <disk type='file' device='cdrom'>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/vg2/lv_exchlog'/>
      <target dev='hdd' bus='ide'/>
    </disk>
    <interface type='bridge'>
      <mac address='00:0c:29:cf:71:e4'/>
      <source bridge='br0'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5900' listen='127.0.0.1'/>
  </devices>
</domain>



----------------------------------------------------------------------

Comment By: Simon Jagoe (ivanvimes)
Date: 2009-04-30 19:24

Message:
Thanks for the reply.

The libvirt XML I posted calls kvm as follows:

/usr/bin/kvm -S -M pc -m 1024 -smp 1 -name partridge -monitor pty -boot c
\
  -drive file=/dev/hare/partridge_root,if=ide,index=0,boot=on \
  -drive file=/dev/hare/partridge_var,if=ide,index=1 \
  -drive file=/dev/hare/partridge_opt,if=ide,index=2 \
  -drive file=/dev/hare/partridge_home,if=ide,index=3 \
  -net nic,macaddr=00:16:3e:30:99:7c,vlan=0 -net
tap,fd=17,script=,vlan=0,ifname=vnet3 \
  -serial none -parallel none -usb -vnc 127.0.0.1:0

----------------------------------------------------------------------

Comment By: Brian Jackson (iggy_cav)
Date: 2009-04-30 16:47

Message:
For those of us that don't use/speak libvirt, what does command line is it
using?

----------------------------------------------------------------------

Comment By: Simon Jagoe (ivanvimes)
Date: 2009-04-30 09:09

Message:
I am running an Ubuntu Hardy guest in KVM-72 (Ubuntu Intrepid host), and
got a similar segfault:

Apr 30 04:16:37 hare kernel: [726803.676199] kvm[4930]: segfault at 284 ip
000000000043386f sp 00007fff1d240dd0 error 4 in kvm[400000+19e000]

My hardware details are as follows:

HP ProLiant ML110 G5
Intel Xeon CPU 3065  2.33GHz (Dual core)
4GB RAM

I have four guests on the system, all Ubuntu Hardy. Only one of these
appears to have crashed. It is allocated one VCPU and 1024 MB of RAM.

The others are:
  * 2 VCPUs & 1024MB RAM
  * 2 VCPUs & 256MB RAM
  * 1 VCPU & 256MB RAM

Additionally, I am also using libvirt. My (crashed) domain's XML looks
like this:

<domain type='kvm'>
  <name>partridge</name>
  <uuid>4f3bae26-359b-f633-9476-9d95fc2160b0</uuid>
  <memory>1048576</memory>
  <currentMemory>1048576</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='block' device='disk'>
      <source dev='/dev/hare/partridge_root'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/hare/partridge_home'/>
      <target dev='hdd' bus='ide'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/hare/partridge_opt'/>
      <target dev='hdc' bus='ide'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/hare/partridge_var'/>
      <target dev='hdb' bus='ide'/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:30:99:7c'/>
      <source bridge='br0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5900' listen='127.0.0.1'/>
  </devices>
</domain>

Please let me know if I can provide more information on this. I will
likely upgrade to Ubuntu Jaunty this week (and with it KVM-84).

----------------------------------------------------------------------

Comment By: David Rasche (drasche2)
Date: 2009-03-09 17:07

Message:
I just updated one of our machines with KVM-84 and I am getting the exact
same segfault as reported above. This is cricital. We are trying to run a
win2k3 server with exchange and it keeps crashing. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2638990&group_id=180599
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to