[Solved] Windows guest freezes when USB device is connected

Discussions about using Windows guests in VirtualBox.
Locked
Blafasel2000
Posts: 3
Joined: 5. May 2019, 12:44

[Solved] Windows guest freezes when USB device is connected

Post by Blafasel2000 »

Hi all,

my Windows 10 guest freezes hard when attaching a USB device or starting the VM with the device attached. In the past (up until a week ago) the same setup worked. I am not entirely sure what changed (host, guest etc.). Here are the facts:
  • Host: Linux Mint 18.3 4.15.0-48-generic #51~16.04.1-Ubuntu SMP 64bit
  • VB: VM freezes with either 5.2.28 or 6.0.6 (latest versions of extension pack and guest extensions)
  • Guest: Windows 10 Pro 1803 32bit
  • USB device: cyber-Jack RFID standard by Reiner SCT with latest drivers (7.7.2)
Relevant entries in the machine log:
00:16:59.867927 VUSB: Attached '00007faad4c86e50[proxy 0c4b:0500]' to port 2 on RootHub#1 (FullSpeed)
00:17:03.613081 OHCI: Software reset
00:17:03.613467 OHCI: USB Operational
00:17:06.958761 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago
When the device is attached when the vm is starting it freezes after the first access to the device is attempted.

Any idea what I can do? I need urgently access to the VM with the device attached.

Thank you, Blafasel
Last edited by socratis on 19. May 2019, 11:37, edited 1 time in total.
Reason: Marked as [Solved].
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Windows guest freezes when USB device is connected

Post by andyp73 »

We will need to see the full VBox.log file from the guest in question, snippets and partial logs almost never contain the right information. Boot the guest, make sure the problem occurs then shut the guest down (by force if necessary). zip the log file and post it.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Blafasel2000
Posts: 3
Joined: 5. May 2019, 12:44

Re: Windows guest freezes when USB device is connected

Post by Blafasel2000 »

andyp73 wrote:We will need to see the full VBox.log file from the guest in question, snippets and partial logs almost never contain the right information.
Makes sense, here goes. VM started, USB device connected, after log entry of missing heartbeat waited another 30 secs or so and then killed the vm hard.

I have replaced some privacy related things in the file:

- Name of the VM
- Path to one of the two mounts
- Name of the two mounts

Everything else is as VB wrote it.

Thanks, Blafasel
Attachments
VBox.log.zip
(28.62 KiB) Downloaded 55 times
Darth8878
Posts: 1
Joined: 7. May 2019, 14:48

Re: Windows guest freezes when USB device is connected

Post by Darth8878 »

FYI, what worked for me in this situation was to set the USB controller to USB 3.0 vs. 2.0 and the guest no longer hangs. YMMV...
Blafasel2000
Posts: 3
Joined: 5. May 2019, 12:44

Re: Windows guest freezes when USB device is connected

Post by Blafasel2000 »

Darth8878 wrote:FYI, what worked for me in this situation was to set the USB controller to USB 3.0 vs. 2.0 and the guest no longer hangs. YMMV...
And that helped in my case as well, thank you!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows guest freezes when USB device is connected

Post by socratis »

Marking as [Solved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Rizzato
Posts: 1
Joined: 11. Mar 2020, 17:29

Re: [Solved] Windows guest freezes when USB device is connected

Post by Rizzato »

I have the same issue with a macOS host... and moving to USB 3.0 doesn't solved the issue, the Win10 VM keeps freezing! Any further idea?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: [Solved] Windows guest freezes when USB device is connected

Post by scottgus1 »

Rizzato, adding a new problem with a different host OS on a [Solved] post that doesn't solve your problem ain't kosher. But you can learn from the old post.

Please start a new topic, and when you do please follow Blafasel2000's level of detail and Andyp73's response.
Locked