Comment 0 for bug 714335

Revision history for this message
Brian Knoll (brianknoll) wrote : KVM SMP Linux Guests Hang

Binary package hint: qemu-kvm

SMP Linux guests are hanging under KVM. This does not happen always, but at least 50% of the time or so.

If I start the guests with "-smp 1" or just completely omit the "-smp" parameter this doesn't happen.

I can also say that it doesn't seem to happen on a Nehalem-based 8-core Xeon-based machine I've tried it on, but it does happen on both an AMD Phenom II 965 machine (the one this bug report is from) as well as an AMD Phenom II 1090T-based machine.

I am starting the VMs from the command line, manually running qemu-kvm with a command like the following:

qemu-system-x86_64 -m 1024 -smp 1 -cpu host -drive file=/var/local/kvm/machine.qcow2,if=virtio,cache=off,boot=on -net nic,model=virtio,macaddr=77:88:99:12:34:56 -net tap -nographic -daemonize

Additional Information:

Description: Ubuntu 10.04.2 LTS
Release: 10.04

qemu-kvm:
  Installed: 0.12.3+noroms-0ubuntu9.3
  Candidate: 0.12.3+noroms-0ubuntu9.3
  Version table:
 *** 0.12.3+noroms-0ubuntu9.3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     0.12.3+noroms-0ubuntu9 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: qemu-kvm 0.12.3+noroms-0ubuntu9.3
ProcVersionSignature: Ubuntu 2.6.32-28.55-server 2.6.32.27+drm33.12
Uname: Linux 2.6.32-28-server x86_64
Architecture: amd64
Date: Sun Feb 6 19:11:57 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
MachineType: System manufacturer System Product Name
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-28-server root=UUID=941072c0-f822-44b4-b61c-09b6daadcb7c ro quiet splash clocksource=pit
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: qemu-kvm
dmi.bios.date: 08/18/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1006
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M4A785-M
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1006:bd08/18/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A785-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer