Solved

Cannot access USB device on VMWare virtual machine

Posted on 2014-04-03
33
423 Views
Last Modified: 2014-10-06
Though the drivers are loading on both the VM and the OS, I cannot see any USB drives when I plug them into the host server.
0
Comment
Question by:fuzzyfreak
  • 17
  • 15
33 Comments
 
LVL 12

Expert Comment

by:David Paris Vicente
ID: 39975522
Did you check here ->USB support in ESXi/ESX 4.1 and ESXi 5.x to check the USB device passthrough requirements and limitations.

Regards
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 39975529
Please check my EE Article

HOW TO: Add and Connect a USB Device to a Virtual Machine, hosted on VMware vSphere Hypervisor ESX 4.1 ESXi 4.1, ESXi 5.0

Not all USB devices are compatibe, and not all servers are compatible with USB either.

Which version of ESXi ?

Can you check the hosts logs /var/log for the usb.log file, and check it's contents.
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 39975712
ESXI Version 5.0.0
How do I access the log files?  I cannot see that folder on the Datastores.
One thing worthy of note is that if you click Add on teh Hardware tab, you get the following error message -
Call "PropertyCollector.RetrieveContents" for object "ha-property-collector" on ESXi "ukharvm01" failed.

Note, my V5.5 server does not have the above problem.
Also note that the VM already has a USB Controller (not device) inherited from converting from a virtual box image.
Looks like I need to upgrade this to 5.5 first (back to your previous guide Andrew).
0
 
LVL 117
ID: 39976203
You have added a USB Controller Device to the VM?

what is the usb device?
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 39982748
See attachment.
VM-USB.docx
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 39983624
I can see the USB device on my other VH - so I am going to upgrade this one and see if that resolves the issue.
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 39983861
Andrew, I am trying to upgrade my host but keep getting the following error (I have tried in maintenance mode as well) Any ideas? -

 esxcli software profile update -d /vmfs/volumes/Datastore1/VMware-ESXi-5.5.0-1331820-depot.zip -p ESXi-5.5.0-1331820-standard
 [InstallationError]
 The transaction is not supported: VIB VMware_bootbank_misc-cnic-register_1.72.1.v50.1i-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-lpfc820_8.2.3.1-129vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_lpfc_10.0.100.1-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-nx-nic_5.0.621-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_block-cciss_3.6.14-10vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-fnic_1.5.0.4-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_sata-ahci_3.0-17vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ohci-usb-ohci_1.0-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_elxnet_10.0.100.0v-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_uhci-usb-uhci_1.0-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-cnic_1.72.52.v55.1-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-be2net_4.6.100.0v-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-mptspi_4.23.01.00-9vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_esx-base_5.5.0-0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-e1000_8.0.3.1-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_lsi-mr3_0.255.03.01-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-igb_2.1.11.1-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_esx-tboot_5.5.0-0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-bnx2_2.2.3d.v55.2-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-hpsa_5.5.0-44vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ata-pata-via_0.3.3-2vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ima-qla4xxx_2.01.31-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ata-pata-amd_0.3.10-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-qla2xxx_902.k1.1-9vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-ips_7.12.05-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_sata-sata-svw_2.3-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-e1000e_1.1.2-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-mpt2sas_14.00.00.00-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_sata-sata-sil24_1.1-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-forcedeth_0.61-2vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-aic79xx_3.1-5vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-bnx2i_2.72.11.v55.4-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_sata-ata-piix_2.12-9vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-qla4xxx_5.01.03.2-6vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-ixgbe_3.7.13.7.14iov-11vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_sata-sata-promise_2.12-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-mlx4-core_1.9.7.0-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_rste_2.0.2.0088-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-bnx2x_1.72.56.v55.2-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_esx-xlibs_5.5.0-0.0.1331820 cannot be live installed. VIB VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-bnx2fc_1.72.53.v55.1-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-enic_1.4.2.15a-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-tg3_3.123c.v55.5-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_misc-drivers_5.5.0-0.0.1331820 cannot be live installed. VIB VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_sata-sata-nv_3.5-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_qlnativefc_1.0.12.0-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_sata-sata-sil_2.3-4vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-mlx4-en_1.9.7.0-1vmw.550.0.0.1331820 cannot be live installed. VIB VMware_bootbank_net-ixgbe_2.0.84.8.2-10vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ata-pata-atiixp_0.4.6-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_uhci-usb-uhci_1.0-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ohci-usb-ohci_1.0-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-qla4xxx_5.01.03.2-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-megaraid-sas_4.32-1vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-aic79xx_3.1-5vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-bnx2_2.0.15g.v50.11-5vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-fnic_1.5.0.3-1vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-hpsa_5.0.0-17vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-bnx2i_1.9.1d.v50.1-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-igb_2.1.11.1-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_sata-sata-nv_3.5-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-e1000e_1.1.2-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-forcedeth_0.61-2vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_sata-ata-piix_2.12-4vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-qla2xxx_901.k1.1-14vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_sata-sata-promise_2.12-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_esx-tboot_5.0.0-0.0.469512 cannot be removed live. VIB VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-be2net_4.0.88.0-1vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_esx-base_5.0.0-0.0.469512 cannot be removed live. VIB VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-nx-nic_4.0.557-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_sata-ahci_3.0-6vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-ips_7.12.05-4vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-mpt2sas_06.00.00.00-5vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_sata-sata-sil_2.3-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_sata-sata-svw_2.3-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ata-pata-via_0.3.3-2vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-lpfc820_8.2.2.1-18vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-mptspi_4.23.01.00-5vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_misc-cnic-register_1.1-1vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-e1000_8.0.3.1-2vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-enic_1.4.2.15a-1vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ata-pata-amd_0.3.10-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_block-cciss_3.6.14-10vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_misc-drivers_5.0.0-0.0.469512 cannot be removed live. VIB VMware_bootbank_net-cnic_1.10.2j.v50.7-2vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-mptsas_4.23.01.00-5vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ima-qla4xxx_2.01.07-1vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-tg3_3.110h.v50.4-4vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_net-bnx2x_1.61.15.v50.1-1vmw.500.0.0.469512 cannot be removed live. VIB VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.500.0.0.469512 cannot be removed live.
 Please refer to the log file for more details.
0
 
LVL 117
ID: 39984622
Upgrading host is a new question to maintain thread topic.
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40067252
Right, well until I get help upgrading the host (new Q opened) I won't be able to close this one down.  I am going to attempt an upgrade on Monday.
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40325728
Upgrading host did not resolve this so I moved the VM to another server which has a different issue of not allowing me to edit the VMs settings 0- I give up with VMWare - nothing but issues.
0
 
LVL 117
ID: 40325971
okay, back to square one...

1. what is the server, make and model ?

2. is in on the HCL ?

3. can you check the server logs

4. what is the USB device?
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40337121
Right, back on this.  Here is where I am at.
Server I am currently concentrating on is a Dell Poweredge R510.  I moved the VM to this one because USB passthrough was not working on the other one but I knew it was working on this one because I had it working.  However, I have now upgraded this one to VSphere 5.5 - so they are now both running the latest version.
Now passthrough is not working on it.
When you go to edit the settings you get the message attached, about using the Web Client.
So, I dutifully download VCentre which, as a pre-requisite, I have to install Vcentre Single sign-on and get the error on the attached document.
I then read that you cannot install this on Windows 7!!  Not sure if that is true.  But I can install on Windows Server - so I tried this but it tells me that I cannot install it on a domain controller.

As you can see, this is becoming very frustrating and VMWare are refusing to help due to the type of licence I have (Essentials).

Thanks
vsphere-erros.docx
0
 
LVL 117
ID: 40337219
Correct, Windows 7 Desktop is not supported or a Domain Controller.

logs from the serve r?

/var/logs/vmkernel.log
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40341670
I cannot see a VAR folder (see attached)
vsphere-browse.docx
0
 
LVL 117
ID: 40341697
you will need to login to the console or via SSH. you cannot browse the OS via the datastore browser, you can only browse the datastores.

Part 5: HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 5.1 (ESXi 5.1)

you could also use Export Logs, File Export > Export System Logs
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40343493
Thanks, please see log attached.
vmkernel.log
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 117
ID: 40343536
there are no usb references in that file, was this log taken, after the insertion or removal of the USB device ?

is there a usb.log ?
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40343568
I've just plugged it in, please find log attached.  I note the file has not updated since 11th September.
usb.log
0
 
LVL 117
ID: 40343573
can you post me the vmkernel.log again....
0
 
LVL 117
ID: 40343580
type

 lsusb

at the console

there have also been some issues with ESXi 5.5 GA (original release) I would update to ESXi 5.5 Update 2 Build 2068190

and try this build.
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40343595
lsusb attached.

Will this build allow me to edit my VMs?  This is all I am after doing, it will allow me to resolve this issue.
lsusb.docx
0
 
LVL 117
ID: 40343607
if you have created version 10 VMs, the older vSphere Client 5.5 there was a "bug", VMware claim a bug, personally I thought it was deliberate, but anyway, vSphere Client 5.5 Update 2 can now edit version 10 VMs!

I would not use version 10 VMs, unless you need the features, I would leave them at 8!

do those devices look like your missing USB device ?

there is Flash Drive connected ?
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40343880
None of those appear to be the USB drive I plugged into the front of the server, however they all seem to be labelled by device id. I wonder if part of the problem is that at some point I passed USB through to my machine.  I can select my usb dock from the VM console but on plugging in a USB stick, it won't connect to it (USB Device 1 Connecting...)
0
 
LVL 117
ID: 40343909
I would try

1. all ports on the server

2. update to ESXi 5.5 Update 2.

if none of that works, escalate to Dell and VMware Support.

(or if your server supports VM Direct Path I/O pass the entire USB controller to the VM)
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40344093
Thanks. I will try the update first.  Do you happen to have a link to the update or one of your brilliant articles?
0
 
LVL 117
ID: 40344185
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40344439
I have forgotten how to apply this.  I downloaded the ISO, burned to DVD, put in server, rebooted and it didn't prompt to boot from DVD (I did this recently with the 5.5 upgrade) - what am I missing.
Also, how do I shutdown all my VMs without having to log into each of them and "sudo shutdown -h now" or Start, shutdown for Windows?  This takes a good twenty minutes to do each of them (more on the other server).

Thanks
0
 
LVL 117
ID: 40344647
These are really new questions now......but...

select them all in the GUI.....CTRL B I think Shutdown....

Make sure BOOT from CDROM is enabled, or use offline patch, and upload it to datastore, and apply.
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40355249
OK. Updated.
Still cannot edit machine - Version 10 or higher, need web client....see comment above...
USB still pointing to my laptop and docking station - cannot change this without editing the machine.
Really at the point of chucking VMWare - given me nothing but problems all year.
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 40355363
0
 
LVL 4

Author Comment

by:fuzzyfreak
ID: 40363373
Thanks, Andrew.  This new client allowed me to edit V10 VMs.  It seems my issue was two fold, the first was that the rear USB ports were not passing through (the front ones are) - the second was that this particular USB dongle is a software key and for some reason was not appearing as a device in My Computer so there was no way of knowing if it worked without running the licence manager from the software.  It appears this now works, so we can close of this issue.
Many thanks for your help.
0
 
LVL 117
ID: 40363378
No problems, glad you have a result. Accept the correct Solution Above, which Answered your issue!
0
 
LVL 4

Author Closing Comment

by:fuzzyfreak
ID: 40363384
Appreciate persistence of expert in getting this problem eventually resolved.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now