Hi GURUs,
I’ve two drivers to load at boot time one is scsi
miniport and another bus driver. My INF file specifies
both of them as SERVICE_BOOT_START(0) type and
loadorder as “Boot Bus Extender” for Bus driver and
“SCSI miniport” for Scsi miniport driver.
During boot time, I see Scsi miniport driver coming up
first and its driverEntry called instead of Bus driver
DriverEntry being called. Pls help to get Bus driver
up and DriverEntry called before SCSI miniport driver.
additional info:
boot.ini uses multi(0) in my installation. So
NtBootDD.sys is not called here first.
Thanks much,
Reddy.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi purushotham,
To set the sequence of drivers to load during system
boot time you can use two registry key value settings
under
HKLM/System/CurrentControlSet/Services/<your_driver>
The two registry values are…
1) group - to group two drivers
2) tag - to set sequence number
Hope this can help you. For details pls consult the
DDK.
Som
— purushotham Reddy wrote:
> Hi GURUs,
>
> I’ve two drivers to load at boot time one is scsi
> miniport and another bus driver. My INF file
> specifies
> both of them as SERVICE_BOOT_START(0) type and
> loadorder as “Boot Bus Extender” for Bus driver and
> “SCSI miniport” for Scsi miniport driver.
>
> During boot time, I see Scsi miniport driver coming
> up
> first and its driverEntry called instead of Bus
> driver
> DriverEntry being called. Pls help to get Bus driver
> up and DriverEntry called before SCSI miniport
> driver.
>
> additional info:
> boot.ini uses multi(0) in my installation. So
> NtBootDD.sys is not called here first.
>
> Thanks much,
> Reddy.
>
>
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.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@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
If you think you can, you can.
If you think you can’t, you are right.
__
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs</your_driver>
I have set LoadOrderGroup and startType as below
- For Bus driver: Boot Bus Extender, Boot start (0)
- For scsi minport: SCSI miniport, Boot start(0)
Inspite of above, scsi port is loading and
initializing before bus driver.
Thanks,
Puru
— Somsubhra Raj wrote:
> Hi purushotham,
>
> To set the sequence of drivers to load during system
> boot time you can use two registry key value
> settings
> under
> HKLM/System/CurrentControlSet/Services/<your_driver>
>
>
> The two registry values are…
>
> 1) group - to group two drivers
> 2) tag - to set sequence number
>
> Hope this can help you. For details pls consult the
> DDK.
>
> Som
>
> — purushotham Reddy wrote:
>
> > Hi GURUs,
> >
> > I’ve two drivers to load at boot time one is scsi
> > miniport and another bus driver. My INF file
> > specifies
> > both of them as SERVICE_BOOT_START(0) type and
> > loadorder as “Boot Bus Extender” for Bus driver
> and
> > “SCSI miniport” for Scsi miniport driver.
> >
> > During boot time, I see Scsi miniport driver
> coming
> > up
> > first and its driverEntry called instead of Bus
> > driver
> > DriverEntry being called. Pls help to get Bus
> driver
> > up and DriverEntry called before SCSI miniport
> > driver.
> >
> > additional info:
> > boot.ini uses multi(0) in my installation. So
> > NtBootDD.sys is not called here first.
> >
> > Thanks much,
> > Reddy.
> >
> >
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.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@yahoo.com
> > To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
>
>
> If you think you can, you can.
> If you think you can’t, you are right.
>
>
>
>__
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs</your_driver>
All StartType 0 drivers are started (ordered within the groups) before
the StartType 1 drivers will be looked at.
-p
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of purushotham Reddy
Sent: Thursday, August 04, 2005 12:07 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] bus driver at boot time fails to load
I have set LoadOrderGroup and startType as below 1. For Bus driver: Boot
Bus Extender, Boot start (0) 2. For scsi minport: SCSI miniport, Boot
start(0)
Inspite of above, scsi port is loading and initializing before bus
driver.
Thanks,
Puru
— Somsubhra Raj wrote:
> Hi purushotham,
>
> To set the sequence of drivers to load during system boot time you can
> use two registry key value settings under
> HKLM/System/CurrentControlSet/Services/<your_driver>
>
>
> The two registry values are…
>
> 1) group - to group two drivers
> 2) tag - to set sequence number
>
> Hope this can help you. For details pls consult the DDK.
>
> Som
>
> — purushotham Reddy wrote:
>
> > Hi GURUs,
> >
> > I’ve two drivers to load at boot time one is scsi miniport and
> > another bus driver. My INF file specifies both of them as
> > SERVICE_BOOT_START(0) type and loadorder as “Boot Bus Extender” for
> > Bus driver
> and
> > “SCSI miniport” for Scsi miniport driver.
> >
> > During boot time, I see Scsi miniport driver
> coming
> > up
> > first and its driverEntry called instead of Bus driver DriverEntry
> > being called. Pls help to get Bus
> driver
> > up and DriverEntry called before SCSI miniport driver.
> >
> > additional info:
> > boot.ini uses multi(0) in my installation. So NtBootDD.sys is not
> > called here first.
> >
> > Thanks much,
> > Reddy.
> >
> >
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.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@yahoo.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
>
> If you think you can, you can.
> If you think you can’t, you are right.
>
>
>
>__
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</your_driver>
OK, you have told how you want your drivers to load, but you have not told
why you want this specific order of things.
If you want to float your mini-port on top of this bus driver that you want
to load first, where the bus driver owns the resources and your mini-port is
actually virtualizing an interface, then good luck, bubba, 'cuz “YOU CAN’T
DO THAT!!!”
But, do tell us what you want to do, since load order is NOT supposed to be
a concern in driver loading and can easily be handled in a proper manner.
–
The personal opinion of
Gary G. Little
“purushotham Reddy” wrote in message
news:xxxxx@ntdev…
>I have set LoadOrderGroup and startType as below
> 1. For Bus driver: Boot Bus Extender, Boot start (0)
> 2. For scsi minport: SCSI miniport, Boot start(0)
>
> Inspite of above, scsi port is loading and
> initializing before bus driver.
>
> Thanks,
> Puru
>
>
> — Somsubhra Raj wrote:
>
>> Hi purushotham,
>>
>> To set the sequence of drivers to load during system
>> boot time you can use two registry key value
>> settings
>> under
>> HKLM/System/CurrentControlSet/Services/<your_driver>
>>
>>
>> The two registry values are…
>>
>> 1) group - to group two drivers
>> 2) tag - to set sequence number
>>
>> Hope this can help you. For details pls consult the
>> DDK.
>>
>> Som
>>
>> — purushotham Reddy wrote:
>>
>> > Hi GURUs,
>> >
>> > I’ve two drivers to load at boot time one is scsi
>> > miniport and another bus driver. My INF file
>> > specifies
>> > both of them as SERVICE_BOOT_START(0) type and
>> > loadorder as “Boot Bus Extender” for Bus driver
>> and
>> > “SCSI miniport” for Scsi miniport driver.
>> >
>> > During boot time, I see Scsi miniport driver
>> coming
>> > up
>> > first and its driverEntry called instead of Bus
>> > driver
>> > DriverEntry being called. Pls help to get Bus
>> driver
>> > up and DriverEntry called before SCSI miniport
>> > driver.
>> >
>> > additional info:
>> > boot.ini uses multi(0) in my installation. So
>> > NtBootDD.sys is not called here first.
>> >
>> > Thanks much,
>> > Reddy.
>> >
>> >
>> > Do You Yahoo!?
>> > Tired of spam? Yahoo! Mail has the best spam
>> > protection around
>> > http://mail.yahoo.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@yahoo.com
>> > To unsubscribe send a blank email to
>> > xxxxx@lists.osr.com
>> >
>>
>>
>> If you think you can, you can.
>> If you think you can’t, you are right.
>>
>>
>>
>>__
>> Start your day with Yahoo! - make it your home page
>> http://www.yahoo.com/r/hs
>>
>>
>> —
>> Questions? First check the Kernel Driver FAQ at
>> http://www.osronline.com/article.cfm?id=256
>>
>> You are currently subscribed to ntdev as:
>> xxxxx@yahoo.com
>> To unsubscribe send a blank email to
>> xxxxx@lists.osr.com
>>
>
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
></your_driver>
SCSI port is faked as if on a ISA device. my Scsi port
now works on top of Bus driver with a direct-call
interface. Leaving performance issue aside, can I load
bus driver first during boot time. B’cos I want to do
iSCSI Boot. In my research so far, I have Scsi
miniport coming up and DriverEntry called first
followed by Bus driver Entry. But I want Bus driver
start running before SCSI miniport.
How can we force this order of loading and calling
Driver Entry?
Thanks for your help,
Puru
— “Gary G. Little” wrote:
> OK, you have told how you want your drivers to load,
> but you have not told
> why you want this specific order of things.
>
> If you want to float your mini-port on top of this
> bus driver that you want
> to load first, where the bus driver owns the
> resources and your mini-port is
> actually virtualizing an interface, then good luck,
> bubba, 'cuz “YOU CAN’T
> DO THAT!!!”
> But, do tell us what you want to do, since load
> order is NOT supposed to be
> a concern in driver loading and can easily be
> handled in a proper manner.
>
> –
> The personal opinion of
> Gary G. Little
>
> “purushotham Reddy” wrote in
> message
> news:xxxxx@ntdev…
> >I have set LoadOrderGroup and startType as below
> > 1. For Bus driver: Boot Bus Extender, Boot start
> (0)
> > 2. For scsi minport: SCSI miniport, Boot start(0)
> >
> > Inspite of above, scsi port is loading and
> > initializing before bus driver.
> >
> > Thanks,
> > Puru
> >
> >
> > — Somsubhra Raj
> wrote:
> >
> >> Hi purushotham,
> >>
> >> To set the sequence of drivers to load during
> system
> >> boot time you can use two registry key value
> >> settings
> >> under
> >>
> HKLM/System/CurrentControlSet/Services/<your_driver>
> >>
> >>
> >> The two registry values are…
> >>
> >> 1) group - to group two drivers
> >> 2) tag - to set sequence number
> >>
> >> Hope this can help you. For details pls consult
> the
> >> DDK.
> >>
> >> Som
> >>
> >> — purushotham Reddy
> wrote:
> >>
> >> > Hi GURUs,
> >> >
> >> > I’ve two drivers to load at boot time one is
> scsi
> >> > miniport and another bus driver. My INF file
> >> > specifies
> >> > both of them as SERVICE_BOOT_START(0) type and
> >> > loadorder as “Boot Bus Extender” for Bus driver
> >> and
> >> > “SCSI miniport” for Scsi miniport driver.
> >> >
> >> > During boot time, I see Scsi miniport driver
> >> coming
> >> > up
> >> > first and its driverEntry called instead of Bus
> >> > driver
> >> > DriverEntry being called. Pls help to get Bus
> >> driver
> >> > up and DriverEntry called before SCSI miniport
> >> > driver.
> >> >
> >> > additional info:
> >> > boot.ini uses multi(0) in my installation. So
> >> > NtBootDD.sys is not called here first.
> >> >
> >> > Thanks much,
> >> > Reddy.
> >> >
> >> >
>
> >> > Do You Yahoo!?
> >> > Tired of spam? Yahoo! Mail has the best spam
> >> > protection around
> >> > http://mail.yahoo.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@yahoo.com
> >> > To unsubscribe send a blank email to
> >> > xxxxx@lists.osr.com
> >> >
> >>
> >>
> >> If you think you can, you can.
> >> If you think you can’t, you are right.
> >>
> >>
> >>
> >>
>__
> >> Start your day with Yahoo! - make it your home
> page
> >> http://www.yahoo.com/r/hs
> >>
> >>
> >> —
> >> Questions? First check the Kernel Driver FAQ at
> >> http://www.osronline.com/article.cfm?id=256
> >>
> >> You are currently subscribed to ntdev as:
> >> xxxxx@yahoo.com
> >> To unsubscribe send a blank email to
> >> xxxxx@lists.osr.com
> >>
> >
> >
> >
> >
> >
>
> > Start your day with Yahoo! - make it your home
> page
> > http://www.yahoo.com/r/hs
> >
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs</your_driver>
You can set the load group of the bus driver to System Bus Extender, which
loads before SCSI adapters, or you can point the ImagePath to the sysfile
for the bus driver, and link your bus driver with a call into your
SCSI-miniport. One INF file will load the bus driver which then loads the
SCSI miniport as a DLL. The miniport DriverEntry is redundant and normally
only consists of a “return STATUS”. Your entry point from the bus driver
functions then as the normal DriverEntry for a miniport and you call
ScsiPortInitialize. From then on you have a SCSI miniport, which if it does
not own the hardware will blow big chunks.
–
Gary G. Little
“purushotham Reddy” wrote in message
news:xxxxx@ntdev…
> SCSI port is faked as if on a ISA device. my Scsi port
> now works on top of Bus driver with a direct-call
> interface. Leaving performance issue aside, can I load
> bus driver first during boot time. B’cos I want to do
> iSCSI Boot. In my research so far, I have Scsi
> miniport coming up and DriverEntry called first
> followed by Bus driver Entry. But I want Bus driver
> start running before SCSI miniport.
>
> How can we force this order of loading and calling
> Driver Entry?
>
> Thanks for your help,
> Puru
>
> — “Gary G. Little” wrote:
>
>> OK, you have told how you want your drivers to load,
>> but you have not told
>> why you want this specific order of things.
>>
>> If you want to float your mini-port on top of this
>> bus driver that you want
>> to load first, where the bus driver owns the
>> resources and your mini-port is
>> actually virtualizing an interface, then good luck,
>> bubba, 'cuz “YOU CAN’T
>> DO THAT!!!”
>> But, do tell us what you want to do, since load
>> order is NOT supposed to be
>> a concern in driver loading and can easily be
>> handled in a proper manner.
>>
>> –
>> The personal opinion of
>> Gary G. Little
>>
>> “purushotham Reddy” wrote in
>> message
>> news:xxxxx@ntdev…
>> >I have set LoadOrderGroup and startType as below
>> > 1. For Bus driver: Boot Bus Extender, Boot start
>> (0)
>> > 2. For scsi minport: SCSI miniport, Boot start(0)
>> >
>> > Inspite of above, scsi port is loading and
>> > initializing before bus driver.
>> >
>> > Thanks,
>> > Puru
>> >
>> >
>> > — Somsubhra Raj
>> wrote:
>> >
>> >> Hi purushotham,
>> >>
>> >> To set the sequence of drivers to load during
>> system
>> >> boot time you can use two registry key value
>> >> settings
>> >> under
>> >>
>> HKLM/System/CurrentControlSet/Services/<your_driver>
>> >>
>> >>
>> >> The two registry values are…
>> >>
>> >> 1) group - to group two drivers
>> >> 2) tag - to set sequence number
>> >>
>> >> Hope this can help you. For details pls consult
>> the
>> >> DDK.
>> >>
>> >> Som
>> >>
>> >> — purushotham Reddy
>> wrote:
>> >>
>> >> > Hi GURUs,
>> >> >
>> >> > I’ve two drivers to load at boot time one is
>> scsi
>> >> > miniport and another bus driver. My INF file
>> >> > specifies
>> >> > both of them as SERVICE_BOOT_START(0) type and
>> >> > loadorder as “Boot Bus Extender” for Bus driver
>> >> and
>> >> > “SCSI miniport” for Scsi miniport driver.
>> >> >
>> >> > During boot time, I see Scsi miniport driver
>> >> coming
>> >> > up
>> >> > first and its driverEntry called instead of Bus
>> >> > driver
>> >> > DriverEntry being called. Pls help to get Bus
>> >> driver
>> >> > up and DriverEntry called before SCSI miniport
>> >> > driver.
>> >> >
>> >> > additional info:
>> >> > boot.ini uses multi(0) in my installation. So
>> >> > NtBootDD.sys is not called here first.
>> >> >
>> >> > Thanks much,
>> >> > Reddy.
>> >> >
>> >> >
>>
>> >> > Do You Yahoo!?
>> >> > Tired of spam? Yahoo! Mail has the best spam
>> >> > protection around
>> >> > http://mail.yahoo.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@yahoo.com
>> >> > To unsubscribe send a blank email to
>> >> > xxxxx@lists.osr.com
>> >> >
>> >>
>> >>
>> >> If you think you can, you can.
>> >> If you think you can’t, you are right.
>> >>
>> >>
>> >>
>> >>
>>__
>> >> Start your day with Yahoo! - make it your home
>> page
>> >> http://www.yahoo.com/r/hs
>> >>
>> >>
>> >> —
>> >> Questions? First check the Kernel Driver FAQ at
>> >> http://www.osronline.com/article.cfm?id=256
>> >>
>> >> You are currently subscribed to ntdev as:
>> >> xxxxx@yahoo.com
>> >> To unsubscribe send a blank email to
>> >> xxxxx@lists.osr.com
>> >>
>> >
>> >
>> >
>> >
>> >
>>
>> > Start your day with Yahoo! - make it your home
>> page
>> > http://www.yahoo.com/r/hs
>> >
>> >
>>
>>
>>
>> —
>> Questions? First check the Kernel Driver FAQ at
>> http://www.osronline.com/article.cfm?id=256
>>
>> You are currently subscribed to ntdev as:
>> xxxxx@yahoo.com
>> To unsubscribe send a blank email to
>> xxxxx@lists.osr.com
>>
>
>
>
>
>
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
></your_driver>