Solved Windows 8 crash randomly when entering sleep mode

demonguy

New Member
Messages
54
[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:

My Computer

System One

  • OS
    windows 8 pro 64bit
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:        [COLOR=#ff0000][B]Fri Sep 06 18:17:06 2013[/B][/COLOR] (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 :

image.axd



Reboot the system and check how sleep mode works now.
 

My Computer

System One

  • OS
    Windows 7
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 Computer

System One

  • OS
    windows 8 pro 64bit
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 Computer

System One

  • OS
    Windows 7
View 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 Computer

System One

  • OS
    windows 8 pro 64bit

My Computer

System One

  • OS
    Windows 7
it seems work fine if i unchcked "allow computer to turn off this device", however i want to make it more properly.

and i found an entry in my control panel...as the picture shows, i'm not sure if it causes the problem, if i recall corretly, this is installed by a driver updater software.... and i can't remove it.
now i just delete netr28ux.sys netr28ux.pnf netr28ux.inf and RAIHV.dll and reinstall the driver i've downloaded from the official website, but the problem still....So is there any susgestion? can i just delete this entry from control panel or i should do something else?
View attachment 32227
 

My Computer

System One

  • OS
    windows 8 pro 64bit
Hi

As the name implies, that is the driver package file for your wireless adapter. Uninstalling it will remove the currently installed driver. Then try installing the latest version downloaded from the manufacturer's site. If the issue remains, you should disable the "Power Management" function as explained. Actually disabling it is generally recommended by experts to fix a number of issues including intermittent signal drop etc.
 

My Computer

System One

  • OS
    Windows 7
but the problem is that i can't uninstall it..... as the picture shows an error....
and if i want to change the channel of the adapter to avoid confliction with my bluetooth adapter, the device manager will be not responding, so i think the package did some bad things but i can't uninstall....damn it
 

My Computer

System One

  • OS
    windows 8 pro 64bit
that's what i did before... so you mean i have uninstalled this package, and i just left an fake entry in the control panel?
 

My Computer

System One

  • OS
    windows 8 pro 64bit
Hi

Yes, removing via device manager won't remove the "Control Panel" entries but will actually remove the driver from both driver folder and driver repository folder. So you don't have to worry about that entry.



Thanks very much.... disabling usb selective suspend works!. i'm going to look Windows Internals, it's fantastic if someday i can solve this problem by myself!

I have another problem, who is responsible for the USB driver?I only know drivers of NIC, graphic card , sound card and so on, since my NIC driver is up to date, i think maybe i should update my USB driver but how?
 
Last edited:

My Computer

System One

  • OS
    windows 8 pro 64bit
Hi

Windows XP SP2 and higher supports USB 2.0 naively and no separate driver is needed. However it can be updated by installing the latest chipset driver.

Intel Driver Update Tool : Intel® Driver Update Utility

So the usb driver is included in Intel Chip software, I see...... Then it's weird, it's up to date before i post this thread, then my usb driver is up to date and NIC driver is up to date, how could my problem occur?
 

My Computer

System One

  • OS
    windows 8 pro 64bit
how could my problem occur?

Actually it is your Wireless card or it's driver which is misbehaving. The WiFi card is having problem switching power states (waking from standby mode). It can be either a hardware malfunction or a poorly coded driver ( more probably). You can read more about power states here - All about System Power States (S0-S5) | Intel® Developer Zone


Since the driver is already up to dated, next logical step was to disable the standby feature of the card so i advised you to do that. As i said earlier, turning off wireless power management function is heavily recommended by several experts for better performance.

For example :

Windows 8 keeps dropping wifi connection

https://icnerd.com/2013/03/04/fix-windows-8-laptop-dropping-wifi-connection-constantly/
 

My Computer

System One

  • OS
    Windows 7
Back
Top