• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
MagicAndre1981

Trace Windows 7 boot/shutdown/hibernate/standby/resume issues

1,275 posts in this topic

I mean the hibernation error message you get.

You can also try to use the WPT 4.8:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8279

maybe this version works.

Win tries to go to hibernation, switches erverything off and restarts immediately and I get a message screen if I had powered off the system by PSU. Win reports: The system was shutdown unexpectedly (Eventlog 6008). The system rebooted without shutdown (Kernel_Power 41). Both messages translated from german.

And I have used the WPD 4.8.x from the SDK 7.1.

0

Share this post


Link to post
Share on other sites

what are the parameter of the Kernel Power 41 entries?

http://support.microsoft.com/kb/2028504


- System
- Provider
[ Name] Microsoft-Windows-Kernel-Power
[ Guid] {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
EventID 41
Version 2
Level 1
Task 63
Opcode 0
Keywords 0x8000000000000002
- TimeCreated
[ SystemTime] 2011-10-03T17:03:00.409213900Z
EventRecordID 330779
Correlation
- Execution
[ ProcessID] 4
[ ThreadID] 8
Channel System
Computer XYZ
- Security
[ UserID] S-1-5-18

- EventData
BugcheckCode 0
BugcheckParameter1 0x0
BugcheckParameter2 0x0
BugcheckParameter3 0x0
BugcheckParameter4 0x0
SleepInProgress true
PowerButtonTimestamp 0

0

Share this post


Link to post
Share on other sites

do you use BIOS 1.70? Did the hibernation ever worked correctly or has it stopped after using it already? Do you use the latest drivers fro your SATA controller?

Also try this hotfix:

http://support.microsoft.com/kb/2541014

Ruhezustand funktioniert nicht oder Speicherabbild wird nicht erstellt, nachdem Windows 7 oder Windows Server 2008 R2 Service Pack 1 installiert wurde

0

Share this post


Link to post
Share on other sites

do you use BIOS 1.70? Did the hibernation ever worked correctly or has it stopped after using it already? Do you use the latest drivers fro your SATA controller?

Also try this hotfix:

http://support.microsoft.com/kb/2541014

Ruhezustand funktioniert nicht oder Speicherabbild wird nicht erstellt, nachdem Windows 7 oder Windows Server 2008 R2 Service Pack 1 installiert wurde

The mainboard BIOS is 1.7. Hibernation worked very well for some time. But I can't tell the date or after what update/software install it does not work anymore.The S-ATA-Controller has BIOS version FE9X 4.10.00.021, the driver version is 3.0.5.56 (Sep 14, 2011). KB2541014 is installed since 2011-08.01.

0

Share this post


Link to post
Share on other sites

look in the eventlog. When did you see the first kernel 41 entry?

0

Share this post


Link to post
Share on other sites

look in the eventlog. When did you see the first kernel 41 entry?

2011-08-12


- System
- Provider
[ Name] Microsoft-Windows-Kernel-Power
[ Guid] {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
EventID 41
Version 2
Level 1
Task 63
Opcode 0
Keywords 0x8000000000000002
- TimeCreated
[ SystemTime] 2011-08-11T22:45:07.620005400Z
EventRecordID 307454
Correlation

- Execution
[ ProcessID] 4
[ ThreadID] 8
Channel System
Computer XYZ

- Security
[ UserID] S-1-5-18


- EventData
BugcheckCode 0
BugcheckParameter1 0x0
BugcheckParameter2 0x0
BugcheckParameter3 0x0
BugcheckParameter4 0x0
SleepInProgress false
PowerButtonTimestamp 0

0

Share this post


Link to post
Share on other sites

what happens at the August 12th? What have you installed/changed? At August 9th, there was patchday. Maybe it was an update which caused it. Do you have a system restore point before August 12th?

0

Share this post


Link to post
Share on other sites

what happens at the August 12th? What have you installed/changed? At August 9th, there was patchday. Maybe it was an update which caused it. Do you have a system restore point before August 12th?

The oldest restore point is 2011-08-19.

the following Software was installed before August 12th:

- Microsoft Outlook Sicherung für persönliche Ordner

- Windows XP-Mode

- WinImage

- Starwind Image Converter 5.6

Updates:

KB2567680

KB2563894

KB2563227

KB2562937

KB2560656

KB2559049

KB2556532

KB2559635

KB2536276

KB958559

KB971033

0

Share this post


Link to post
Share on other sites

Remove WinImage and try again. This is a virtual DVD drive software. maybe the driver has some issues with resume.

What is KB2559635? I can't find what this is. Is it a private hotfix?

Have you installed new drivers for the SATA controller at this time?

0

Share this post


Link to post
Share on other sites

Remove WinImage and try again. This is a virtual DVD drive software. maybe the driver has some issues with resume.

What is KB2559635? I can't find what this is. Is it a private hotfix?

Have you installed new drivers for the SATA controller at this time?

Winimage is removed.

The correct KB number is KB 2539635 :blushing:

The 3ware driver was updated at 2011-09-17. Driver update from 3.00.04.070 (2009-03-24) to 3.00.05.056 (2011-08-10). Today I have updated the controller bios. Its now FE9X 4.10.00.024.

At last I tried hibernation - but without success. Everything was powered down, but resume fails (as mentioned above).

Edited by panolis
0

Share this post


Link to post
Share on other sites

I have no idea. This is something for the Microsoft support.

0

Share this post


Link to post
Share on other sites

All of the shutdown time here appears to be because a WMI provider takes forever to shutdown, but the CPU time is all in a thread in the shutdown logonui.exe process (showing you the shutdown status screen). To get anything useful out of this, you're going to need to take a new trace with only the following options:

xbootmgr -trace shutdown -traceflags dispatcher+latency -stackwalk readythread+threadcreate+cswitch+profile -resultPath c:\shutdown_trace

0

Share this post


Link to post
Share on other sites

I followed the step to record a trace for shutdown but I'm not 100% sure I did everything correct. Either way my issue is really long shutdown times, it seems to hang the system anything from 1-5 minutes. My OS is on Crucial M4 SSD. I have tried clean boot which seems to get rid of the problem but when I activate my regular start up items it starts hanging the system again.

I have uploaded two trace files, one with the parameters in the OP and one from first time I tried, just a regular boot. Can someone take a look at it?

http://min.us/lG8MRVCzJ1ZZ5

http://min.us/luH8XNBs9aPGa

Thanks in advance

0

Share this post


Link to post
Share on other sites

the trace says your Windows is ok:


- <timing shutdownTime="8517" servicesShutdownDuration="5019">

So the complete shutdown takes 8.5s and most time it takes to shutdown the services (5 seconds). And here there is1 hanging service:


unresponsiveServices numUnresponsiveServices="1">
<unresponsiveService name="BsMailProxy" />

So update or remove BullGuard and check if this fixes the sporadic delays.

0

Share this post


Link to post
Share on other sites

the trace says your Windows is ok:


- <timing shutdownTime="8517" servicesShutdownDuration="5019">

So the complete shutdown takes 8.5s and most time it takes to shutdown the services (5 seconds). And here there is1 hanging service:


unresponsiveServices numUnresponsiveServices="1">
<unresponsiveService name="BsMailProxy" />

So update or remove BullGuard and check if this fixes the sporadic delays.

Did you check both logs though? second should show about a 50 seconds delay. i'll try and re-install my firewall, see if it changes anything.

0

Share this post


Link to post
Share on other sites

in the second trace the system kernel took longer to shutdown:


interval name="NtShutdownSystem" startTime="16726" endTime="61308" duration="44581" />

and the Bullgard services were also slow and not responding:


- <unresponsiveServices numUnresponsiveServices="3">
<unresponsiveService name="BsFileScan" />
<unresponsiveService name="BsFire" />
<unresponsiveService name="BsMailProxy" />

Remove Bullgard and test again.

0

Share this post


Link to post
Share on other sites

I did what you suggested and there is no longer in hangups. I also re-installed Bullguard and have now tested shutdowns a few times, again no delays.

Thank you for the quick help.

0

Share this post


Link to post
Share on other sites

MagicAndre :) Can you have a look and tell me whats wrong if I upload a trace for you? Where/ how should I upload/ make it accessible for you?

This is the issue I've been facing and want to figure out which driver is causing it.

http://forum.thinkpads.com/viewtopic.php?f=30&t=99689

One Z file containing 3 separate instances of Summary. The ETL was too large for the upload bandwidth I have at this time. Can you help figure out the issue(s) here?

http://www.mediafire.com/?0wk30o3sgg4o7cd

0

Share this post


Link to post
Share on other sites

all summaries don't look good. But I need the ETL files. Can you compress them as 7z (LZMA2/Ultra) and upload them?

In all cases the WinlogonInit (starting services, request password, connect network connections) is slow

WinlogonInit" startTime="23322" endTime="418517" duration="395195">

If you use a HDD run the optimization I linked in the first post and look if this improves it. And xbootmgr doesn't tell you why it only boots while docked. I can only see why it is slow and how to solve the slowness.

0

Share this post


Link to post
Share on other sites

All of the shutdown time here appears to be because a WMI provider takes forever to shutdown, but the CPU time is all in a thread in the shutdown logonui.exe process (showing you the shutdown status screen). To get anything useful out of this, you're going to need to take a new trace with only the following options:

xbootmgr -trace shutdown -traceflags dispatcher+latency -stackwalk readythread+threadcreate+cswitch+profile -resultPath c:\shutdown_trace

Here is the new trace with the options you specified. The computer took long to shutdown as before, but after I got back on my desktop, there was a notification asking me to Cancel or Finish with a timer of 130 seconds. I clicked "Finish" not knowing what it was, other than assuming it was part of the trace, and my computer rebooted again this time not delaying to shutdown. With that said, I dont know if the Trace data is accurate on that account but here it is.

http://www.mediafire.com/?feo7cbfq8567toa

0

Share this post


Link to post
Share on other sites

this time the shutdown is fine. It takes 9s and 5s to stop the services.


timing shutdownTime="9376" servicesShutdownDuration="5006">

Add the -noPrepReboot parameter to the command line to avoid 1 reboot. This should now trace the delay from the first shutdown.

Edited by MagicAndre1981
0

Share this post


Link to post
Share on other sites

Hi MagicAndre,

Could you please have a look at my both booting and shutdown reports??? since my shutdown takes too much time to turning the system off.

kind regards,

AllanFreelancer

Both reports.rar

Edited by AllanFreelancer
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.