[libvirt-users] general protection errors

Alex mysqlstudent at gmail.com
Wed Nov 2 14:31:27 UTC 2011


Hi,
Some time ago I sent a message about some general protection errors,
and didn't receive a response. I hoped I could post again and that
someone might have some ideas. I really don't think it is a hardware
problem producing these errors, but am otherwise out of ideas.

 I'm having a problem with a fedora15 x86_64 host with a fedora15
x86_64 guest on a Xeon E3-1240 with 8GB RAM on the guest. This is the
only guest. The server is configured as a mail server, using
spamassassin, postfix, amavisd, and clamav.

Have there been significant changes in the current version from 0.8.8
that is shipped with fedora15?

It was previously running without error on different hardware. I
migrated the disks to a more powerful server due to load. It's a new
server, and has been stress tested with memtest86, mprime, and
passmark's Linux test for more than 24 hours without producing a
problem.

However, when I run the kvm vm, I receive a bunch of errors similar to
these on the guest:

[169245.360511] clamscan[27448] general protection ip:7f125f2e6ffb
sp:7fff117566f0 error:0 in libclamav.so.6.1.11[7f125f229000+9ce000]

[29016.445470] clamd[1110] general protection ip:30df2c3981
sp:7fffa08f4fe0 error:0 in libclamav.so.6.1
.11[30df200000+9ce000]

There are other applications, such as pyzor, that produce similar errors.

Is this something that could be a result of some software
configuration error I've made? Is there something I can do to debug
this further? There also aren't any errors on the host indicating a
kernel problem or hardware issue.

Is it possible this is a known error?

I was previously trying to improve IO performance by using 'block'
instead of 'file' for the device, but had to abandon that idea because
it didn't work and I had to concentrate on this problem.

Could disabling the cache (cache=none) cause this?

I've included some info below, in hopes someone could guide me towards
a solution.

# rpm -qva|egrep 'kvm|libvirt|kernel|qemu'
libvirt-python-0.8.8-7.fc15.x86_64
kernel-2.6.40.6-0.fc15.x86_64
qemu-img-0.14.0-8.fc15.x86_64
gpxe-roms-qemu-1.0.1-4.fc15.noarch
kernel-2.6.40.4-5.fc15.x86_64
qemu-system-x86-0.14.0-8.fc15.x86_64
libvirt-0.8.8-7.fc15.x86_64
libvirt-client-0.8.8-7.fc15.x86_64
qemu-common-0.14.0-8.fc15.x86_64
kernel-headers-2.6.40.6-0.fc15.x86_64
qemu-kvm-0.14.0-8.fc15.x86_64

I've included my domain config below in hopes it helps.

<domain type='kvm'>
 <name>mail02</name>
 <uuid>ec4f3cf5-2f27-fb3e-72f6-3fa3176b13b6</uuid>
 <memory>6291456</memory>
 <currentMemory>6291456</currentMemory>
 <vcpu>4</vcpu>
 <os>
   <type arch='x86_64' machine='pc-0.14'>hvm</type>
   <boot dev='hd'/>
 </os>
 <features>
   <acpi/>
   <apic/>
   <pae/>
 </features>
 <clock offset='utc'/>
 <on_poweroff>destroy</on_poweroff>
 <on_reboot>restart</on_reboot>
 <on_crash>restart</on_crash>
 <devices>
   <emulator>/usr/bin/qemu-kvm</emulator>
   <disk type='file' device='disk'>
     <driver name='qemu' type='raw' cache='none'/>
     <source file='/var/lib/libvirt/images/mail02.img'/>
     <target dev='vda' bus='virtio'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x05'
function='0x0'/>
   </disk>
   <disk type='block' device='cdrom'>
     <driver name='qemu' type='raw'/>
     <target dev='hdc' bus='ide'/>
     <readonly/>
     <address type='drive' controller='0' bus='1' unit='0'/>
   </disk>
   <controller type='ide' index='0'>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
function='0x1'/>
   </controller>
   <interface type='bridge'>
     <mac address='52:54:00:67:2c:4c'/>
     <source bridge='br0'/>
     <model type='virtio'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
   </interface>
   <serial type='pty'>
     <target port='0'/>
   </serial>
   <console type='pty'>
     <target type='serial' port='0'/>
   </console>
   <input type='mouse' bus='ps2'/>
   <graphics type='vnc' port='-1' autoport='yes'/>
   <video>
     <model type='cirrus' vram='9216' heads='1'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
function='0x0'/>
   </video>
   <memballoon model='virtio'>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
   </memballoon>
 </devices>
</domain>

Thanks,
Alex




More information about the libvirt-users mailing list