[Bug 591423] [NEW] qemu -drive boot=on flag causes boot to hang.

Mike Mestnik mmestnik at nagios.com
Tue Jun 8 20:32:59 BST 2010


Public bug reported:

Binary package hint: qemu-kvm

I'm working on getting a UI to start qemu.  In debugging I am working
exclusively on the command line.  I'm able to reproduce and correct this
bug from the command line.  The UI is libvirt.

The testing I did was to remove part of the command each part at a time
and add it back in until I discovered the one option that caused the
problem.

This command boot's just fine.
/usr/bin/qemu -snapshot -M pc-0.12 -no-kvm -m 1024 -smp 1 -localtime -boot c -drive file=/dev/sda,if=ide,index=0 -serial none -parallel none -usb -usbdevice tablet -vga cirrus

These commands do not:
/usr/bin/qemu -snapshot -M pc-0.12 -no-kvm -m 1024 -smp 1 -localtime -boot c -drive file=/dev/sda,if=ide,index=0,boot=on -serial none -parallel none -usb -usbdevice tablet -vga cirrus
/usr/bin/qemu -snapshot -M pc-0.12 -no-kvm -m 1024 -smp 1 -localtime -drive file=/dev/sda,if=ide,index=0,boot=on -serial none -parallel none -usb -usbdevice tablet -vga cirrus
/usr/bin/qemu -snapshot -boot c -drive file=/dev/sda,boot=on
/usr/bin/qemu -snapshot -drive file=/dev/sda,boot=on
/usr/bin/qemu -boot c -drive file=/dev/sda,boot=on
/usr/bin/qemu -drive file=/dev/sda,boot=on

The boot hangs presumably when the BIOS passes control to the MBR or
during the MBR load, ect, ect, ect.  In other words the BIOS parts seam
to work, except it never boots anything.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: qemu 0.12.3+noroms-0ubuntu9
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic-pae i686
Architecture: i386
Date: Tue Jun  8 14:17:31 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.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: Dell Inc. OptiPlex GX620
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic-pae root=/dev/mapper/Chrome-root ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: qemu-kvm
dmi.bios.date: 11/30/2006
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0HH807
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd11/30/2006:svnDellInc.:pnOptiPlexGX620:pvr:rvnDellInc.:rn0HH807:rvr:cvnDellInc.:ct6:cvr:
dmi.product.name: OptiPlex GX620
dmi.sys.vendor: Dell Inc.

** Affects: qemu-kvm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
qemu -drive boot=on flag causes boot to hang.
https://bugs.launchpad.net/bugs/591423
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.



More information about the Ubuntu-server-bugs mailing list