[Solved] Failed to open a session for the virtual machine XP. Failed to construct device 'usb-ehci'

Discussions related to using VirtualBox on Linux hosts.
Post Reply
RoomCD
Posts: 1
Joined: 26. Jul 2021, 21:50

[Solved] Failed to open a session for the virtual machine XP. Failed to construct device 'usb-ehci'

Post by RoomCD »

(I ended up solving this myself. you change the usb 2.0 to usb 1.1)
Hi. any new vm i make results in Failed to open a session for the virtual machine only XP.

Failed to construct device 'usb-ehci' instance #0 (VERR_PDM_DEVHLP_VERSION_MISMATCH).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}


Log:

Code: Select all

 00:00:10.476350 NAT: Zone(nm:mbuf_cluster, used:0)
00:00:10.484407 NAT: Zone(nm:mbuf_packet, used:0)
00:00:10.484517 NAT: Zone(nm:mbuf, used:0)
00:00:10.484546 NAT: Zone(nm:mbuf_jumbo_pagesize, used:0)
00:00:10.485635 NAT: Zone(nm:mbuf_jumbo_9k, used:0)
00:00:10.486669 NAT: Zone(nm:mbuf_jumbo_16k, used:0)
00:00:10.487064 NAT: Zone(nm:mbuf_ext_refcnt, used:0)
00:00:10.487163 E1000#0: Interrupt attempts: 0
00:00:10.487188 E1000#0: Interrupts raised : 0
00:00:10.487206 E1000#0: Interrupts lowered: 0
00:00:10.487223 E1000#0: ICR outside ISR   : 0
00:00:10.487239 E1000#0: IMS raised ints   : 0
00:00:10.487256 E1000#0: Interrupts skipped: 0
00:00:10.487272 E1000#0: Masked interrupts : 0
00:00:10.487289 E1000#0: Early interrupts  : 0
00:00:10.487305 E1000#0: Late interrupts   : 0
00:00:10.487321 E1000#0: Lost interrupts   : 0
00:00:10.487338 E1000#0: Interrupts by RX  : 0
00:00:10.487354 E1000#0: Interrupts by TX  : 0
00:00:10.487371 E1000#0: Interrupts by ICS : 0
00:00:10.487387 E1000#0: Interrupts by RDTR: 0
00:00:10.487404 E1000#0: Interrupts by RDMT: 0
00:00:10.487420 E1000#0: Interrupts by TXQE: 0
00:00:10.487436 E1000#0: TX int delay asked: 0
00:00:10.487452 E1000#0: TX delayed:         0
00:00:10.487469 E1000#0: TX delay expired:   0
00:00:10.487485 E1000#0: TX no report asked: 0
00:00:10.487501 E1000#0: TX abs timer expd : 0
00:00:10.487517 E1000#0: TX int timer expd : 0
00:00:10.487533 E1000#0: RX abs timer expd : 0
00:00:10.487550 E1000#0: RX int timer expd : 0
00:00:10.487566 E1000#0: TX CTX descriptors: 0
00:00:10.487582 E1000#0: TX DAT descriptors: 0
00:00:10.487599 E1000#0: TX LEG descriptors: 0
00:00:10.487615 E1000#0: Received frames   : 0
00:00:10.487631 E1000#0: Transmitted frames: 0
00:00:10.487648 E1000#0: TX frames up to 1514: 0
00:00:10.487664 E1000#0: TX frames up to 2962: 0
00:00:10.487680 E1000#0: TX frames up to 4410: 0
00:00:10.487696 E1000#0: TX frames up to 5858: 0
00:00:10.487712 E1000#0: TX frames up to 7306: 0
00:00:10.487729 E1000#0: TX frames up to 8754: 0
00:00:10.487745 E1000#0: TX frames up to 16384: 0
00:00:10.487762 E1000#0: TX frames up to 32768: 0
00:00:10.487778 E1000#0: Larger TX frames    : 0
00:00:10.487794 E1000#0: Max TX Delay        : 0
00:00:10.557717 GIM: HyperV: Resetting MMIO2 regions and MSRs
00:00:10.613525 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to construct device 'usb-ehci' instance #0 (VERR_PDM_DEVHLP_VERSION_MISMATCH)}, preserve=false aResultDetail=-2871
00:00:10.614727 Console: Machine state changed to 'PoweredOff'
00:00:10.698953 Power up failed (vrc=VERR_PDM_DEVHLP_VERSION_MISMATCH, rc=NS_ERROR_FAILURE (0X80004005))
00:00:11.205898 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 800x600
00:00:11.206121 ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={The console is not powered up}, preserve=false aResultDetail=0
00:00:11.206292 GUI: Aborting startup due to power up progress issue detected...
I have not upgraded virtualbox.
Last edited by mpack on 20. Jan 2022, 11:28, edited 2 times in total.
Reason: Add code brackets. Remove (solved) tag.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Failed to open a session for the virtual machine XP. Failed to construct device 'usb-e

Post by mpack »

We need a complete log, zipped, not a log fragment pasted. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.

Given the "version mismatch" error I'm going to assume that you upgraded VirtualBox while that VM was suspended. Save state files are not portable between versions (or anywhere else). The idea is that you can start up quicker if nothing has changed since last time. If things have changed then you need to do a full boot. So right click the VM, discard the saved state, and start the VM.

Frankly, I don't know why people bother with saving state in this era of fast disks including SSDs.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Failed to open a session for the virtual machine XP. Failed to construct device 'usb-e

Post by scottgus1 »

Curious if the problem might be a mismatched Extension Pack, also, considering the mention of 'usb-ehci', and switching to USB 1 fixed it. USB 2 requires an Extension Pack matching the Virtualbox version installed.
rpr.nospam
Posts: 1
Joined: 5. Sep 2011, 17:28
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: MS Windows XP, Linux

Re: Failed to open a session for the virtual machine XP. Failed to construct device 'usb-e

Post by rpr.nospam »

scottgus1 wrote:Curious if the problem might be a mismatched Extension Pack, also, considering the mention of 'usb-ehci', and switching to USB 1 fixed it. USB 2 requires an Extension Pack matching the Virtualbox version installed.
You're right. I've got "Failed to construct device 'usb-ehci' instance #0 (VERR_PDM_DEVHLP_VERSION_MISMATCH)" error while starting a (previously shutdown) Windows XP machine on VirtualBox 6.1.32. The problem is solved by installing VirtualBox Extension Pack 6.1.32.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Failed to open a session for the virtual machine XP. Failed to construct device 'usb-e

Post by mpack »

Thanks for confirming it.

p.s. Also removed the OPs redundant "(solved)" tag from all posts in this thread. The OPs workaround was clearly not a solution.
johnjarry
Posts: 11
Joined: 8. May 2021, 14:32

Re: [Solved] Failed to open a session for the virtual machine XP. Failed to construct device 'usb-e

Post by johnjarry »

I had this problem and was caused by a mismatched extension pack.

Go to File -> Check for updates and install the new version of the extension pack.
Post Reply