[FIXED] Failed to load unit 'hda' when restoring session

Discussions about using Windows guests in VirtualBox.
jms-vbox
Posts: 6
Joined: 17. Apr 2008, 06:28
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Win7, Win10

[FIXED] Failed to load unit 'hda' when restoring session

Post by jms-vbox »

VirtualBox VM 5.0.12 r104815 linux.amd64, latest guest additions installed
Host: LINUX_64BITS_UBUNTU_15_10, RAM 32GB
Guest: Windows 10 64bit, RAM 4GB

Couldn't find any information related to this issue. When I restore guest saved session it always ends with error, doesn't matter if other guest is running or not. This issue does not exist with other guest (Windows 7).

Restore error:

Code: Select all

Failed to open a session for the virtual machine Win10.

Failed to load unit 'hda' (VERR_SSM_LOADED_TOO_LITTLE).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
I can start guest by discarding saved state and starting from beginning, but error will repeat every time when I try to restore. I think this started after update to 5.0.12 (from 5.0.10).
Should I file a bug or do you have any suggestions what could be wrong?
Attachments
VBox.log.zip
(29.09 KiB) Downloaded 98 times
grous
Posts: 2
Joined: 26. Dec 2015, 16:10

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by grous »

Got the same message, even after reinstalling Windows 10. Waiting for Oracle answer.
milano
Posts: 1
Joined: 26. Dec 2015, 22:26

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by milano »

I have the same situation with restoring Windows ThinPC (actually it's Windows 7).

This is the full message:

Failed to load unit 'hda' (VERR_SSM_LOADED_TOO_LITTLE).

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

VBox version is 5.0.12 r104815

Additional info

I've Discarded saved state, and rebooted the guest, then made several suspend/load cycles successfully. No errors occurred.
Before this failure occurred I suspended the guest having 4GB of RAM on my host, and resumed after adding additional 4GB. Could this have any connection to the error ?

The host is 64 bit Linux XUbuntu 14.04.03.
gwiesenekker
Posts: 17
Joined: 29. Mar 2009, 10:23
Primary OS: Fedora 10
VBox Version: OSE Fedora
Guest OSses: Windows XP, Fedora

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by gwiesenekker »

I am experiencing the same issue after upgrading to 5.0.12-104815. I am running Ubuntu 14.04 as the host OS and Windows 10 PRO (1511) as a guest.
I can suspend/resume before logging on, but after logging on suspend/resume always fails with this error. Perhaps it is related to the guest additions?

Gijsbert
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by michaln »

This has nothing to do with the Guest Additions. It's a bug in the saved state loading for the HDA device that's inadvertently incompatible with earlier versions.

What version of VirtualBox was the saved state created with? 5.0.10 or something older?
gwiesenekker
Posts: 17
Joined: 29. Mar 2009, 10:23
Primary OS: Fedora 10
VBox Version: OSE Fedora
Guest OSses: Windows XP, Fedora

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by gwiesenekker »

Hi,

The VM was created from scratch with version 5.0.12. You are correct that it has nothing to do with the guest additions, I uninstalled them and I still cannot resume, although the error message when resuming is different (VERR_SSM_STRUCTURE_MAGIC).
I upgraded VirtualBox from 5.0.10 to 5.0.12 on another Ubuntu host running 5.0.10 guests only (with 5.0.10 guest additions) and I cannot suspend/resume a Windows 10 PRO (1511) guest either (I am not resuming from a 5.0.10 saved state), so it looks like this bug was introduced in 5.0.12.

Gijsbert
gwiesenekker
Posts: 17
Joined: 29. Mar 2009, 10:23
Primary OS: Fedora 10
VBox Version: OSE Fedora
Guest OSses: Windows XP, Fedora

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by gwiesenekker »

Hi,

It looks like this problem is not always reproducible: this morning I was facing it all the time, but this afternoon the problem is suddenly gone, both on the original host and the host that I upgraded to 5.0.12..

Gijsbert
gwiesenekker
Posts: 17
Joined: 29. Mar 2009, 10:23
Primary OS: Fedora 10
VBox Version: OSE Fedora
Guest OSses: Windows XP, Fedora

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by gwiesenekker »

Hi,

Downgrading to 5.0.10 solves the issue for now. I uninstalled the 5.0.12 guest additions, uninstalled 5.0.12 using dpkg -P virtualbox-5.0, installed 5.0.10 and installed the 5.0.10 guest additions.

Regards,
Gijsbert
grous
Posts: 2
Joined: 26. Dec 2015, 16:10

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by grous »

I downgraded as suggested and got the same error message.
nursoda
Posts: 2
Joined: 30. Dec 2015, 16:13
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: W10Pro64
Location: Germany

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by nursoda »

Same issue here. Does anyone know where these cryptic error codes are explained?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by mpack »

They are explained by searching the source code. I doubt that they'll ever be formally documented: the devs need to be able to add and remove error checking as required, they don't need to be tied down to a somewhat relevant set of documented codes. If you can't read C++ source code then an explanation of the codes would likely be just as useless to you anyway.
devsk
Posts: 47
Joined: 6. Aug 2008, 22:15

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by devsk »

Ran into the same thing myself this morning. Has an issue been logged for this? Is there a workaround?
jms-vbox
Posts: 6
Joined: 17. Apr 2008, 06:28
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Win7, Win10

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by jms-vbox »

I created a ticket to Virtualbox's bugtracker: https://www.virtualbox.org/ticket/14981
nursoda
Posts: 2
Joined: 30. Dec 2015, 16:13
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: W10Pro64
Location: Germany

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by nursoda »

I only had this ONCE. Never happened again. Strange.
pentagonik
Oracle Corporation
Posts: 283
Joined: 19. May 2008, 16:09
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Too many to specify!
Contact:

Re: Failed to load unit 'hda' when restoring Windows10 sessi

Post by pentagonik »

The saved state handling should be fixed since r104839. Please give these test builds a try:

https://www.virtualbox.org/download/tes ... _amd64.run
https://www.virtualbox.org/download/tes ... 45-Win.exe
Post Reply