Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VMware Passthrough - Device Removed on Reboot

Posted on 2013-01-15
13
Medium Priority
?
3,034 Views
Last Modified: 2013-06-25
I have a vSphere 5.1.0 server. I'm trying to DirectPath a USB drive to a VM (I've tried this on multiple identical servers with the same results). I go to Configuration -> Advanced Settings -> Properties and check the box for both USB controllers ("Intel Corporation Patsburg USB2 Enhanced Host Controller."

After a few I refresh and they show up there but tell me I have to reboot the host for them to work. Upon rebooting the host they are no longer listed in that section, so they can't be added to a VM. I'm a little lost on what to do.
0
Comment
Question by:DaveQuance
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
13 Comments
 
LVL 124
ID: 38780607
Direct Path configuration is suggesting a reboot of the host?

We have never seen this issue with adding PCI devices as Direct Path devices. However we have seen many issues with adding USB controllers as Direct Path devices, but never a request to reboot.
0
 

Author Comment

by:DaveQuance
ID: 38780625
After they are listed if I highlight them they say "This device needs host reboot to start running in passthrough mode"

If I go to a VM that is shutdown and edit settings (prior to a reboot) and try to add hardware it shows "PCI Device (unavailable)" and highlighted it says:

"This device cannot be added to this virtual machine because: There are no devices reserved for PCI passthrough on the host"

Then when I reboot they are no longer listed in the DirectPath I/O section anymore. And just to verify post the reboot I check and PCI Device is still unavailable.
0
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1050 total points
ID: 38780638
It seems the device is not compatible with VM Direct Path i/o, not all devices are compatible, although they appear on the PCI bus and can be added.

the usb controller is not in use?
0
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 

Author Comment

by:DaveQuance
ID: 38780733
It lists and doesn't give any complaints (see attached screenshot). One of the USB ports has a hard drive on it but it's not in use by the host. There were two lab servers I P2V'd that had USB controllers on them but nothing was added to the controllers (just removed them too and PCI device is still unavailable).

If it were incompatible would it still load in the first place? Is there a log file somewhere I could check to see if it's saying why it clears it on reboot?
0
 
LVL 124
ID: 38780745
yes, many PCI devices can be added but do not work in VMs.

logs are in /var/log

vkernel.log
0
 

Author Comment

by:DaveQuance
ID: 38780854
I looked through the log. I'm not that familiar with it but I think I pulled most related to the USB controllers. The only unsupported reference I found seems like it's just to adding the USB hard drive as storage. I attached the partial info, most was post the reboot I think and then after re-adding them in DirectPath I think that's when this part came up:

2013-01-15T22:16:00.289Z cpu9:9067)<6>usb passthrough enabled; all eligible devices will be unclaimed by kernel drivers
2013-01-15T22:16:00.289Z cpu0:8755)<6>usb-storage 2-1.2:1.0: unclaiming vmhba32
2013-01-15T22:16:00.289Z cpu24:8413)ScsiPath: 5046: DeletePath : adapter=vmhba32, channel=0, target=0, lun=1
2013-01-15T22:16:00.289Z cpu28:8412)ScsiPath: 5046: DeletePath : adapter=vmhba32, channel=0, target=0, lun=0
2013-01-15T22:16:00.289Z cpu20:8245)ScsiDevice: 6052: No Handlers registered!
2013-01-15T22:16:00.289Z cpu20:8245)ScsiDevice: 4086: Device state of mpx.vmhba32:C0:T0:L0 set to APD_START; token num:1

Is there a particular log entry that would indicate with certainty if it's supported or not?
0
 
LVL 124
ID: 38780874
Im afraid not, its trial and error with most PCI devices.
0
 

Author Comment

by:DaveQuance
ID: 38780890
Should I only see the two controllers or should I see more underneath them too like in the screenshot on this link: http://www.vm-help.com/esx40i/VMDirectPath/USB_Setup.php

My guess is that if I'm supposed to see options below the controller for the ports themselves, then you're right and I can't passthrough them.
0
 
LVL 124
ID: 38780921
all servers are different as to what is available.
0
 

Author Comment

by:DaveQuance
ID: 38808924
I tried the same thing using an ICH10 USB controller (virtualized an old physical server, DL360 G7) and had the same problem. Since I found people with ICH9 on DL360 G6s working I looked into it again.

There have been a notable number of references to passthrough problems for USB in vSphere 5.1.0. "the onboard USB passthrough (and as i read from other topics), also the extention cards with usb, is not working correctly in ESXi 5.1."

A few describing it exactly as I was seeing it, it's marked, reboot required, rebooted, then no longer marked. The problem may extend beyond USB but it seems some had 5.0U1 with a passthrough setup that no longer works in 5.1.

http://communities.vmware.com/thread/417736

I had to make 2 of my hosts 5.1 for the removal of the memory limitations in the essentials package. I didn't *have* to upgrade the other ones though, I wasn't using USB passthrough when they were 5.0U1 though. At this point I'm kind of regretting upgrading some of them.
0
 

Author Comment

by:DaveQuance
ID: 38969431
This ended up being a bug that started in 5.1. The fix was released on 3/7/2013 and the functionality is back.
0
 

Expert Comment

by:StarrateIT
ID: 39273777
Hi Dave,

Did you get this working again, we have not been able to even after updating our VMware to latest.

Which version works after 5.1?
0
 

Author Comment

by:DaveQuance
ID: 39274661
I'm currently on 5.1.0-20121004001.

I did read somewhere post my update that after a reboot people were still losing the setting and having to re-apply it (but after the first time setting it and rebooting a reboot wasn't required to turn it back on). I have not tested this though.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

610 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