MSFN Forum: Trace Windows 7 boot/shutdown/hibernate/standby/resume issues - MSFN Forum

Jump to content


Windows 7 forum rules

If you have questions about customizing Windows 7 that are vLite-specific, please post them in the vLite forum, not here. If you have questions regarding the unattended installation of Windows 7, please post them in the Unattended Windows 7/Server 2008 R2 section.
  • 49 Pages +
  • « First
  • 37
  • 38
  • 39
  • 40
  • 41
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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

#761 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 16 June 2012 - 02:46 PM

View PostSteve00, on 16 June 2012 - 11:55 AM, said:

Basically, I have a problem with NtShutdownSystem interval, which lasts 67,5 seconds.

If anyone have any idea, shout it out.

Posted Image


Please run this command:

xbootmgr –trace shutdown -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -resultPath C:\TEMP


it captures more data (also disk and registry calls). Maybe this shows me more details. Zip the trace upload it to SkyDrive,Dropboxand send me a link.


#762 User is offline   doveman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 22-August 05

Posted 17 June 2012 - 02:29 AM

View PostMagicAndre1981, on 16 June 2012 - 02:27 PM, said:

View Postdoveman, on 16 June 2012 - 03:43 AM, said:

I'm not sure this comes within the scope of this thread, so maybe there's another one you'd like me to take this to. The problem I have is Windows NOT going to standby for no apparent reason


please start a new topic in the forum for your Windows version.


Thanks, will do.

#763 User is offline   Steve00 

  • Group: Members
  • Posts: 3
  • Joined: 16-June 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 June 2012 - 03:58 AM

View PostMagicAndre1981, on 16 June 2012 - 02:46 PM, said:


Please run this command:

xbootmgr –trace shutdown -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -resultPath C:\TEMP


it captures more data (also disk and registry calls). Maybe this shows me more details. Zip the trace upload it to SkyDrive,Dropboxand send me a link.


Any idea? I made another trace and process daemonu.exe from nvidia update seems to last till the end of shut down process. I disabled it, but still the same. If nothing can be done, I am going to install another OS (xp, or linux), to make sure problem is not windows 7 related.

#764 User is offline   darthgrader 

  • Group: Members
  • Posts: 7
  • Joined: 06-June 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 June 2012 - 08:13 AM

View PostMagicAndre1981, on 16 June 2012 - 02:43 PM, said:

View Postdarthgrader, on 16 June 2012 - 06:26 AM, said:

http://dl.dropbox.co...SSD_1TB_3TB.zip

http://dl.dropbox.co...R_1_SSD_1TB.zip

http://dl.dropbox.co...POWER_1_SSD.zip

If attaching files actually works on this site, it is not obvious how! It says it will, the files are under 500 k, as required, the files show up in the required window, then nada!


With SSD only you have a delay in SMSS mostyl caused by the driver SiRemFil.sys:



This is the Silicon Image SATALink controller driver. So I asked this after your first post. The detection of the drives was slow, so connect the WD and the SSD to different SATA ports on your mainbaord. Tghe same delay is also present in all other traces.



"Connect the WD and SSD to different SATA ports."

Here is the thing. The board has two Marvel SATA 3 ports, which it says not to use for the boot drive, two other SATA 3 ports. The two drives in question are SATA3 drives. If I connect them to SATA 2 ports (there are 4) it will slow down their performance in transferring data. (by the way, I have two internal SATA optical drives connected to two of those 4 SATA2 ports) I have already tried the WD 3 TB drive on the Marvel SATA 3 port that is not shared with the eSATA port and it had no effect on the boot time. Not even a minimal effect, none. I had the WD 3 TB drive on a SATA 2 port, which one I do not recall, and again it made no significant difference in the boot time. So the question then is, exactly what is it that you want me to try? I am happy to give it a go but I don't know what it is you think I should do here that I have not already done.

#765 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 17 June 2012 - 12:11 PM

View PostSteve00, on 17 June 2012 - 03:58 AM, said:

I made another trace and process daemonu.exe from nvidia update seems to last till the end of shut down process. I disabled it, but still the same. If nothing can be done, I am going to install another OS (xp, or linux), to make sure problem is not windows 7 related.


send me the latest trace file, please.

View Postdarthgrader, on 17 June 2012 - 08:13 AM, said:

Here is the thing. The board has two Marvel SATA 3 ports, which it says not to use for the boot drive, two other SATA 3 ports. The two drives in question are SATA3 drives. If I connect them to SATA 2 ports (there are 4) it will slow down their performance in transferring data. (by the way, I have two internal SATA optical drives connected to two of those 4 SATA2 ports) I have already tried the WD 3 TB drive on the Marvel SATA 3 port that is not shared with the eSATA port and it had no effect on the boot time. Not even a minimal effect, none. I had the WD 3 TB drive on a SATA 2 port, which one I do not recall, and again it made no significant difference in the boot time. So the question then is, exactly what is it that you want me to try? I am happy to give it a go but I don't know what it is you think I should do here that I have not already done.


normal HDD likes your WD are not slow-downed by SATA2. No normal HDD is so fast. Only SSDs reach the limits.

You can try to update the BIOS and load the default setting and try to install never AHCI drivers. If nothing helps, try a PCIe card which provides additional SATA ports.

#766 User is offline   Steve00 

  • Group: Members
  • Posts: 3
  • Joined: 16-June 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 06:11 AM

View PostMagicAndre1981, on 17 June 2012 - 12:11 PM, said:

View PostSteve00, on 17 June 2012 - 03:58 AM, said:

I made another trace and process daemonu.exe from nvidia update seems to last till the end of shut down process. I disabled it, but still the same. If nothing can be done, I am going to install another OS (xp, or linux), to make sure problem is not windows 7 related.


send me the latest trace file, please.



Reinstalled system, step by step, one update, then restart, another update, restart, driver by driver, app by app, restart after every installation.

Everything good now, shutting down in less then 20 seconds.

It seems that I had multiple wireless adapter drivers, so they caused conflict, but not really sure what was the problem.

Thanks...

#767 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 21 June 2012 - 12:33 PM

View PostSteve00, on 18 June 2012 - 06:11 AM, said:

It seems that I had multiple wireless adapter drivers, so they caused conflict, but not really sure what was the problem.


nice to hear that you fixed it :) :thumbup

#768 User is offline   fishmcfish 

  • Group: Members
  • Posts: 5
  • Joined: 22-December 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 June 2012 - 10:17 PM

View PostMagicAndre1981, on 01 June 2012 - 01:55 AM, said:

set the startyp to manual/on demand and not disabled.


Can you provide instructions or a link to an example? I'm having difficultly understanding your suggestion.

#769 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,082
  • Joined: 12-May 07

Posted 22 June 2012 - 01:51 AM

I believe that he is asking you to set the Superfetch Service Startup type to "Manual" instead of "Disabled". You can do this manually by going to Computer Management -> Services and Applications -> Services -> Superfetch. In the Pulldown box for Startup type select Manual then click Apply and OK. Then reboot the system, maybe a couple of times, then redo your tests and see if that makes any difference. You can then go back into Services and see if indeed the Superfetch service was started, or if just allowing for the possibility that it could be started allows the system to perform correctly. I understand your concern about having the service running effecting the life of the SSD, but doing this test just to see if indeed it is the problem will not effect it's life enough to notice. You can always disable the service again after completing the test. Once we can find what is causing your problem, then we can try and figure out how to prevent it.

Cheers and Regards

#770 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 24 June 2012 - 01:43 AM

View Postbphlpt, on 22 June 2012 - 01:51 AM, said:

I believe that he is asking you to set the Superfetch Service Startup type to "Manual" instead of "Disabled". You can do this manually by going to Computer Management -> Services and Applications -> Services -> Superfetch. In the Pulldown box for Startup type select Manual then click Apply and OK.


yes, this is what I want you to do.

#771 User is offline   bikeracer4487 

  • Group: Members
  • Posts: 3
  • Joined: 25-June 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 June 2012 - 11:36 PM

So, I'm currently booting into Windows 7 Pro 64-bit w/ a P9x79 Deluxe mobo, an Intel i7 3930K CPU, 4x4GB DDR3-1600, and an OCZ Vertex 3 240GB SSD...but it generally stays on the Windows loading screen for 15-20 seconds or more, when many others are telling me that their UEFI computers boot up in <8 seconds and that the Windows loading screen barely has time to flash, and I can't for the life of me figure out what could be causing the delay. I created a thread over in the Tom's Hardware forums and when I wasn't having much luck, one of the other members referred me to your thread, so I was hoping maybe you might spot something I've missed. I've attached the xml file from the trace boot, please let me know if there's anything else that might help figure out what I'm doing wrong.

#772 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 26 June 2012 - 11:42 AM

I can't see an attached file :unsure:

#773 User is offline   bikeracer4487 

  • Group: Members
  • Posts: 3
  • Joined: 25-June 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 June 2012 - 12:08 PM

Gah! What the hell? I swear I double checked that before I posted... Okay, I'm attaching it again, and if for some reason there's no file, than it's also on pastebin here: http://pastebin.com/EPZcvRgF

EDIT: ah...you have to click that button after selecting it...skipped that step before...

Attached File(s)



#774 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 26 June 2012 - 12:18 PM

ok, your Windows takes 23s to boot to the desktop and 25s to boot completely:

<timing bootDoneViaExplorer="23344" bootDoneViaPostBoot="35044"



The PreSMSS phase takes too long (10s):

<interval name="PreSMSS" startTime="0" endTime="10429" duration="10429">


I can see that the driver for the Intel SATA controller takes too long to load (4s) and scaning for the attached devices also takes too log

Quote

<pnpObject name="PCI\VEN_8086+DEV_1D02+SUBSYS_84EF1043+REV_05\3+11583659+0+FA" type="Device" activity="Enum" startTime="4602" endTime="8683" duration="4080" prePendTime="4080" description="Intel® C600 Series Chipset SATA AHCI Controller" friendlyname="" /> <pnpObject name="PCIIDE\IDEChannel\5+3a447424+0+0" type="Device" activity="Enum" startTime="1032" endTime="4541" duration="3509" prePendTime="0" description="IDE Channel" friendlyname="ATA Channel 0" />
<pnpObject name="PCIIDE\IDEChannel\5+3a447424+0+1" type="Device" activity="Enum" startTime="1033" endTime="4541" duration="3508" prePendTime="0" description="IDE Channel" friendlyname="ATA Channel 1" />


Which IDE devices do you still use?

#775 User is offline   bikeracer4487 

  • Group: Members
  • Posts: 3
  • Joined: 25-June 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 June 2012 - 10:20 PM

I'm unfamiliar with PreSMSS or how to speed it up. As for devices, I have 1 SSD, 3 HDD's, and a BluRay writer connected to the Intel SATA connectors (I don't use the Marvell connectors). Then I've got 2 USB 3.0 external HDD's (one is a dual enclosure), and a USB 2.0 external HDD (Seagate FreeAgent, which also seems to be slowing down the boot, if I'm reading the results correctly...)

#776 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 27 June 2012 - 07:40 AM

PreSMSS is explained in the first post. here all drivers are loaded and the devices are started. Try to use the Marvell chip, too. Play a bit with combinations of connecting devices to Intel and Marvell. Does this make a difference?

Yes, your USB drive also slows down boot. So try to connect it to a different uSB port or attach it after boot.

#777 User is offline   darthgrader 

  • Group: Members
  • Posts: 7
  • Joined: 06-June 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 June 2012 - 08:41 AM

View PostMagicAndre1981, on 17 June 2012 - 12:11 PM, said:

View PostSteve00, on 17 June 2012 - 03:58 AM, said:



normal HDD likes your WD are not slow-downed by SATA2. No normal HDD is so fast. Only SSDs reach the limits.

You can try to update the BIOS and load the default setting and try to install never AHCI drivers. If nothing helps, try a PCIe card which provides additional SATA ports.


I deleted the active partition of WD 3 TB drive and created two partitions of 2 and 1 TB. The system now boots in less than 23 s. I guessing this has something to do with how Win 7 64 bit handles drives greater than the 2 TB limit for non 64 bit OS. Not real happy with this solution but I haven't found another one yet.

#778 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 29 June 2012 - 05:27 AM

ok, thanks for the feedback. I don't have a 3TB HDD so I can't really test this.

#779 User is offline   feelgood7515 

  • Group: Members
  • Posts: 1
  • Joined: 09-August 12
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 09 August 2012 - 12:41 AM

Hi all,
Currently, I found my WIN7 has a issue that "UMBus Enumerator" appears in Device Manager slowly sometimes.
Please kindly refer to my attach files. umbus1.png is shown the beginning of bootup and wait 2~3 minutes the "UMBus Enumerator" will show up as shown in umbus2.png.

I tried to use below command to trace what is going on here, but the recording time is too short for this case.
xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP


Does any way to increase the recording time? Or any one met this issue before?

Thanks.

Attached File(s)



#780 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,981
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 09 August 2012 - 01:52 PM

You can add the -postBootDelay XYZ Parameter to the command. This sets the post-boot delay (in seconds) before stopping the trace. So add 180-240s to capture 3-4 minutes after Windows booted completely.

Share this topic:


  • 49 Pages +
  • « First
  • 37
  • 38
  • 39
  • 40
  • 41
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

7 User(s) are reading this topic
1 members, 6 guests, 0 anonymous users

  1. jakson


All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy