Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375245 - app-emulation/qemu-kvm-0.14.1-r1 fails to boot with more than 6 virtio-blk devices
Summary: app-emulation/qemu-kvm-0.14.1-r1 fails to boot with more than 6 virtio-blk de...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-15 04:09 UTC by Matthew Stapleton
Modified: 2011-07-21 01:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Stapleton 2011-07-15 04:09:18 UTC
I have a virtual machine with 10 disk devices that uses the -kernel and -initrd parameters to boot and if I use virtio for all of the devices qemu-kvm says no bootable device.  It successfully loads the kernel in 0.12.5.

If I use scsi-disk for 4 of the devices, and virtio-blk for the other 6 devices it then loads the Linux kernel.

I have tried with the following syntax for each device:
file=<filename>,if=virtio,bus=0,unit=<0-9>,cache=writeback,media=disk,format=raw

-drive id=<driveid>,file=<filename>,if=none,cache=writeback,media=disk,format=raw -device virtio-blk,id=<deviceid>,drive=<driveid>

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2011-07-15 09:52:43 UTC
I would suggest you to ask at first in forums.gentoo.org for help. Also would be interesting to post here some exact errors you are getting
Comment 2 Matthew Stapleton 2011-07-20 23:38:03 UTC
This is what I see on the virtual console when I try to boot with 7 virtio-blk devices:

--------------------
SeaBIOS (version 0.6.1.2-20110201_165504-titi)


gPXE (http://etherboot.org) - 00:03.0 C900 PCI2.10 PnP BBS PMM07E0@10 C900

Booting from Hard Disk...
Boot failed: not a bootable disk

Booting from Floppy...
Boot failed: could not read the boot disk

Booting from DVD/CD...
Boot failed: Could not read from CDROM (code 0003)
No bootable device.
--------------------

Also, I am able to boot from the network by adding "-boot n" even with 7 virtio-blk devices and can see all of the virtio-blk devices in network booted Linux.
Comment 3 Matthew Stapleton 2011-07-21 01:29:00 UTC
In case it wasn't clear, the comment about it working okay on 0.12.5 was that I can successfully boot the virtual machine with 10 virtio-blk devices and the -kernel parameter on app-emulation/qemu-kvm-0.12.5.  In version 0.14.1-r1 I have to change 4 of the devices from virtio-blk to scsi to get the virtual machine to boot.