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 1452603 - can't bootup from image when attached multi-virtio-scsi disks with multi-luns
Summary: can't bootup from image when attached multi-virtio-scsi disks with multi-luns
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: seabios
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: FuXiangChun
URL:
Whiteboard:
Depends On:
Blocks: 1497066 1497071
TreeView+ depends on / blocked
 
Reported: 2017-05-19 10:16 UTC by Xueqiang Wei
Modified: 2018-04-10 14:28 UTC (History)
13 users (show)

Fixed In Version: seabios-1.10.2-5.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1497066 1497071 (view as bug list)
Environment:
Last Closed: 2018-04-10 14:26:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
cmd file (51.64 KB, text/plain)
2017-05-19 10:16 UTC, Xueqiang Wei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0814 0 None None None 2018-04-10 14:28:18 UTC

Description Xueqiang Wei 2017-05-19 10:16:10 UTC
Created attachment 1280366 [details]
cmd file

Description of problem:

can't bootup from image when attached multi-virtio-scsi disks with multi-luns


Version-Release number of selected component (if applicable):
host:
kernel-3.10.0-666.el7.x86_64
qemu-kvm-rhev-2.9.0-5.el7

guest: 
kernel-3.10.0-666.el7.x86_64


How reproducible:
100%


Steps to Reproduce:
1. run test.sh (refer to the attachment)

Actual results:
can't bootup from image


Expected results:
bootup normally


Additional info:
Not hit this issue on RHEL.7.3:
kernel-3.10.0-514.16.1.el7.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.9

Not hit this issue:
qemu-kvm-rhev-2.9.0-3.el7
qemu-kvm-rhev-2.9.0-4.el7

Comment 2 Karen Noel 2017-05-22 11:33:46 UTC
Please provide qemu-kvm command line used. Thanks.

Comment 3 Fam Zheng 2017-05-22 12:00:03 UTC
Please, attach the boot image as LUN 0. In your command it is pointing to stg0.qcow2.

Comment 4 Xueqiang Wei 2017-06-13 08:53:51 UTC
set lun=0 for boot image also can not bootup normally.

It is seabios issue:
Not hit this issue on below version:
seabios-1.10.2-2.el7.x86_64.rpm
seabios-bin-1.10.2-2.el7.noarch.rpm
seavgabios-bin-1.10.2-2.el7.noarch.rpm


Hit this issue on:
seabios-1.10.2-3.el7.x86_64.rpm
seabios-bin-1.10.2-3.el7.noarch.rpm
seavgabios-bin-1.10.2-3.el7.noarch.rpm

Comment 11 Paolo Bonzini 2017-07-07 14:12:51 UTC
These patches were rejected upstream:
https://www.mail-archive.com/seabios@seabios.org/msg10086.html

The suggestion is to allocate virtqueue info in high memory, which would allow virtio drivers to support more drives.  However, I'm not sure that it would support the full amount used in this testcase (it could still go out of memory).

Comment 12 Paolo Bonzini 2017-09-27 15:01:15 UTC
The upstream maintainer developed an alternative patchset that works with ~900 disks and can be backported easily to RHEL.

Comment 14 Miroslav Rezanina 2017-10-20 10:41:57 UTC
Fix included in seabios-1.10.2-5.el7

Comment 16 FuXiangChun 2017-11-28 09:01:16 UTC
Reproduced this bug with seabios-1.10.2-4.el7.x86_64 & seabios-1.10.2-3.el7.x86_64 & qemu-kvm-rhev-2.10.0-7.el7.x86_64 

steps:

use script test.sh in attachment

result:

can't bootup from image

Verified bug with seabios-1.10.2-7.el7.x86_64 & qemu-kvm-rhev-2.10.0-7.el7.x86_64 

Result:

All disks can be found inside guest. and guest works well

Comment 17 FuXiangChun 2017-11-28 09:03:13 UTC
According to comment16. This bug is fixed. And set this bug as verified.

Comment 20 errata-xmlrpc 2018-04-10 14:26:48 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, 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/RHBA-2018:0814


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