Bug 916016
Summary: | grub-efi should recognize virtio-blk devices | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Laszlo Ersek <lersek> | ||||
Component: | grub | Assignee: | Václav Pavlín <vpavlin> | ||||
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.5 | CC: | jcpunk, jrieden, pbokoc, pbonzini, pholica, tycho.nightingale | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | grub-0.97-82.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause:
Grub didn't check EFI device path against EFI pci device path.
Consequence:
Grub wasn't able to recognize virtio-blk device in qemu-kvm with OVMF bios - thus fell into grub shell.
Fix:
Check EFI device path against EFI pci device path.
Result:
Grub now can see the disk successfully.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-11-21 20:47:10 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: | |||||||
Attachments: |
|
Description
Laszlo Ersek
2013-02-27 01:56:36 UTC
Created attachment 703232 [details] (proposed patch) recognize virtio-blk on OVMF The patch follows the GNU coding standards: https://www.gnu.org/prep/standards/html_node/Formatting.html Hi Laszlo, Thanks for the patch. I will consider it to the next release. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. I'm confirming the fix. I upgraded grub from grub-0.97-81.el6 to grub-0.97-82.el6 in my OVMF-based RHEL-6 guest, downloading the latter build from Brew. Then I shut down the guest, changed the disk bus from (virtio-)scsi to virtio(-blk) in virt-manager, and booted the guest again. I had to update the boot option in the OVMF setup TUI (which was expected -- this step is necessary so that OVMF finds grub itself). Afterwards grub booted the OS from the virtio-blk root disk. Thanks. Reproduced on RHEL6.4 x86_64 Client. Verified fix on RHEL6.5-20131004.5 x86_64 Client. 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. http://rhn.redhat.com/errata/RHBA-2013-1649.html |