博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
usb mass storage device
阅读量:6227 次
发布时间:2019-06-21

本文共 10087 字,大约阅读时间需要 33 分钟。

Problem adding USB host device to KVM Windows guest machine.

: CLOSED CURRENTRELEASE
 
: None
 
Fedora
qemu ()
18
x86_64 Unspecified
 
unspecified unspecified
: ---
: ---
: Fedora Virtualization Maintainers
Fedora Extras Quality Assurance
 
 
:  
 
  Show dependency / 
 
2012-02-11 15:19 EST by Juris Krumins
2015-03-08 22:18 EDT ()
24 users ()
 
 
 
Bug Fix
 
 
 
2013-05-28 17:01:23 EDT
 

Attachments
(115.92 KB, application/pdf)
, Juris Krumins
no flags
(2.28 KB, text/plain)
, denise.p.berry
no flags
(proposed patch, testcase, etc.)
 
Juris Krumins 2012-02-11 15:19:12 EST
Created  Windows machine guest infoDescription of problem:Trying to add USB host device - storage and/or eToken to KVM Windows 7 32 and/or 64 bit (also Windows XP 32 and 64 bit) guest. No luck. Looks like Windows 7 see somthing on the bus, but device is not functioning inside of guest operating system. Sometime device in guest operating system doesn't even appear.Version-Release number of selected component (if applicable):Fedora 16qemu-common-0.15.1-4.fc16.x86_64qemu-img-0.15.1-4.fc16.x86_64qemu-system-x86-0.15.1-4.fc16.x86_64qemu-user-0.15.1-4.fc16.x86_64qemu-kvm-tools-0.15.1-4.fc16.x86_64qemu-kvm-0.15.1-4.fc16.x86_64How reproducible:Start Windows KVM machine, add USB Steps to Reproduce:1.Start Windows 7 guest using Virtual Machine Manager2. Add Hardware in "Virtual Hardware Details" part3. Choose USB host device and select for USB flash drive.4. Apply  Actual results:No functional device appears in Windows 7 guestExpected results:USB flash device and/or functional eToken device should appear.Additional info:Mentioned configuration worked fine in Fedora 14 using KVM, Windows XP and eToken USB token. I guess it's somehow connected with USB 2.0 integration in qemu.
Fedora Admin XMLRPC Client 2012-03-15 13:56:50 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.
Francis 2012-08-20 15:25:49 EDT
Same problem on RHEL 6.3
Jonathan Underwood 2012-10-18 06:28:40 EDT
Can confirm I see this problem on RHEL 6.3 too.
denise.p.berry 2013-01-03 16:17:13 EST
Please provide an update with the status of this issue.
Juris Krumins 2013-01-04 02:52:25 EST
(In reply to )> Please provide an update with the status of this issue.Unfortunatelly still no luck to get eToken to work in KVM VM.Using following components:Fedora release 16 (Verne) x86_64kernel-3.6.10-2.fc16.x86_64qemu-kvm-0.15.1-8.fc16.x86_64qemu-img-0.15.1-8.fc16.x86_64qemu-kvm-tools-0.15.1-8.fc16.x86_64qemu-system-x86-0.15.1-8.fc16.x86_64qemu-common-0.15.1-8.fc16.x86_64Tested eiher with "Default" and "USB2" USB Controller Mode in KVM.
denise.p.berry 2013-01-08 15:53:16 EST
This issue has been open for almost a year.  Since there isn't a workaround or fix yet, can this errata be documented in the Technical Notes document?
Cole Robinson 2013-01-11 10:56:49 EST
Anyone hitting an issue on RHEL, please file a separate bug there.Sorry for the general lack of response, but given that F16 is EOL if about a month, and USB support in qemu has changed quite a bit between F16 version and current state of things, my recommendation would be to try out Fedora 18, and if you can reproduce the issue I'll raise it with the USB guys.
Juris Krumins 2013-01-12 07:39:19 EST
I can try things out with F18 and report back in any case so we can decide what to to with this issue.(In reply to )
Fedora End Of Life 2013-01-16 15:43:26 EST
This message is a reminder that Fedora 16 is nearing its end of life.Approximately 4 (four) weeks from now Fedora will stop maintainingand issuing updates for Fedora 16. It is Fedora's policy to close allbug reports from releases that are no longer maintained. At that timethis bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'.Package Maintainer: If you wish for this bug to remain open because youplan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life.Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora.Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.The process we are following is described here:
Juris Krumins 2013-01-17 08:26:04 EST
(In reply to )> I can try things out with F18 and report back in any case so we can decide> what to to with this issue.(In reply to )I've tested things out with F17. Same behaviour.Following components are in use:qemu-common-1.0.1-2.fc17.x86_64qemu-kvm-1.0.1-2.fc17.x86_64kernel-3.6.11-1.fc17.x86_64qemu-kvm-tools-1.0.1-2.fc17.x86_64qemu-system-x86-1.0.1-2.fc17.x86_64qemu-img-1.0.1-2.fc17.x86_64
Don Dugger 2013-05-23 11:32:59 EDT
We tried this out on Fedora 18 and encountered the same problem.  Can you raise the issue with the USB guys?
Cole Robinson 2013-05-23 11:45:52 EDT
Don, for completeness can you please provide the following:qemu package versionsqemu command lineguest OSlsusb -vvv of the devicedescribe how things are failing in the guest
denise.p.berry 2013-05-23 17:08:18 EDT
Created  lsusb -vvv output of the device
denise.p.berry 2013-05-23 17:16:13 EDT
F18:qemu-system-x86-1.2.2-11.fc18.x86_64qemu-img-1.2.0-23.fc18.x86_64qemu-kvm-1.2.2-11.fc18.x86_64qemu-common-1.2.2-11.fc18.x86_64kernel-3.6.10-4.fc18.x6_64Guest OSs:Windows Server 2008 R2 SP1 and Windows Server 2012lsusb -vvv output:  Please see attachmentDescription of how things are failing in the guest:Used Virtual Machine Manager to direct assign a USB device to a guest.  This works fine if the guest is Linux, but with a Windows guest it doesn't get assigned.  The device is removed from the host, and the guest OS has a yellow bang in device manager under Universal Serial Bus Controllers > USB Mass Storage Device.  In device properties, the general tab has the following device status: This device cannot start. (Code 10)An invalid parameter was passed to a service or function.  The events tab has an error event: Device not started (USBSTOR).  The device not started event has the following information:  Device USB\VID_0BC2&PID_2400\2GJ11QJ6____had a problem starting.Driver Name: usbstor.infClass GUID: {36FC9E60-C464-11CF-8056-444553540000}Service: USBSTORLower Filters:Upper Filters: Problem: 0xAStatus: 0x0The Windows Event Manager logged the following information for the same error event described above:Log Name: Microsoft-Windows-Kernel-PnP/Device ConfigurationSource: Kernel-PnpEvent ID:  411Level: WarningUser: SYSTEMOpCode: InfoTried two USB devices on and they produced the same results.
Cole Robinson 2013-05-23 17:23:36 EDT
Hans, Gerd, anything else to check for here?
Hans de Goede 2013-05-24 02:25:52 EDT
Hi all,(In reply to Cole Robinson from )> Hans, Gerd, anything else to check for here?Denise, can you check what the usb controller type is set to in the virtual hardware details tab? If it is set to default or 1, can you try changing it to 2 ?Also you're using host redirection, so can you please check /var/log/libvirt/qemu/
.log and if there are any USB related messages there, collect them and attach here?Thanks,Hans
Juris Krumins 2013-05-24 04:53:16 EDT
Just my 5 cents.I finally got Alladin eToken to work on F18 with the following components:qemu-system-sparc-1.2.2-11.fc18.x86_64kernel-modules-extra-3.8.11-200.fc18.x86_64qemu-system-xtensa-1.2.2-11.fc18.x86_64qemu-system-mips-1.2.2-11.fc18.x86_64qemu-system-x86-1.2.2-11.fc18.x86_64kernel-3.9.2-200.fc18.x86_64qemu-user-1.2.2-11.fc18.x86_64qemu-system-ppc-1.2.2-11.fc18.x86_64qemu-system-sh4-1.2.2-11.fc18.x86_64qemu-system-s390x-1.2.2-11.fc18.x86_64qemu-system-alpha-1.2.2-11.fc18.x86_64qemu-img-1.2.2-11.fc18.x86_64qemu-system-or32-1.2.2-11.fc18.x86_64qemu-1.2.2-11.fc18.x86_64qemu-system-unicore32-1.2.2-11.fc18.x86_64qemu-system-microblaze-1.2.2-11.fc18.x86_64kernel-doc-3.9.2-200.fc18.noarchqemu-system-m68k-1.2.2-11.fc18.x86_64qemu-kvm-1.2.2-11.fc18.x86_64kernel-modules-extra-3.8.9-200.fc18.x86_64kernel-headers-3.9.2-200.fc18.x86_64kernel-modules-extra-3.9.2-200.fc18.x86_64qemu-system-lm32-1.2.2-11.fc18.x86_64qemu-kvm-tools-1.2.2-11.fc18.x86_64qemu-system-cris-1.2.2-11.fc18.x86_64qemu-common-1.2.2-11.fc18.x86_64qemu-system-arm-1.2.2-11.fc18.x86_64USB controller model for the virtual machine set to: Model USB 2Guest OS: Windows 7 64 bit.
Cole Robinson 2013-05-25 15:31:34 EDT
Denise, please see , more info has been requested.
denise.p.berry 2013-05-28 15:39:19 EDT
Setting the USB controller type to 2 instead of 1 (default) works.  The log for the VM (/var/log/libvirt/qemu/
.log) didn't have any USB specific information when I tried using controller type 1.
Hans de Goede 2013-05-28 17:01:23 EDT
Hi,Thanks for testing!(In reply to denise.p.berry from )> Setting the USB controller type to 2 instead of 1 (default) works.  The log> for the VM (/var/log/libvirt/qemu/
.log) didn't have any USB specific> information when I tried using controller type 1.That explains things then, the device you're trying to redirect is considered not compatible with a USB-1 controller, before we had USB-2 support we did not check that, but now we only allow redirecting USB-2 devices to a USB-1 controller if the meet certain criteria and the device apparently does not,Since moving to an USB-2 controller fixes this I'm going to close this bug.Regards,Hans
Michael DePaulo 2015-03-08 22:18:39 EDT
FYI: CentOS 7.0, and presumably RHEL 7.0, are affected by this issue also.Changing the USB controller from "default" to "USB2" fixed compatibility with my SATA hard drive in a  USB2 dock (13fd:1240 "Generic External").
 

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

转载地址:http://ijfna.baihongyu.com/

你可能感兴趣的文章
使用Flash Builder 4.6出现 新建配置 失败 java.lang.NullPointerException错误
查看>>
Frp基础配置模版
查看>>
JDK源码阅读--Object
查看>>
有关于认证和加密
查看>>
深入浅出Git教程(转载)
查看>>
[转载]MySQL5.6 PERFORMANCE_SCHEMA 说明
查看>>
max_allowed_packet引起同步报错处理
查看>>
006 复杂的数据类型&函数(方法)
查看>>
javascript:getElementsByName td name
查看>>
ASP.NET连接SQL、Access、Excel数据库(二)——连接实例
查看>>
FreeRTOS 特性简介
查看>>
Linux--前后端分离部署
查看>>
java阶段学习目标
查看>>
Azure IoT 技术研究系列2
查看>>
day24-3-2子类继承构造方法
查看>>
我们一起学习WCF 第五篇数据协定和消息协定
查看>>
Linux 与 Windows 文件互传(VMWare)
查看>>
Python学习笔记八 面向对象高级编程(一)
查看>>
Oracle内置函数
查看>>
UVA 1645 Count
查看>>