Virtual Scsi Miniport on W2K

Hi All,
I am trying to install a Virtual Scsi Miniport( No Hba and device) driver on
Windows 2000. The driver does not support PNP(No Adapter control routine).
I am able to recieve Inquiry for my virtual device and it succeds also, even
the ScsiPortInitialize() returns 0 as expected but still the driver fails to
load with error 0xc000025e (either Device is Disabled or no device is
present).

My query is how does W2k detects presence of SCSI device, when the driver is
a Non-PnP. Am I missing something for W2k??
How can I install a non-pnp miniport driver on W2k??

TIA
Rahul Gupta

Install it as a legacy mini-port. Do NOT set the Vendor/Device ID or
HwAdapterControl. I found the only AdtapterInterfaceType that would generate
a call to HwFindAdapter was ISA. Do not define the Parameters/PnPInterface
key.


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net
“Rahul Gupta” wrote in message
news:xxxxx@ntdev…

>
> Hi All,
> I am trying to install a Virtual Scsi Miniport( No Hba and device) driver
on
> Windows 2000. The driver does not support PNP(No Adapter control routine).
> I am able to recieve Inquiry for my virtual device and it succeds also,
even
> the ScsiPortInitialize() returns 0 as expected but still the driver fails
to
> load with error 0xc000025e (either Device is Disabled or no device is
> present).
>
> My query is how does W2k detects presence of SCSI device, when the driver
is
> a Non-PnP. Am I missing something for W2k??
> How can I install a non-pnp miniport driver on W2k??
>
> TIA
> Rahul Gupta
>
>
>

> My query is how does W2k detects presence of SCSI device, when the driver is

a Non-PnP.

SCSI peripherals are detected by INQUIRY.
The HBA itself, if it is not PnP, requires the miniport to do the hardware probing by ScsiPortValidateRange and friends.

How can I install a non-pnp miniport driver on W2k??

For virtual miniports, better to use our VSPORT toolkit. SCSIPORT has some of issues which nearly prohibit writing miniports on top
of other software.

Max

I did install it as legacy miniport with no Vendor/Device ID and no
AdapterControl and Adapter is set to ISA. Though it works fine in NT4 but it
gives
Assertion failure: Context->AccessRanges != NULL (ScsiPort\init.c) before
FindAdapter is called and load error 0xc000025e (either Device is Disabled
or no device is present) is generated.
Any clues what’s happening ??

TIA
Rahul

-----Original Message-----
From: Gary G. Little [mailto:xxxxx@broadstor.com]
Sent: Friday, May 17, 2002 8:32 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Virtual Scsi Miniport on W2K

Install it as a legacy mini-port. Do NOT set the Vendor/Device ID or
HwAdapterControl. I found the only AdtapterInterfaceType that would generate
a call to HwFindAdapter was ISA. Do not define the Parameters/PnPInterface
key.


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net
“Rahul Gupta” wrote in message
news:xxxxx@ntdev…

>
> Hi All,
> I am trying to install a Virtual Scsi Miniport( No Hba and device) driver
on
> Windows 2000. The driver does not support PNP(No Adapter control routine).
> I am able to recieve Inquiry for my virtual device and it succeds also,
even
> the ScsiPortInitialize() returns 0 as expected but still the driver fails
to
> load with error 0xc000025e (either Device is Disabled or no device is
> present).
>
> My query is how does W2k detects presence of SCSI device, when the driver
is
> a Non-PnP. Am I missing something for W2k??
> How can I install a non-pnp miniport driver on W2k??
>
> TIA
> Rahul Gupta
>
>
>


You are currently subscribed to ntdev as: xxxxx@dcmtech.co.in
To unsubscribe send a blank email to %%email.unsub%%

Did you set HW_INITIALIZATION_DATA->NumberOfAccessRanges to 0?


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

“Rahul Gupta” wrote in message
news:xxxxx@ntdev…
>
> I did install it as legacy miniport with no Vendor/Device ID and no
> AdapterControl and Adapter is set to ISA. Though it works fine in NT4 but
it
> gives
> Assertion failure: Context->AccessRanges != NULL (ScsiPort\init.c) before
> FindAdapter is called and load error 0xc000025e (either Device is Disabled
> or no device is present) is generated.
> Any clues what’s happening ??
>
> TIA
> Rahul
>
>
>
>
>
> -----Original Message-----
> From: Gary G. Little [mailto:xxxxx@broadstor.com]
> Sent: Friday, May 17, 2002 8:32 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Virtual Scsi Miniport on W2K
>
>
> Install it as a legacy mini-port. Do NOT set the Vendor/Device ID or
> HwAdapterControl. I found the only AdtapterInterfaceType that would
generate
> a call to HwFindAdapter was ISA. Do not define the
Parameters/PnPInterface
> key.
>
> –
> Gary G. Little
> xxxxx@broadstor.com
> xxxxx@inland.net
> “Rahul Gupta” wrote in message
> news:xxxxx@ntdev…
>
> >
> > Hi All,
> > I am trying to install a Virtual Scsi Miniport( No Hba and device)
driver
> on
> > Windows 2000. The driver does not support PNP(No Adapter control
routine).
> > I am able to recieve Inquiry for my virtual device and it succeds also,
> even
> > the ScsiPortInitialize() returns 0 as expected but still the driver
fails
> to
> > load with error 0xc000025e (either Device is Disabled or no device is
> > present).
> >
> > My query is how does W2k detects presence of SCSI device, when the
driver
> is
> > a Non-PnP. Am I missing something for W2k??
> > How can I install a non-pnp miniport driver on W2k??
> >
> > TIA
> > Rahul Gupta
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@dcmtech.co.in
> To unsubscribe send a blank email to %%email.unsub%%
>
>