pnp scsi miniport not calling hwFindAdapter

Hi,
Experts pls advise.
Designing a virtual scsi miniport that is enumerated
by a bus function driver as scsi device. As per DDK,
Scsi miniport driver is designed as pnp driver. But
HwFindAdapter is not being called by PNP manager.After
returning from driver entry(miniport), it fails
installation as “device cannot start 10” error.

Hw_INITIALIZATION_DATA->BusInterfaceType is set as
PNPBus in driverentry; called scsiPortInitialize();

Where am I going wrong? what changes can I experiment
in this situation here.

Thanks,
Puru


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

You are going wrong with your basic approach, namely “a virtual scsi
miniport” bottom line is even if you get your current problem working, the
design of the storage minport model is such that you cannot make a reliable
performing product without hardware.

If you really need to do this check with OSR or StorageCraft for a storage
port driver implementation that can be made virtual. This is not a cheap
item.


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

“purushotham Reddy” wrote in message
news:xxxxx@ntdev…
> Hi,
> Experts pls advise.
> Designing a virtual scsi miniport that is enumerated
> by a bus function driver as scsi device. As per DDK,
> Scsi miniport driver is designed as pnp driver. But
> HwFindAdapter is not being called by PNP manager.After
> returning from driver entry(miniport), it fails
> installation as “device cannot start 10” error.
>
> Hw_INITIALIZATION_DATA->BusInterfaceType is set as
> PNPBus in driverentry; called scsiPortInitialize();
>
> Where am I going wrong? what changes can I experiment
> in this situation here.
>
> Thanks,
> Puru
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Done,
Our architecture is high-performing with h/w in NIC
with tcp/ip off-load, CRC, DMA etc. We want to use
other drivers in this design to imporve performance.
However, this is temporary solution in short term.
Probably microsoft would provide/support a solution
for remote boot in future.

I set hwInitialization->VendorId=0, length=0, devid=0,
Number of accessranges=0.
Then called ScsiPortInitialize

Thanks,
Puru

— Don Burn wrote:

> You are going wrong with your basic approach, namely
> “a virtual scsi
> miniport” bottom line is even if you get your
> current problem working, the
> design of the storage minport model is such that you
> cannot make a reliable
> performing product without hardware.
>
> If you really need to do this check with OSR or
> StorageCraft for a storage
> port driver implementation that can be made virtual.
> This is not a cheap
> item.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> “purushotham Reddy” wrote in
> message
> news:xxxxx@ntdev…
> > Hi,
> > Experts pls advise.
> > Designing a virtual scsi miniport that is
> enumerated
> > by a bus function driver as scsi device. As per
> DDK,
> > Scsi miniport driver is designed as pnp driver.
> But
> > HwFindAdapter is not being called by PNP
> manager.After
> > returning from driver entry(miniport), it fails
> > installation as “device cannot start 10” error.
> >
> > Hw_INITIALIZATION_DATA->BusInterfaceType is set as
> > PNPBus in driverentry; called
> scsiPortInitialize();
> >
> > Where am I going wrong? what changes can I
> experiment
> > in this situation here.
> >
> > Thanks,
> > Puru
> >
> >
> > 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
>


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

The last time I looked, virtual scsi miniports had to pretend to be ISA
devices, and to have at least one hw resource, as scsiport believed that
there were exactly two kinds of miniports in the universe: ISA and PCI.

If you are in control of your hardware offload device firmware, you should
use it to generate the interrupts your are going to need to get any sort of
good performance out of your miniport. In other words, offload enough of the
HBA functions to the pci device to actually make the HBA a PCI miniport.

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
purushotham Reddy
Sent: Tuesday, July 19, 2005 6:21 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] pnp scsi miniport not calling hwFindAdapter

Done,
Our architecture is high-performing with h/w in NIC with
tcp/ip off-load, CRC, DMA etc. We want to use other drivers
in this design to imporve performance.
However, this is temporary solution in short term.
Probably microsoft would provide/support a solution for
remote boot in future.

I set hwInitialization->VendorId=0, length=0, devid=0, Number
of accessranges=0.
Then called ScsiPortInitialize

Thanks,
Puru

— Don Burn wrote:
>
> > You are going wrong with your basic approach, namely “a
> virtual scsi
> > miniport” bottom line is even if you get your current
> problem working,
> > the design of the storage minport model is such that you
> cannot make a
> > reliable performing product without hardware.
> >
> > If you really need to do this check with OSR or StorageCraft for a
> > storage port driver implementation that can be made virtual.
> > This is not a cheap
> > item.
> >
> >
> > –
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > Remove StopSpam from the email to reply
> >
> >
> >
> > “purushotham Reddy” wrote in
> > message
> > news:xxxxx@ntdev…
> > > Hi,
> > > Experts pls advise.
> > > Designing a virtual scsi miniport that is
> > enumerated
> > > by a bus function driver as scsi device. As per
> > DDK,
> > > Scsi miniport driver is designed as pnp driver.
> > But
> > > HwFindAdapter is not being called by PNP
> > manager.After
> > > returning from driver entry(miniport), it fails
> > > installation as “device cannot start 10” error.
> > >
> > > Hw_INITIALIZATION_DATA->BusInterfaceType is set as
> > > PNPBus in driverentry; called
> > scsiPortInitialize();
> > >
> > > Where am I going wrong? what changes can I
> > experiment
> > > in this situation here.
> > >
> > > Thanks,
> > > Puru
> > >
> > >
> > > 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
> >
>
>
>

> 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@hollistech.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Microsoft proabaly WON’T provide what you want for a SCSIPORT, since they
are moving towards Longhorn. I’ve done what you are trying to do and do NOT
recommend it. You have a choice of using the timer and incurring a 10 msec
delay you cannot work around, or hijacking the ScsiPort PDO so you can
create your own DPC. But then you have two DPCs, one you don’t control and
with which you cannot sync. This becomes a BSOD waiting to happen. Go get a
port solution that allows you to do this. Unfortunately, Kirby no longer has
Storagecraft or VSPORT, and if Max is still not supporting it, I wouldn’t
recommend it. If Max is still supporting it, then get it, as it is about
your only hope, short of writting your SCSI port.


Gary G. Little
.

“Mark Roddy” wrote in message news:xxxxx@ntdev…
> The last time I looked, virtual scsi miniports had to pretend to be ISA
> devices, and to have at least one hw resource, as scsiport believed that
> there were exactly two kinds of miniports in the universe: ISA and PCI.
>
> If you are in control of your hardware offload device firmware, you should
> use it to generate the interrupts your are going to need to get any sort
> of
> good performance out of your miniport. In other words, offload enough of
> the
> HBA functions to the pci device to actually make the HBA a PCI miniport.
>
> =====================
> Mark Roddy DDK MVP
> Windows 2003/XP/2000 Consulting
> Hollis Technology Solutions 603-321-1032
> www.hollistech.com
>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf Of
>> purushotham Reddy
>> Sent: Tuesday, July 19, 2005 6:21 PM
>> To: Windows System Software Devs Interest List
>> Subject: Re:[ntdev] pnp scsi miniport not calling hwFindAdapter
>>
>> Done,
>> Our architecture is high-performing with h/w in NIC with
>> tcp/ip off-load, CRC, DMA etc. We want to use other drivers
>> in this design to imporve performance.
>> However, this is temporary solution in short term.
>> Probably microsoft would provide/support a solution for
>> remote boot in future.
>>
>> I set hwInitialization->VendorId=0, length=0, devid=0, Number
>> of accessranges=0.
>> Then called ScsiPortInitialize
>>
>>
>> Thanks,
>> Puru
>>
>>
>>
>>
>> — Don Burn wrote:
>>
>> > You are going wrong with your basic approach, namely “a
>> virtual scsi
>> > miniport” bottom line is even if you get your current
>> problem working,
>> > the design of the storage minport model is such that you
>> cannot make a
>> > reliable performing product without hardware.
>> >
>> > If you really need to do this check with OSR or StorageCraft for a
>> > storage port driver implementation that can be made virtual.
>> > This is not a cheap
>> > item.
>> >
>> >
>> > –
>> > Don Burn (MVP, Windows DDK)
>> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> > Remove StopSpam from the email to reply
>> >
>> >
>> >
>> > “purushotham Reddy” wrote in
>> > message
>> > news:xxxxx@ntdev…
>> > > Hi,
>> > > Experts pls advise.
>> > > Designing a virtual scsi miniport that is
>> > enumerated
>> > > by a bus function driver as scsi device. As per
>> > DDK,
>> > > Scsi miniport driver is designed as pnp driver.
>> > But
>> > > HwFindAdapter is not being called by PNP
>> > manager.After
>> > > returning from driver entry(miniport), it fails
>> > > installation as “device cannot start 10” error.
>> > >
>> > > Hw_INITIALIZATION_DATA->BusInterfaceType is set as
>> > > PNPBus in driverentry; called
>> > scsiPortInitialize();
>> > >
>> > > Where am I going wrong? what changes can I
>> > experiment
>> > > in this situation here.
>> > >
>> > > Thanks,
>> > > Puru
>> > >
>> > >
>> > > 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
>> >
>>
>>
>>

>> 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@hollistech.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>
>
>
>

Gary,

Since you brought it up, I’d like to know the answer to the questions that you raised, namely:

Is StorageCraft (or ShadowStor) still offering VSPORT? It appears that StorageCraft either morphed into, or was acquired by,
ShadowStor around the April, 2004 timeframe. I think it would be nice if VSPORT was still available. And if so, is it supported?

Jamey or Maxim, do you care to comment on what has happened to VSPORT?

Thanks,
Don

“Gary G. Little” wrote in message news:xxxxx@ntdev…
> Microsoft proabaly WON’T provide what you want for a SCSIPORT, since they are moving towards Longhorn. I’ve done what you are
> trying to do and do NOT recommend it. You have a choice of using the timer and incurring a 10 msec delay you cannot work around,
> or hijacking the ScsiPort PDO so you can create your own DPC. But then you have two DPCs, one you don’t control and with which
> you cannot sync. This becomes a BSOD waiting to happen. Go get a port solution that allows you to do this. Unfortunately, Kirby no
> longer has Storagecraft or VSPORT, and if Max is still not supporting it, I wouldn’t recommend it. If Max is still supporting it,
> then get it, as it is about your only hope, short of writting your SCSI port.
>
> –
> Gary G. Little
> .
>
> “Mark Roddy” wrote in message news:xxxxx@ntdev…
>> The last time I looked, virtual scsi miniports had to pretend to be ISA
>> devices, and to have at least one hw resource, as scsiport believed that
>> there were exactly two kinds of miniports in the universe: ISA and PCI.
>>
>> If you are in control of your hardware offload device firmware, you should
>> use it to generate the interrupts your are going to need to get any sort of
>> good performance out of your miniport. In other words, offload enough of the
>> HBA functions to the pci device to actually make the HBA a PCI miniport.
>>
>> =====================
>> Mark Roddy DDK MVP
>> Windows 2003/XP/2000 Consulting
>> Hollis Technology Solutions 603-321-1032
>> www.hollistech.com
>>
>>> -----Original Message-----
>>> From: xxxxx@lists.osr.com
>>> [mailto:xxxxx@lists.osr.com] On Behalf Of
>>> purushotham Reddy
>>> Sent: Tuesday, July 19, 2005 6:21 PM
>>> To: Windows System Software Devs Interest List
>>> Subject: Re:[ntdev] pnp scsi miniport not calling hwFindAdapter
>>>
>>> Done,
>>> Our architecture is high-performing with h/w in NIC with
>>> tcp/ip off-load, CRC, DMA etc. We want to use other drivers
>>> in this design to imporve performance.
>>> However, this is temporary solution in short term.
>>> Probably microsoft would provide/support a solution for
>>> remote boot in future.
>>>
>>> I set hwInitialization->VendorId=0, length=0, devid=0, Number
>>> of accessranges=0.
>>> Then called ScsiPortInitialize
>>>
>>>
>>> Thanks,
>>> Puru
>>>
>>>
>>>
>>>
>>> — Don Burn wrote:
>>>
>>> > You are going wrong with your basic approach, namely “a
>>> virtual scsi
>>> > miniport” bottom line is even if you get your current
>>> problem working,
>>> > the design of the storage minport model is such that you
>>> cannot make a
>>> > reliable performing product without hardware.
>>> >
>>> > If you really need to do this check with OSR or StorageCraft for a
>>> > storage port driver implementation that can be made virtual.
>>> > This is not a cheap
>>> > item.
>>> >
>>> >
>>> > –
>>> > Don Burn (MVP, Windows DDK)
>>> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
>>> > Remove StopSpam from the email to reply
>>> >
>>> >
>>> >
>>> > “purushotham Reddy” wrote in
>>> > message
>>> > news:xxxxx@ntdev…
>>> > > Hi,
>>> > > Experts pls advise.
>>> > > Designing a virtual scsi miniport that is
>>> > enumerated
>>> > > by a bus function driver as scsi device. As per
>>> > DDK,
>>> > > Scsi miniport driver is designed as pnp driver.
>>> > But
>>> > > HwFindAdapter is not being called by PNP
>>> > manager.After
>>> > > returning from driver entry(miniport), it fails
>>> > > installation as “device cannot start 10” error.
>>> > >
>>> > > Hw_INITIALIZATION_DATA->BusInterfaceType is set as
>>> > > PNPBus in driverentry; called
>>> > scsiPortInitialize();
>>> > >
>>> > > Where am I going wrong? what changes can I
>>> > experiment
>>> > > in this situation here.
>>> > >
>>> > > Thanks,
>>> > > Puru
>>> > >
>>> > >
>>> > > 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
>>> >
>>>
>>>
>>>

>>> 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@hollistech.com
>>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>
>>
>>
>>
>
>
>

I agree with don totally. When the driver is registered as PNP the
“ScsiPortInitialize” should be called with a valid VendorID and DeviceID of
the device that you want to claim. If the device is not there then your find
adapter will not even get called. On OLD OLD windows NT machines I have seen
that the find adapter gets called if you fill in Zeros in DeviceID and
VendorID filed and that was because they were not PNP drivers.

Please let us know if you find something to make this work. I would really
doubt that there is a way to write a virtual disk driver using a SCSI
Miniport model.

Thanks,
Ajitabh

-----Original Message-----
From: purushotham Reddy [mailto:xxxxx@yahoo.com]
Sent: Tuesday, July 19, 2005 6:21 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] pnp scsi miniport not calling hwFindAdapter

Done,
Our architecture is high-performing with h/w in NIC
with tcp/ip off-load, CRC, DMA etc. We want to use
other drivers in this design to imporve performance.
However, this is temporary solution in short term.
Probably microsoft would provide/support a solution
for remote boot in future.

I set hwInitialization->VendorId=0, length=0, devid=0,
Number of accessranges=0.
Then called ScsiPortInitialize

Thanks,
Puru

— Don Burn wrote:

> You are going wrong with your basic approach, namely
> “a virtual scsi
> miniport” bottom line is even if you get your
> current problem working, the
> design of the storage minport model is such that you
> cannot make a reliable
> performing product without hardware.
>
> If you really need to do this check with OSR or
> StorageCraft for a storage
> port driver implementation that can be made virtual.
> This is not a cheap
> item.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> “purushotham Reddy” wrote in
> message
> news:xxxxx@ntdev…
> > Hi,
> > Experts pls advise.
> > Designing a virtual scsi miniport that is
> enumerated
> > by a bus function driver as scsi device. As per
> DDK,
> > Scsi miniport driver is designed as pnp driver.
> But
> > HwFindAdapter is not being called by PNP
> manager.After
> > returning from driver entry(miniport), it fails
> > installation as “device cannot start 10” error.
> >
> > Hw_INITIALIZATION_DATA->BusInterfaceType is set as
> > PNPBus in driverentry; called
> scsiPortInitialize();
> >
> > Where am I going wrong? what changes can I
> experiment
> > in this situation here.
> >
> > Thanks,
> > Puru
> >
> >
> > 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
>


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@lsil.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I really don’t know Don. I talked to Jamey about the time the “morphing”
took place and my impression was that VSPORT was no longer to be supported.
Seagate purchased a copy, on my recommendation, before that time for some
driver work, but we have heard nothing from the morphers as to whether it is
or is not continuing to be supported. My current plans have been to go to
StorPort for what we need to do since that most likely will do what we want
any way. And I feel that if Jamey, Max, or Dennis is not involved in
supporting VSPORT, then the new owner can go fish. Unless they get off their
collective asses and contact me, I am damn sure not going to use an
unsupported product for development…


The personal opinion of
Gary G. Little

“Don Matthews” wrote in message news:xxxxx@ntdev…
>
> Gary,
>
> Since you brought it up, I’d like to know the answer to the questions that
> you raised, namely:
>
> Is StorageCraft (or ShadowStor) still offering VSPORT? It appears that
> StorageCraft either morphed into, or was acquired by, ShadowStor around
> the April, 2004 timeframe. I think it would be nice if VSPORT was still
> available. And if so, is it supported?
>
> Jamey or Maxim, do you care to comment on what has happened to VSPORT?
>
> Thanks,
> Don
>
>
> “Gary G. Little” wrote in message news:xxxxx@ntdev…
>> Microsoft proabaly WON’T provide what you want for a SCSIPORT, since they
>> are moving towards Longhorn. I’ve done what you are trying to do and do
>> NOT recommend it. You have a choice of using the timer and incurring a 10
>> msec delay you cannot work around, or hijacking the ScsiPort PDO so you
>> can create your own DPC. But then you have two DPCs, one you don’t
>> control and with which you cannot sync. This becomes a BSOD waiting to
>> happen. Go get a port solution that allows you to do this. Unfortunately,
>> Kirby no longer has Storagecraft or VSPORT, and if Max is still not
>> supporting it, I wouldn’t recommend it. If Max is still supporting it,
>> then get it, as it is about your only hope, short of writting your SCSI
>> port.
>>
>> –
>> Gary G. Little
>> .
>>
>> “Mark Roddy” wrote in message news:xxxxx@ntdev…
>>> The last time I looked, virtual scsi miniports had to pretend to be ISA
>>> devices, and to have at least one hw resource, as scsiport believed that
>>> there were exactly two kinds of miniports in the universe: ISA and PCI.
>>>
>>> If you are in control of your hardware offload device firmware, you
>>> should
>>> use it to generate the interrupts your are going to need to get any sort
>>> of
>>> good performance out of your miniport. In other words, offload enough of
>>> the
>>> HBA functions to the pci device to actually make the HBA a PCI miniport.
>>>
>>> =====================
>>> Mark Roddy DDK MVP
>>> Windows 2003/XP/2000 Consulting
>>> Hollis Technology Solutions 603-321-1032
>>> www.hollistech.com
>>>
>>>> -----Original Message-----
>>>> From: xxxxx@lists.osr.com
>>>> [mailto:xxxxx@lists.osr.com] On Behalf Of
>>>> purushotham Reddy
>>>> Sent: Tuesday, July 19, 2005 6:21 PM
>>>> To: Windows System Software Devs Interest List
>>>> Subject: Re:[ntdev] pnp scsi miniport not calling hwFindAdapter
>>>>
>>>> Done,
>>>> Our architecture is high-performing with h/w in NIC with
>>>> tcp/ip off-load, CRC, DMA etc. We want to use other drivers
>>>> in this design to imporve performance.
>>>> However, this is temporary solution in short term.
>>>> Probably microsoft would provide/support a solution for
>>>> remote boot in future.
>>>>
>>>> I set hwInitialization->VendorId=0, length=0, devid=0, Number
>>>> of accessranges=0.
>>>> Then called ScsiPortInitialize
>>>>
>>>>
>>>> Thanks,
>>>> Puru
>>>>
>>>>
>>>>
>>>>
>>>> — Don Burn wrote:
>>>>
>>>> > You are going wrong with your basic approach, namely “a
>>>> virtual scsi
>>>> > miniport” bottom line is even if you get your current
>>>> problem working,
>>>> > the design of the storage minport model is such that you
>>>> cannot make a
>>>> > reliable performing product without hardware.
>>>> >
>>>> > If you really need to do this check with OSR or StorageCraft for a
>>>> > storage port driver implementation that can be made virtual.
>>>> > This is not a cheap
>>>> > item.
>>>> >
>>>> >
>>>> > –
>>>> > Don Burn (MVP, Windows DDK)
>>>> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
>>>> > Remove StopSpam from the email to reply
>>>> >
>>>> >
>>>> >
>>>> > “purushotham Reddy” wrote in
>>>> > message
>>>> > news:xxxxx@ntdev…
>>>> > > Hi,
>>>> > > Experts pls advise.
>>>> > > Designing a virtual scsi miniport that is
>>>> > enumerated
>>>> > > by a bus function driver as scsi device. As per
>>>> > DDK,
>>>> > > Scsi miniport driver is designed as pnp driver.
>>>> > But
>>>> > > HwFindAdapter is not being called by PNP
>>>> > manager.After
>>>> > > returning from driver entry(miniport), it fails
>>>> > > installation as “device cannot start 10” error.
>>>> > >
>>>> > > Hw_INITIALIZATION_DATA->BusInterfaceType is set as
>>>> > > PNPBus in driverentry; called
>>>> > scsiPortInitialize();
>>>> > >
>>>> > > Where am I going wrong? what changes can I
>>>> > experiment
>>>> > > in this situation here.
>>>> > >
>>>> > > Thanks,
>>>> > > Puru
>>>> > >
>>>> > >
>>>> > > 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
>>>> >
>>>>
>>>>
>>>>

>>>> 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@hollistech.com
>>>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>

The other altenative is to talk to OSR. I used them a few years ago for a
SCSI port driver, for a company I was then working for. I know they have a
solid piece of code.


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

“Gary G. Little” wrote in message news:xxxxx@ntdev…
>I really don’t know Don. I talked to Jamey about the time the “morphing”
>took place and my impression was that VSPORT was no longer to be supported.
>Seagate purchased a copy, on my recommendation, before that time for some
>driver work, but we have heard nothing from the morphers as to whether it
>is or is not continuing to be supported. My current plans have been to go
>to StorPort for what we need to do since that most likely will do what we
>want any way. And I feel that if Jamey, Max, or Dennis is not involved in
>supporting VSPORT, then the new owner can go fish. Unless they get off
>their collective asses and contact me, I am damn sure not going to use an
>unsupported product for development…
>
> –
> The personal opinion of
> Gary G. Little
>
> “Don Matthews” wrote in message
> news:xxxxx@ntdev…
>>
>> Gary,
>>
>> Since you brought it up, I’d like to know the answer to the questions
>> that you raised, namely:
>>
>> Is StorageCraft (or ShadowStor) still offering VSPORT? It appears that
>> StorageCraft either morphed into, or was acquired by, ShadowStor around
>> the April, 2004 timeframe. I think it would be nice if VSPORT was still
>> available. And if so, is it supported?
>>
>> Jamey or Maxim, do you care to comment on what has happened to VSPORT?
>>
>> Thanks,
>> Don
>>
>>
>> “Gary G. Little” wrote in message news:xxxxx@ntdev…
>>> Microsoft proabaly WON’T provide what you want for a SCSIPORT, since
>>> they are moving towards Longhorn. I’ve done what you are trying to do
>>> and do NOT recommend it. You have a choice of using the timer and
>>> incurring a 10 msec delay you cannot work around, or hijacking the
>>> ScsiPort PDO so you can create your own DPC. But then you have two
>>> DPCs, one you don’t control and with which you cannot sync. This becomes
>>> a BSOD waiting to happen. Go get a port solution that allows you to do
>>> this. Unfortunately, Kirby no longer has Storagecraft or VSPORT, and if
>>> Max is still not supporting it, I wouldn’t recommend it. If Max is still
>>> supporting it, then get it, as it is about your only hope, short of
>>> writting your SCSI port.
>>>
>>> –
>>> Gary G. Little
>>> .
>>>
>>> “Mark Roddy” wrote in message news:xxxxx@ntdev…
>>>> The last time I looked, virtual scsi miniports had to pretend to be ISA
>>>> devices, and to have at least one hw resource, as scsiport believed
>>>> that
>>>> there were exactly two kinds of miniports in the universe: ISA and PCI.
>>>>
>>>> If you are in control of your hardware offload device firmware, you
>>>> should
>>>> use it to generate the interrupts your are going to need to get any
>>>> sort of
>>>> good performance out of your miniport. In other words, offload enough
>>>> of the
>>>> HBA functions to the pci device to actually make the HBA a PCI
>>>> miniport.
>>>>
>>>> =====================
>>>> Mark Roddy DDK MVP
>>>> Windows 2003/XP/2000 Consulting
>>>> Hollis Technology Solutions 603-321-1032
>>>> www.hollistech.com
>>>>
>>>>> -----Original Message-----
>>>>> From: xxxxx@lists.osr.com
>>>>> [mailto:xxxxx@lists.osr.com] On Behalf Of
>>>>> purushotham Reddy
>>>>> Sent: Tuesday, July 19, 2005 6:21 PM
>>>>> To: Windows System Software Devs Interest List
>>>>> Subject: Re:[ntdev] pnp scsi miniport not calling hwFindAdapter
>>>>>
>>>>> Done,
>>>>> Our architecture is high-performing with h/w in NIC with
>>>>> tcp/ip off-load, CRC, DMA etc. We want to use other drivers
>>>>> in this design to imporve performance.
>>>>> However, this is temporary solution in short term.
>>>>> Probably microsoft would provide/support a solution for
>>>>> remote boot in future.
>>>>>
>>>>> I set hwInitialization->VendorId=0, length=0, devid=0, Number
>>>>> of accessranges=0.
>>>>> Then called ScsiPortInitialize
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Puru
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> — Don Burn wrote:
>>>>>
>>>>> > You are going wrong with your basic approach, namely “a
>>>>> virtual scsi
>>>>> > miniport” bottom line is even if you get your current
>>>>> problem working,
>>>>> > the design of the storage minport model is such that you
>>>>> cannot make a
>>>>> > reliable performing product without hardware.
>>>>> >
>>>>> > If you really need to do this check with OSR or StorageCraft for a
>>>>> > storage port driver implementation that can be made virtual.
>>>>> > This is not a cheap
>>>>> > item.
>>>>> >
>>>>> >
>>>>> > –
>>>>> > Don Burn (MVP, Windows DDK)
>>>>> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
>>>>> > Remove StopSpam from the email to reply
>>>>> >
>>>>> >
>>>>> >
>>>>> > “purushotham Reddy” wrote in
>>>>> > message
>>>>> > news:xxxxx@ntdev…
>>>>> > > Hi,
>>>>> > > Experts pls advise.
>>>>> > > Designing a virtual scsi miniport that is
>>>>> > enumerated
>>>>> > > by a bus function driver as scsi device. As per
>>>>> > DDK,
>>>>> > > Scsi miniport driver is designed as pnp driver.
>>>>> > But
>>>>> > > HwFindAdapter is not being called by PNP
>>>>> > manager.After
>>>>> > > returning from driver entry(miniport), it fails
>>>>> > > installation as “device cannot start 10” error.
>>>>> > >
>>>>> > > Hw_INITIALIZATION_DATA->BusInterfaceType is set as
>>>>> > > PNPBus in driverentry; called
>>>>> > scsiPortInitialize();
>>>>> > >
>>>>> > > Where am I going wrong? what changes can I
>>>>> > experiment
>>>>> > > in this situation here.
>>>>> > >
>>>>> > > Thanks,
>>>>> > > Puru
>>>>> > >
>>>>> > >
>>>>> > > 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
>>>>> >
>>>>>
>>>>>
>>>>>

>>>>> 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@hollistech.com
>>>>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>

I have changed my INF file to have LogConfigOverride
section with resources specified. But still I haven’t
got call to hwFindAdapter. Pls let me know if any
changes reqd.

[*Servide_inst.LogConfigOverride]
ConfigPriority = HARDRECONFIG
IOConfig =
130-133(3FF::),230-233(3FF::),330-333(3FF::),134-137(3FF::),234-237(3FF::),334-337(3FF::slight_smile:
IRQConfig = 9,10,11,12,14,15

My Driver entry looks like below:

HW_INITIALIZATION_DATA hwInitializationData;
ULONG Status;

UCHAR VendorId[4] = {
‘8’, ‘0’, ‘8’, ‘6’ };
UCHAR DeviceId[4] = {
‘1’, ‘0’, ‘5’, ‘E’ };

ON_INIT(DbgPrint(“==>Entering DriverEntry,
DriverObj=0x%p\n”,DriverObject):wink:
_asm int 3;
BreakPoint();
pDriverObject = DriverObject;
///////////////////////////////////
//initialize the Scsi stack
memset(&hwInitializationData, 0, sizeof(
HW_INITIALIZATION_DATA ) );
hwInitializationData.HwInitializationDataSize =
sizeof( HW_INITIALIZATION_DATA );

// set the entry points
hwInitializationData.HwFindAdapter =
SanFindAdapter;
hwInitializationData.HwInitialize =
SanInitializeScsi;
hwInitializationData.HwStartIo =
SanStartIo;
hwInitializationData.HwResetBus =
SanResetScsiBus;
hwInitializationData.HwAdapterState = NULL;
hwInitializationData.HwDmaStarted = NULL; //
we should be a busmaster so NULL
hwInitializationData.HwInterrupt = NULL; //
SanScsiISR;
#if 1 //defined(WIN2K)
hwInitializationData.HwAdapterControl =
SanAdapterControl;
#endif /* WIN2K */

// extension sizes
hwInitializationData.DeviceExtensionSize =
sizeof( HBA_EXTENSION );
hwInitializationData.SpecificLuExtensionSize = 0;

// Scsi mini-port specific
hwInitializationData.MapBuffers =
TRUE; // Want to manipulate SRB Data for RAM Disk. ??
hwInitializationData.TaggedQueuing =
TRUE; // Support Scsi-2 tagged queueing
hwInitializationData.AutoRequestSense =
TRUE; // Device responds to Scsi request with sense
data
hwInitializationData.ReceiveEvent =
TRUE; // Able to receive asynchronous events, is this
really supported???

// building for the defined Hardware…
hwInitializationData.NeedPhysicalAddresses =
TRUE;
hwInitializationData.MultipleRequestPerLu =
TRUE; // Assuming our SAN NIC can queue.

hwInitializationData.AdapterInterfaceType = Isa;
//PNPBus;
#if 1
hwInitializationData.VendorId = VendorId;
hwInitializationData.VendorIdLength = 4;
hwInitializationData.DeviceId = DeviceId;
hwInitializationData.DeviceIdLength = 4;
#endif
hwInitializationData.NumberOfAccessRanges = 3; //
3; // Memory, flash , IO

Status = ScsiPortInitialize(DriverObject,
RegistryPath, &hwInitializationData, NULL);

return Status;
} //end driverEntry

— Mark Roddy wrote:

> The last time I looked, virtual scsi miniports had
> to pretend to be ISA
> devices, and to have at least one hw resource, as
> scsiport believed that
> there were exactly two kinds of miniports in the
> universe: ISA and PCI.
>
> If you are in control of your hardware offload
> device firmware, you should
> use it to generate the interrupts your are going to
> need to get any sort of
> good performance out of your miniport. In other
> words, offload enough of the
> HBA functions to the pci device to actually make the
> HBA a PCI miniport.
>
> =====================
> Mark Roddy DDK MVP
> Windows 2003/XP/2000 Consulting
> Hollis Technology Solutions 603-321-1032
> www.hollistech.com
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On
> Behalf Of
> > purushotham Reddy
> > Sent: Tuesday, July 19, 2005 6:21 PM
> > To: Windows System Software Devs Interest List
> > Subject: Re:[ntdev] pnp scsi miniport not calling
> hwFindAdapter
> >
> > Done,
> > Our architecture is high-performing with h/w in
> NIC with
> > tcp/ip off-load, CRC, DMA etc. We want to use
> other drivers
> > in this design to imporve performance.
> > However, this is temporary solution in short term.
> > Probably microsoft would provide/support a
> solution for
> > remote boot in future.
> >
> > I set hwInitialization->VendorId=0, length=0,
> devid=0, Number
> > of accessranges=0.
> > Then called ScsiPortInitialize
> >
> >
> > Thanks,
> > Puru
> >
> >
> >
> >
> > — Don Burn wrote:
> >
> > > You are going wrong with your basic approach,
> namely “a
> > virtual scsi
> > > miniport” bottom line is even if you get your
> current
> > problem working,
> > > the design of the storage minport model is such
> that you
> > cannot make a
> > > reliable performing product without hardware.
> > >
> > > If you really need to do this check with OSR or
> StorageCraft for a
> > > storage port driver implementation that can be
> made virtual.
> > > This is not a cheap
> > > item.
> > >
> > >
> > > –
> > > Don Burn (MVP, Windows DDK)
> > > Windows 2k/XP/2k3 Filesystem and Driver
> Consulting
> > > Remove StopSpam from the email to reply
> > >
> > >
> > >
> > > “purushotham Reddy”
> wrote in
> > > message
> > > news:xxxxx@ntdev…
> > > > Hi,
> > > > Experts pls advise.
> > > > Designing a virtual scsi miniport that is
> > > enumerated
> > > > by a bus function driver as scsi device. As
> per
> > > DDK,
> > > > Scsi miniport driver is designed as pnp
> driver.
> > > But
> > > > HwFindAdapter is not being called by PNP
> > > manager.After
> > > > returning from driver entry(miniport), it
> fails
> > > > installation as “device cannot start 10”
> error.
> > > >
> > > > Hw_INITIALIZATION_DATA->BusInterfaceType is
> set as
> > > > PNPBus in driverentry; called
> > > scsiPortInitialize();
> > > >
> > > > Where am I going wrong? what changes can I
> > > experiment
> > > > in this situation here.
> > > >
> > > > Thanks,
> > > > Puru
> > > >
> > > >
>
> > > > 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
> > >
> >
> >
> >

> > 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@hollistech.com
> > 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@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Read my other post on this carefully. You fake an ISA pnp device and
find some available ISA register and code up your inf file appropriately
and off you go. But you will have the world’s slowest HBA and there is
no good way around that. You need to either write(buy) a full scsiport
driver or put enough of an hba on your hardware to make the whole thing
work as a pci device and generate interrupts so that you are not stuck
in one SRB per tick mode.

Search this list for this discussion. We’ve had it several times in all
the gory details.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Saxena, Ajitabh
Prakash
Sent: Wednesday, July 20, 2005 1:49 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] pnp scsi miniport not calling hwFindAdapter

I agree with don totally. When the driver is registered as PNP the
“ScsiPortInitialize” should be called with a valid VendorID and DeviceID
of
the device that you want to claim. If the device is not there then your
find
adapter will not even get called. On OLD OLD windows NT machines I have
seen
that the find adapter gets called if you fill in Zeros in DeviceID and
VendorID filed and that was because they were not PNP drivers.

Please let us know if you find something to make this work. I would
really
doubt that there is a way to write a virtual disk driver using a SCSI
Miniport model.

Thanks,
Ajitabh

-----Original Message-----
From: purushotham Reddy [mailto:xxxxx@yahoo.com]
Sent: Tuesday, July 19, 2005 6:21 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] pnp scsi miniport not calling hwFindAdapter

Done,
Our architecture is high-performing with h/w in NIC
with tcp/ip off-load, CRC, DMA etc. We want to use
other drivers in this design to imporve performance.
However, this is temporary solution in short term.
Probably microsoft would provide/support a solution
for remote boot in future.

I set hwInitialization->VendorId=0, length=0, devid=0,
Number of accessranges=0.
Then called ScsiPortInitialize

Thanks,
Puru

— Don Burn wrote:

> You are going wrong with your basic approach, namely
> “a virtual scsi
> miniport” bottom line is even if you get your
> current problem working, the
> design of the storage minport model is such that you
> cannot make a reliable
> performing product without hardware.
>
> If you really need to do this check with OSR or
> StorageCraft for a storage
> port driver implementation that can be made virtual.
> This is not a cheap
> item.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> “purushotham Reddy” wrote in
> message
> news:xxxxx@ntdev…
> > Hi,
> > Experts pls advise.
> > Designing a virtual scsi miniport that is
> enumerated
> > by a bus function driver as scsi device. As per
> DDK,
> > Scsi miniport driver is designed as pnp driver.
> But
> > HwFindAdapter is not being called by PNP
> manager.After
> > returning from driver entry(miniport), it fails
> > installation as “device cannot start 10” error.
> >
> > Hw_INITIALIZATION_DATA->BusInterfaceType is set as
> > PNPBus in driverentry; called
> scsiPortInitialize();
> >
> > Where am I going wrong? what changes can I
> experiment
> > in this situation here.
> >
> > Thanks,
> > Puru
> >
> >
> > 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
>


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@lsil.com
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@stratus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Does your HW offload iSCSI as well? Did you try MSFT’s
iSCSI port driver (part of iSCSI DDK). It supports HW
HBA as well as virtual bus. I am not sure how much I’m
allowed to go ahead but I know it works (Our
NetXtremeII NIC does MS chimney TOE, RDMA, iSCSI on a
single chip, single ethernet fabric without any
external memory. It does iSCSI boot too. An amazing
small chip)

Out of curiosity, what company is it?


Calvin Guan (Windows DDK MVP)
Staff SW Engineer NetXtreme MINIPORT
Broadcom Corp. Irvine, CA
www.broadcom.com

— purushotham Reddy wrote:

> Done,
> Our architecture is high-performing with h/w in NIC
> with tcp/ip off-load, CRC, DMA etc. We want to use
> other drivers in this design to imporve performance.
> However, this is temporary solution in short term.
> Probably microsoft would provide/support a solution
> for remote boot in future.
>
> I set hwInitialization->VendorId=0, length=0,
> devid=0,
> Number of accessranges=0.
> Then called ScsiPortInitialize
>
>
> Thanks,
> Puru
>
>
>
>
> — Don Burn wrote:
>
> > You are going wrong with your basic approach,
> namely
> > “a virtual scsi
> > miniport” bottom line is even if you get your
> > current problem working, the
> > design of the storage minport model is such that
> you
> > cannot make a reliable
> > performing product without hardware.
> >
> > If you really need to do this check with OSR or
> > StorageCraft for a storage
> > port driver implementation that can be made
> virtual.
> > This is not a cheap
> > item.
> >
> >
> > –
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > Remove StopSpam from the email to reply
> >
> >
> >
> > “purushotham Reddy” wrote
> in
> > message
> > news:xxxxx@ntdev…
> > > Hi,
> > > Experts pls advise.
> > > Designing a virtual scsi miniport that is
> > enumerated
> > > by a bus function driver as scsi device. As per
> > DDK,
> > > Scsi miniport driver is designed as pnp driver.
> > But
> > > HwFindAdapter is not being called by PNP
> > manager.After
> > > returning from driver entry(miniport), it fails
> > > installation as “device cannot start 10” error.
> > >
> > > Hw_INITIALIZATION_DATA->BusInterfaceType is set
> as
> > > PNPBus in driverentry; called
> > scsiPortInitialize();
> > >
> > > Where am I going wrong? what changes can I
> > experiment
> > > in this situation here.
> > >
> > > Thanks,
> > > Puru
> > >
> > >
>
> > > 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
> >
>
>
>

> 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.ca
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

I have a working solution for SCSI miniport with h/w
NIC, not HBA. But I want to support NDIS and iSCSI on
same NIC by having a bus function driver. In this
solution I want to have virtual SCSI miniport over
virtual bus driver. If I specify bus interface type as
ISA, Still I dont get call to hwFindAdapter. Any
idea’s what needs to be done for this prototype to
work?
By the way, the company is INTEL.

Thanks,
Puru

— Calvin Guan wrote:

> Does your HW offload iSCSI as well? Did you try
> MSFT’s
> iSCSI port driver (part of iSCSI DDK). It supports
> HW
> HBA as well as virtual bus. I am not sure how much
> I’m
> allowed to go ahead but I know it works (Our
> NetXtremeII NIC does MS chimney TOE, RDMA, iSCSI on
> a
> single chip, single ethernet fabric without any
> external memory. It does iSCSI boot too. An amazing
> small chip)
>
> Out of curiosity, what company is it?
>
> –
> Calvin Guan (Windows DDK MVP)
> Staff SW Engineer NetXtreme MINIPORT
> Broadcom Corp. Irvine, CA
> www.broadcom.com
>
>
> — purushotham Reddy wrote:
>
> > Done,
> > Our architecture is high-performing with h/w in
> NIC
> > with tcp/ip off-load, CRC, DMA etc. We want to use
> > other drivers in this design to imporve
> performance.
> > However, this is temporary solution in short term.
> > Probably microsoft would provide/support a
> solution
> > for remote boot in future.
> >
> > I set hwInitialization->VendorId=0, length=0,
> > devid=0,
> > Number of accessranges=0.
> > Then called ScsiPortInitialize
> >
> >
> > Thanks,
> > Puru
> >
> >
> >
> >
> > — Don Burn wrote:
> >
> > > You are going wrong with your basic approach,
> > namely
> > > “a virtual scsi
> > > miniport” bottom line is even if you get your
> > > current problem working, the
> > > design of the storage minport model is such that
> > you
> > > cannot make a reliable
> > > performing product without hardware.
> > >
> > > If you really need to do this check with OSR or
> > > StorageCraft for a storage
> > > port driver implementation that can be made
> > virtual.
> > > This is not a cheap
> > > item.
> > >
> > >
> > > –
> > > Don Burn (MVP, Windows DDK)
> > > Windows 2k/XP/2k3 Filesystem and Driver
> Consulting
> > > Remove StopSpam from the email to reply
> > >
> > >
> > >
> > > “purushotham Reddy”
> wrote
> > in
> > > message
> > > news:xxxxx@ntdev…
> > > > Hi,
> > > > Experts pls advise.
> > > > Designing a virtual scsi miniport that is
> > > enumerated
> > > > by a bus function driver as scsi device. As
> per
> > > DDK,
> > > > Scsi miniport driver is designed as pnp
> driver.
> > > But
> > > > HwFindAdapter is not being called by PNP
> > > manager.After
> > > > returning from driver entry(miniport), it
> fails
> > > > installation as “device cannot start 10”
> error.
> > > >
> > > > Hw_INITIALIZATION_DATA->BusInterfaceType is
> set
> > as
> > > > PNPBus in driverentry; called
> > > scsiPortInitialize();
> > > >
> > > > Where am I going wrong? what changes can I
> > > experiment
> > > > in this situation here.
> > > >
> > > > Thanks,
> > > > Puru
> > > >
> > > >
> >
> > > > 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
> > >
> >
> >
> >

> > 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.ca
> > To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
>
>
>
> 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
>


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Does your inf file specify at least one ISA resource?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of purushotham Reddy
Sent: Thursday, July 21, 2005 1:25 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] pnp scsi miniport not calling hwFindAdapter

I have a working solution for SCSI miniport with h/w
NIC, not HBA. But I want to support NDIS and iSCSI on
same NIC by having a bus function driver. In this
solution I want to have virtual SCSI miniport over
virtual bus driver. If I specify bus interface type as
ISA, Still I dont get call to hwFindAdapter. Any
idea’s what needs to be done for this prototype to
work?
By the way, the company is INTEL.

Thanks,
Puru

— Calvin Guan wrote:

> Does your HW offload iSCSI as well? Did you try
> MSFT’s
> iSCSI port driver (part of iSCSI DDK). It supports
> HW
> HBA as well as virtual bus. I am not sure how much
> I’m
> allowed to go ahead but I know it works (Our
> NetXtremeII NIC does MS chimney TOE, RDMA, iSCSI on
> a
> single chip, single ethernet fabric without any
> external memory. It does iSCSI boot too. An amazing
> small chip)
>
> Out of curiosity, what company is it?
>
> –
> Calvin Guan (Windows DDK MVP)
> Staff SW Engineer NetXtreme MINIPORT
> Broadcom Corp. Irvine, CA
> www.broadcom.com
>
>
> — purushotham Reddy wrote:
>
> > Done,
> > Our architecture is high-performing with h/w in
> NIC
> > with tcp/ip off-load, CRC, DMA etc. We want to use
> > other drivers in this design to imporve
> performance.
> > However, this is temporary solution in short term.
> > Probably microsoft would provide/support a
> solution
> > for remote boot in future.
> >
> > I set hwInitialization->VendorId=0, length=0,
> > devid=0,
> > Number of accessranges=0.
> > Then called ScsiPortInitialize
> >
> >
> > Thanks,
> > Puru
> >
> >
> >
> >
> > — Don Burn wrote:
> >
> > > You are going wrong with your basic approach,
> > namely
> > > “a virtual scsi
> > > miniport” bottom line is even if you get your
> > > current problem working, the
> > > design of the storage minport model is such that
> > you
> > > cannot make a reliable
> > > performing product without hardware.
> > >
> > > If you really need to do this check with OSR or
> > > StorageCraft for a storage
> > > port driver implementation that can be made
> > virtual.
> > > This is not a cheap
> > > item.
> > >
> > >
> > > –
> > > Don Burn (MVP, Windows DDK)
> > > Windows 2k/XP/2k3 Filesystem and Driver
> Consulting
> > > Remove StopSpam from the email to reply
> > >
> > >
> > >
> > > “purushotham Reddy”
> wrote
> > in
> > > message
> > > news:xxxxx@ntdev…
> > > > Hi,
> > > > Experts pls advise.
> > > > Designing a virtual scsi miniport that is
> > > enumerated
> > > > by a bus function driver as scsi device. As
> per
> > > DDK,
> > > > Scsi miniport driver is designed as pnp
> driver.
> > > But
> > > > HwFindAdapter is not being called by PNP
> > > manager.After
> > > > returning from driver entry(miniport), it
> fails
> > > > installation as “device cannot start 10”
> error.
> > > >
> > > > Hw_INITIALIZATION_DATA->BusInterfaceType is
> set
> > as
> > > > PNPBus in driverentry; called
> > > scsiPortInitialize();
> > > >
> > > > Where am I going wrong? what changes can I
> > > experiment
> > > > in this situation here.
> > > >
> > > > Thanks,
> > > > Puru
> > > >
> > > >
> >
> > > > 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
> > >
> >
> >
> >

> > 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.ca
> > To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
>
>
>
> 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
>


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@stratus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I have the following in my inf file.

[ISCSI_Service_Inst.LogConfigOverride]
LogConfig = ISCSI_Service_Inst.override0

[ISCSI_Service_Inst.override0]
ConfigPriority = HARDRECONFIG
IOConfig =
130-133(3FF::),230-233(3FF::),330-333(3FF::),134-137(3FF::),234-237(3FF::),334-337(3FF::slight_smile:
IRQConfig = 9,10,11,12,14,15

Thank you,
Puru

— “Roddy, Mark” wrote:

> Does your inf file specify at least one ISA
> resource?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of purushotham Reddy
> Sent: Thursday, July 21, 2005 1:25 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] pnp scsi miniport not calling
> hwFindAdapter
>
> I have a working solution for SCSI miniport with h/w
> NIC, not HBA. But I want to support NDIS and iSCSI
> on
> same NIC by having a bus function driver. In this
> solution I want to have virtual SCSI miniport over
> virtual bus driver. If I specify bus interface type
> as
> ISA, Still I dont get call to hwFindAdapter. Any
> idea’s what needs to be done for this prototype to
> work?
> By the way, the company is INTEL.
>
> Thanks,
> Puru
>
>
>
>
>
> — Calvin Guan wrote:
>
> > Does your HW offload iSCSI as well? Did you try
> > MSFT’s
> > iSCSI port driver (part of iSCSI DDK). It supports
> > HW
> > HBA as well as virtual bus. I am not sure how much
> > I’m
> > allowed to go ahead but I know it works (Our
> > NetXtremeII NIC does MS chimney TOE, RDMA, iSCSI
> on
> > a
> > single chip, single ethernet fabric without any
> > external memory. It does iSCSI boot too. An
> amazing
> > small chip)
> >
> > Out of curiosity, what company is it?
> >
> > –
> > Calvin Guan (Windows DDK MVP)
> > Staff SW Engineer NetXtreme MINIPORT
> > Broadcom Corp. Irvine, CA
> > www.broadcom.com
> >
> >
> > — purushotham Reddy
> wrote:
> >
> > > Done,
> > > Our architecture is high-performing with h/w in
> > NIC
> > > with tcp/ip off-load, CRC, DMA etc. We want to
> use
> > > other drivers in this design to imporve
> > performance.
> > > However, this is temporary solution in short
> term.
> > > Probably microsoft would provide/support a
> > solution
> > > for remote boot in future.
> > >
> > > I set hwInitialization->VendorId=0, length=0,
> > > devid=0,
> > > Number of accessranges=0.
> > > Then called ScsiPortInitialize
> > >
> > >
> > > Thanks,
> > > Puru
> > >
> > >
> > >
> > >
> > > — Don Burn wrote:
> > >
> > > > You are going wrong with your basic approach,
> > > namely
> > > > “a virtual scsi
> > > > miniport” bottom line is even if you get your
> > > > current problem working, the
> > > > design of the storage minport model is such
> that
> > > you
> > > > cannot make a reliable
> > > > performing product without hardware.
> > > >
> > > > If you really need to do this check with OSR
> or
> > > > StorageCraft for a storage
> > > > port driver implementation that can be made
> > > virtual.
> > > > This is not a cheap
> > > > item.
> > > >
> > > >
> > > > –
> > > > Don Burn (MVP, Windows DDK)
> > > > Windows 2k/XP/2k3 Filesystem and Driver
> > Consulting
> > > > Remove StopSpam from the email to reply
> > > >
> > > >
> > > >
> > > > “purushotham Reddy”
> > wrote
> > > in
> > > > message
> > > > news:xxxxx@ntdev…
> > > > > Hi,
> > > > > Experts pls advise.
> > > > > Designing a virtual scsi miniport that is
> > > > enumerated
> > > > > by a bus function driver as scsi device. As
> > per
> > > > DDK,
> > > > > Scsi miniport driver is designed as pnp
> > driver.
> > > > But
> > > > > HwFindAdapter is not being called by PNP
> > > > manager.After
> > > > > returning from driver entry(miniport), it
> > fails
> > > > > installation as “device cannot start 10”
> > error.
> > > > >
> > > > > Hw_INITIALIZATION_DATA->BusInterfaceType is
> > set
> > > as
> > > > > PNPBus in driverentry; called
> > > > scsiPortInitialize();
> > > > >
> > > > > Where am I going wrong? what changes can I
> > > > experiment
> > > > > in this situation here.
> > > > >
> > > > > Thanks,
> > > > > Puru
> > > > >
> > > > >
> > >
>
> > > > > 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
> > > >
> > >
> > >
> > >
>

> > > 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.ca
> > > To unsubscribe send a blank email to
> > > xxxxx@lists.osr.com
> > >
> >
> >
> >
> > 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
>
=== message truncated ===


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

You cannot virtualize a SCSI miniport, be it using SCSIPORT or STORPORT.
These two port drivers are bottom feeders and expect to be on top of the
HBA. That is a great big PERIOD, good buddy. It simply will not work, and if
by chance you finally do get it to half-assed work you will continually
chase some piece that doesn’t work or doesn’t work properly until Hell
freezes over. It will never be something you should deliver, and trust me on
this, if you decide to deliver, none of us here will want or recommend it,
because such a driver is an abomination, and MUST be rife with system
compromises. Not a good thing. Right now you can’t get your FindAdapter to
be called, but you still have the DPC/ISR/Time out problems ahead of you,
which are equally unsolvable.

You MUST write your own port driver or have a third party port driver, from
either StorageCraft of OSR, that will allow you do this. Any other route is
a fools errand. Period.

If Intel is taking this tact, I am surprised. They must have laid off all of
their experienced driver staff to the point they only have a bunch of
inexperienced colonel developers, or worse, Linux developers.

From the guy that spent 24 months trying to do the same thing:
Gary G. Little

“purushotham Reddy” wrote in message
news:xxxxx@ntdev…
>I have a working solution for SCSI miniport with h/w
> NIC, not HBA. But I want to support NDIS and iSCSI on
> same NIC by having a bus function driver. In this
> solution I want to have virtual SCSI miniport over
> virtual bus driver. If I specify bus interface type as
> ISA, Still I dont get call to hwFindAdapter. Any
> idea’s what needs to be done for this prototype to
> work?
> By the way, the company is INTEL.
>
> Thanks,
> Puru
>
>
>
>
>
> — Calvin Guan wrote:
>
>> Does your HW offload iSCSI as well? Did you try
>> MSFT’s
>> iSCSI port driver (part of iSCSI DDK). It supports
>> HW
>> HBA as well as virtual bus. I am not sure how much
>> I’m
>> allowed to go ahead but I know it works (Our
>> NetXtremeII NIC does MS chimney TOE, RDMA, iSCSI on
>> a
>> single chip, single ethernet fabric without any
>> external memory. It does iSCSI boot too. An amazing
>> small chip)
>>
>> Out of curiosity, what company is it?
>>
>> –
>> Calvin Guan (Windows DDK MVP)
>> Staff SW Engineer NetXtreme MINIPORT
>> Broadcom Corp. Irvine, CA
>> www.broadcom.com
>>
>>
>> — purushotham Reddy wrote:
>>
>> > Done,
>> > Our architecture is high-performing with h/w in
>> NIC
>> > with tcp/ip off-load, CRC, DMA etc. We want to use
>> > other drivers in this design to imporve
>> performance.
>> > However, this is temporary solution in short term.
>> > Probably microsoft would provide/support a
>> solution
>> > for remote boot in future.
>> >
>> > I set hwInitialization->VendorId=0, length=0,
>> > devid=0,
>> > Number of accessranges=0.
>> > Then called ScsiPortInitialize
>> >
>> >
>> > Thanks,
>> > Puru
>> >
>> >
>> >
>> >
>> > — Don Burn wrote:
>> >
>> > > You are going wrong with your basic approach,
>> > namely
>> > > “a virtual scsi
>> > > miniport” bottom line is even if you get your
>> > > current problem working, the
>> > > design of the storage minport model is such that
>> > you
>> > > cannot make a reliable
>> > > performing product without hardware.
>> > >
>> > > If you really need to do this check with OSR or
>> > > StorageCraft for a storage
>> > > port driver implementation that can be made
>> > virtual.
>> > > This is not a cheap
>> > > item.
>> > >
>> > >
>> > > –
>> > > Don Burn (MVP, Windows DDK)
>> > > Windows 2k/XP/2k3 Filesystem and Driver
>> Consulting
>> > > Remove StopSpam from the email to reply
>> > >
>> > >
>> > >
>> > > “purushotham Reddy”
>> wrote
>> > in
>> > > message
>> > > news:xxxxx@ntdev…
>> > > > Hi,
>> > > > Experts pls advise.
>> > > > Designing a virtual scsi miniport that is
>> > > enumerated
>> > > > by a bus function driver as scsi device. As
>> per
>> > > DDK,
>> > > > Scsi miniport driver is designed as pnp
>> driver.
>> > > But
>> > > > HwFindAdapter is not being called by PNP
>> > > manager.After
>> > > > returning from driver entry(miniport), it
>> fails
>> > > > installation as “device cannot start 10”
>> error.
>> > > >
>> > > > Hw_INITIALIZATION_DATA->BusInterfaceType is
>> set
>> > as
>> > > > PNPBus in driverentry; called
>> > > scsiPortInitialize();
>> > > >
>> > > > Where am I going wrong? what changes can I
>> > > experiment
>> > > > in this situation here.
>> > > >
>> > > > Thanks,
>> > > > Puru
>> > > >
>> > > >
>> >
>> > > > 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
>> > >
>> >
>> >
>> >

>> > 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.ca
>> > To unsubscribe send a blank email to
>> > xxxxx@lists.osr.com
>> >
>>
>>
>>
>> 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
>>
>
>
>

> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Thanks Gary. I believe you.

— “Gary G. Little” wrote:

> You cannot virtualize a SCSI miniport, be it using
> SCSIPORT or STORPORT.
> These two port drivers are bottom feeders and expect
> to be on top of the
> HBA. That is a great big PERIOD, good buddy. It
> simply will not work, and if
> by chance you finally do get it to half-assed work
> you will continually
> chase some piece that doesn’t work or doesn’t work
> properly until Hell
> freezes over. It will never be something you should
> deliver, and trust me on
> this, if you decide to deliver, none of us here will
> want or recommend it,
> because such a driver is an abomination, and MUST be
> rife with system
> compromises. Not a good thing. Right now you can’t
> get your FindAdapter to
> be called, but you still have the DPC/ISR/Time out
> problems ahead of you,
> which are equally unsolvable.
>
> You MUST write your own port driver or have a third
> party port driver, from
> either StorageCraft of OSR, that will allow you do
> this. Any other route is
> a fools errand. Period.
>
> If Intel is taking this tact, I am surprised. They
> must have laid off all of
> their experienced driver staff to the point they
> only have a bunch of
> inexperienced colonel developers, or worse, Linux
> developers.
>
> From the guy that spent 24 months trying to do the
> same thing:
> Gary G. Little
>
> “purushotham Reddy” wrote in
> message
> news:xxxxx@ntdev…
> >I have a working solution for SCSI miniport with
> h/w
> > NIC, not HBA. But I want to support NDIS and
> iSCSI on
> > same NIC by having a bus function driver. In this
> > solution I want to have virtual SCSI miniport over
> > virtual bus driver. If I specify bus interface
> type as
> > ISA, Still I dont get call to hwFindAdapter. Any
> > idea’s what needs to be done for this prototype to
> > work?
> > By the way, the company is INTEL.
> >
> > Thanks,
> > Puru
> >
> >
> >
> >
> >
> > — Calvin Guan wrote:
> >
> >> Does your HW offload iSCSI as well? Did you try
> >> MSFT’s
> >> iSCSI port driver (part of iSCSI DDK). It
> supports
> >> HW
> >> HBA as well as virtual bus. I am not sure how
> much
> >> I’m
> >> allowed to go ahead but I know it works (Our
> >> NetXtremeII NIC does MS chimney TOE, RDMA, iSCSI
> on
> >> a
> >> single chip, single ethernet fabric without any
> >> external memory. It does iSCSI boot too. An
> amazing
> >> small chip)
> >>
> >> Out of curiosity, what company is it?
> >>
> >> –
> >> Calvin Guan (Windows DDK MVP)
> >> Staff SW Engineer NetXtreme MINIPORT
> >> Broadcom Corp. Irvine, CA
> >> www.broadcom.com
> >>
> >>
> >> — purushotham Reddy
> wrote:
> >>
> >> > Done,
> >> > Our architecture is high-performing with h/w in
> >> NIC
> >> > with tcp/ip off-load, CRC, DMA etc. We want to
> use
> >> > other drivers in this design to imporve
> >> performance.
> >> > However, this is temporary solution in short
> term.
> >> > Probably microsoft would provide/support a
> >> solution
> >> > for remote boot in future.
> >> >
> >> > I set hwInitialization->VendorId=0, length=0,
> >> > devid=0,
> >> > Number of accessranges=0.
> >> > Then called ScsiPortInitialize
> >> >
> >> >
> >> > Thanks,
> >> > Puru
> >> >
> >> >
> >> >
> >> >
> >> > — Don Burn wrote:
> >> >
> >> > > You are going wrong with your basic approach,
> >> > namely
> >> > > “a virtual scsi
> >> > > miniport” bottom line is even if you get your
> >> > > current problem working, the
> >> > > design of the storage minport model is such
> that
> >> > you
> >> > > cannot make a reliable
> >> > > performing product without hardware.
> >> > >
> >> > > If you really need to do this check with OSR
> or
> >> > > StorageCraft for a storage
> >> > > port driver implementation that can be made
> >> > virtual.
> >> > > This is not a cheap
> >> > > item.
> >> > >
> >> > >
> >> > > –
> >> > > Don Burn (MVP, Windows DDK)
> >> > > Windows 2k/XP/2k3 Filesystem and Driver
> >> Consulting
> >> > > Remove StopSpam from the email to reply
> >> > >
> >> > >
> >> > >
> >> > > “purushotham Reddy”
> >> wrote
> >> > in
> >> > > message
> >> > > news:xxxxx@ntdev…
> >> > > > Hi,
> >> > > > Experts pls advise.
> >> > > > Designing a virtual scsi miniport that is
> >> > > enumerated
> >> > > > by a bus function driver as scsi device. As
> >> per
> >> > > DDK,
> >> > > > Scsi miniport driver is designed as pnp
> >> driver.
> >> > > But
> >> > > > HwFindAdapter is not being called by PNP
> >> > > manager.After
> >> > > > returning from driver entry(miniport), it
> >> fails
> >> > > > installation as “device cannot start 10”
> >> error.
> >> > > >
> >> > > > Hw_INITIALIZATION_DATA->BusInterfaceType is
> >> set
> >> > as
> >> > > > PNPBus in driverentry; called
> >> > > scsiPortInitialize();
> >> > > >
> >> > > > Where am I going wrong? what changes can I
> >> > > experiment
> >> > > > in this situation here.
> >> > > >
> >> > > > Thanks,
> >> > > > Puru
> >> > > >
> >> > > >
> >> >
>
> >> > > > 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:
>
=== message truncated ===

__
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs

Well it’s exactly what I said. But this was with great “THRUST” :)… I
will have to learn that now.

-----Original Message-----
From: purushotham Reddy [mailto:xxxxx@yahoo.com]
Sent: Thursday, July 21, 2005 9:48 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Re:pnp scsi miniport not calling hwFindAdapter

Thanks Gary. I believe you.

— “Gary G. Little” wrote:

> You cannot virtualize a SCSI miniport, be it using
> SCSIPORT or STORPORT.
> These two port drivers are bottom feeders and expect
> to be on top of the
> HBA. That is a great big PERIOD, good buddy. It
> simply will not work, and if
> by chance you finally do get it to half-assed work
> you will continually
> chase some piece that doesn’t work or doesn’t work
> properly until Hell
> freezes over. It will never be something you should
> deliver, and trust me on
> this, if you decide to deliver, none of us here will
> want or recommend it,
> because such a driver is an abomination, and MUST be
> rife with system
> compromises. Not a good thing. Right now you can’t
> get your FindAdapter to
> be called, but you still have the DPC/ISR/Time out
> problems ahead of you,
> which are equally unsolvable.
>
> You MUST write your own port driver or have a third
> party port driver, from
> either StorageCraft of OSR, that will allow you do
> this. Any other route is
> a fools errand. Period.
>
> If Intel is taking this tact, I am surprised. They
> must have laid off all of
> their experienced driver staff to the point they
> only have a bunch of
> inexperienced colonel developers, or worse, Linux
> developers.
>
> From the guy that spent 24 months trying to do the
> same thing:
> Gary G. Little
>
> “purushotham Reddy” wrote in
> message
> news:xxxxx@ntdev…
> >I have a working solution for SCSI miniport with
> h/w
> > NIC, not HBA. But I want to support NDIS and
> iSCSI on
> > same NIC by having a bus function driver. In this
> > solution I want to have virtual SCSI miniport over
> > virtual bus driver. If I specify bus interface
> type as
> > ISA, Still I dont get call to hwFindAdapter. Any
> > idea’s what needs to be done for this prototype to
> > work?
> > By the way, the company is INTEL.
> >
> > Thanks,
> > Puru
> >
> >
> >
> >
> >
> > — Calvin Guan wrote:
> >
> >> Does your HW offload iSCSI as well? Did you try
> >> MSFT’s
> >> iSCSI port driver (part of iSCSI DDK). It
> supports
> >> HW
> >> HBA as well as virtual bus. I am not sure how
> much
> >> I’m
> >> allowed to go ahead but I know it works (Our
> >> NetXtremeII NIC does MS chimney TOE, RDMA, iSCSI
> on
> >> a
> >> single chip, single ethernet fabric without any
> >> external memory. It does iSCSI boot too. An
> amazing
> >> small chip)
> >>
> >> Out of curiosity, what company is it?
> >>
> >> –
> >> Calvin Guan (Windows DDK MVP)
> >> Staff SW Engineer NetXtreme MINIPORT
> >> Broadcom Corp. Irvine, CA
> >> www.broadcom.com
> >>
> >>
> >> — purushotham Reddy
> wrote:
> >>
> >> > Done,
> >> > Our architecture is high-performing with h/w in
> >> NIC
> >> > with tcp/ip off-load, CRC, DMA etc. We want to
> use
> >> > other drivers in this design to imporve
> >> performance.
> >> > However, this is temporary solution in short
> term.
> >> > Probably microsoft would provide/support a
> >> solution
> >> > for remote boot in future.
> >> >
> >> > I set hwInitialization->VendorId=0, length=0,
> >> > devid=0,
> >> > Number of accessranges=0.
> >> > Then called ScsiPortInitialize
> >> >
> >> >
> >> > Thanks,
> >> > Puru
> >> >
> >> >
> >> >
> >> >
> >> > — Don Burn wrote:
> >> >
> >> > > You are going wrong with your basic approach,
> >> > namely
> >> > > “a virtual scsi
> >> > > miniport” bottom line is even if you get your
> >> > > current problem working, the
> >> > > design of the storage minport model is such
> that
> >> > you
> >> > > cannot make a reliable
> >> > > performing product without hardware.
> >> > >
> >> > > If you really need to do this check with OSR
> or
> >> > > StorageCraft for a storage
> >> > > port driver implementation that can be made
> >> > virtual.
> >> > > This is not a cheap
> >> > > item.
> >> > >
> >> > >
> >> > > –
> >> > > Don Burn (MVP, Windows DDK)
> >> > > Windows 2k/XP/2k3 Filesystem and Driver
> >> Consulting
> >> > > Remove StopSpam from the email to reply
> >> > >
> >> > >
> >> > >
> >> > > “purushotham Reddy”
> >> wrote
> >> > in
> >> > > message
> >> > > news:xxxxx@ntdev…
> >> > > > Hi,
> >> > > > Experts pls advise.
> >> > > > Designing a virtual scsi miniport that is
> >> > > enumerated
> >> > > > by a bus function driver as scsi device. As
> >> per
> >> > > DDK,
> >> > > > Scsi miniport driver is designed as pnp
> >> driver.
> >> > > But
> >> > > > HwFindAdapter is not being called by PNP
> >> > > manager.After
> >> > > > returning from driver entry(miniport), it
> >> fails
> >> > > > installation as “device cannot start 10”
> >> error.
> >> > > >
> >> > > > Hw_INITIALIZATION_DATA->BusInterfaceType is
> >> set
> >> > as
> >> > > > PNPBus in driverentry; called
> >> > > scsiPortInitialize();
> >> > > >
> >> > > > Where am I going wrong? what changes can I
> >> > > experiment
> >> > > > in this situation here.
> >> > > >
> >> > > > Thanks,
> >> > > > Puru
> >> > > >
> >> > > >
> >> >
>
> >> > > > 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:
>
=== message truncated ===

__
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@lsil.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thank you all who helped me in this issue.

Thank you!
-Puru

— purushotham Reddy wrote:

> Thanks Gary. I believe you.
>
> — “Gary G. Little” wrote:
>
> > You cannot virtualize a SCSI miniport, be it using
> > SCSIPORT or STORPORT.
> > These two port drivers are bottom feeders and
> expect
> > to be on top of the
> > HBA. That is a great big PERIOD, good buddy. It
> > simply will not work, and if
> > by chance you finally do get it to half-assed work
> > you will continually
> > chase some piece that doesn’t work or doesn’t work
> > properly until Hell
> > freezes over. It will never be something you
> should
> > deliver, and trust me on
> > this, if you decide to deliver, none of us here
> will
> > want or recommend it,
> > because such a driver is an abomination, and MUST
> be
> > rife with system
> > compromises. Not a good thing. Right now you can’t
> > get your FindAdapter to
> > be called, but you still have the DPC/ISR/Time out
> > problems ahead of you,
> > which are equally unsolvable.
> >
> > You MUST write your own port driver or have a
> third
> > party port driver, from
> > either StorageCraft of OSR, that will allow you do
> > this. Any other route is
> > a fools errand. Period.
> >
> > If Intel is taking this tact, I am surprised. They
> > must have laid off all of
> > their experienced driver staff to the point they
> > only have a bunch of
> > inexperienced colonel developers, or worse, Linux
> > developers.
> >
> > From the guy that spent 24 months trying to do the
> > same thing:
> > Gary G. Little
> >
> > “purushotham Reddy” wrote
> in
> > message
> > news:xxxxx@ntdev…
> > >I have a working solution for SCSI miniport with
> > h/w
> > > NIC, not HBA. But I want to support NDIS and
> > iSCSI on
> > > same NIC by having a bus function driver. In
> this
> > > solution I want to have virtual SCSI miniport
> over
> > > virtual bus driver. If I specify bus interface
> > type as
> > > ISA, Still I dont get call to hwFindAdapter. Any
> > > idea’s what needs to be done for this prototype
> to
> > > work?
> > > By the way, the company is INTEL.
> > >
> > > Thanks,
> > > Puru
> > >
> > >
> > >
> > >
> > >
> > > — Calvin Guan wrote:
> > >
> > >> Does your HW offload iSCSI as well? Did you try
> > >> MSFT’s
> > >> iSCSI port driver (part of iSCSI DDK). It
> > supports
> > >> HW
> > >> HBA as well as virtual bus. I am not sure how
> > much
> > >> I’m
> > >> allowed to go ahead but I know it works (Our
> > >> NetXtremeII NIC does MS chimney TOE, RDMA,
> iSCSI
> > on
> > >> a
> > >> single chip, single ethernet fabric without any
> > >> external memory. It does iSCSI boot too. An
> > amazing
> > >> small chip)
> > >>
> > >> Out of curiosity, what company is it?
> > >>
> > >> –
> > >> Calvin Guan (Windows DDK MVP)
> > >> Staff SW Engineer NetXtreme MINIPORT
> > >> Broadcom Corp. Irvine, CA
> > >> www.broadcom.com
> > >>
> > >>
> > >> — purushotham Reddy
> > wrote:
> > >>
> > >> > Done,
> > >> > Our architecture is high-performing with h/w
> in
> > >> NIC
> > >> > with tcp/ip off-load, CRC, DMA etc. We want
> to
> > use
> > >> > other drivers in this design to imporve
> > >> performance.
> > >> > However, this is temporary solution in short
> > term.
> > >> > Probably microsoft would provide/support a
> > >> solution
> > >> > for remote boot in future.
> > >> >
> > >> > I set hwInitialization->VendorId=0, length=0,
> > >> > devid=0,
> > >> > Number of accessranges=0.
> > >> > Then called ScsiPortInitialize
> > >> >
> > >> >
> > >> > Thanks,
> > >> > Puru
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > — Don Burn wrote:
> > >> >
> > >> > > You are going wrong with your basic
> approach,
> > >> > namely
> > >> > > “a virtual scsi
> > >> > > miniport” bottom line is even if you get
> your
> > >> > > current problem working, the
> > >> > > design of the storage minport model is such
> > that
> > >> > you
> > >> > > cannot make a reliable
> > >> > > performing product without hardware.
> > >> > >
> > >> > > If you really need to do this check with
> OSR
> > or
> > >> > > StorageCraft for a storage
> > >> > > port driver implementation that can be made
> > >> > virtual.
> > >> > > This is not a cheap
> > >> > > item.
> > >> > >
> > >> > >
> > >> > > –
> > >> > > Don Burn (MVP, Windows DDK)
> > >> > > Windows 2k/XP/2k3 Filesystem and Driver
> > >> Consulting
> > >> > > Remove StopSpam from the email to reply
> > >> > >
> > >> > >
> > >> > >
> > >> > > “purushotham Reddy”
> > >> wrote
> > >> > in
> > >> > > message
> > >> > > news:xxxxx@ntdev…
> > >> > > > Hi,
> > >> > > > Experts pls advise.
> > >> > > > Designing a virtual scsi miniport that is
> > >> > > enumerated
> > >> > > > by a bus function driver as scsi device.
> As
> > >> per
> > >> > > DDK,
> > >> > > > Scsi miniport driver is designed as pnp
> > >> driver.
> > >> > > But
> > >> > > > HwFindAdapter is not being called by PNP
> > >> > > manager.After
> > >> > > > returning from driver entry(miniport), it
> > >> fails
> > >> > > > installation as “device cannot start 10”
> > >> error.
> > >> > > >
> > >> > > > Hw_INITIALIZATION_DATA->BusInterfaceType
> is
> > >> set
> > >> > as
> > >> > > > PNPBus in driverentry; called
> > >> > > scsiPortInitialize();
> > >> > > >
> > >> > > > Where am I going wrong? what changes can
> I
> > >> > > experiment
> > >> > > > in this situation here.
>
=== message truncated ===

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com