Re: Hardware delaying the OS

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The device being gone that long could have some timeout ramifications.
I can't really comment on max timeouts, but if it is not the boot
drive, you can lock the volume to resolve this and have the drive to
yourself. If it is the boot drive, then you might have to defer the
update to the next system restart where it is initiated from a filter
driver before the filesystem loads.

The other thing is Windows builds unique device ID's used for various
things with the firmware revision. This means changing the firmware
will make Windows see a "new" device. You thus are going to want to
force a device change so Windows can see the firmware changed and
update things appropriately. Letting the drive continue to be present
as if nothing happened after changing inquiry data is not good because
the device will be out of step with what Windows has acquired about it.

Whatever you do, do not use KeStallExecutionProcessor. That is the
wrong approach because it will freeze up the CPU. The user won't like
having their mouse frozen for 30 seconds and it is completely
unnecessary. There are three cases:

1. The drive holds the command and complete it after the firmware
update is finished: have your driver block on the command completing.
In fact, you don't even need a driver for this. Just use scsi pass
through from an app.

2. The drive completes the command immediately and you have to poll for
it to become ready: go into a loop where you block your thread for a
reasonable time (1 sec) with KeWaitForSingleObject, then poll the
drive, then repeat. Don't hammer the drive to death and chew up
resources; the 1 sec delay is important to keep the system running
smoothly.

3. The drive completes the command immediately and cannot be disturbed
for a fixed time frame: block your driver thread for the appropriate
time (30 secs) with KeWaitForSingleObject.

.



Relevant Pages

  • Re: Boot up problem... with a difference
    ... Safe mode boot is fine. ... Looked further into the last errors and noticed PXRD Driver. ... Event Type: Error ... Windows cannot unload your classes registry file - it is still in ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Boot up problem... with a difference
    ... The list of unsigned driver provided this list of programmes: ... What Windows XP CD do you have? ... Safe mode boot is fine. ... Event Type: Error ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Boot up problem... with a difference
    ... The list of unsigned driver provided this list of programmes: ... What Windows XP CD do you have? ... Safe mode boot is fine. ... Event Type: Error ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: unmountable boot volume blue screen error
    ... It's always hard to narrow down a boot failure. ... intelppm.sys -Processor Device driver. ... purpose but I suspect disconnecting hardware is not a solution. ... screen) but it just keeps going to the windows screen telling you ...
    (microsoft.public.windowsxp.general)
  • Re: BSOD on cold boots only
    ... I have a custom built computer that is running Windows XP, ... crashing during a cold boot. ... many times the BSOD error message mentioned one of my NVIDIA ... ACPI.SYS driver as the cause of the problem. ...
    (microsoft.public.windowsxp.general)