Menu

#425 SCSI/VirtIO: VM unable to reboot from non-IDE controller

closed
nobody
None
7
2012-10-09
2009-04-16
Technologov
No

All Red Hat-based systems (RHEL, Fedora) have failed during automated tests on SCSI disks on KVM.
It turned out to be a problem of Qemu/KVM, where after a software reboot (i.e. initiated by guest OS), the system is unable to boot from SCSI controller.

To reboot successfully you need either soft reboot+IDE or Hard reboot (Qemu cold boot)+SCSI.

The Command sent to Qemu/KVM:
/usr/local/bin/qemu-system-x86_64 -m 512 -monitor tcp:localhost:4602,server,nowait -cdrom /isos/linux/Fedora-8-i386-DVD.iso -drive file=/vm/fedora8-32.qcow2,if=scsi,boot=on -name fedora8-32

Host: RHEL 5/x64, KVM-85rc6. (tried both Intel and AMD)
Guest: RHEL 5, Fedora 8, Fedora 9 (tried both 32 and 64-bit).

-Alexey, 16.4.2009.

Discussion

  • Technologov

    Technologov - 2009-04-16

    This problem also exists for VirtIO block device.

     
  • Technologov

    Technologov - 2009-04-19

    Bug was also opened in Ubuntu Launchpad.
    https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/363743

    Two reasons:
    1. Qemu project does not have bugzilla - so Ubuntu Launchpad became main bugzilla for Qemu
    2. This bug affects Ubuntu-8.10

     
  • Technologov

    Technologov - 2009-04-21

    Ryan Harper provided a patch that fixes this.

     
  • Technologov

    Technologov - 2009-04-21

    Ryan Harper provided a patch that fixes this.

    I need to make sure it makes way into KVM release. Not closing bug yet.

     
  • Technologov

    Technologov - 2009-04-27

    Bug fixed in KVM-85. Closing.

     

Log in to post a comment.