(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.

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

Postby RoomCD » 26. Jul 2021, 21:57

(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:
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.
RoomCD
 
Posts: 1
Joined: 26. Jul 2021, 21:50

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

Postby mpack » 27. Jul 2021, 10:44

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.
mpack
Site Moderator
 
Posts: 34890
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

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

Postby scottgus1 » 27. Jul 2021, 14:23

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.
scottgus1
Site Moderator
 
Posts: 13740
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 15 guests