drivers marked as boot

Is there a mechanism to mark a driver as *boot* ? How does windows
find out the order to load drivers in a particular catagory, can some
one tell me the registry key for this. I am talking about class
drivers and not filters.

Thanks

  • Developer

Read the DDK see “Specifying Driver Load Order”
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/install/hh/install/create-inf_6c304af7-9e68-4e92-8f57-58e9d7cae628.xml.asp


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

“Developer” wrote in message news:xxxxx@ntdev…
Is there a mechanism to mark a driver as boot ? How does windows
find out the order to load drivers in a particular catagory, can some
one tell me the registry key for this. I am talking about class
drivers and not filters.

Thanks


- Developer

You set the start type of the service for the driver to boot when you
create the service.

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Developer
Sent: Thursday, August 04, 2005 2:39 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] drivers marked as boot

Is there a mechanism to mark a driver as *boot* ? How does windows
find out the order to load drivers in a particular catagory, can some
one tell me the registry key for this. I am talking about class
drivers and not filters.

Thanks

  • Developer

Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

which class do i add the driver to?

what is the load order in *boot* type drivers?

On 8/4/05, Peter Wieland wrote:
> You set the start type of the service for the driver to boot when you
> create the service.
>
> -p
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Developer
> Sent: Thursday, August 04, 2005 2:39 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] drivers marked as boot
>
> Is there a mechanism to mark a driver as boot ? How does windows
> find out the order to load drivers in a particular catagory, can some
> one tell me the registry key for this. I am talking about class
> drivers and not filters.
>
> Thanks
> –
>
> - Developer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>



- Developer

Load order for boot type drivers is like load order for any other type
of driver.

For a PNP filter driver you don’t generally need to be concerned about
load order.

Unlike NT 4 where the order you got attached to the stack was controlled
by your load order, today it’s controlled by the PNP system (using the
UpperFilters and LowerFilters lists in the device node). No matter what
order atapi.sys, disk.sys and your driver load in, PNP will call their
AddDevice routines in the correct order to build the stack.

That said - since you’re making a driver that may load in the boot disk
stack, you need to have a StartType of Boot (0). If you don’t the
system won’t be able to boot (you’ll get an 0x7b bugcheck) - the problem
is that PNP can’t start a device until all the drivers are loaded, and
it can’t load your driver if the disk stack isn’t running. Making your
filter a boot driver ensures it’s read into memory by ntldr and so you
won’t have this problem.

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Developer
Sent: Thursday, August 04, 2005 9:15 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] drivers marked as boot

which class do i add the driver to?

what is the load order in *boot* type drivers?

On 8/4/05, Peter Wieland wrote:
> You set the start type of the service for the driver to boot when you
> create the service.
>
> -p
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Developer
> Sent: Thursday, August 04, 2005 2:39 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] drivers marked as boot
>
> Is there a mechanism to mark a driver as boot ? How does windows
> find out the order to load drivers in a particular catagory, can some
> one tell me the registry key for this. I am talking about class
> drivers and not filters.
>
> Thanks
> –
>
> - Developer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag
argument:
> ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>



- Developer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Search MSDN for “driver load order”, there was a description there.

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

----- Original Message -----
From: “Developer”
To: “Windows System Software Devs Interest List”
Sent: Thursday, August 04, 2005 1:39 PM
Subject: [ntdev] drivers marked as boot

Is there a mechanism to mark a driver as boot ? How does windows
find out the order to load drivers in a particular catagory, can some
one tell me the registry key for this. I am talking about class
drivers and not filters.

Thanks


- Developer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

thanks maxim and peter, your advice is i\valuable. I did read the MSDN
article, just wanted to clarify parts of it.

thanks again.

  • developer

On 8/5/05, Maxim S. Shatskih wrote:
> Search MSDN for “driver load order”, there was a description there.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Developer”
> To: “Windows System Software Devs Interest List”
> Sent: Thursday, August 04, 2005 1:39 PM
> Subject: [ntdev] drivers marked as boot
>
>
> Is there a mechanism to mark a driver as boot ? How does windows
> find out the order to load drivers in a particular catagory, can some
> one tell me the registry key for this. I am talking about class
> drivers and not filters.
>
> Thanks
> –
>
> - Developer
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@gmail.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>



- Developer