Hi there,

i'm looking for a possibility to prevent Windows from shutting down the
Harddisk at BSODs.

After digging around in the MSDN my nearest findings were at the IRP
functions,
especially IRP_MJ_POWER

I *think* Windows sends a IRP or something else to the Device Driver at it
shut down the Drive.

But this seems to be depending on the Device Driver itself, because only the
Boot-Disk with Standard IDE is shut down,
not the other Disk on my RAID-Controller.
Perhaps the RAID-Controller ignores the Command ?

Any Idea ?

Greeting,
Thomas

Re: BSOD shuts down the Harddisk by Maxim

Maxim
Mon Dec 06 15:13:35 CST 2004

There is KeRegisterBugCheckCallback call, but I don't think it will help
since the dump path will probably spin down the disk anyway.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Major Tom" <major.tom@space.com> wrote in message
news:eCnigU92EHA.1268@TK2MSFTNGP10.phx.gbl...
> Hi there,
>
> i'm looking for a possibility to prevent Windows from shutting down the
> Harddisk at BSODs.
>
> After digging around in the MSDN my nearest findings were at the IRP
> functions,
> especially IRP_MJ_POWER
>
> I *think* Windows sends a IRP or something else to the Device Driver at it
> shut down the Drive.
>
> But this seems to be depending on the Device Driver itself, because only the
> Boot-Disk with Standard IDE is shut down,
> not the other Disk on my RAID-Controller.
> Perhaps the RAID-Controller ignores the Command ?
>
> Any Idea ?
>
> Greeting,
> Thomas
>
>



Re: BSOD shuts down the Harddisk by Major

Major
Mon Dec 06 14:40:05 CST 2004

Hi Maxim,

thank you for the fast answer.
this is a good idea, i'm looking into it.
but what do you mean with the dump path spinning down anyway ?

is there anywhere a sample-source of a standard ide-driver (i didn't find it
in the ddk) ?
i'm hoping to find the KeRegisterBugCheckCallback in it

Greets,
Thomas

"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:%234KM2h92EHA.3708@TK2MSFTNGP14.phx.gbl...
> There is KeRegisterBugCheckCallback call, but I don't think it will
> help
> since the dump path will probably spin down the disk anyway.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
> "Major Tom" <major.tom@space.com> wrote in message
> news:eCnigU92EHA.1268@TK2MSFTNGP10.phx.gbl...
>> Hi there,
>>
>> i'm looking for a possibility to prevent Windows from shutting down the
>> Harddisk at BSODs.
>>
>> After digging around in the MSDN my nearest findings were at the IRP
>> functions,
>> especially IRP_MJ_POWER
>>
>> I *think* Windows sends a IRP or something else to the Device Driver at
>> it
>> shut down the Drive.
>>
>> But this seems to be depending on the Device Driver itself, because only
>> the
>> Boot-Disk with Standard IDE is shut down,
>> not the other Disk on my RAID-Controller.
>> Perhaps the RAID-Controller ignores the Command ?
>>
>> Any Idea ?
>>
>> Greeting,
>> Thomas
>>
>>
>
>