Bug 1129613 - Failed to boot from virtio-scsi if attaching more than 7 virtio-blk-pci disks
Summary: Failed to boot from virtio-scsi if attaching more than 7 virtio-blk-pci disks
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: seabios
Version: 6.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-13 10:56 UTC by Chao Yang
Modified: 2014-08-14 14:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-14 14:57:57 UTC


Attachments (Terms of Use)

Description Chao Yang 2014-08-13 10:56:39 UTC
Description of problem:
Tried to boot a guest from a bootable virtual scsi disk with 7 virtio-blk disks attached, but failed on:
"
SeaBIOS (version seabios-0.6.1.2-28.el6)

Press F12 for boot menu.

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

Booting from Floppy...
Boot failed: not a bootable disk

No bootable device.
"

Press F12:

"
Press F12 for boot menu.

Select boot device:

1. Virtio disk PCI:0:3
2. Virtio disk PCI:0:4
3. Virtio disk PCI:0:5
4. Virtio disk PCI:0:7
5. Virtio disk PCI:0:8
6. Virtio disk PCI:0:9
7. Virtio disk PCI:0:a
8. Floppy [drive A]
9. Floppy [drive B]
10. Legacy option rom
"

If **remove** one virtio-blk disk, booting from virtual scsi disk succeeded:
"
SeaBIOS (version seabios-0.6.1.2-28.el6)

Press F12 for boot menu.

Select boot device:

1. virtio-scsi Drive QEMU QEMU HARDDISK 0.12
2. Virtio disk PCI:0:3
3. Virtio disk PCI:0:4
4. Virtio disk PCI:0:5
5. Virtio disk PCI:0:7
6. Virtio disk PCI:0:8
7. Virtio disk PCI:0:9
8. Floppy [drive A]
9. Floppy [drive B]
10. Legacy option rom

"


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.436.el6.x86_64
seabios-0.6.1.2-28.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
CLI:

/usr/libexec/qemu-kvm -M rhel6.6.0 -m 2G -smp 2 -enable-kvm -cpu Opteron_G5 -realtime mlock=off -nodefconfig -nodefaults -serial stdio -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x6 -drive file=/home/rhel6.6.qcow2,if=none,id=drive-scsi0-0-0-0,format=qcow2,cache=none -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1 -spice port=5900,disable-ticketing,seamless-migration=on -vga qxl -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=67108864 -msg timestamp=on -boot menu=on -fda /home/scalability/disk1 -drive file=/home/scalability/disk3,if=none,id=blk2 -device virtio-blk-pci,scsi=off,drive=blk2,id=blk-disk2 -drive file=/home/scalability/disk4,if=none,id=blk3 -device virtio-blk-pci,scsi=off,drive=blk3,id=blk-disk3 -drive file=/home/scalability/disk5,if=none,id=blk4 -device virtio-blk-pci,scsi=off,drive=blk4,id=blk-disk4 -drive file=/home/scalability/disk6,if=none,id=blk5 -device virtio-blk-pci,scsi=off,drive=blk5,id=blk-disk5 -drive file=/home/scalability/disk7,if=none,id=blk6 -device virtio-blk-pci,scsi=off,drive=blk6,id=blk-disk6 -drive file=/home/scalability/disk8,if=none,id=blk7 -device virtio-blk-pci,scsi=off,drive=blk7,id=blk-disk7 -drive file=/home/scalability/disk9,if=none,id=blk8 -device virtio-blk-pci,scsi=off,drive=blk8,id=blk-disk8  -device sga

Comment 2 Sibiao Luo 2014-08-14 01:55:50 UTC
See bug 901433#c3 which is the limit on the number of disks that are seen by SeaBIOS.

Best Regards,
sluo

Comment 3 Ademar Reis 2014-08-14 14:57:57 UTC
(In reply to Sibiao Luo from comment #2)
> See bug 901433#c3 which is the limit on the number of disks that are seen by
> SeaBIOS.

That's correct. This is a seabios limitation in the number of disk devices it can see, combined with the fact that virtio-blk is initialized before virtio-scsi.


Note You need to log in before you can comment on or make changes to this bug.