Hibernation error

Discussions related to using VirtualBox on Windows hosts.
Post Reply
sa1
Posts: 4
Joined: 14. Nov 2008, 14:10

Hibernation error

Post by sa1 »

I installed guest additions to Ubuntu. Since then I am unable to hibernate.
This is te message shown on my xp sp3: "The device driver for the 'Standard 101/102-Key or Microsoft Natural PS/2 Keyboard' device is preventing the machine from entering hibernation. Please close all applications and try again. If the problem persists, you may need to update this driver."
Dest
Volunteer
Posts: 138
Joined: 11. Jan 2008, 17:03
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 2000, Windows XP, Ubuntu, FreeBSD

Post by Dest »

Hibernation has problems currently if you have the VT-x/AMD-x extentions enabled.

It's not exactly the same issue but that be a good place to start
sa1
Posts: 4
Joined: 14. Nov 2008, 14:10

Post by sa1 »

What does that exactly mean? How do I disable it ? Help me I'm a newbie.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

sa1, welcome to our forum. You might want to take this opportunity to browse the Forum Posting Guide. This contains some useful tips on how to search for VBox knowledge and how to frame Qs.

Even newbies should be able to use the F3 key on the User Guide to look up VT-x. It's on the VM Settings window.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
sa1
Posts: 4
Joined: 14. Nov 2008, 14:10

Post by sa1 »

I'm sorry. I did a search on VT -x and AMD -v. I dont have any hardware virtualization support in my processor. It's an old P4. I rather thought this may be due to some driver issue between the guest extensions and my host system.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

OK, so it's nothing to do with H/W virtualisation, since these settings are ignored if the CPU isn't VT-x / AMD-V capable. You could always uninstall VBox; see if hibernate works; then reinstall VBox and see if hibernate works now.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
PedroMagueija
Posts: 2
Joined: 20. Nov 2008, 00:42

Also happening in Linux

Post by PedroMagueija »

Hi people,

I have a similar problem. I'm using Ubuntu 8.10 64bit, with VirtualBox and Windows Guest. Everything is working fine until the computer hibernates. Linux boots back up fine but VirtualBox ceases to work.

I kill the process but still VirtualBox never recovers, and I have to reboot in the end.
I know this topic is for windows, but maybe someone can shed some light to as if virtualbox has problems with hibernation.

Referring to the previous replies, my processor is fully compatible with the VT/AMD extensions. So... anyone has any ideias?

Thanks.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Also happening in Linux

Post by Sasquatch »

PedroMagueija wrote:Hi people,

I have a similar problem. I'm using Ubuntu 8.10 64bit, with VirtualBox and Windows Guest. Everything is working fine until the computer hibernates. Linux boots back up fine but VirtualBox ceases to work.

I kill the process but still VirtualBox never recovers, and I have to reboot in the end.
I know this topic is for windows, but maybe someone can shed some light to as if virtualbox has problems with hibernation.

Referring to the previous replies, my processor is fully compatible with the VT/AMD extensions. So... anyone has any ideias?

Thanks.
If I would hibernate my laptop while a VM is running, that VM will crash soon after the Hosts is resumed. Since I run mostly Linux servers as a Guest, I can quickly shut it down before it crashes, but sometimes I'm not fast enough.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

I recall that there are some issues logged in the bug tracker to do with host hibernation, but the workaround is to save-state your guest before you hibernate your host.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
PedroMagueija
Posts: 2
Joined: 20. Nov 2008, 00:42

Post by PedroMagueija »

Indeed it's a good ideia to save state but sometime i'm running on batteries, and I get away for a few minutes and... well...

Is there any possibilities of running a script before the computer hibernates, and in that script run some VB command line command, that's saves the guest state?

Thanks.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

PedroMagueija wrote:Indeed it's a good ideia to save state but sometime i'm running on batteries, and I get away for a few minutes and... well...

Is there any possibilities of running a script before the computer hibernates, and in that script run some VB command line command, that's saves the guest state?

Thanks.
For Linux, this is possible (or should be, depending on the power management application). I don't remember for Windows, been a while since I opened the power options on my laptop.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
SSCBrian
Volunteer
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 8 RTM (MSDN)

Re: Also happening in Linux

Post by SSCBrian »

Sasquatch wrote: If I would hibernate my laptop while a VM is running, that VM will crash soon after the Hosts is resumed. Since I run mostly Linux servers as a Guest, I can quickly shut it down before it crashes, but sometimes I'm not fast enough.
As a bit of a side note. I noticed that Solaris hosts will crash right after resuming from a VBox "pause", however they don't have any problem at all resuming from my Vista box coming back from hibernation.
sa1
Posts: 4
Joined: 14. Nov 2008, 14:10

Post by sa1 »

My problem resolved after reinstallation. Thanks everyone.
Post Reply