[ kvm-Bugs-2638990 ] Segfault 284

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bugs item #2638990, was opened at 2009-02-26 01:35
Message generated for change (Comment added) made by avik
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: Pending
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: Avi Kivity (avik)
Date: 2009-04-30 21:36

Message:
Please generate a core dump and post a stack trace:

  $ gdb /path/to/qemu core
  (gdb) backtrace

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

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

Message:
Sorry about the formatting of the kvm commandline I posted, I have
re-formatted it so that sourceforge does not automagically wrap it:

/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: Simon Jagoe (ivanvimes)
Date: 2009-04-30 21: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 18: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 11: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 19: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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux