Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
The commit below was backported on RHEL6 as f7c85aba63fb55cea2cdb3c5011074cb386c9902.
Reproduced on qemu-kvm-0.12.1.2-2.334.el6 with this command (and also with -device usb-host):
/usr/libexec/qemu-kvm \
-device usb-ehci -usbdevice host:0x13fe:0x3600 -boot menu=on
Reverting the commit fixes it.
+++ This bug was initially created as a clone of Bug #876112 +++
Description of problem:
USB flash drive passed ass usb-host gets skipped at boot.
Version-Release number of selected component (if applicable):
qemu-kvm-1.2.0-18.el7
Upstream since commit a844ed842d9a9d929645c09ae0f52f753d7a02e0
usb-host: attach only to running guest
How reproducible:
Always.
Steps to Reproduce:
Run qemu with -device usb-host,hostbus=2,hostaddr=4,id=hostdev0,bootindex=1
Actual results:
Machine boots from the drive next in the boot order.
Expected results:
The machine will boot from the USB drive.
Additional info:
It doesn't appear in the boot menu either.
Reproduce this bug on qemu-kvm-0.12.1.2-2.334.el6.x86_64.
host info:
# uname -r && rpm -q qemu-kvm
2.6.32-342.el6.x86_64
qemu-kvm-0.12.1.2-2.334.el6.x86_64
Steps:
1.boot a guest with "-boot menu=on" and attach a physical usb stick.
eg: ...-boot menu=on -readconfig /home/ich9-ehci-uhci.cfg -device usb-host,hostbus=2,hostaddr=3,id=hostdev2,bus=ehci.0,port=2
2.press F12 during POST to check the boot order.
Result:
after the step 2, there is no usb stick in the boot order, like:
Press F12 for boot menu.
Select boot device:
1. virtio-scsi Drive QEMU QEMU HARDDISK 0.12
2. virtio-scsi Drive QEMU QEMU HARDDISK 0.12
3. gPXE (PCI 00:05.0)
4. Legacy option rom
------------------------------------------------------------------
Verify this bug on qemu-kvm-0.12.1.2-2.337.el6.x86_64.
host info:
# uname -r && rpm -q qemu-kvm
2.6.32-342.el6.x86_64
qemu-kvm-0.12.1.2-2.337.el6.x86_64
Steps:
the same to reproduce
Result:
after the step 2, the usb stick is in the boot order, like:
Press F12 for boot menu.
Select boot device:
1. USB MSC Drive Kingston DT 101 G2 PMAP <-----existing!
2. virtio-scsi Drive QEMU QEMU HARDDISK 0.12
3. virtio-scsi Drive QEMU QEMU HARDDISK 0.12
4. gPXE (PCI 00:05.0)
5. Legacy option rom
Base on above, this issue has been fixed correctly.
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-0527.html