Page 1 of 1

Hibernation error

Posted: 14. Nov 2008, 14:29
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."

Posted: 14. Nov 2008, 16:27
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

Posted: 15. Nov 2008, 10:05
by sa1
What does that exactly mean? How do I disable it ? Help me I'm a newbie.

Posted: 15. Nov 2008, 14:34
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.

Posted: 15. Nov 2008, 18:25
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.

Posted: 15. Nov 2008, 20:04
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.

Also happening in Linux

Posted: 20. Nov 2008, 01:14
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.

Re: Also happening in Linux

Posted: 20. Nov 2008, 21:46
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.

Posted: 20. Nov 2008, 23:31
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.

Posted: 21. Nov 2008, 01:00
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.

Posted: 22. Nov 2008, 02:29
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.

Re: Also happening in Linux

Posted: 24. Nov 2008, 14:42
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.

Posted: 28. Nov 2008, 16:13
by sa1
My problem resolved after reinstallation. Thanks everyone.