Sign in with
Sign up | Sign in
Your question

BSOD on shutdown - ntoskrnl.exe

Last response: in Windows 7
Share
June 9, 2010 4:33:36 AM

Hello,

I fairly recently built my own computer and it has been working great except for the occasional BSOD on shutdown. I will shutdown the computer, and it will hang on shutting down for quite some time.. 15+ minutes, and then it will go to a DRIVER_POWER_STATE_FAILURE BSOD. I use the program BlueScreenView to inspect the minidump files and more often than not the BSOD is related to the ntoskrnl.exe . Sometimes there are other files involved, but ntoskrnl.exe is always one of them.

Once it was hal.dll, tcpip.sys, win32k.sys, atipmdag.sys, and ntfs.sys. Ntoskrnl.exe was always mentioned in BlueScrenView along with one of these, more recently it was only Ntoskrnl.exe .

This only started happening fairly recently, and for a couple months after building the computer I never had any of these problems.

Something worth mentioning. I use the program ReadyDriverPlus to automatically disable Driver Signature Enforcement for Win7 so I can use the ATI Tray Tools program to better control my graphics card. I had a slight mishap when installing this program, and I uninstalled it (via control panel) and every time I started up the computer from then on out it would automatically go to the screen during startup where you can select "Disable driver signature enforcement" and "Safe mode" and the other startup options. It would not automatically select driver signature enforcement now that it was uninstalled, but the screen would pop up and it would show ReadyDriverPlus next to Windows 7 on the startup screen mentioned. So some files must have lingered after un-install.

I installed ReadyDriverPlus again, and now each time the computer starts up it will got to that screen and instead of showing one ReadyDriverPlus entry it will show two, next to the Windows 7 selection.

I am not sure if this has caused some of the issues or not, if I knew a way to completely remove the lingering settings for this program I would. Although, as I said I am not sure this is an issue.

I am an advanced user, and know quite a bit about computers and how they work. I am not sure if this is a hardware issue, or something else. I have run MemTest86 for ~12 hours and no issues showed up so there is that.

Computer specs:
i7-920 @ 4.0 ghz
ATI 5970HD
3 x 2GB OCZ DDR3 RAM running @ 1600mhz (advertised running speed)
Asus P6T Deluxe V2 mobo
Auzentech Prelude X-fi 7.1 sound card
2x Samsung Spinpoint F3 1TB HDD's
1x Western Digital Caviar Black 1TB HDD
Antec 1200 Tower Case
Win7 x64

Thanks in advance.
a b $ Windows 7
June 9, 2010 5:01:03 AM

The first thing that jumps out at me is 4.0 Ghz. Are you sure you are 100% stable at that speed? I have to ask. Have you tried backing down your overclock? I will assume you have ensured rock solid stability at 4.0.

I am unfamiliar with the ready driver plus software, but it seems rather dubious to me. I've never had an issue with ati tools and control of my video cards.
So first I would dl the latest video drivers if you haven't already.
I would uninstall that driver plus software and reboot. I would uninstall the video drivers, clear the recycle bin. then reboot into safe mode and run cc cleaner, and the cab cleaners.
Then boot into windows and cancel if windows tries to reinstall the card. Then run the latest drivers. I believe you have some driver conflicts from that software and so forth.

Also if you still feel something is lingering, some programs refuse to uninstall everything. Specifically a lot of programs still want to run at startup, even if you uninstalled through control panel. Run msconfig and check to make sure ready driver doesn't have any remaining little crapware trying to run at startup. I know for a fact that can cause system hangs, particularly at shutdown when the system is trying to turn off everything that was turned on at startup.

the NT OS kernel is just that, a bit of NT that still is being used in your current OS. It is a system file that indicates a problem with the system, but I think that problem could be hardware or software related and may not point to anything specific.
Probably when you tell the system to shutdown, ntoskrnl.exe is trying to fulfill that request but there is lingering crapware that won't respond to the shutdown request.
June 9, 2010 5:22:34 AM

Hi,

Well, I have never had any apparent issues due to the CPU speed. The i7-920 overclocks like a champ.

I need Ready Driver Plus so I can run ATI Tray tools (Windows 7 driver signature enforcement crap, and load of piss.) ATI Tray Tools can't afford to PAY Microsoft for a small 3rd party program.

I have the latest 10.5 Catalyst drivers. How would you recommend I test my 4.0 overclock more than I already have for 100% stability?

I have run MemTest86+ for ~12+ hours with no issues.
Related resources
June 10, 2010 12:26:25 AM

Hello jamrock,

Sounds like hardware issues, you will need to physically take out the hardware(e.g. sound cards, tv tuner, etc.) just start system with only the bare motherboard, video, ram and hard drive.

Make sure you have the latest drivers, but not beta drivers.

Microsoft does have an official Windows 7 Support Forum located here http://tinyurl.com/9fhdl5 . It is supported by product specialists as well as engineers and support teams. You may want to check the threads available there for additional assitance and support.

John M
Microsoft Windows Client Team

a b $ Windows 7
June 10, 2010 5:06:12 AM

Jamrock said:
Hi,

Well, I have never had any apparent issues due to the CPU speed. The i7-920 overclocks like a champ.

I need Ready Driver Plus so I can run ATI Tray tools (Windows 7 driver signature enforcement crap, and load of piss.) ATI Tray Tools can't afford to PAY Microsoft for a small 3rd party program.

I have the latest 10.5 Catalyst drivers. How would you recommend I test my 4.0 overclock more than I already have for 100% stability?

I have run MemTest86+ for ~12+ hours with no issues.



When this problem began -- had you installed any new driver updates? Have you ensured that your BIOS is completely up to date? (I am assuming it is)

Can you also run checkdsk to ensure that your HDD is functioning normally?

Jessica
Microsoft Windows Client Team
a b $ Windows 7
June 10, 2010 5:11:53 AM

jamrock tell me you are running Win 7x64
June 10, 2010 6:12:36 AM

I am running Win 7 x64 as the first post says.

I am hoping it is not a hardware issue, I suspect my GPU... but if it is anything it is really minor. I had some red/gray lines show up on my screen today when un-installing my 10.5 catalyst drivers.. and had to hard-reset the computer. No idea why that happened.

But, so far so good it seems it was an ATITool's driver that was installed, and was from 2007 and was not in any way compatible with Win7.

I also un-installed readydriver plus, and am using the new ATI Tray Tools which has its own signed driver. I will update if the BSOD comes back. Thanks!
a b $ Windows 7
June 10, 2010 10:29:47 AM

Hardware I doubt, you do realize that there is a article here in THG and the MSFT website that Win 7x64 has a "issue" that can cause unwanted code to run, seems that ATI suffers the most, but Nvidia users have complained as well, I use 7 x32 Ultimate, so I'm Happy
if the control Panel was not 7 compatable, it could easily be the problem, hopefully you got it under control
June 10, 2010 3:20:01 PM

clearly an oc issue. I like OCCT for testing my OC
a b $ Windows 7
June 10, 2010 3:43:54 PM

very good prgm, smoked 2 PSU's with the PSU test
June 10, 2010 8:48:09 PM

Well, I got another BSOD so I guess that didn't fix it.

Could this be some sort of hardware failure do you think?

When I un-installed the drivers for the 5970 the other day, red/grey lines filled the screen during un-install and I had to do a hard-reboot. My 5970 is also not very OC'able. It is very sensitive, even just very minor OC's that shouldn't even need a voltage change it doesn't like and will show grey lines all over the screen in a short time.

All temp's are fine during the tests and while gaming, sometimes the card just does this and I have to hard-reboot. CPU temps are fine as well.

Is OCCT safe to use for testing the OC? Could it be a hardware failure?
June 10, 2010 9:20:28 PM

Well I ran OCCT for 1.5 minutes and it stopped saying my CPU was too hot. . . it only reached 82C, 79C, 76C, and 77C on each of the 4 cores. I wouldn't say this is too hot would you? Above 85C would be too hot, no?

I have run Prime95 for ~12 hours and got no errors, so i'm not sure what to do at this point. I don't think the CPU OC is unstable at all, but I would like to be able to check. . .
a b $ Windows 7
June 11, 2010 10:19:54 AM

82C is pretty hot 180F, you might be able to cook eggs on it, the problem maybe heat, maybe remove the fan and hatsink and clean, get some good paste and give it a good coat, reinstall, does BIOS have a fan control, override it and make the fan full speed to test
June 11, 2010 1:46:31 PM

my i7-920@4ghz maxes out at 71c
June 11, 2010 10:26:51 PM

Well, during games the heat maxes out at 72C and that's only on the first core, others are a good 5-6C behind. Anyway, I reset the clocks back to default and got another BSOD on shutdown so that can't be the issue.

I'm going to run Driver Verifier to see if it is any issue with something I currently have installed. I hope it is, and that an RMA of the 5970 or anything else doesn't need to happen.

Memtest86+ turns out fine, and so does Prime95.. could a HDD failing.. be it any of the three 1TB HDD's I have cause a BSOD on shutdown?
a b $ Windows 7
June 12, 2010 1:31:14 PM

really don't think the problem is multiple HDD's, unless you have dual booting and MAYBE then, but I think it's stretching a lot, run OCCT again, do you have a way to monitor the CPU during the test?have you evr cleaned the registry? I use EFRC(Eusing Free Regestry Cleaner) never had a problem with it and it has some neat tools with it
June 13, 2010 2:15:56 PM

Have you tried replacing the ntoskrnl.exe file with the copy from the dllcache folder thats in the win32 folder? Maybe your file is actually corrupt. Also nirsoft bluescreen view is a great program to help decipher whats happening with your bsod's.
June 15, 2010 6:56:13 AM

Haven't cleaned the registry much... little hesitant to do that other than the registry cleaning function on CCleaner.

That's an idea prelude... I use bluescreenview and that is usually the file that is said to be causing problems... BUT.. I have some new info to report.

1. I have my i7-920 overclocked to 3.7ghz at the moment.. strange thing is that RealTemp shows the clocks fluctuating! It will show clocks at going from 3400mhz, to 3200mhz, down to 2800mhz... keeps fluctuating up and down. What the hell??

2. My GPU is doing the same thing! Sometimes the 2nd GPU on my 5970 will be at 725/1000 mhz in idle (which is the speeds it goes to during gaming/heavy load.) Only the 2nd GPU.. I thought it was some bug in Afterburner but GPU-Z just showed it as well.. after clicking on and off the page it showed it back at idle speeds but.. kind of worriesome.

3. My Asus P6T Deluxe V2 mobo seems to be running a little hotter than usual. Could these wild fluctuations be due to a motherboard issue?

a b $ Windows 7
June 15, 2010 7:00:55 AM

Jamrock said:
Haven't cleaned the registry much... little hesitant to do that other than the registry cleaning function on CCleaner.

That's an idea prelude... I use bluescreenview and that is usually the file that is said to be causing problems... BUT.. I have some new info to report.

1. I have my i7-920 overclocked to 3.7ghz at the moment.. strange thing is that RealTemp shows the clocks fluctuating! It will show clocks at going from 3400mhz, to 3200mhz, down to 2800mhz... keeps fluctuating up and down. What the hell??

2. My GPU is doing the same thing! Sometimes the 2nd GPU on my 5970 will be at 725/1000 mhz in idle (which is the speeds it goes to during gaming/heavy load.) Only the 2nd GPU.. I thought it was some bug in Afterburner but GPU-Z just showed it as well.. after clicking on and off the page it showed it back at idle speeds but.. kind of worriesome.

3. My Asus P6T Deluxe V2 mobo seems to be running a little hotter than usual. Could these wild fluctuations be due to a motherboard issue?


Have you run Prime 95 / 3D Mark to see if any hardware failures present themsevles?

Jessica
Microsoft Windows Client Team
June 15, 2010 7:06:48 AM

Neverwind for #1.. I have run Prime95 for 12 hours and there were no issues.. as soon as the CPU had load it stayed at 3.7ghz solid on RealTemp I must have forgot to turn off SpeedStep in the BIOS.

Still minorly worried about the mobo temps and the GPU issues. I honestly think it might be a problem with the GPU.. it just doesn't seem to be running 100% but it's quite hard to say.

Things i'm going to try before RMA'ing the GPU:

1. Repairing windows via the win7 installation disc

2. That should take care of the ntoskrnl.exe if it is corrupt like you say prelude.

3. Going to run 3dmark vantage

4. Kind of off topic but, what kind of heatsinks/fans are you running on your i7-920 @ 4ghz and what case? air/liquid?

EDIT: Yeah, as we speak right now the 2nd gpu went up to 725/1000 clocks again... I turned off GPU-Z and am just running Afterburner to see if it was a conflict with the two programs cause as soon as I switch the windows on GPU-Z from GPU1 and GPU2 on the sensors tabs it shows the clocks back at 157/300..
a b $ Windows 7
June 15, 2010 9:39:06 AM

speed step in BIOS, disabled is good
June 16, 2010 8:42:01 PM

Well, no immediate hardware failures with Prime nor 3DMark Vantage. BUT, my CPU score is worryingly low. Here are my results:



The CPU scores should be in the range of my GPU at least, people are getting in the 30,000 range with my setup at the very least... i7-920 speeds were clocked at 3.8ghz for this test, with hyper-threading disabled, speedstep disabled, intel virtualization etc.

Specs:
i7-920 @ 4.0 ghz
ATI 5970HD
3 x 2GB OCZ DDR3 RAM running @ 1600mhz (advertised running speed)
Asus P6T Deluxe V2 mobo
Auzentech Prelude X-fi 7.1 sound card
2x Samsung Spinpoint F3 1TB HDD's
1x Western Digital Caviar Black 1TB HDD
Antec 1200 Tower Case
Win7 x64
June 17, 2010 2:58:09 AM

If the ntoskrnl.exe file is corrupt or missing this can also generate the error. To restore this file follow the below steps.
1. Insert the Microsoft Windows 7 CD. Note: If you have a recovery CD or a restore CD and not a Microsoft Windows 7 CD it is likely the below steps will not resolve your issue.
2. Reboot the computer, as the computer is starting you should see a message to press any key to boot from the CD. When you see this message press any key.
3. In the Microsoft Windows 7 setup menu press the R key to enter the recovery console.
4. Select the operating system you wish to fix, and then enter the administrator password.
5. Type expand d:\i386\ntoskrnl.ex_ c:\windows\system32
6. You will then be prompted if you wish to overwrite the file type Y and press enter to overwrite the file.
7. Type exit to reboot the computer.
!