RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2227373 - "No bootable device" with OS boot disk interface VirtIO-SCSI and with more than 9 VirtIO disks.
Summary: "No bootable device" with OS boot disk interface VirtIO-SCSI and with more th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: seabios
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Jon Maloy
QA Contact: Xueqiang Wei
URL:
Whiteboard:
Depends On:
Blocks: 2228485 2228486
TreeView+ depends on / blocked
 
Reported: 2023-07-28 22:56 UTC by Bimal Chollera
Modified: 2023-11-14 16:55 UTC (History)
17 users (show)

Fixed In Version: seabios-1.16.0-4.module+el8.9.0+19570+14a90618
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2228485 2228486 (view as bug list)
Environment:
Last Closed: 2023-11-14 15:33:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/rhel/src seabios merge_requests 9 0 None None None 2023-08-02 10:00:07 UTC
Red Hat Issue Tracker RHELPLAN-163908 0 None None None 2023-07-31 16:25:46 UTC
Red Hat Knowledge Base (Solution) 7026667 0 None None None 2023-08-02 12:46:45 UTC
Red Hat Product Errata RHSA-2023:6980 0 None None None 2023-11-14 15:33:59 UTC

Description Bimal Chollera 2023-07-28 22:56:07 UTC
Description of problem:

VM fails to boot with error with "No bootable device" with OS disk interface VirtIO-SCSI and with more than 9 VirtIO disks.

VM will boot, if the OS boot disk is VirtIO-SCSI and with 9 or less VirtIO disks 
VM will fail to boot, if there is a 10th (or more) VirtIO disk.

vm_device info for boot disk e70e7bc3-c075-4946-b86b-0a1d79ce846b shows as the first address.

~~~
device_id | e70e7bc3-c075-4946-b86b-0a1d79ce846b
vm_id     | e158b75c-c56a-4886-99a3-00dd9adadccd
device    | disk
address   | {type=drive, bus=0, controller=0, target=0, unit=0}
~~~

disk_vm_element, shows e70e7bc3-c075-4946-b86b-0a1d79ce846b is_boot.

~~~
disk_id                   | e70e7bc3-c075-4946-b86b-0a1d79ce846b
vm_id                     | e158b75c-c56a-4886-99a3-00dd9adadccd
is_boot                   | t
disk_interface            | VirtIO_SCSI
is_using_scsi_reservation | f
pass_discard              | f
~~~

Engine logs info during VM powerup/bootup.
The e70e7bc3-c075-4946-b86b-0a1d79ce846b shows 

~~~
    <disk snapshot="no" type="block" device="disk">
      <target dev="sda" bus="scsi"/>
      <source dev="/rhev/data-center/mnt/blockSD/576710ba-5f7e-4692-ba05-c5d66ec3c99a/images/e70e7bc3-c075-4946-b86b-0a1d79ce846b/15000131-1cfa-4ba4-9e16-8d8dd27e09c8">
        <seclabel model="dac" type="none" relabel="no"/>
      </source>
      <driver name="qemu" io="native" type="raw" error_policy="stop" cache="none"/>
      <alias name="ua-e70e7bc3-c075-4946-b86b-0a1d79ce846b"/>
      <address bus="0" controller="0" unit="0" type="drive" target="0"/>
      <boot order="1"/>
      <serial>e70e7bc3-c075-4946-b86b-0a1d79ce846b</serial>
    </disk>
~~~

Resource Allocation tab the "VirtIO-SCSI Enabled" checkbox is checked.

Version-Release number of selected component (if applicable):

ovirt-engine-4.5.3.7-1.el8ev.noarch
vdsm-4.50.3.6-1.el8ev.x86_64
seabios-bin-1.15.0-2.module+el8.6.0+14757+c25ee005.noarch


How reproducible:

100%

Steps to Reproduce:

1.  Create a VM with OS boot disk with interface VirtIO_SCSI
2.  Create and attach additional 10 VirtIO disk to the VM
3.  Start/Boot the VM
4.  Check the console for error messages.


Actual results:

VM fails to boot with error.

Expected results:

VM should boot up.

Additional info:

Comment 1 Pinion Kang 2023-07-31 08:07:12 UTC
Hello team,

Good day. This is Pinion from EMT and I want to highlight the business impact of this bug (ACE EN-64350).

There was an incident previously where the VM rebooted unexpectedly, later it was found as a bug in RHEL. Last Friday they went ahead and patched RHEL and rebooted and then hit this bug on RHEV.

This is one of their Critical DBs and has a financial impact if it goes down. They need to patch the system asap to mitigate the RHEL bug, but they are looking for the RCA for last Friday's incident before that.

Your early assistance on this would be highly appreciated. Thank you in advance.

Comment 2 Tomáš Bžatek 2023-07-31 09:51:05 UTC
storaged is a dead component, please reassign to something sane in your product.

Comment 7 Germano Veit Michel 2023-08-01 21:45:19 UTC
Hi Qing, could you please try to reproduce this? It's 8.6 EUS.

Comment 13 qing.wang 2023-08-02 02:18:17 UTC
The same issue also exists on 

Red Hat Enterprise Linux release 8.9 Beta (Ootpa)
4.18.0-504.el8.x86_64
qemu-kvm-6.2.0-37.module+el8.9.0+19491+15e62c0a.x86_64
seabios-bin-1.16.0-3.module+el8.9.0+18724+20190c23.noarch
edk2-ovmf-20220126gitbb1bba3d77-5.el8.noarch
libvirt-8.0.0-21.module+el8.9.0+19166+e262ca96.x86_64
virtio-win-prewhql-0.1-240.iso

Comment 22 Paolo Bonzini 2023-08-02 09:48:23 UTC
This is fixed upstream.

commit 3b91e8e9fe93d5ff7edf17f984c401f9e6ba55fe
Author: Gerd Hoffmann <kraxel>
Date:   Mon Apr 25 09:20:02 2022 +0200

    malloc: use variable for ZoneHigh size

commit dc88f9b72df52b22c35b127b80c487e0b6fca4af
Author: Gerd Hoffmann <kraxel>
Date:   Mon Apr 25 09:25:31 2022 +0200

    malloc: use large ZoneHigh when there is enough memory

Comment 23 Paolo Bonzini 2023-08-02 09:52:55 UTC
This is https://bugzilla.redhat.com/show_bug.cgi?id=2004662.

Comment 24 qing.wang 2023-08-02 11:05:48 UTC
It works on latest seabios

Red Hat Enterprise Linux release 9.3 Beta (Plow)
5.14.0-342.el9.x86_64
qemu-kvm-8.0.0-9.el9.x86_64
seabios-bin-1.16.1-1.el9.noarch
edk2-ovmf-20230524-2.el9.noarch
libvirt-9.3.0-2.el9.x86_64
virtio-win-prewhql-0.1-240.iso


It may see 21 virtio disks after guest boot.


/usr/libexec/qemu-kvm \
-name guest=UCDPRDTUD01,debug-threads=on \
-machine pc,usb=off,dump-guest-core=off \
-accel kvm \
-cpu host \
-m 8G \
-uuid 7956acb5-8d4f-4bc4-bc43-f6310c7aca46 \
-no-user-config \
-nodefaults \
\
-no-hpet \
-no-shutdown \
-boot strict=on \
-device piix3-usb-uhci,id=ua-f9528958-f3a9-4673-a8c3-0fef19bb83a4,bus=pci.0,addr=0x1.0x2 \
-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x1b \
-device virtio-serial-pci,id=ua-4aa948fa-bb15-4552-b1cb-a0bffcb28e06,max_ports=16,bus=pci.0,addr=0x5 \
-device ide-cd,bus=ide.1,unit=0,id=ua-c8389fc0-b2e6-47f4-be2c-179fb187a8d4,werror=report,rerror=report \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/rhel860-64-virtio-scsi.qcow2","aio":"native","node-name":"libvirt-27-storage","cache":{"direct":true,"no-flush":false}}' \
-blockdev '{"node-name":"libvirt-27-format","driver":"qcow2","file":"libvirt-27-storage"}' \
-device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,device_id=c6216bdbded2,drive=libvirt-27-format,id=c6216bdbded2,bootindex=1,write-cache=on,serial=c6216bdbded2,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg1.qcow2","aio":"native","node-name":"libvirt-21-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
 -blockdev '{"node-name":"libvirt-21-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-21-storage"}' \
 -device virtio-blk-pci,bus=pci.0,addr=0x8,drive=libvirt-21-format,id=ua-c19fa10f-eb80-4f3b-b84c-7a94dca88ad3,write-cache=on,serial=c19fa10f-eb80-4f3b-b84c-7a94dca88ad3,werror=stop,rerror=stop \
 \
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg2.qcow2","aio":"native","node-name":"libvirt-20-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-20-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-20-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x9,drive=libvirt-20-format,id=ua-abce8b5f-85d1-4f60-8fb5-1acd1665713a,write-cache=on,serial=abce8b5f-85d1-4f60-8fb5-1acd1665713a,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg3.qcow2","aio":"native","node-name":"libvirt-19-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-19-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-19-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0xa,drive=libvirt-19-format,id=ua-a862fe05-e377-4390-ba91-93c5d0d19729,write-cache=on,serial=a862fe05-e377-4390-ba91-93c5d0d19729,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg4.qcow2","aio":"native","node-name":"libvirt-18-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-18-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-18-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=libvirt-18-format,id=ua-2a8ce8f0-9fde-499a-8623-d6db532ecf67,write-cache=on,serial=2a8ce8f0-9fde-499a-8623-d6db532ecf67,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg5.qcow2","aio":"native","node-name":"libvirt-17-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-17-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-17-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0xb,drive=libvirt-17-format,id=ua-75b75514-f089-47e2-bd74-188e92f0f10a,write-cache=on,serial=75b75514-f089-47e2-bd74-188e92f0f10a,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg6.qcow2","aio":"native","node-name":"libvirt-16-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-16-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-16-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0xc,drive=libvirt-16-format,id=ua-1ce5069f-2355-484e-bffa-d2fdd3cb86ae,write-cache=on,serial=1ce5069f-2355-484e-bffa-d2fdd3cb86ae,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg7.qcow2","aio":"native","node-name":"libvirt-15-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-15-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-15-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0xd,drive=libvirt-15-format,id=ua-cfd85904-33ab-4f44-9e71-8897c3676bfb,write-cache=on,serial=cfd85904-33ab-4f44-9e71-8897c3676bfb,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg8.qcow2","aio":"native","node-name":"libvirt-14-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-14-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-14-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0xe,drive=libvirt-14-format,id=ua-f96efc01-076d-4afa-ae8a-99b5f7197600,write-cache=on,serial=f96efc01-076d-4afa-ae8a-99b5f7197600,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg9.qcow2","aio":"native","node-name":"libvirt-13-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-13-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-13-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0xf,drive=libvirt-13-format,id=ua-ac011e39-3f4a-4133-9e66-e3690245cf38,write-cache=on,serial=ac011e39-3f4a-4133-9e66-e3690245cf38,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg10.qcow2","aio":"native","node-name":"libvirt-12-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-12-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-12-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x10,drive=libvirt-12-format,id=ua-81bd7a64-c899-4118-b9dd-370889086a80,write-cache=on,serial=81bd7a64-c899-4118-b9dd-370889086a80,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg11.qcow2","aio":"native","node-name":"libvirt-11-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-11-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-11-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x11,drive=libvirt-11-format,id=ua-66d2f1a6-df05-46b9-b692-d4780c1f2f40,write-cache=on,serial=66d2f1a6-df05-46b9-b692-d4780c1f2f40,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg12.qcow2","aio":"native","node-name":"libvirt-10-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-10-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-10-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x12,drive=libvirt-10-format,id=ua-6b6f8dbe-25ec-4636-aaae-b66fd56e3b46,write-cache=on,serial=6b6f8dbe-25ec-4636-aaae-b66fd56e3b46,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg13.qcow2","aio":"native","node-name":"libvirt-9-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-9-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-9-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x13,drive=libvirt-9-format,id=ua-a14071de-be44-4a0d-9708-71193c94b30d,write-cache=on,serial=a14071de-be44-4a0d-9708-71193c94b30d,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg14.qcow2","aio":"native","node-name":"libvirt-8-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-8-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-8-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x14,drive=libvirt-8-format,id=ua-6867de10-cfb0-46b3-94d9-176ea3540cc5,write-cache=on,serial=6867de10-cfb0-46b3-94d9-176ea3540cc5,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg15.qcow2","aio":"native","node-name":"libvirt-7-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-7-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-7-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x15,drive=libvirt-7-format,id=ua-3b499f9c-fe1a-4e21-b8d8-5b5238c0c00a,write-cache=on,serial=3b499f9c-fe1a-4e21-b8d8-5b5238c0c00a,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg16.qcow2","aio":"native","node-name":"libvirt-6-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-6-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-6-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x16,drive=libvirt-6-format,id=ua-d055dc39-8c15-47a6-9277-61d534f988ce,write-cache=on,serial=d055dc39-8c15-47a6-9277-61d534f988ce,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg17.qcow2","aio":"native","node-name":"libvirt-5-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-5-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-5-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x17,drive=libvirt-5-format,id=ua-f0474336-9e3e-48a7-829d-1241545b40a1,write-cache=on,serial=f0474336-9e3e-48a7-829d-1241545b40a1,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg18.qcow2","aio":"native","node-name":"libvirt-4-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-4-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-4-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x18,drive=libvirt-4-format,id=ua-0f155578-2e20-4141-8f25-bb030ace4f5d,write-cache=on,serial=0f155578-2e20-4141-8f25-bb030ace4f5d,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg19.qcow2","aio":"native","node-name":"libvirt-3-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x19,drive=libvirt-3-format,id=ua-489ecd15-f390-4443-a0b0-075f8c11e276,write-cache=on,serial=489ecd15-f390-4443-a0b0-075f8c11e276,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg20.qcow2","aio":"native","node-name":"libvirt-2-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-2-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x1a,drive=libvirt-2-format,id=ua-f1bb7b5f-6b0d-4fa9-9a62-3f354290a48d,write-cache=on,serial=f1bb7b5f-6b0d-4fa9-9a62-3f354290a48d,werror=stop,rerror=stop \
\
-blockdev '{"driver":"file","filename":"/home/kvm_autotest_root/images/stg21.qcow2","aio":"native","node-name":"libvirt-1-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-1-storage"}' \
-device virtio-blk-pci,bus=pci.0,addr=0x1c,drive=libvirt-1-format,id=ua-a50e98fe-3dee-4742-a6f0-25f99f844f8a,write-cache=on,serial=a50e98fe-3dee-4742-a6f0-25f99f844f8a,werror=stop,rerror=stop \
\
\
  -vga std \
  -vnc :5 \
  -monitor stdio \
  -qmp tcp:0:5955,server=on,wait=off \
  -device virtio-net-pci,mac=9a:b5:b6:b1:b2:b7,id=nic1,netdev=nicpci,bus=pci.0 \
  -netdev tap,id=nicpci \
  -boot menu=on,reboot-timeout=1000,strict=off \
  \
  -chardev socket,id=socket-serial,path=/var/tmp/socket-serial,logfile=/var/tmp/file-serial.log,mux=on,server=on,wait=off \
  -serial chardev:socket-serial \
  -chardev file,path=/var/tmp/file-bios.log,id=file-bios \
  -device isa-debugcon,chardev=file-bios,iobase=0x402 \
  \

Comment 33 Paolo Bonzini 2023-08-04 08:34:35 UTC
The limit of disks accessible to SeaBIOS is

src/config.h:#define BUILD_MAX_EXTDRIVE 16

in both RHEL8 and RHEL9.

Comment 41 Yanan Fu 2023-08-09 07:13:45 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 44 Xueqiang Wei 2023-08-14 17:06:09 UTC
Reproduced it with seabios-bin-1.16.0-3.module+el8.9.0+18724+20190c23.noarch, boot a guest with 1 virio-scsi disk and 10 virio-blk disks, hitting "No bootable device".

Tested with seabios-bin-1.16.0-4.module+el8.9.0+19570+14a90618.noarch, not hit this issue.
1. boot a guest with 1 virio-scsi disk and 10 virio-blk disks, the guest boot successfully.
2. boot a guest with 1 virio-scsi disk and 16 virio-blk disks, the guest boot successfully.

And run seabios test loop, no new bug was found. So set status to VERIFIED.

Versions:
kernel-4.18.0-509.el8.x86_64
qemu-kvm-6.2.0-38.module+el8.9.0+19636+489b90af
seabios-bin-1.16.0-4.module+el8.9.0+19570+14a90618.noarch

Comment 49 errata-xmlrpc 2023-11-14 15:33:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6980


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