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:
usb stick can't be detected inside windows guest when booting guest with usb stick or hotplugging usb stick to guest under 1.1 controller
Version-Release number of selected component (if applicable):
# uname -r
2.6.32-220.el6.x86_64
# rpm -qa | grep qemu-kvm
qemu-kvm-0.12.1.2-2.209.el6_2.1.x86_64
How reproducible:
100%
Steps to Reproduce:
1.boot a windows guest
/usr/libexec/qemu-kvm -m 4G -smp 2 -cpu cpu64-rhel6,+x2apic -drive file=/home/win7_64.qcow2,format=qcow2,if=none,id=drive-virtio-0-0,werror=stop,rerror=stop,cache=none -device virtio-blk-pci,drive=drive-virtio-0-0,id=virtio-0-0,bootindex=1 -netdev tap,id=hostnet0,script=/etc/qemu-ifup -device virtio-net-pci,netdev=hostnet0,mac=00:10:20:2d:31:21,bus=pci.0,addr=0x5,id=net0 -uuid 3290efd3-7c9e-44f9-b5f7-af0f3a1b3066 -rtc base=localtime,clock=host,driftfix=slew -no-kvm-pit-reinjection -monitor stdio -name win7-64 -spice port=8000,disable-ticketing -vga qxl -balloon none -usb -device usb-host,hostbus=1,hostaddr=3,id=hostdev1
Actual results:
usb stick can not detected inside windows guest
Expected results:
usb stick can be detected inside windows guest and works well.
Additional info:
I use two different usb sticks to test it. one of them is named A, the other is named B. Usb stick can not used normally by A and B under uhci.
However,guest hangs mostly when booting windows guest by A under ehci, maybe A has some hardware problems, but usb stick works well when booting linux guest by A under ehci, so open
Bug 752049. pls check the following comparison. And 'lsusb -v -s $device' is in the attachment.
usb stick | guest | uhci | ehci
----------------------------------------------------
| linux | normally | normally
A -------------------------------------------
|windows| not detected| guest hangs mostly
----------------------------------------------------
| linux | normally | normally
B -------------------------------------------
|windows| not detected| normally
(In reply to comment #3)
> Please retest with 6.3 snapshot.
hi, Gerd
sorry for delay. I retest it with 6.3 snapshot and usb still can't be detected inside windows guest under uhci.
#uname -r 2.6.32-257.el6.x86_64
#qemu-kvm-0.12.1.2-2.265.el6.x86_64
guest:win7_64_virtio.qcow2
Low priority and low impact, limited to windows and a few specific usb sticks. Deferring to RHEL6.5, high change of closing this as WONTFIX in the next cycle if we get no customer reports.
(In reply to comment #9)
> Can I get 'lspci -v' for the non-working stick?
Sure.
# lspci -v
...
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Dell Device 047e
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at e1a70000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci_hcd
...
(In reply to Ronen Hod from comment #17)
> QE,
> We will not fix it for RHEL6.
> Please test with RHEL7 (many changes) and file a new bug.
ok, got it, and we have already this issue in rhel7(bug 949225), thanks.