mkossmann
Enthusiast
Enthusiast

VMware 6.5.1 BUG: Host SUSE-11.1 Guest: Windows XP: USB mass storage access broken

I have no success so far accessing USB mass storage device from a Windows XP SP3 guest on a SUSE-11.1 ( kernel 2.6.27) host. When I connect the device ( I.e a Sandisk Cruzer USB drive) to an USB connector it is recognized by vmware and popup comes up :

The following devices can be connected to this virtual machine using the status bar Or choosing VM->Remobale devices: SanDisk Gruzer Crossfire.

If a choose to connect the drive another popup says: The specified device appears to be claimed by another deriver (usb-storage) .....

If I say OK there , nothing happens and the device never shows up in Windows. If I look now into the Windows device manager I see ,that the USB storage driver couldn't be started (Code 10).

vmware.log shows :

ec 31 11:14:48.294: vmx| USB: Found device [name:SanDisk\ Cruzer\ Crossfire vid:0781 pid:5204

path:6/2 speed:high family:storage]

Dec 31 11:14:49.482: vmx| USBG: Skipping SetConfiguration(1) due to device quirks

Dec 31 11:14:49.483: vmx| USBIO: Detect usb-storage class

Dec 31 11:14:49.529: vmx| USBGL: submit URB failed 16

Dec 31 11:14:51.471: mks| MKS lock got type None

Dec 31 11:14:54.368: vmx| USBGL: submit URB failed 16

Dec 31 11:14:56.614: mks| MKS lost grab

Dec 31 11:14:57.990: mks| MKS lost grab

Dec 31 11:14:59.389: vmx| USBGL: submit URB failed 16

Dec 31 11:15:04.395: vmx| USBGL: submit URB failed 16

Dec 31 11:15:05.086: vmx| USBG: Skipping SetConfiguration(1) due to device quirks

Dec 31 11:15:05.086: vmx| USBIO: Detect usb-storage class

Dec 31 11:15:05.095: vmx| USBGL: submit URB failed 16

Dec 31 11:15:05.750: vmx| USBG: Skipping SetConfiguration(1) due to device quirks

Dec 31 11:15:05.750: vmx| USBIO: Detect usb-storage class

Dec 31 11:15:05.757: vmx| USBGL: submit URB failed 16

Dec 31 11:15:06.472: vmx| USBG: Skipping SetConfiguration(1) due to device quirks

Dec 31 11:15:06.473: vmx| USBIO: Detect usb-storage class

Dec 31 11:15:07.158: mks| MKS switching absolute mouse off

Dec 31 11:15:07.184: mks| MKS switching absolute mouse on

Dec 31 11:15:14.763: mks| MKS lost grab

and the linux syslog shows :

Dec 31 11:14:54 PC1 kernel: usb 6-2: usbfs: process 11111 (vmware-vmx) did not claim interface 0 before use

Dec 31 11:14:59 PC1 kernel: usb 6-2: usbfs: process 11111 (vmware-vmx) did not claim interface 0 before use

Dec 31 11:15:04 PC1 kernel: usb 6-2: usbfs: process 11111 (vmware-vmx) did not claim interface 0 before use

Dec 31 11:15:04 PC1 kernel: usb 6-2: reset high speed USB device using ehci_hcd and address 5

Dec 31 11:15:04 PC1 kernel: usb 6-2: reset high speed USB device using ehci_hcd and address 5

Dec 31 11:15:05 PC1 kernel: usb 6-2: usbfs: process 11111 (vmware-vmx) did not claim interface 0 before use

Dec 31 11:15:05 PC1 kernel: usb 6-2: reset high speed USB device using ehci_hcd and address 5

Dec 31 11:15:05 PC1 kernel: usb 6-2: reset high speed USB device using ehci_hcd and address 5

Dec 31 11:15:05 PC1 kernel: usb 6-2: usbfs: process 11111 (vmware-vmx) did not claim interface 0 before use

Dec 31 11:15:05 PC1 kernel: usb 6-2: reset high speed USB device using ehci_hcd and address 5

Dec 31 11:15:06 PC1 kernel: usb 6-2: reset high speed USB device using ehci_hcd and address 5

This problem doesn't show up On SUSE-11.0 with kernel 2.6.25 but also happens on 11.0 with kernel 2.6.27

Reply
0 Kudos
imdos
Contributor
Contributor

I am having the exact same problem. My OS is Ubuntu 8.10 on x86_64

I allready tried this:

none /proc/bus/usb usbfs devgid=46,devmode=666 0 0

All usb related items in my .vmx file

-


usb.present = "TRUE"

usb.generic.autoconnect = "FALSE"

#usb.autoConnect.device0 = "path:1/0 autoclean:1"

#usb.autoConnect.device1 = "path:6/1 autoclean:1"

usb.generic.skipSetCfr25onfig = "TRUE"

usb.generic.skipSetConfig = "TRUE"

#example usb.autoConnect.device0 = "0x00b1:0x056a"

usb.autoConnect.device0 = "0x1390:0x0001" #Tomtom

usb.autoConnect.device1 = "0x1976:0x6025" #USB Stick

usb.autoConnect.device2 = "0x05ac:0x200a" #Bluetooth

usb.autoConnect.device3 = "0x05ac:0x1260" #Ipod

usb.autoConnect.device4 = "0x0718:0x0064" #USB stick

usb.autoConnect.device5 = "0x054c:0x0243" #Sony Stick 1GB

usb.autoConnect.device6 = "0x058f:0x6387" #Transcend/TakeMS, 2GB

usb.autoConnect.device7 = "path:6/1 autoclean:1"

usb.generic.allowHID = "TRUE"

ehci.present = "TRUE"

ehci.pciSlotNumber = "34"

ehci.syncWriteBack = "TRUE"

uhci.syncWriteBack = "TRUE"

-


Turning on debugging has not brought me anywhere.

The strange thing is that it works in linux kernel 2.6.26, the problem is not OS related, before i had Slamd64 with my own kernel and when i switched to 2.6.27* the USB stopped working.

So i guess it has something to do with the kernel.

Reply
0 Kudos
Richw68
Contributor
Contributor

Has anyone resolved this issue? I am seeing it as well using kernel 2.6.27.

Reply
0 Kudos
mkossmann
Enthusiast
Enthusiast

No, I haven't seen a patch or update which fixes that problem. Smiley Sad

Reply
0 Kudos
fermulator
Contributor
Contributor

also seeing this issue on Ubuntu 8.10 32-bit

$ uname -a

Linux fermmy-server 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux

usb 4-1: usbfs: process 23682 (vmware-vmx) did not claim interface 1 before use

usb 4-1: usbfs: process 23682 (vmware-vmx) did not claim interface 1 before use

usb 4-1: usbfs: process 23682 (vmware-vmx) did not claim interface 4 before use

usb 4-1: usbfs: process 23682 (vmware-vmx) did not claim interface 4 before use

usb-storage: device scan complete

scsi 26:0:0:0: Direct-Access TigerJet HardDisk v2.0 PQ: 0 ANSI: 2

scsi 26:0:0:1: CD-ROM TigerJet CD-ROM v2.0 PQ: 0 ANSI: 2

sd 26:0:0:0: 36352 512-byte hardware sectors (19 MB)

sd 26:0:0:0: Write Protect is off

sd 26:0:0:0: Mode Sense: 03 00 00 00

sd 26:0:0:0: Assuming drive cache: write through

sd 26:0:0:0: 36352 512-byte hardware sectors (19 MB)

sd 26:0:0:0: Write Protect is off

sd 26:0:0:0: Mode Sense: 03 00 00 00

sd 26:0:0:0: Assuming drive cache: write through

sdn: unknown partition table

sd 26:0:0:0: Attached SCSI removable disk

sd 26:0:0:0: Attached scsi generic sg14 type 0

sr1: scsi3-mmc drive: 0x/0x caddy

sr 26:0:0:1: Attached scsi CD-ROM sr1

sr 26:0:0:1: Attached scsi generic sg15 type 5

usb 4-1: usbfs: process 23682 (vmware-vmx) did not claim interface 1 before use

usb 4-1: usbfs: process 23682 (vmware-vmx) did not claim interface 1 before use

/dev/vmmon[23686]: /dev/rtc open failed: -2

usb 4-1: usbfs: process 23682 (vmware-vmx) did not claim interface 1 before use

/dev/vmmon[23686]: /dev/rtc open failed: -2

/dev/vmmon[23686]: /dev/rtc open failed: -2

/dev/vmmon[23686]: /dev/rtc open failed: -2

/dev/vmmon[23686]: /dev/rtc open failed: -2

/dev/vmmon[23686]: /dev/rtc open failed: -2

/dev/vmmon[23686]: /dev/rtc open failed: -2

/dev/vmmon[23686]: /dev/rtc open failed: -2

/dev/vmmon[23686]: /dev/rtc open failed: -2

Reply
0 Kudos
fermulator
Contributor
Contributor

omg these forums are terrible Smiley Sad -- the editor doesn't let you "quote" text so that it doesn't auto-complete stuff?

Reply
0 Kudos
GabiTame
Contributor
Contributor

I have similar problem in the host machine

uname -a

Linux TameServer 2.6.31-17-server #54-Ubuntu SMP Thu Dec 10 18:06:56 UTC 2009 x86_64 GNU/Linux

wmware.log-->

May 28 19:22:59.350: vmx| USBG: Quirks for device 0403:6001 (skip-setconfig)

May 28 19:22:59.350: vmx| USB: Adding autoconnect pattern in slot 0

May 28 19:22:59.380: vmx| POLL device deleted

May 28 19:22:59.380: vmx| USB: Device should already be connected

May 28 19:22:59.380: vmx| VMXVmdbLoadUsbDevices: New set of 3 USB devices

May 28 19:22:59.380: vmx| USB: Found device

May 28 19:22:59.380: vmx| USB: Found device

May 28 19:22:59.380: vmx| USB: Found device

May 28 19:23:00.868: vmx| USBGL: SETCONFIGURATION=1 failed -1:16:Device or resource busy

May 28 19:23:20.486: vmx| USBGL: submit URB failed 16

May 28 19:23:20.611: vmx| USBGL: submit URB failed 16

May 28 19:23:20.710: vmx| USBGL: submit URB failed 16

May 28 19:23:20.810: vmx| USBGL: submit URB failed 16

dmesg (Host)-->

http:// 1104.799367 usb 3-1: reset full speed USB device using ohci_hcd and address 3

http:// 1104.970116 ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected

http:// 1104.970191 usb 3-1: Detected FT232BM

http:// 1104.970196 usb 3-1: Number of endpoints 2

http:// 1104.970201 usb 3-1: Endpoint 1 MaxPacketSize 64

http:// 1104.970206 usb 3-1: Endpoint 2 MaxPacketSize 64

http:// 1104.970211 usb 3-1: Setting MaxPacketSize 64

http:// 1104.972179 usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB1

http:// 1105.403323 ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1

http:// 1105.403357 ftdi_sio 3-1:1.0: device disconnected

http:// 1105.590045 usb 3-1: reset full speed USB device using ohci_hcd and address 3

http:// 1105.768114 ftdi_sio 3-1:1.0: FTDI USB Serial Device converter detected

http:// 1105.768158 usb 3-1: Detected FT232BM

http:// 1105.768161 usb 3-1: Number of endpoints 2

http:// 1105.768163 usb 3-1: Endpoint 1 MaxPacketSize 64

http:// 1105.768166 usb 3-1: Endpoint 2 MaxPacketSize 64

http:// 1105.768168 usb 3-1: Setting MaxPacketSize 64

http:// 1105.770199 usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB1

http:// 1105.950188 usb 3-1: usbfs: interface 0 claimed by ftdi_sio while 'vmware-vmx' sets config #1

The vmware machines find usb but Usb ports aren't working.

Do somebody know the solution ?

Thanks.

Reply
0 Kudos