USB drive problems after upgrading to VBox 3.0.4

Discussions related to using VirtualBox on Mac OS X hosts.
spaaarky21
Posts: 18
Joined: 16. May 2009, 19:14
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows XP

USB drive problems after upgrading to VBox 3.0.4

Post by spaaarky21 »

After upgrading from VirtualBox 2.x to 3.0.4, most of my USB storage devices (external HDD's, flash drives) no longer work in my Windows XP guest. Windows says the devices have malfunctioned. The problem never happened prior to upgrading VirtualBox and OS X is able to recognize and mount them. The host is a MacBook (Core 1 Duo) running OS 10.4.11. Any ideas?

Brandon
Last edited by spaaarky21 on 11. Sep 2009, 01:54, edited 1 time in total.
Uzume
Posts: 90
Joined: 9. Sep 2009, 21:10
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: MS Windows 2003, PureDarwin

Re: USB drive problems after upgrading to VBox 3.0.4

Post by Uzume »

spaaarky21 wrote:The guest is a MacBook (Core 1 Duo) running OS 10.4.11.
I am going to assume you meant "The host is a MacBook..." and not guest as VirtualBox does not currently support Mac OS X as a guest and you already were talking about Windows XP as a guest.
spaaarky21
Posts: 18
Joined: 16. May 2009, 19:14
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows XP

Re: USB drive problems after upgrading to VBox 3.0.4

Post by spaaarky21 »

Uzume wrote:
spaaarky21 wrote:The guest is a MacBook (Core 1 Duo) running OS 10.4.11.
I am going to assume you meant "The host is a MacBook..." and not guest as VirtualBox does not currently support Mac OS X as a guest and you already were talking about Windows XP as a guest.
Yes, the Mac is the host. My mistake. Has anyone else had problems with USB drives in a Windows XP guest on a Mac host?
Joewoof
Posts: 2
Joined: 11. Sep 2009, 20:11
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: Windows 7

Re: USB drive problems after upgrading to VBox 3.0.4

Post by Joewoof »

I am having a similar problem with a Mac OS X 10.6 Snow Leopard host running a Windows 7 RC guest. This is not a Windows-guest problem either, as my Linux Mint 7 Gloria guest also encounters the same issue.

This problem occurs in both VirtualBox 3.0.4 and 3.0.6. Again, *none* of my USB devices can be mounted.
spaaarky21
Posts: 18
Joined: 16. May 2009, 19:14
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows XP

Re: USB drive problems after upgrading to VBox 3.0.4

Post by spaaarky21 »

Joewoof wrote:I am having a similar problem with a Mac OS X 10.6 Snow Leopard host running a Windows 7 RC guest. This is not a Windows-guest problem either, as my Linux Mint 7 Gloria guest also encounters the same issue.

This problem occurs in both VirtualBox 3.0.4 and 3.0.6. Again, *none* of my USB devices can be mounted.
Oddly enough, I was actually able to get one of my external drives to mount once since upgrading to VBox 3.0 but it was completely random. It "just worked" one day and has yet to work again since then. I'm thinking about going back to VirtualBox 2.x.
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: USB drive problems after upgrading to VBox 3.0.4

Post by rpmurray »

There's a kext in the /System/Library/Extensions folder that can interfere with the loading of USB storage devices on the guest side, called IOUSBMassStorageClass.kext. Try moving it to the desktop and see if that allows you to mount them on the guest side. If the USB devices start to work then it'll point to a bug in VB.
spaaarky21
Posts: 18
Joined: 16. May 2009, 19:14
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows XP

Re: USB drive problems after upgrading to VBox 3.0.4

Post by spaaarky21 »

I tried with and without that kernel extension (removed, rebooted, tried mounting a USB drive in VBox) but it didn't work either way. I would still think that it's a VBox bug since the problem only occurred after upgrading from 2.x to 3.0.x.
ttrtilley
Posts: 2
Joined: 13. Sep 2009, 09:31
Primary OS: Other
VBox Version: OSE other
Guest OSses: win7 rc1 64bit

Re: USB drive problems after upgrading to VBox 3.0.4

Post by ttrtilley »

I could mount a 4 GB USB flash stick, but not a 1GB USB hard drive partitioned DOS and formatted FAT.
The hard drive appears in the menu, but is greyed out, even though it was ejected on OS X.
This is running VBox 3.0.6 on Snow Leopard with WIN 7 rc1 64bit guest.

Moving IOUSBMassStorageClass.kext and rebooting OS X removes the grayed out problem.
It tries to mount the drive, but never finishes.
I know it has done something, because if I try to mount it a second time, it tells me that it is "busy with a previous request"
ttrtilley
Posts: 2
Joined: 13. Sep 2009, 09:31
Primary OS: Other
VBox Version: OSE other
Guest OSses: win7 rc1 64bit

Re: USB drive problems after upgrading to VBox 3.0.4

Post by ttrtilley »

What VB has done is capture the drive. This is good.
Unfortunately, Windows doesn't mount it.

It I quit Windows and create a USB filter for the drive in VB, then I can move IOUSBMassStorageClass.kext back where it came from.
VB grabs the drive before OS X does.
Windows, however, still doesn't mount the thing.
spaaarky21
Posts: 18
Joined: 16. May 2009, 19:14
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows XP

Re: USB drive problems after upgrading to VBox 3.0.4

Post by spaaarky21 »

Well, it sounds like at least a few people have had this problem since upgrading to 3.0.x. Is that enough to put in a bug report?
fudgefactor
Posts: 3
Joined: 18. Sep 2009, 02:19
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows XP

Re: USB drive problems after upgrading to VBox 3.0.4

Post by fudgefactor »

I have the same problem with VBox 3.0.6. I have a Mid 2009 Macbook Pro with Snow Leopard 10.6.1 installed. I am running a 64-bit kernel. The guest OS is WinXP. I am able to capture the USB drive within the guest os, but after a few minutes, Windows complains that it is an unknown device. This also happens when I try to attach the Mac's iSight, so it is not specific to the USB drive. I have been having this problem since I moved to VBox 3.0, including when I was running 32-bit Leopard.
cameron
Posts: 1
Joined: 19. Sep 2009, 19:41
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: XP, Vista

Re: USB drive problems after upgrading to VBox 3.0.4

Post by cameron »

I've got the same issue. I'm running VBox 3.0.6 with Mac OS X Leopard as the Host and WinXP Pro as the guest. I can't get any of my USB drives to show up in XP at all. Just thought I'd chime in.
spaaarky21
Posts: 18
Joined: 16. May 2009, 19:14
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows XP

Re: USB drive problems after upgrading to VBox 3.0.4

Post by spaaarky21 »

I was playing around with this again and when I disabled USB 2.0 support for the VM, Windows was able to recognize a flash drive as a USB mass storage device... but then it failed to install the driver. I guess that's progress?
Adlopa
Posts: 4
Joined: 22. Sep 2009, 14:05
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: Windows XP, Vista, 7

Re: USB drive problems after upgrading to VBox 3.0.4

Post by Adlopa »

Another "me too" for this. However..

I've been using VirtualBox 2.2.4 until now and I've never been able to get USB drives to work under any version of Windows, either with USB 1 or 2. This is with a SnowLeopard / Core 2 Duo host. This hasn't been an issue until today, when I *really* need to do it.

I only discovered VirtualBox 3.0 today after reading this thread — VirtualBox didn't detect an available upgrade. Even so, USB drives still don't work...
spaaarky21
Posts: 18
Joined: 16. May 2009, 19:14
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows XP

Re: USB drive problems after upgrading to VBox 3.0.4

Post by spaaarky21 »

Adlopa wrote:Another "me too" for this. However...

I've been using VirtualBox 2.2.4 until now and I've never been able to get USB drives to work under any version of Windows, either with USB 1 or 2. This is with a SnowLeopard / Core 2 Duo host. This hasn't been an issue until today, when I *really* need to do it.
If 2.2.4 didn't work either, are you sure you have it configured right? In the USB configuration, you will need to setup a "filter" for the devices you want to use. Or create a new filter and leave everything blank to expose everything you plug in to the guest.
Post Reply