Page 1 of 2

[Resolved] Guest fails to capture USB memory stick

Posted: 9. Jun 2018, 22:09
by Old bowler
VBoxManage details.7z
System details displayed by VBoxManage commands
(2.93 KiB) Downloaded 18 times
V7-2018-06-06-20-09-20.7z
VB Log of Startup plug -in/out shut down sequence
(20.92 KiB) Downloaded 12 times
Testing Steps.7z
Record of sequence of steps to demonstrate fault
(618 Bytes) Downloaded 19 times
Hello. Used a variety of USB sticks - none has been captured by the guest. Displays an error report like this:-
Failed to attach the USB device SanDisk Cruzer Fit with UUID {9b340cde-6a9d-4e3c-8663-06ce1196d57e} is busy with a previous request. Please try again later.
Result code: E_INVALIDARG {0x80070057)
Component: HostUSBDeviceWrap
Interface: IHostUSBDevice {c19073dd-cc7b-431b-98b2-951fda8eab89}
Callee: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

NB Only seconds after plugging USB device in - not busy with a user request

VB:- version 5.2.12r122591 Extension Pack:- Extension Pack Version: 5.2.12 Revision: 122591
Guest Additions installed on Guest (other functions e.g. Clipboard are OK)

Guest OS:- Win XP Pro (64-bit) version 5.1 (Build 2600.xpsp_sp2_rtm.040803-2158 : Service Pack 2)

Host OS:- Windows 10 Pro (64-bit) Version 1709 (OS Build 16299.431)

Host AV Windows Defender Antimalware Client Version: 4.16.17656.18052
Engine Version: 1.1.14901.4
Antivirus Version: 1.269.694.0
Anti-spyware Version: 1.269.694.0
Network Realtime Inspection Engine Version: 1.1.14901.4
Network Realtime Inspection Signature Version: 1.269.694.0

Any advice or opinions would be welcome and much appreciated.

Re: Guest fails to capture USB memory stick

Posted: 9. Jun 2018, 23:38
by socratis
It seems that you've read somewhat the FAQ "USB basics and troubleshooting", because you attached the appropriate information. But, not with the appropriate attention. For example, your filter contains a lot more than needed values, your USB controller is set to USB1. That won't work.

Read the FAQ again...

Re: Guest fails to capture USB memory stick

Posted: 10. Jun 2018, 18:46
by Old bowler
Thanks Socratis for your prompt reply. Afraid that presenting the right info may have created the illusion that I know what I'm talking about - far from it. However, have reset my filter to tally with the advice. Have tried to upgrade my USB1 driver in the guest, one solution from MS, which didn't solve anything for me (it seems XP SP2 updated USB driver files, but left the names as they were - they suggested going through the motions of updating, but nothing has changed). One solution from Intel - an .exe file which installs USB2, but I shall also need an .inf file with it. Well beyond my knowledge to write one. However, I shall plod on and will report any success.
Thanks again

Re: Guest fails to capture USB memory stick

Posted: 10. Jun 2018, 19:49
by socratis
Old bowler wrote:Win XP Pro (64-bit) version 5.1 (Build 2600.xpsp_sp2_rtm.040803-2158 : Service Pack 2)
I didn't notice that you were in SP 2 before. Everything that I've seen, from the majority of the developers, talk about SP 3. You should update your guest.

Unfortunately MS has "lost" all their SP3 download links, so you'll have to resort to a 3rd party site to get the service pack. And don't forget to thank MS for their service...

Re: Guest fails to capture USB memory stick

Posted: 12. Jun 2018, 23:08
by Old bowler
Hi Socratis
Located a Win XP SP3 file and it lit a light at the end of the dark tunnel, but the light went out soon afterwards. After installing SP3, I tried plugging the SanDisk USB in and clicking on the name in the Devices>USB>List. This time it didn't just ignore me, but started trying to find a driver. I've got so used to OSs finding all the driver info off the device itself, but it quickly gave up, having looked very briefly on the Internet. Now it's back to ignoring it. So far can't find a driver download which could do the job, but will continue. Any ideas?
Cheers

Re: Guest fails to capture USB memory stick

Posted: 13. Jun 2018, 08:25
by socratis
Old bowler wrote:Used a variety of USB sticks
Old bowler wrote:I tried plugging the SanDisk USB in
Is that stick a USB3 one? Remember that WinXP does not have support for USB3, there is a specific process that you have to do in order to enable USB3 in WinXP.

Did you try any other sticks? Preferably USB2?

Re: Guest fails to capture USB memory stick

Posted: 14. Jun 2018, 17:32
by Old bowler
Thanks for the info. Truth is, I have no idea how to know what version of USB any memory stick is, but I did try a pretty old one along the way, which I think was before USB2 or USB3 were available. That was also left out in the cold, though works in Windows 10. However, that was very helpful info concerning setting Win XP to read USB3. Have had a brief look at the SanDisk website in the hope of finding a downloadable driver. Have a bit of time this evening, so will have a longer look.
Since beginning this post, I have downloaded the Renesas driver you linked to, installed it in the guest, and also applied the VirtualBoxManage command referred to in the same article (also in the guest). All went well, except that it made no difference to my SanDisk being accepted. Also I have spent some more time on the SanDisk site, joined their forum, but failed miserably to find out whether USB2 or 3. However, have just done the blindingly obvious and checked some adverts - they say it is USB2.
I have an old laptop on which I could install a freestanding win XP (I have a spare legal recycled product code). I might be able to try out my SanDisk Cruzer Fit without a host grabbing it first. Does that make any sense? Thanks for your continued help.

Re: Guest fails to capture USB memory stick

Posted: 14. Jun 2018, 17:36
by Old bowler
Sorry Socratis, I forgot to answer your last question. I have a collection of USB sticks and have tried them all, but as I said before, I have no idea how to spot a USB 1, 2 or 3;
Cheers

Re: Guest fails to capture USB memory stick

Posted: 14. Jun 2018, 19:41
by ghr
A few quick VM checks: all using XP Prof, 32 bit:
  • w/o any SP: USB not functional unless (VBox setup) you disable USB 2.0
    with SP1: unknown
    with SP2: USB functional (including USB 2.0)
    with SP3: USB functional (including USB 2.0)
So you could try to disable USB 2..... Disclaimer: I know that MS 64 bit has another driver...

Re: Guest fails to capture USB memory stick

Posted: 15. Jun 2018, 19:18
by socratis
In the USB basics and troubleshooting, #7: Troubleshooting post, I have a list of tools that you can use in your guest. What do they have to say when you plug-in a USB stick, after you've started the VM and after you've defined a proper filter?

Re: Guest fails to capture USB memory stick

Posted: 17. Jun 2018, 19:42
by Old bowler
Firstly, hi ghr.

In response to your questions, I suspect that the disabling of a usb is meant to be done via Devices>USB>USB Settings. The selection set that follows, starting with a tick box (with a tick in) and followed by three choices, USB1.1, USB2.0,USB3.0, of which USB2.0 is selected, is all greyed out and cannot be altered, but USB2.0 would be just fine if it only worked.

Meanwhile, I have installed on a spare computer a freestanding version of WinXP Pro on a completely clean HDD, and after each test, installed the next later SP. The test consisted of inserting a SanDisk CruzerFit USB2 and an external HDD with USB2. The result was the same with No SP, with USB1, USB2 and USB3, that is in all four cases the two USB2 devices were detected and their contents could be read.

Socratis, I guess I owe you an apology - if I had told you that the USB selection buttons were greyed out, that may have meant something which might have helped you with the diagnosis.

My experiment with a freestanding XP seems to indicate that it is not just XP preventing recognising the USB devices.
Unfortunately, I used the wrong installation disk, which gave me a different version of XP from the original data, so I have now created a new VM with the same version. That version is:-
XP Pro Version 5.1(Build 2600.xpclient.010817-1148). The symptoms are just the same as for the previous VM.

In response to your questions, Socratis, I installed USB View on both the host and the guest and inserted, then removed the USB2 device. There was no reaction on the USB View on the guest. Nor did the File Explorer show the drive or its contents. On the one on the host, however, an unexpected result, in that :- the device could not show in Explorer (it normally does), USB_View showed the device, but with a yellow exclamation warning and the text "VirtualBox USB".

If you need me to run the original logs and data again with the new guest build, I shall.

Thank you both for your patience.

Re: Guest fails to capture USB memory stick

Posted: 18. Jun 2018, 09:21
by Old bowler
Apologies - in last post typed "no SP, with USB1, USB2, USB3" - should have read "no SP, with SP1, SP2, SP3..."

Re: Guest fails to capture USB memory stick

Posted: 19. Jun 2018, 02:04
by socratis
Old bowler wrote:of which USB2.0 is selected, is all greyed out and cannot be altered
That would be because your VM is up and running. You need to shut down your VM. You wouldn't change the components of your computer while it was running, would you? And USB2 is fine, it seems you've changed it.
Old bowler wrote:There was no reaction on the USB View on the guest.
I don't think it's supposed to "react". You need to refresh and/or relaunch it to see the changes (if any).
Old bowler wrote:USB_View showed the device, but with a yellow exclamation warning and the text "VirtualBox USB".
Huh? Where is that? Can you also check your Device Manager? Right-click on "My computer" » Properties » Hardware » Device Manager. What's the situation like in there?
Old bowler wrote:If you need me to run the original logs and data again with the new guest build, I shall.
Follow the advice of the post #8: Asking for help and post the information requested.

Re: Guest fails to capture USB memory stick

Posted: 19. Jun 2018, 21:21
by ghr
Early XP versions had an occasional issue with USB (waking up from suspend state?) but I never/hardly saw the issue in real life using XP home SP1. So go with Socrates' advice, check Device manager in your guest. If you have yellow exclamation marks something went wrong during XP install...

Re: Guest fails to capture USB memory stick

Posted: 23. Jun 2018, 18:19
by Old bowler
Socratis, have taken note of your comment and reverted to original VM, but it now refuses to start, with the message,
"xHCI configuration error: The "ChipType" value "uPD720201V" is unsupported (VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES)."
I earlier followed your link in respect of USB3 on XP, and used VBoxManage to do the instruction from michaln's topic, viewtopic.php?f=28&t=74575#p345091
VBoxManage setextradata <vmname> VBoxInternal/Devices/usb-xhci/0/Config/ChipType uPD720201
It seems that what I inserted had an extra "V". However, the article goes on to say, "To go back to the default Intel chip, remove the extradata key. The extradata key also needs to be removed when switching to OHCI/EHCI." Have searched for a VBoxManage instruction which reverses "setextradata", without success. Have tried to revert by deleting the most recent guest snapshot, and restoring to an earlier one, but the error state still prevents booting. Any suggestions, please?