Activity log for bug #714335

Date Who What changed Old value New value Message
2011-02-07 00:33:49 Brian Knoll bug added bug
2011-02-07 01:21:36 Brian Knoll description 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 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 4 -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
2011-02-07 10:38:26 Brian Knoll tags amd64 apport-bug lucid amd64 apport-bug kvm lucid qemu-kvm virtualization
2011-02-07 16:18:59 Serge Hallyn qemu-kvm (Ubuntu): status New Incomplete
2011-02-09 19:37:13 Brian Knoll qemu-kvm (Ubuntu): status Incomplete Confirmed
2011-02-10 13:04:46 Brian Knoll bug watch added http://sourceforge.net/support/tracker.php?aid=2968899
2011-02-15 05:06:58 altivec bug added subscriber altivec
2011-02-18 17:22:56 Serge Hallyn qemu-kvm (Ubuntu): importance Undecided Medium
2011-02-21 01:10:41 Pior Bastida bug added subscriber Pior Bastida
2011-02-28 18:11:29 Serge Hallyn summary KVM SMP Linux Guests Hang KVM SMP Linux Guests Hang on AMD
2011-03-01 00:38:49 Serge Hallyn attachment added kernel patch attempting to recreate the two fixes from upstream https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/714335/+attachment/1877692/+files/0001-kvm-cherrypick-three-kvm-fixes.patch
2011-03-01 16:10:57 Serge Hallyn affects qemu-kvm (Ubuntu) linux (Ubuntu)
2011-03-01 16:33:33 Serge Hallyn description 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 4 -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 Binary package hint: qemu-kvm ========================================= SRU Justification 1. impact: KVM smp guests hang on AMD 2. how was the bug addressed: Two upstream commits (plus a third auxiliary) were re-implemented on lucid's kernel. 3. patch: see comment #27 4. TEST CASE: in lucid, on an AMD box, start a guest with '-smp 2'. 5. regression: Honestly this one scares me a bit because it was a tricky cherrypick, and affects timekeeping for all kvm users on x86 lucid. In theory timekeeping on guests could be adversely affected, or guests could fail to boot. However, guests have been tested on both AMD and intel hosts. ========================================= 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 4 -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
2011-03-01 16:33:45 Serge Hallyn nominated for series Ubuntu Lucid
2011-03-01 17:35:02 Brian Murray bug added subscriber Jeremy Foshee
2011-03-07 14:37:08 Serge Hallyn bug added subscriber Serge Hallyn
2011-03-14 19:01:38 Brian Murray bug task added linux (Ubuntu Lucid)
2011-03-14 19:02:02 Brian Murray linux (Ubuntu Lucid): importance Undecided Medium
2011-03-14 19:02:02 Brian Murray linux (Ubuntu Lucid): status New Triaged
2011-03-15 08:45:55 Stefan Bader linux (Ubuntu): status Confirmed Fix Released
2011-03-15 08:46:43 Stefan Bader linux (Ubuntu Lucid): status Triaged In Progress
2011-03-15 08:46:43 Stefan Bader linux (Ubuntu Lucid): assignee Stefan Bader (stefan-bader-canonical)
2011-04-27 11:40:38 Stefan Bader linux (Ubuntu Lucid): status In Progress Fix Committed
2011-09-19 21:44:22 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug kvm lucid qemu-kvm virtualization amd64 apport-bug kvm lucid qemu-kvm testcase virtualization
2011-10-05 21:36:25 Jeremy Foshee removed subscriber Jeremy Foshee
2011-10-10 15:39:47 Stefan Bader linux (Ubuntu Lucid): status Fix Committed Fix Released