Issue connecting USB storage to Win10 guest

Discussions about using Windows guests in VirtualBox.
Post Reply
virtualchris
Posts: 6
Joined: 25. Jul 2022, 06:23

Issue connecting USB storage to Win10 guest

Post by virtualchris »

I use a Win10 base VM to create clones for various testing. The base VM does not have USB enabled because not all clones need it. When needed, I create the clone and enable USB. Done this for about three years without issue.
Last week I updated to VBox 6.1.36 (including extensions). Used some clones without USB no problem. This morning I created a clone and enabled USB and got an Application Error shortly into boot up:

The instruction at 0x00007FF8*****CFB referenced memory . . .

Click OK; the clone then shows as Aborted in Manager. If I disable USB, the clone boots normally, and sfc finds no errors.
I’ve tried three different USB storage devices in three USB ports. No software has been added or removed from the base VM or the clones. Something I’m doing wrong? Something in 6.1.36? Please help!

Host is Win 10 21H2
8 core 24 GB

Thanks, chris
Attachments
VBox.log
Log of clone boot failure.
(89.9 KiB) Downloaded 10 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Issue connecting USB storage to Win10 guest

Post by mpack »

This is very odd. The log is incomplete (please close down the VM and zip the log), and shows something booting from CD (Windows10.iso): making it a Win10 install, not a clone of a working Win10 installation.
virtualchris
Posts: 6
Joined: 25. Jul 2022, 06:23

Re: Issue connecting USB storage to Win10 guest

Post by virtualchris »

Ok, will disable CD and zip new log.
virtualchris
Posts: 6
Joined: 25. Jul 2022, 06:23

Re: Issue connecting USB storage to Win10 guest

Post by virtualchris »

New log zipped.
Attachments
Win10BASE FULLCLONE TEST123-2022-07-25-11-31-33.7z
(21.5 KiB) Downloaded 8 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Issue connecting USB storage to Win10 guest

Post by mpack »

This log is no better than the last one, exactly the same features I described earlier, including booting from a Windows 10 DVD (ISO).

One additional comment I can make is that the crash happens shortly after xHCI(USB3) support is initialized. Try disabling USB support in the VM. And if Win10 is already installed then you need to eject that DVD before booting again.
virtualchris
Posts: 6
Joined: 25. Jul 2022, 06:23

Re: Issue connecting USB storage to Win10 guest

Post by virtualchris »

And yes, that's the problem: The VM works fine without USB, but fails with. And I need USB. This only started when I went to 6.1.36.

Thought I had removed CD. Will do new log.
virtualchris
Posts: 6
Joined: 25. Jul 2022, 06:23

Re: Issue connecting USB storage to Win10 guest

Post by virtualchris »

Fyi, I tried a scratch install of a Win 10 VM. Same error on boot up. Tried an install of linuxmint. Same error.

Going back to 5.2.44.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Issue connecting USB storage to Win10 guest

Post by mpack »

virtualchris wrote:Going back to 5.2.44.
... will hardly lead to an understanding of the problem. And if USB is enabled there then there's every chance the problem will still be there too.
Spitzohr
Posts: 2
Joined: 28. Jul 2022, 23:55

Re: Issue connecting USB storage to Win10 guest

Post by Spitzohr »

I've got the same problem since I updated to 6.1.36 today. Host and Guest OS are both Windows 10 x64 (Pro, 21H2 on the host), but I have the same problem with Linux guests.It seems to be related to USB3 as USB2 works fine. The error message when crashing is the same, too. I've attached a compressed logfile that hopefully helps.
Last edited by Spitzohr on 3. Aug 2022, 18:06, edited 1 time in total.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Issue connecting USB storage to Win10 guest

Post by fth0 »

Spitzohr wrote:I've got the same problem
Confirmed, you're experiencing the same crash (at offset 0xa4cfb in VBoxDD.DLL).
Spitzohr wrote:It seems to be related to USB3 as USB2 works fine.
Can you elaborate on that?
Spitzohr
Posts: 2
Joined: 28. Jul 2022, 23:55

Re: Issue connecting USB storage to Win10 guest

Post by Spitzohr »

fth0 wrote:
Spitzohr wrote:It seems to be related to USB3 as USB2 works fine.
Can you elaborate on that?
I've had virtual machines that started without crashing, so I compared the settings. The vm whose log I posted starts fine if the usb controller in the vm's settings is set to USB2 (OHCI + EHCI), but fails with USB3 (xHCI) enabled. The Linux machines I checked first were the same: usb3 means crash, usb2 works fine.

Expansion pack's version matches VirtualBox' version. I also re-installed VirtualBox already with a restart after un- and re-install.
virtualchris
Posts: 6
Joined: 25. Jul 2022, 06:23

Re: Issue connecting USB storage to Win10 guest

Post by virtualchris »

Confirmed, yes USB2 (OHCI,EHCI) works fine. Never thought to check. Not happy, but I can live w/ that. Still, I'm interested to hear how things turn out.

I did the Win10 install to confirm nothing funny in my base VM. The linux install to make sure it wasn't a Microsoft thing. As I said in my 1st post, I have been cloning a Win10 VM and using it w/ USB3.0 for about three years without issue. That's why I want to go to a previous ver that works.
Good luck,
chris
Attachments
VM USB error.jpg
VM USB error.jpg (51.94 KiB) Viewed 4658 times
PeterWang-dev
Posts: 7
Joined: 28. Jul 2022, 17:24

Re: Issue connecting USB storage to Win10 guest

Post by PeterWang-dev »

viewtopic.php?f=3&t=106667

Same issue to me when running arch from usb drive on Win11 host.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Issue connecting USB storage to Win10 guest

Post by fth0 »

This issue should be fixed in the VirtualBox test builds 6.1.39r153816 and newer.
Post Reply