Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

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

slow Boot bootvis performance

  • Please log in to reply
1197 replies to this topic

#426
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

I mean the hibernation error message you get.

You can also try to use the WPT 4.8:

http://www.microsoft...lang=en&id=8279

maybe this version works.
Posted Image


How to remove advertisement from MSFN

#427
panolis

panolis

    Newbie

  • Member
  • 16 posts
  • OS:Windows 7 x64
  • Country: Country Flag

I mean the hibernation error message you get.

You can also try to use the WPT 4.8:

http://www.microsoft...lang=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.

#428
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

what are the parameter of the Kernel Power 41 entries?

http://support.micro....com/kb/2028504
Posted Image

#429
panolis

panolis

    Newbie

  • Member
  • 16 posts
  • OS:Windows 7 x64
  • Country: Country Flag

what are the parameter of the Kernel Power 41 entries?

http://support.micro....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 


#430
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.micro....com/kb/2541014

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

#431
panolis

panolis

    Newbie

  • Member
  • 16 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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.micro....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.

#432
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#433
panolis

panolis

    Newbie

  • Member
  • 16 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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 



#434
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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?
Posted Image

#435
panolis

panolis

    Newbie

  • Member
  • 16 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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

#436
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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?
Posted Image

#437
panolis

panolis

    Newbie

  • Member
  • 16 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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, 05 October 2011 - 03:07 PM.


#438
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#439
siirus09

siirus09
  • Member
  • 2 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Would someone be able to help me out as to why sometimes my computer takes so long to shutdown? I uploaded to Mediafire because Skydrive wont work for me =(
http://www.mediafire...6h8k2c1vy2wyb50

#440
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,247 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
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

MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#441
Jesper

Jesper
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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

#442
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.
Posted Image

#443
Jesper

Jesper
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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.

#444
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.
Posted Image

#445
Jesper

Jesper
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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.

#446
crashnburn4u

crashnburn4u
  • Member
  • 5 posts
  • OS:none specified
  • Country: Country Flag
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.thinkpa...hp?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...0wk30o3sgg4o7cd

#447
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.
Posted Image

#448
siirus09

siirus09
  • Member
  • 2 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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...feo7cbfq8567toa

#449
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,918 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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, 08 October 2011 - 11:09 AM.

Posted Image

#450
AllanFreelancer

AllanFreelancer

    Newbie

  • Member
  • 21 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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

Attached Files


Edited by AllanFreelancer, 08 October 2011 - 06:50 PM.






Also tagged with one or more of these keywords: slow, Boot, bootvis, performance

4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users



How to remove advertisement from MSFN