Windows 8 and 8.1 Forums


Windows 8 crash randomly when entering sleep mode

  1. #1


    Posts : 54
    windows 8 pro 64bit

    [Solved]Windows 8 crash randomly when entering sleep mode


    My computer randomly crash when i sleep the computer. normally, it should sleep and the power light should be off in 30 seconds, but when it crash, it takes 5 minutes and finally the computer shutdown instead of sleeping.

    And the problem is... i can't have the screenshot of my bluescreen because it always happened when the screen is off....

    if i opened memory.dmp with windbg ,it sayd "memory corruption"..... Here is my debug file generated by SF, i opened it with windbg(64 bit) and it says "Probably caused by : ntoskrnl.exe ( nt+5a440 )" it seems a system application ,how could i solve it?
    Last edited by demonguy; 03 Dec 2013 at 23:36.

      My System SpecsSystem Spec

  2. #2


    Posts : 4
    windows 8.1 pro X64


    Same problem here but I leave mine on but when screen goes off windows BSOD.
      My System SpecsSystem Spec

  3. #3


    Hi

    Your issue seems to be USB related.

    Code:
    BugCheck 9F, {3, fffffa800abcc3c0, fffff8800368e7f0, fffffa800f94cc10}
    
    Probably caused by : usbhub.sys
    
    
    Followup: MachineOwner
    Bug Check 0x9F: DRIVER_POWER_STATE_FAILURE (Windows Debuggers)

    This bug check indicates that the driver is in an inconsistent or invalid power state.
    It seems the wireless adapter driver is the one causing the issue.

    Code:
    >[ 16, 2]   0  0 fffffa800b1da050 00000000 00000000-00000000              Unable to load image \SystemRoot\system32\DRIVERS\netr28ux.sys, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for netr28ux.sys
    *** ERROR: Module load completed but symbols could not be loaded for netr28ux.sys
     \Driver\netr28ux
    But the wireless driver seems to be already up to dated.

    Code:
    Loaded symbol image file: netr28ux.sys    Image path: \SystemRoot\system32\DRIVERS\netr28ux.sys
        Image name: netr28ux.sys
        Timestamp:        Fri Sep 06 18:17:06 2013 (5229CECA)
    So it could be either the device which is having problems in switching power states or some other USB filter driver is forcing the wireless driver to crash.

    Please try the below steps.

    1. Disable USB selective suspend.

    USB Selective Suspend - Turn On or Off - Windows 7 Help Forums

    The tutorial is originally meant for "Windows 7" but the same applies to "Windows 8".

    2. Open "device manager" and right click on the "802.11n USB Wireless LAN Card" and choose "Properties". Navigate to the "Power Management" tab. Deselect "Allow the computer to turn off this device" .

    For example :




    Reboot the system and check how sleep mode works now.
      My System SpecsSystem Spec

  4. #4


    Posts : 54
    windows 8 pro 64bit


    Thanks for you advice, i will try but since this problem only occurs randomly, so it could take some time to verify.
    However, i'm curious about your tools and methods to do this analysis....which tool did you use to generate the 3 code sections above? the only tool i know is windbg, is there any other tool to analyse it?

    concretely, first, i opened all dmp files with windbg and it only shows "probably caused by ntoskrnl.exe", how do you get the information "Probably caused by : usbhub.sys"?

    second, when it comes to be USB problem, how could know it was "netr28ux"? I mean, where do you get the information of "failed load netr28ux"

    finally ,where did you get my detail information of "netr28ux", from MSINFO32.nfo? if so, with what tool?

    Many thanks
      My System SpecsSystem Spec

  5. #5


    concretely, first, i opened all dmp files with windbg and it only shows "probably caused by ntoskrnl.exe", how do you get the information "Probably caused by : usbhub.sys"?
    I only checked the last two dumps and both of them shows USB related error.

    second, when it comes to be USB problem, how could know it was "netr28ux"? I mean, where do you get the information of "failed load netr28ux"
    Since the crash dump blamed USB driver, we know it is something USB related. According to the MSDN article about 0x9F bugchecks, the fourth parameter is the blocked IRP . In case you wondering what is an IRP, it's a structure used by drivers to communicate with other drivers and Windows kernel . We can inspect it using the !irp command.

    Code:
    Use !analyze -v to get detailed debugging information.
    
    
    BugCheck 9F, {3, fffffa800abcc3c0, fffff8800368e7f0, fffffa800f94cc10}
    
    
    Probably caused by : usbhub.sys
    
    
    Followup: MachineOwner
    ---------
    
    
    2: kd> !irp fffffa800f94cc10
    Irp is active with 11 stacks 9 is current (= 0xfffffa800f94cf20)
     No Mdl: No System Buffer: Thread 00000000:  Irp stack trace.  
         cmd  flg cl Device   File     Completion-Context
     [  0, 0]   0  0 00000000 00000000 00000000-00000000    
    
    
    			Args: 00000000 00000000 00000000 00000000
     [  0, 0]   0  0 00000000 00000000 00000000-00000000    
    
    
    			Args: 00000000 00000000 00000000 00000000
     [  0, 0]   0  0 00000000 00000000 00000000-00000000    
    
    
    			Args: 00000000 00000000 00000000 00000000
     [  0, 0]   0  0 00000000 00000000 00000000-00000000    
    
    
    			Args: 00000000 00000000 00000000 00000000
     [  0, 0]   0  0 00000000 00000000 00000000-00000000    
    
    
    			Args: 00000000 00000000 00000000 00000000
     [  0, 0]   0  0 00000000 00000000 00000000-00000000    
    
    
    			Args: 00000000 00000000 00000000 00000000
     [  0, 0]   0  0 00000000 00000000 00000000-00000000    
    
    
    			Args: 00000000 00000000 00000000 00000000
     [  0, 0]   0  0 00000000 00000000 00000000-00000000    
    
    
    			Args: 00000000 00000000 00000000 00000000
    >[ 16, 2]   0  0 fffffa800b1da050 00000000 00000000-00000000    
    	      Unable to load image \SystemRoot\system32\DRIVERS\netr28ux.sys, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for netr28ux.sys
    *** ERROR: Module load completed but symbols could not be loaded for netr28ux.sys
     \Driver\netr28ux
    			Args: 00014400 00000000 00000004 00000002
     [ 16, 2]   0 e1 fffffa800b21ee10 00000000 fffff802e35e3da0-fffffa800f69e010 Success Error Cancel pending
    	       \Driver\vwifibus	nt!PopSystemIrpCompletion
    			Args: 00014400 00000000 00000004 00000002
     [  0, 0]   0  0 00000000 00000000 00000000-fffffa800f69e010
    You can see netr28ux.sys is the offending driver which blocks IRP. Now go to the Driver Reference Table (DRT) and search for this driver.

    This is the result : Driver Reference Table

    That great site is designed and maintained by "John Carrona" who post as "Usasma" in this forum.


    If you are really interested in crash dump analysis, i highly recommend reading "Windows internals" by "Mark Russinovich".

    Windows Internals Book
      My System SpecsSystem Spec

  6. #6


    Posts : 54
    windows 8 pro 64bit


    but i opened 111713-30984-01.dmp with windbg.. it really says "probably caused by ntoskrnl.exe"
      My System SpecsSystem Spec

  7. #7


    Hi

    Which version of the "Windbg" you are using ? . Debugging "WIndows 8" requires the latest version of "Windbg". It can be installed by running the online SDK installer.

    Windows software development kit (SDK) for Windows 8.1

    Deselect everything other and only select "Debuggint tools".
      My System SpecsSystem Spec

  8. #8


    Posts : 54
    windows 8 pro 64bit


    Attachment 32001
    This is the version and it's installed with the VS2012...
    Should i update it ? I tried but the download speed of microsoft setup tool is beyond my endurance...I hope there is a standalone full pakage download link for me but i can't find...
      My System SpecsSystem Spec

  9. #9


    Hi

    That is the exact version of "Windbg" i uses. The sample crash dump analysis i posted earlier is based on 111713-30984-01.dmp .​ May be your symbol server path settings could be wrong and that is why "Windbg" is blaming Windows kernel.

    Use the Microsoft Symbol Server to obtain debug symbol files

    Mine is set to SRV*C:\SymCache*http://msdl.microsoft.com/download/symbols
      My System SpecsSystem Spec

  10. #10


    Posts : 54
    windows 8 pro 64bit


    I see, now it's usbhub
      My System SpecsSystem Spec

Page 1 of 4 123 ... LastLast
Windows 8 crash randomly when entering sleep mode
Related Threads
Sleep mode crash upon SSD installation in BSOD Crashes and Debugging
Hello, I have a Lenovo Y500 that I added an Intel SSD to. Everytime I put the laptop to sleep I get a hang and then a BSOD. I have attached the minidump. I am confused as to what exactly is the solution as MS couldn't really help me on their forums. 53972
(PREVIOUSLY POSTED THIS IN THE WRONG FORUM) This issue has been ongoing for months, ever since I purchased the computer in November. Microsoft basically abandoned my issue and I personally have not been able to solve it myself. I am using an ASUS K55N laptop, equipped with an AMD A8-4500M...
Solved Windows 8 crash when entering sleep mode in BSOD Crashes and Debugging
Hey guys, I recently bought an ASUS laptop with Windows 8, and occasionally it crashes when waking up from sleep mode or when I close it (fold the screen down). Either way, it just freezes, with the screen blank, and sometimes it restarts on its own, generating an error screen with links to...
Hello, I am new to this forum, and I was hoping to ask for some assistance. Lately, my laptop has been experiencing BSOD when entering sleep mode, and I am stumped as to why it is happening. Day-to-day usage is unhindered, but as soon as the computer goes to sleep on its own, it shuts down and...
Solved Another Crash After Sleep Mode in Win 8 Pro in BSOD Crashes and Debugging
Hey guys another crash from sleep mode guy here. Thanks...
Solved Crash After Sleep Mode in Win 8 Pro in BSOD Crashes and Debugging
Hey guys, Seems like this is going around... Here are my files.
Eight Forums Android App Eight Forums IOS App Follow us on Facebook