Package: qemu-kvm
Version: 1.1.0+dfsg-3
Severity: grave
When running libguestfs-test-tool (1:1.18.1-1), kvm hangs with 100% CPU
utilization. Not being able to start a VM this makes libguestfs entirely
useless.
Here are the last few lines that are printed to the terminal:
libguestfs: accept_from_daemon: 0x7cda70 g->state = 1
[59760ms] /usr/bin/kvm \
-global virtio-blk-pci.scsi=off \
-nodefconfig \
-nodefaults \
-nographic \
-drive
file=/tmp/libguestfs-test-tool-sda-vwjbCB,cache=off,format=raw,if=virtio \
-machine accel=kvm:tcg \
-m 500 \
-no-reboot \
-no-hpet \
-device virtio-serial \
-serial stdio \
-chardev socket,path=/tmp/libguestfsJJK8dE/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-kernel /var/tmp/.guestfs-1000/kernel.13843 \
-initrd /var/tmp/.guestfs-1000/initrd.13843 \
-append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off
printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=screen ' \
-drive
file=/var/tmp/.guestfs-1000/root.13843,snapshot=on,if=virtio,cache=unsafe
I have tried to reproduce this bug with several versions of qemu-kvm.
Things work fine until 1.0+dfsg-11. It seems that the problem was
introduced with the 1.1 prereleases.
As the commandline contains the -nographic switch and options for
setting up a virtio disk, this may be the same issue as reported with
#680719.
-Hilko
-- Package-specific info:
/proc/cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 6
model name : AMD Athlon(tm) II X2 215 Processor
stepping : 2
microcode : 0x1000098
cpu MHz : 2700.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb
rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni
monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a
misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock
nrip_save
bogomips : 5400.69
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
processor : 1
vendor_id : AuthenticAMD
cpu family : 16
model : 6
model name : AMD Athlon(tm) II X2 215 Processor
stepping : 2
microcode : 0x1000098
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb
rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni
monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a
misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock
nrip_save
bogomips : 5400.22
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages qemu-kvm depends on:
ii adduser 3.113+nmu3
ii ipxe 1.0.0+git-20120202.f6840ba-3
ii ipxe-qemu 1.0.0+git-20120202.f6840ba-3
ii libaio1 0.3.109-3
ii libasound2 1.0.25-4
ii libbluetooth3 4.99-2
ii libbrlapi0.5 4.4-4
ii libc6 2.13-35
ii libcurl3-gnutls 7.27.0-1
ii libglib2.0-0 2.32.3-1
ii libgnutls26 2.12.20-1
ii libiscsi1 1.4.0-3
ii libjpeg8 8d-1
ii libncurses5 5.9-10
ii libpng12-0 1.2.49-2
ii libpulse0 2.0-6
ii libsasl2-2 2.1.25.dfsg1-5
ii libsdl1.2debian 1.2.15-5
ii libspice-server1 0.11.0-1
ii libtinfo5 5.9-10
ii libusbredirparser0 0.4.3-2
ii libuuid1 2.20.1-5.1
ii libvdeplug2 2.3.2-4
ii libx11-6 2:1.5.0-1
ii python 2.7.3-2
ii qemu-keymaps 1.1.0+dfsg-1
ii qemu-utils 1.1.0+dfsg-1
ii seabios 1.7.0-1.1
ii vgabios 0.7a-3
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages qemu-kvm recommends:
ii bridge-utils 1.5-4
ii iproute 20120521-3
Versions of packages qemu-kvm suggests:
ii debootstrap 1.0.42
ii samba 2:3.6.6-3
ii vde2 2.3.2-4
-- Configuration Files:
/etc/kvm/cpus-x86_64.conf [Errno 2] No such file or directory:
u'/etc/kvm/cpus-x86_64.conf'
-- no debconf information