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.
Bug 1210249 - windows guest lost usb2.0 devices when boot up with 24 usb-storage devices
Summary: windows guest lost usb2.0 devices when boot up with 24 usb-storage devices
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.7
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-09 09:38 UTC by ShupingCui
Modified: 2016-05-16 04:08 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 07:41:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description ShupingCui 2015-04-09 09:38:29 UTC
Description of problem:
boot up with 24 usb-storage 2.0 devices(4 ehci controller and each controller attach 6 usb-storage devices), check the usb devices in "Disk Management" or using 'list disk' in diskpart.

Win7.64:
boot 24 devices, found 23 devices in guest
Win2012r2.64:
boot 24 devices, found 22 devices in guest
Win2008r2.64:
boot 24 devices, found 24 devices in guest

BTW,
on RHEL7 host, tried with qemu-kvm-rhev-2.2.0-8.el7.x86_64 and win2012r2
not found this bug, can find 24 usb devices in guest.

Version-Release number of selected component (if applicable):
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-0.12.1.2-2.464.el6.x86_64


How reproducible:
100%

Steps to Reproduce:
1. boot up Win2012r2.64 guest with 24 usb-storage 2.0 devices
/usr/bin/qemu-kvm \
    -name 'virt-tests-vm1' \
    -M rhel6.6.0  \
    -nodefaults  \
    -vga qxl \
    -device AC97,bus=pci.0,addr=03  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20150408-155434-5Y2Gguv8,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=qmp_id_catch_monitor,path=/tmp/monitor-catch_monitor-20150408-155434-5Y2Gguv8,server,nowait \
    -mon chardev=qmp_id_catch_monitor,mode=control  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20150408-155434-5Y2Gguv8,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20150408-155434-5Y2Gguv8,path=/tmp/seabios-20150408-155434-5Y2Gguv8,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20150408-155434-5Y2Gguv8,iobase=0x402 \
    -device usb-ehci,id=usb1,bus=pci.0,addr=04 \
    -device usb-ehci,id=usb2,bus=pci.0,addr=05 \
    -device usb-ehci,id=usb3,bus=pci.0,addr=06 \
    -device usb-ehci,id=usb4,bus=pci.0,addr=07 \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/win2012-64r2-virtio-scsi.qcow2 \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=08 \
    -device scsi-hd,id=image1,drive=drive_image1,bootindex=0 \
    -drive id=drive_stg0,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg0.qcow2 \
    -device usb-storage,id=stg0,drive=drive_stg0,bus=usb4.0,port=1 \
    -drive id=drive_stg1,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg1.qcow2 \
    -device usb-storage,id=stg1,drive=drive_stg1,bus=usb4.0,port=2 \
    -drive id=drive_stg2,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg2.qcow2 \
    -device usb-storage,id=stg2,drive=drive_stg2,bus=usb4.0,port=3 \
    -drive id=drive_stg3,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg3.qcow2 \
    -device usb-storage,id=stg3,drive=drive_stg3,bus=usb4.0,port=4 \
    -drive id=drive_stg4,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg4.qcow2 \
    -device usb-storage,id=stg4,drive=drive_stg4,bus=usb4.0,port=5 \
    -drive id=drive_stg5,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg5.qcow2 \
    -device usb-storage,id=stg5,drive=drive_stg5,bus=usb4.0,port=6 \
    -drive id=drive_stg6,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg6.qcow2 \
    -device usb-storage,id=stg6,drive=drive_stg6,bus=usb3.0,port=1 \
    -drive id=drive_stg7,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg7.qcow2 \
    -device usb-storage,id=stg7,drive=drive_stg7,bus=usb3.0,port=2 \
    -drive id=drive_stg8,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg8.qcow2 \
    -device usb-storage,id=stg8,drive=drive_stg8,bus=usb3.0,port=3 \
    -drive id=drive_stg9,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg9.qcow2 \
    -device usb-storage,id=stg9,drive=drive_stg9,bus=usb3.0,port=4 \
    -drive id=drive_stg10,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg10.qcow2 \
    -device usb-storage,id=stg10,drive=drive_stg10,bus=usb3.0,port=5 \
    -drive id=drive_stg11,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg11.qcow2 \
    -device usb-storage,id=stg11,drive=drive_stg11,bus=usb3.0,port=6 \
    -drive id=drive_stg12,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg12.qcow2 \
    -device usb-storage,id=stg12,drive=drive_stg12,bus=usb2.0,port=1 \
    -drive id=drive_stg13,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg13.qcow2 \
    -device usb-storage,id=stg13,drive=drive_stg13,bus=usb2.0,port=2 \
    -drive id=drive_stg14,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg14.qcow2 \
    -device usb-storage,id=stg14,drive=drive_stg14,bus=usb2.0,port=3 \
    -drive id=drive_stg15,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg15.qcow2 \
    -device usb-storage,id=stg15,drive=drive_stg15,bus=usb2.0,port=4 \
    -drive id=drive_stg16,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg16.qcow2 \
    -device usb-storage,id=stg16,drive=drive_stg16,bus=usb2.0,port=5 \
    -drive id=drive_stg17,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg17.qcow2 \
    -device usb-storage,id=stg17,drive=drive_stg17,bus=usb2.0,port=6 \
    -drive id=drive_stg18,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg18.qcow2 \
    -device usb-storage,id=stg18,drive=drive_stg18,bus=usb1.0,port=1 \
    -drive id=drive_stg19,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg19.qcow2 \
    -device usb-storage,id=stg19,drive=drive_stg19,bus=usb1.0,port=2 \
    -drive id=drive_stg20,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg20.qcow2 \
    -device usb-storage,id=stg20,drive=drive_stg20,bus=usb1.0,port=3 \
    -drive id=drive_stg21,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg21.qcow2 \
    -device usb-storage,id=stg21,drive=drive_stg21,bus=usb1.0,port=4 \
    -drive id=drive_stg22,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg22.qcow2 \
    -device usb-storage,id=stg22,drive=drive_stg22,bus=usb1.0,port=5 \
    -drive id=drive_stg23,if=none,cache=none,snapshot=off,aio=native,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/stg23.qcow2 \
    -device usb-storage,id=stg23,drive=drive_stg23,bus=usb1.0,port=6 \
    -device virtio-net-pci,mac=9a:27:28:29:2a:2b,id=idB55eIl,vectors=4,netdev=iddeivp7,bus=pci.0,addr=09  \
    -netdev tap,id=iddeivp7 \
    -m 8192  \
    -smp 4,maxcpus=4,cores=2,threads=1,sockets=2  \
    -cpu 'SandyBridge',hv_relaxed,hv_relaxed \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/root/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/winutils.iso \
    -device ide-drive,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0  \
    -spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=c,menu=off,strict=off \
    -enable-kvm \
    -monitor stdio

2. check the usb devices in "Disk Management" or using 'list disk' in diskpart.
3.

Actual results:
lost some usb devices in guest

Expected results:
can find 24 usb devices

Additional info:

Comment 1 ShupingCui 2015-04-09 09:44:59 UTC
This bug is not a regression, cause met this bug on qemu-kvm-rhev-0.12.1.2-2.445.el6.x86_64 too.

Comment 4 Gerd Hoffmann 2015-04-27 12:05:38 UTC
Not clear whenever that is a host or a guest bug, given that a rhel guest has no trouble with that many usb devices.

Lowering priority as lots of usb disks isn't a typical use case.

Does this happen with a rhel-7 host too?

Comment 5 ShupingCui 2015-04-28 01:33:40 UTC
(In reply to Gerd Hoffmann from comment #4)
> Not clear whenever that is a host or a guest bug, given that a rhel guest
> has no trouble with that many usb devices.
> 
> Lowering priority as lots of usb disks isn't a typical use case.
> 
> Does this happen with a rhel-7 host too?

on RHEL7 host, tried with qemu-kvm-rhev-2.2.0-8.el7.x86_64 and win2012r2
not found this bug, can find 24 usb devices in guest.

Comment 7 Gerd Hoffmann 2015-12-02 07:41:03 UTC
> > Lowering priority as lots of usb disks isn't a typical use case.

Also no customers affected ...

> > Does this happen with a rhel-7 host too?
> 
> on RHEL7 host, tried with qemu-kvm-rhev-2.2.0-8.el7.x86_64 and win2012r2
> not found this bug, can find 24 usb devices in guest.

... and fixed in RHEL-7 + upstream.

Closing, seems not worth the effort for RHEL-6.


Note You need to log in before you can comment on or make changes to this bug.