[Pkg-libvirt-maintainers] Bug#703208: Bug#703208: libvirt0: segfault after upgrade from version 0.8.3-5+squeeze2 to 0.8.3-5+squeeze4

Guido Günther agx at sigxcpu.org
Sun Mar 17 10:48:28 UTC 2013


On Sun, Mar 17, 2013 at 12:16:19AM +0100, TomaszSz wrote:
> Package: libvirt0
> Version: 0.8.3-5+squeeze4
> Severity: normal
> 
> Hi,
> After actualisation of libvirt-bin, libvirt0, python-libvirt from version 0.8.3-5+squeeze2 to 0.8.3-5+squeeze4 i get an error in kern.log:
> "Mar 16 21:45:27 ursaminor kernel: [894014.541626] kvm[28358]: segfault at 0 ip 00000000004e3ef0 sp 00007fffbec469f0 error 4 in kvm[400000+238000]
> Mar 16 21:57:11 ursaminor kernel: [  165.926666] kvm[5029]: segfault at 0 ip 00000000004e3ef0 sp 00007fff455d9fd0 error 4 in kvm[400000+238000]
> Mar 16 22:04:29 ursaminor kernel: [  603.405960] kvm[5862]: segfault at 0 ip 00000000004e3ef0 sp 00007fff8d2c4810 error 4 in kvm[400000+238000]
> Mar 16 22:08:55 ursaminor kernel: [  869.664001] kvm[6347]: segfault at 0 ip 00000000004e3ef0 sp 00007fffbd9a8000 error 4 in kvm[400000+238000]
> Mar 16 22:14:29 ursaminor kernel: [ 1203.397581] kvm[7016]: segfault at 0 ip 00000000004e3ef0 sp 00007fffad92ac40 error 4 in kvm[400000+238000]
> Mar 16 22:14:44 ursaminor kernel: [ 1218.385540] kvm[7047]: segfault at 0 ip 00000000004e3ef0 sp 00007fffb106e530 error 4 in kvm[400000+238000]"
> 
> My virtual machines doesn't start also.
> In my /var/log/libvirt/qemu/mymachine.log i get this information:
> "LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin HOME=/ QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 16384 -smp 
> 4,sockets=4,cores=1,threads=1 -name win2008-STD-orion -uuid 66a2dc8c-dd85-38da-ab66-405784525dce -nodefaults -chardev 
> socket,id=monitor,path=/var/lib/libvirt/qemu/win2008-STD-orion.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=localtime -boot c -drive 
> if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive 
> file=/home/images/win2k8_std_orion.qcow2,if=none,id=drive-ide0-0-0,boot=on,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 
> -device e1000,vlan=0,id=net0,mac=52:54:00:f5:78:57,bus=pci.0,addr=0x3 -net tap,fd=63,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device 
> isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc 127.0.0.1:1 -k pl -vga std -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 char 
> device redirected to /dev/pts/3 open /dev/kvm: Permission denied Could not initialize KVM, will disable KVM support "

There seems to be an issue opening /dev/kvm (it shouldn't crash though).
The patch changed the group libvirt runs the kvm process with but the
kvm group should still be a supplementary group.

Please check:

ls -l /dev/kvm

id libvirt-qemu

getent group kvm

and attach /etc/libvirt/qemu.conf.
Cheers,
 -- Guido

> 
> Any one can help me please?
> 
> -- System Information:
> Debian Release: 6.0.7
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
> Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages libvirt0 depends on:
> ii  libc6              2.11.3-4              Embedded GNU C Library: Shared lib
> ii  libcap-ng0         0.6.4-1               An alternate posix capabilities li
> ii  libgcrypt11        1.4.5-2               LGPL Crypto library - runtime libr
> ii  libgnutls26        2.8.6-1+squeeze2      the GNU TLS library - runtime libr
> ii  libnl1             1.1-6                 library for dealing with netlink s
> ii  libsasl2-2         2.1.23.dfsg1-7        Cyrus SASL - authentication abstra
> ii  libxenstore3.0     4.0.1-5.8             Xenstore communications library fo
> ii  libxml2            2.7.8.dfsg-2+squeeze6 GNOME XML library
> 
> Versions of packages libvirt0 recommends:
> ii  lvm2                          2.02.66-5  The Linux Logical Volume Manager
> 
> libvirt0 suggests no packages.
> 
> -- no debconf information
> 
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> 



More information about the Pkg-libvirt-maintainers mailing list