locked
Another Hibernation Problem RRS feed

  • Question

  • I have the Win7 Public Beta installed on a Lenovo X41 Tablet PC. I've been unable to resolve a problem with hibernation:

    1. If I reboot the machine when hibernation is working properly, it comes up disabled. The file C:\hiberfil.sys is not present on the disk and the power button that usually is labeled "Hibernate" is now labeled "Shut Down".
    2. Reboot again and hibernation is working properly. The power button label is correct and the file C:\hiberfil.sys is present on the disk again.
    3. Reboot again and it's gone.
    4. Reboot again and it's back.
    5. etc.
    No error messages are ever displayed and there are no related entries in the logs. When hibernation is working it works properly. I can go into and out of hibernation as often as I want. So far I have tried:

    1. Disabling hibernation in the control panel. Reboot. Enable hibernation in the control panel.
    2. Disabling hibernation from the command line and deleting the hibernation file. Reboot. Enable hibernation from the command line.
    3. Changing the power properties to remove all hibernation choices.
    4. Examining the BCD in detail and comparing one where hibernation is working to one where hibernation is not working.
    None of the above change the symptom. My installation is somewhat unusual in that the boot partition is formatted with the standard 4k cluster size while the Windows 7 partition is formatted with 16k cluster size.

    Does anyone have any suggestions? Right now I have to double-reboot each time that a reboot is required in order to keep hibernation working.
    Saturday, February 14, 2009 2:15 AM

Answers

  • Hi

    You can try changing the cluster size back to 4k. I have this situation too when I'm in 16k. Hard Disk Managers or Partition Managers may change the cluster size. The problem were solved after changing.

    • Proposed as answer by jw412 Thursday, March 24, 2011 12:50 PM
    • Marked as answer by Mark Wharton Thursday, March 24, 2011 3:06 PM
    Thursday, March 24, 2011 12:49 PM
  • Thanks, John. There are certainly a lot of issues with this video subsystem (the dreaded Intel 915GM mobile chipset) that have been discussed on this forum and others. I'm currently using version 6.14.10.4543 that was included in a recent download from Windows Update.

    I will look for something newer although the alternating on again/off again behavior of hibernation has been present in this machine from when Win7 was first installed, even before the last video driver update.
    Sunday, February 15, 2009 7:26 PM

All replies

  • Hi

    Hibernation is not for your case, so do not set hibernation options(disable hibernate), but set only slip

    You must set hibrid sleep power management option to off, and hibernate after to never

    Cluster size vary accordinf to partition size, so it is normal boot partition to have smaller cluster size than w7 partiton


    Note: to disable fibernation open command prompt and type powercfg -h off  This also will remove fiberfill.sys
    Saturday, February 14, 2009 3:00 AM
  • Ventsislav Alexandriyski said:

    Hi

    Hibernation is not for your case, so do not set hibernation options(disable hibernate), but set only slip

    You must set hibrid sleep power management option to off, and hibernate after to never

    I'm sorry but this is a laptop; I need to use hibernation. Why is it not for my case?

    Saturday, February 14, 2009 4:25 AM
  • Because this is laptop.

    Hibernation is for systems that can lost power.

    Sleep is better choice for laptops.

    In sleep (S3) ram is still powered but power consumption is very low.


    If you set laptop to enter hibernate all RAM is stored in hdd and restored from there, but this is some power hungry operation that

    discharge battery, and all advantage of full power down is lost especially if you use this feature frequently :)
    Saturday, February 14, 2009 5:56 AM
  • Thank you for trying to help, but I'm sorry; that's just not true. I know about sleep and hibernate - I've been using both modes for years. I frequently do use sleep mode on this laptop but for short periods of time. Leaving a laptop in sleep mode consumes power, although a small amount. Hibernating the laptop reduces the power consumption to zero. The amount of power consumed by writing the hibernation file to disk is minuscule compared to the amount of power used to maintain sleep mode for several hours.

    My typical usage pattern is to go in and out of sleep mode during the day, and to hibernate the machine at the end of the day or when I know that I won't be using it for several more hours.

    Again, thank you for offering your help; I appreciate it.
    Saturday, February 14, 2009 1:15 PM
  • Ok I just tried to help you to use your computer better.

    Power consumption in sleep is about 5W and people report that on 100% charged pattery it is 80% at next day.

    I inderstand you that at the and of day it is better power consumption to be zero for the night, but why you do not shutdown it?

    What you gain from hibernation?

    Now on your problem :)

    Check event viewer for errors and warnings of time when hiberfil disappears

    Also try to disable and reenable hibernation from command prompt

    disable - powercfg -h off

    enable - powercfg -h on


    Run and powercfg -energy to see how W7 see your computer power features

    It must repors S4 Sleep Supported true

    Set sleep mode in BIOS as S3 and enable highest ACPI version support ( ver. 2 or 3 )

    Update BIOS if you are not using latest BIOS for your laptop
    Saturday, February 14, 2009 2:00 PM
  • Power consumption for a desktop PC may be 5 W but not for a laptop. On mine it is about 0.6 W, so the 64 W-Hr battery will be fully discharged after about 4 days in sleep mode. Your 80% figure is about right - this laptop battery discharges about 1% per hour when in sleep mode, so after a day it will be at about 80% capacity.

    I hardly ever shut down or reboot any of my PCs - it takes too long. They usually only get rebooted once a month when installing a Windows update. The Linux machine gets rebooted only when the power fails - once or twice a year at most. Vista Desktop PCs go into and out of sleep mode daily until the monthly reboot. I prefer hibernation on the laptop instead of shutdown because it takes about 15 sec to hibernate or to resume from hibernation. Shutting down takes closer to 30 seconds and starting up takes about a minute (this laptop has a slow 4200 rpm drive).

    The powercfg -energy report was informative - thanks for the tip. There are no ACPI issues with this hardware. S3 and S4 are both supported. S3 is set in the BIOS. I am using the latest BIOS. On Windows XP and on Linux, hibernation works perfectly.

    I only see the problem on Win7 after a reboot. On every other reboot when hibernation is working it works perfectly. The only issue is the deletion of hiberfil.sys on every other reboot. On the next reboot, hiberfil.sys is back with no action on my part. There are no events logged when the hiberfil disappears and powercfg -h off and powercfg -on work as expected.

    I will try shutting down and before restarting, examining the disk for hiberfil.sys with a boot CD to see if hiberfil.sys gets deleted on shutdown or on startup.
    Saturday, February 14, 2009 3:27 PM
  • From the state where hibernation was working and hiberfil.sys was present, I shut down the PC and examined the Win7 system partition from a boot CD. The file hiberfil.sys was there, so it is not being deleted at shutdown but rather at startup. While in the boot environment I did a chkdsk /f to be sure that the Win7 partition did not have any file system corruption problems.

    On the next reboot, hiberfil.sys was missing again. While it was missing I tried powercfg -h on and got an error message
    "Hibernation failed with the following error: The request is not supported.

    The following items are preventing hibernation on this system.
            The system could not create the hibernation file.  The specific error code is 0xc0000043."

    After another reboot, hiberfil.sys was back on its own and powercfg -h on and powercfg -h off worked as expected. Here is a copy of the command sequence and output from the command prompt window:

    **Hibernation working. Reboot the PC. After reboot:

    Microsoft Windows [Version 6.1.7000]
    Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

    C:\Windows\system32>cd \

    C:\>dir /a
     Volume in drive C is Win7
     Volume Serial Number is E848-D271

     Directory of C:\

    01/18/2009  12:08 AM    <DIR>          $Recycle.Bin
    10/15/2008  11:11 AM                24 autoexec.bat
    10/15/2008  11:11 AM                10 config.sys
    12/12/2008  06:58 PM    <JUNCTION>     Documents and Settings [C:\Users]
    01/22/2009  09:29 PM    <DIR>          Intel
    01/19/2009  10:27 AM    <DIR>          MSOCache
    02/14/2009  11:04 AM     1,572,864,000 pagefile.sys
    12/13/2008  02:57 AM    <DIR>          PerfLogs
    02/11/2009  04:33 PM    <DIR>          Program Files
    02/01/2009  08:50 PM    <DIR>          ProgramData
    01/17/2009  02:07 PM    <DIR>          Recovery
    02/14/2009  12:20 AM    <DIR>          System Volume Information
    01/17/2009  02:08 PM    <DIR>          Users
    02/05/2009  09:04 PM    <DIR>          Windows
                   3 File(s)  1,572,864,034 bytes
                  11 Dir(s)  16,110,305,280 bytes free

    C:\>powercfg -h on
    Hibernation failed with the following error: The request is not supported.

    The following items are preventing hibernation on this system.
            The system could not create the hibernation file.  The specific error code is 0xc0000043.

    ***After another reboot:


    Microsoft Windows [Version 6.1.7000]
    Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

    C:\Windows\system32>cd \

    C:\>dir /a
     Volume in drive C is Win7
     Volume Serial Number is E848-D271

     Directory of C:\

    01/18/2009  12:08 AM    <DIR>          $Recycle.Bin
    10/15/2008  11:11 AM                24 autoexec.bat
    10/15/2008  11:11 AM                10 config.sys
    12/12/2008  06:58 PM    <JUNCTION>     Documents and Settings [C:\Users]
    02/14/2009  11:04 AM       797,777,920 hiberfil.sys
    01/22/2009  09:29 PM    <DIR>          Intel
    01/19/2009  10:27 AM    <DIR>          MSOCache
    02/14/2009  11:04 AM     1,572,864,000 pagefile.sys
    12/13/2008  02:57 AM    <DIR>          PerfLogs
    02/11/2009  04:33 PM    <DIR>          Program Files
    02/01/2009  08:50 PM    <DIR>          ProgramData
    01/17/2009  02:07 PM    <DIR>          Recovery
    02/14/2009  12:20 AM    <DIR>          System Volume Information
    01/17/2009  02:08 PM    <DIR>          Users
    02/05/2009  09:04 PM    <DIR>          Windows
                   4 File(s)  2,370,641,954 bytes
                  11 Dir(s)  15,313,862,656 bytes free

    C:\>attrib hiberfil.sys
    A  SH        C:\hiberfil.sys

    C:\>powercfg -h off

    C:\>dir /a
     Volume in drive C is Win7
     Volume Serial Number is E848-D271

     Directory of C:\

    01/18/2009  12:08 AM    <DIR>          $Recycle.Bin
    10/15/2008  11:11 AM                24 autoexec.bat
    10/15/2008  11:11 AM                10 config.sys
    12/12/2008  06:58 PM    <JUNCTION>     Documents and Settings [C:\Users]
    01/22/2009  09:29 PM    <DIR>          Intel
    01/19/2009  10:27 AM    <DIR>          MSOCache
    02/14/2009  11:04 AM     1,572,864,000 pagefile.sys
    12/13/2008  02:57 AM    <DIR>          PerfLogs
    02/11/2009  04:33 PM    <DIR>          Program Files
    02/01/2009  08:50 PM    <DIR>          ProgramData
    01/17/2009  02:07 PM    <DIR>          Recovery
    02/14/2009  12:20 AM    <DIR>          System Volume Information
    01/17/2009  02:08 PM    <DIR>          Users
    02/05/2009  09:04 PM    <DIR>          Windows
                   3 File(s)  1,572,864,034 bytes
                  11 Dir(s)  16,110,305,280 bytes free

    C:\>powercfg -h on

    C:\>dir /a
     Volume in drive C is Win7
     Volume Serial Number is E848-D271

     Directory of C:\

    01/18/2009  12:08 AM    <DIR>          $Recycle.Bin
    10/15/2008  11:11 AM                24 autoexec.bat
    10/15/2008  11:11 AM                10 config.sys
    12/12/2008  06:58 PM    <JUNCTION>     Documents and Settings [C:\Users]
    02/14/2009  11:06 AM       797,777,920 hiberfil.sys
    01/22/2009  09:29 PM    <DIR>          Intel
    01/19/2009  10:27 AM    <DIR>          MSOCache
    02/14/2009  11:04 AM     1,572,864,000 pagefile.sys
    12/13/2008  02:57 AM    <DIR>          PerfLogs
    02/11/2009  04:33 PM    <DIR>          Program Files
    02/01/2009  08:50 PM    <DIR>          ProgramData
    01/17/2009  02:07 PM    <DIR>          Recovery
    02/14/2009  12:20 AM    <DIR>          System Volume Information
    01/17/2009  02:08 PM    <DIR>          Users
    02/05/2009  09:04 PM    <DIR>          Windows
                   4 File(s)  2,370,641,954 bytes
                  11 Dir(s)  15,312,158,720 bytes free

    C:\>attrib hiberfil.sys
    A  SH        C:\hiberfil.sys

    C:\>

    Saturday, February 14, 2009 4:32 PM
  • Run sfc to see if it will fix something

    What hdd controller drivers you use, comming with W7 or some additional?

    How is set HDD controller in bios ide or ahci?
    Saturday, February 14, 2009 7:18 PM
  • This machine is IDE only (no AHCI mode available) and there are no disk mode settings in the BIOS. The IDE controller driver was installed by Win7 (Intel 82801FBM) and the interface is running in UDMA mode 5.

    I was unsuccessful in finding on TechNet any references to the error message "The following items are preventing hibernation on this system. The system could not create the hibernation file. The specific error code is 0xc0000043." and was hoping that someone from Microsoft could elaborate.
    Sunday, February 15, 2009 1:09 AM
  • Two things come to mind: #1. Even though you have enough space on the hard drive, it might be too fragmented to lay down a solid 'chunk' for hiberfil.sys. Try defrag or Diskeeper 2009 or some other type of defrag to free up space.

    #2. This is going to be a weird suggestion but give it a try. Do the following commands from an admin command line: 'powercfg -h off', 'echo >C:\hiberfil.sys', 'powercfg -h on', and see if it helps at all.

    I wish I knew what that exact error code meant but I don't.

    http://blog.tiensivu.com/aaron/ - https://mvp.support.microsoft.com/profile/Aaron.Tiensivu - If you find my post helpful, please click on the "Post was helpful" option inside my post.
    Sunday, February 15, 2009 1:30 AM
    Answerer
  • You did not set any of my replays as helpful.

    If you cannot see enything helpful in my replays, then your problem is not technical and I cannot help you.

    In this case I cannot waste my time with you any more

    Sunday, February 15, 2009 9:37 AM
  • Aaron:

    Thank you for jumping in.
    #1 - Yes, the disk is defragmented and there is plenty of room for a contiguous hibernation file.
    #2 - I see the method to your madness; very insightful!I got the machine into the state where hiberfil.sys is missing and you can't enable hibernation . Yes, in this state you can create files at the root of C: including one named C:\hiberfil.sys, so this may rule out permissions issues. However, the powercfg -h commands still fail in the same way while in this state. Here is the output from the terminal during the test sequence:

    Starting with hibernation working, then reboot the PC so that it boots up with hibernation not working and hiberfil.sys missing:

    Microsoft Windows [Version 6.1.7000]
    Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

    C:\Windows\system32>cd \

    C:\>dir /a
     Volume in drive C is Win7
     Volume Serial Number is E848-D271

     Directory of C:\

    01/18/2009  12:08 AM    <DIR>          $Recycle.Bin
    10/15/2008  11:11 AM                24 autoexec.bat
    10/15/2008  11:11 AM                10 config.sys
    12/12/2008  06:58 PM    <JUNCTION>     Documents and Settings [C:\Users]
    01/22/2009  09:29 PM    <DIR>          Intel
    01/19/2009  10:27 AM    <DIR>          MSOCache
    02/15/2009  01:23 PM     1,572,864,000 pagefile.sys  (No hiberfil.sys)
    12/13/2008  02:57 AM    <DIR>          PerfLogs
    02/11/2009  04:33 PM    <DIR>          Program Files
    02/01/2009  08:50 PM    <DIR>          ProgramData
    01/17/2009  02:07 PM    <DIR>          Recovery
    02/14/2009  12:20 AM    <DIR>          System Volume Information
    01/17/2009  02:08 PM    <DIR>          Users
    02/05/2009  09:04 PM    <DIR>          Windows
                   3 File(s)  1,572,864,034 bytes
                  11 Dir(s)  16,108,388,352 bytes free

    C:\>powercfg -h on
    Hibernation failed with the following error: The request is not supported.

    The following items are preventing hibernation on this system.
            The system could not create the hibernation file.  The specific error code is 0xc0
    000043.

    C:\>echo c:>hiberfil.sys

    C:\>dir /a
     Volume in drive C is Win7
     Volume Serial Number is E848-D271

     Directory of C:\

    01/18/2009  12:08 AM    <DIR>          $Recycle.Bin
    10/15/2008  11:11 AM                24 autoexec.bat
    10/15/2008  11:11 AM                10 config.sys
    12/12/2008  06:58 PM    <JUNCTION>     Documents and Settings [C:\Users]
    02/15/2009  01:27 PM                 4 hiberfil.sys   (File created successfully)
    01/22/2009  09:29 PM    <DIR>          Intel
    01/19/2009  10:27 AM    <DIR>          MSOCache
    02/15/2009  01:23 PM     1,572,864,000 pagefile.sys
    12/13/2008  02:57 AM    <DIR>          PerfLogs
    02/11/2009  04:33 PM    <DIR>          Program Files
    02/01/2009  08:50 PM    <DIR>          ProgramData
    01/17/2009  02:07 PM    <DIR>          Recovery
    02/14/2009  12:20 AM    <DIR>          System Volume Information
    01/17/2009  02:08 PM    <DIR>          Users
    02/05/2009  09:04 PM    <DIR>          Windows
                   4 File(s)  1,572,864,038 bytes
                  11 Dir(s)  16,107,651,072 bytes free

    C:\>powercfg -h on
    Hibernation failed with the following error: The request is not supported.

    The following items are preventing hibernation on this system.
            The system could not create the hibernation file.  The specific error code is 0xc0
    000043.

    C:\>powercfg -h off
    Hibernation failed with the following error: The request is not supported.

    The following items are preventing hibernation on this system.
            The system could not create the hibernation file.  The specific error code is 0xc0
    000043.

    C:\>del hiberfil.sys

    C:\>powercfg -h on
    Hibernation failed with the following error: The request is not supported.

    The following items are preventing hibernation on this system.
            The system could not create the hibernation file.  The specific error code is 0xc0
    000043.

    C:\>

    One more reboot and, without doing anything, hiberfil.sys is back and hibernation is working again. and the powercfg -h commands work again. Weird.

    Sunday, February 15, 2009 6:48 PM
  • It's been my experience that the majority of sleep/hibernation issues are caused by minor corruptions in video drivers.
    I have also had issues with outdated drivers from the Lenovo website (I must state that these issues are when doing things that the average user wouldn't do).

    As such, I'd suggest that you download the latest video driver for your display adapter from the support website of the maker of the chipset for your video adapter.  Then uninstall the current video drivers and then install the freshly downloaded one's in compatibility mode of "Run as Windows Vista" and "Run as Administrator".
    - John
    Sunday, February 15, 2009 7:01 PM
    Answerer
  • Thanks, John. There are certainly a lot of issues with this video subsystem (the dreaded Intel 915GM mobile chipset) that have been discussed on this forum and others. I'm currently using version 6.14.10.4543 that was included in a recent download from Windows Update.

    I will look for something newer although the alternating on again/off again behavior of hibernation has been present in this machine from when Win7 was first installed, even before the last video driver update.
    Sunday, February 15, 2009 7:26 PM
  • I know this thread is old, but it is still pertinent. I too have encountered the here-again, gone-again hiberfil.sys problem. And I too have an OS partition with a 16kb cluster size. Clearly, there is a bug in Windows 7 RTM (64-bit) that is related to cluster size, not video drivers. I have, however, found a workaround. Use Group Policy to run "powercfg -h on" at startup and "powercfg -h off" at shutdown. This keeps the hibernation file from being deleted every other reboot.
    • Proposed as answer by Drift_91 Thursday, March 10, 2016 10:00 AM
    Monday, November 9, 2009 9:49 AM
  • D. Miner:

    Interesting. I never resolved this issue with Win 7 Beta. When I installed Win 7 RC, I switched to using a 4 kB cluster size and the issue never recurred. It also didn't recur with Win 7 RTM. I'll bet you're right about it being a bug related to 16 kB cluster size. Perhaps you should file a bug report on Connect.
    Monday, November 9, 2009 1:19 PM
  • Disconnecting the only DVD read/write sata cable from the motherboard on one of my Win 7 computers solved a - not able to come out of hibernation - problem very similar to yours.   At this point I’m still puzzled because another Win 7 computer I use, with identical hardware and bios settings, has never had a problem coming out of hibernation since Win 7 was installed?

    Saturday, December 12, 2009 3:53 PM
  • Hi

    You can try changing the cluster size back to 4k. I have this situation too when I'm in 16k. Hard Disk Managers or Partition Managers may change the cluster size. The problem were solved after changing.

    • Proposed as answer by jw412 Thursday, March 24, 2011 12:50 PM
    • Marked as answer by Mark Wharton Thursday, March 24, 2011 3:06 PM
    Thursday, March 24, 2011 12:49 PM