Bug 1020622
Summary: | seabios fail to recognize virtio-scsi device if specify LUN not 0 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Sibiao Luo <sluo> |
Component: | seabios | Assignee: | Paolo Bonzini <pbonzini> |
Status: | CLOSED ERRATA | QA Contact: | FuXiangChun <xfu> |
Severity: | medium | Docs Contact: | Jiri Herrmann <jherrman> |
Priority: | medium | ||
Version: | 7.0 | CC: | aliang, chayang, gveitmic, hhuang, juzhang, knoel, lmen, michen, mkenneth, mtessun, nmarjano, pagupta, pasik, pbonzini, qzhang, rbalakri, rpacheco, swandl, tnisan, tzheng, virt-maint, xfu, xuzhang, yafu, yama, yanyang, yhong, yisun |
Target Milestone: | rc | ||
Target Release: | 7.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | seabios-1.10.2-3.el7 | Doc Type: | Release Note |
Doc Text: |
SeaBIOS recognizes SCSI devices with a non-zero LUN
Previously, SeaBIOS only recognized SCSI devices when the logical unit number (LUN) was set to zero. Consequently, if a SCSI device was defined with a LUN other than zero, SeaBIOS failed to boot. With this update, SeaBIOS recognizes SCSI devices with LUNs other than zero. As a result, SeaBIOS boots successfully.
|
Story Points: | --- |
Clone Of: | 1020303 | Environment: | |
Last Closed: | 2017-08-01 17:44:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1020303, 1147370, 1395265, 1401400, 1420869, 1432847 |
Comment 1
Sibiao Luo
2013-10-18 05:21:30 UTC
Yes, this is a known limitation that may be lifted later. *** Bug 1147370 has been marked as a duplicate of this bug. *** I hit the issue with seabios-1.7.5-11.el7.x86_64. *** Bug 1320901 has been marked as a duplicate of this bug. *** *** Bug 1366464 has been marked as a duplicate of this bug. *** (In reply to Paolo Bonzini from comment #6) > Pankaj, > > the fix could apply to either RHEL 6 or RHEL 7, but is there a reason why > the customer is not able to change the LUN numbers (e.g. change the target > number and always specify unit=0)? In RHEV, the unit cannot be manually specified by the customer in an easy way. The only non intrusive workaround is to detach all the VMs disks and attach again ensuring the boot disk is the first one to be attached. (In reply to Paolo Bonzini from comment #16) > Patches at https://www.coreboot.org/pipermail/seabios/2017-March/011232.html Paolo, there was some feedback on the series and I don't see the patches in the upstream repo or a v2 anywhere. Do you know anything about this series? Roman said a couple weeks ago that he was about to send v2. (In reply to Paolo Bonzini from comment #18) > Roman said a couple weeks ago that he was about to send v2. Looks like the code is now upstream: https://mail.coreboot.org/pipermail/seabios/2017-May/011350.html Time for a backport? Yes, hope to post tomorrow. Fix included in seabios-1.10.2-3.el7 Replaced "virtio-scsi" with SCSI in the doc text. One virtio-scsi device can have many SCSI devices, some with LUN zero, some with LUN not zero. *** Bug 1445616 has been marked as a duplicate of this bug. *** *** Bug 1446132 has been marked as a duplicate of this bug. *** 1.Reproduced this bug this seabios-1.10.2-2.el7.x86_64. I can get the result as "no bootable device". Boot guest with lun=0 /usr/libexec/qemu-kvm -name guest=r7,debug-threads=on -enable-kvm -M pc -cpu SandyBridge -m 8192 -realtime mlock=off -smp 4,sockets=1,cores=4,threads=1 -boot strict=on -rtc base=localtime,clock=host,driftfix=slew -drive file=/home/rhel74.qcow2,if=none,id=drive-system-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,serial=QEMU-DISK1 -device virtio-scsi-pci,id=scsi0,bus=pci.0,ioeventfd=off -device scsi-hd,bus=scsi0.0,drive=drive-system-disk,id=system-disk,channel=0,scsi-id=0,lun=1,ver=mike,serial=ababab,bootindex=1 -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,bus=pci.0,addr=0x4 -vnc :2 -monitor stdio -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,id=net0,mac=12:54:00:5c:88:61 -device sga 2.Verified bug with seabios-1.10.2-3.el7.x86_64. Guest works well. So, This bug is fixed. and set this bug as verified. 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-2017:1855 *** Bug 1474730 has been marked as a duplicate of this bug. *** Hi Paolo, how can we have this package in Fedora 26 as well? *** Bug 1420869 has been marked as a duplicate of this bug. *** |