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.
Description of problem:
boot a windows 7 geust with emulated usb1.1 sticks through the usb-hub adding to the UHCI controller, the guest will fail to detect the emulated usb1.1 sticks.
Version-Release number of selected component (if applicable):
host info:
# uname -r && rpm -q qemu-kvm
2.6.32-251.el6.x86_64
qemu-kvm-0.12.1.2-2.265.el6.x86_64
# rpm -q seabios
seabios-0.6.1.2-12.el6.x86_64
guest info:
guest_name: win7sp1-64
virtio-win: virtio-win-prewhql-0.1-24
How reproducible:
100%
Steps to Reproduce:
1.create two qcow2 usb-storages.
# qemu-img create -f qcow2 usb-storage1.qcow2 100M
# qemu-img create -f qcow2 usb-storage2.qcow2 200M
2.boot windows 7 guest with emulated usb1.1 and usb2.0 sticks, the usb1.1 stick through the usb-hub add to the UHCI controller and the usb2.0 stick add to the EHCI controller directly.
eg:...-monitor stdio -usb -device usb-tablet,id=input1,bus=usb.0,port=1 -device usb-hub,bus=usb.0,port=2,id=hub -device usb-storage,bus=usb.0,port=2.4,drive=drive-usb-2-0,id=usb-2-0,removable=on -drive file=/home/usb-storage1.qcow2,if=none,id=drive-usb-2-0,media=disk,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads -device usb-ehci,id=ehci -device usb-storage,drive=drive-usb-0-0,id=usb-0-0,removable=on,bus=ehci.0,port=1 -drive file=/home/usb-storage2.qcow2,if=none,id=drive-usb-0-0,media=disk,format=qcow2,cache=none,werror=stop,rerror=stop,aio=native
3.check usb info war monitor.
(qemu) info usb
Device 0.1, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Device 0.2, Port 2, Speed 12 Mb/s, Product QEMU USB Hub
Device 0.3, Port 2.4, Speed 12 Mb/s, Product QEMU USB MSD
Device 1.1, Port 1, Speed 480 Mb/s, Product QEMU USB MSD
4.initialize and format all the emulated usb sticks in the guest var
"Computer---->Manage---->Disk Management".
Actual results:
after the step 4, only find the emulated usb2.0 stick(200 MB), and it can be initialized and formatted successfully, but the emulated usb1.1 stick(100 MB) cann't be detected.
Expected results:
all of the emulated usb1.1 and usb2.0 sticks can be detected and can be initialized and formatted successfully.
Additional info:
If the usb1.1 stick add to the UHCI controller and the usb2.0 stick add to the EHCI controller directly in the step 2, the two sticks work well and all of them can be initialized and formatted successfully.
eg:...-usb -device usb-tablet,id=input-0-1,bus=usb.0,port=1 -device usb-storage,drive=drive-usb-0-1,id=usb-0-1,removable=on,bus=usb.0,port=2 -drive file=/home/usb-storage1.qcow2,if=none,id=drive-usb-0-1,media=disk,format=qcow2,cache=none,werror=stop,rerror=stop,aio=native -device usb-ehci,id=ehci -device usb-storage,drive=drive-usb-0-2,id=usb-0-2,removable=on,bus=ehci.0,port=1 -drive file=/home/usb-storage2.qcow2,if=none,id=drive-usb-0-2,media=disk,format=qcow2,cache=none,werror=stop,rerror=stop,aio=native
FYI
Bug 807313 - qemu-kvm core dumped while booting guest with usb-storage running on usb-hub(linux guest)
Seems these two bugs share the same trigger method just using different guests(one is windos,the other is linux)
(In reply to comment #3)
> Might be a dup of bug 796118.
> Please retest with 2.6.32-253.el6.x86_64 or newer.
Hi Gred,
I have retested this issue on the 2.6.32-253.el6.x86_64 with the same steps, all of the emulated usb1.1 and usb2.0 sticks can be detected and can be
initialized and formatted successfully.
so, this issue have been fixed on the latest qemu-kvm version.
Thx. & Best wish