How to load a Virtual Bus driver before SCSI Miniport.

Hi,
I know there are lots of Virtual SCSI Experts on this mailing list. I am
writing a SCSI Miniport driver that depends on a virtual bus driver (Bus
driver is also mine). The SCSI Driver talks to bus driver to access the
hard Disk. So I need to have bus driver loaded and initialized before my
SCSI driver can be initialized and access the disk. If I have the
Operating system installed on this disk and restart the system it always
brings the SCSI Miniport first which in this case can not access the
disk as bus driver is not yet initialized and so OS boot cannot start.
If I am booting from another disk (not controlled by My SCSI Miniport)
than these two drivers load in order and I can access my disk fine after
System boots. Is there a way I can force OS to always load Virtual Bus
driver before SCSI Miniport. SCSI Miniport PDO is created by this
virtual Bus driver.

For Bus Driver I am setting the Group as “Boot Bus Extender” and start
as 0.
For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.

As per DDK the Group “Boot Bus Extender” drivers should be loaded before
“SCSI miniport”.

-Dinesh

The problem sounds like your bus driver is root enumerated (i.e. no real
hardware). In Windows these always load after the physical devices. This
is another reason I tell people that virtual miniports do not work. I had
to make a SCSI Port driver work on boot up with a virtual bus driver, in the
end since we contolled the server we were doing the work for, we added an
ACPI entry for the virtual bus to the BIOS so it appeard to have hardware.


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

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…
Hi,
I know there are lots of Virtual SCSI Experts on this mailing list. I am
writing a SCSI Miniport driver that depends on a virtual bus driver (Bus
driver is also mine). The SCSI Driver talks to bus driver to access the
hard Disk. So I need to have bus driver loaded and initialized before my
SCSI driver can be initialized and access the disk. If I have the
Operating system installed on this disk and restart the system it always
brings the SCSI Miniport first which in this case can not access the
disk as bus driver is not yet initialized and so OS boot cannot start.
If I am booting from another disk (not controlled by My SCSI Miniport)
than these two drivers load in order and I can access my disk fine after
System boots. Is there a way I can force OS to always load Virtual Bus
driver before SCSI Miniport. SCSI Miniport PDO is created by this
virtual Bus driver.

For Bus Driver I am setting the Group as “Boot Bus Extender” and start
as 0.
For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.

As per DDK the Group “Boot Bus Extender” drivers should be loaded before
“SCSI miniport”.

-Dinesh

The Bus driver is for a PCI Device so it has a real physical Device and
should be enumerated by PCI Bus driver? The SCSI Miniport is the child
of this Bus driver so does not has real hardware.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Thursday, August 04, 2005 5:31 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
Miniport.

The problem sounds like your bus driver is root enumerated (i.e. no real

hardware). In Windows these always load after the physical devices.
This
is another reason I tell people that virtual miniports do not work. I
had
to make a SCSI Port driver work on boot up with a virtual bus driver, in
the
end since we contolled the server we were doing the work for, we added
an
ACPI entry for the virtual bus to the BIOS so it appeard to have
hardware.


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

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…
Hi,
I know there are lots of Virtual SCSI Experts on this mailing list. I am
writing a SCSI Miniport driver that depends on a virtual bus driver (Bus
driver is also mine). The SCSI Driver talks to bus driver to access the
hard Disk. So I need to have bus driver loaded and initialized before my
SCSI driver can be initialized and access the disk. If I have the
Operating system installed on this disk and restart the system it always
brings the SCSI Miniport first which in this case can not access the
disk as bus driver is not yet initialized and so OS boot cannot start.
If I am booting from another disk (not controlled by My SCSI Miniport)
than these two drivers load in order and I can access my disk fine after
System boots. Is there a way I can force OS to always load Virtual Bus
driver before SCSI Miniport. SCSI Miniport PDO is created by this
virtual Bus driver.

For Bus Driver I am setting the Group as “Boot Bus Extender” and start
as 0.
For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.

As per DDK the Group “Boot Bus Extender” drivers should be loaded before
“SCSI miniport”.

-Dinesh


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

You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Well, I’ve never tried it with a miniport, only a port driver. I made that
decision after watching a ton of virtual miniport drivers crash and burn. I
think at this point you will need someone else, since I know of no working
virtual SCSI miniport drivers.


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

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…
The Bus driver is for a PCI Device so it has a real physical Device and
should be enumerated by PCI Bus driver? The SCSI Miniport is the child
of this Bus driver so does not has real hardware.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Thursday, August 04, 2005 5:31 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
Miniport.

The problem sounds like your bus driver is root enumerated (i.e. no real

hardware). In Windows these always load after the physical devices.
This
is another reason I tell people that virtual miniports do not work. I
had
to make a SCSI Port driver work on boot up with a virtual bus driver, in
the
end since we contolled the server we were doing the work for, we added
an
ACPI entry for the virtual bus to the BIOS so it appeard to have
hardware.


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

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…
Hi,
I know there are lots of Virtual SCSI Experts on this mailing list. I am
writing a SCSI Miniport driver that depends on a virtual bus driver (Bus
driver is also mine). The SCSI Driver talks to bus driver to access the
hard Disk. So I need to have bus driver loaded and initialized before my
SCSI driver can be initialized and access the disk. If I have the
Operating system installed on this disk and restart the system it always
brings the SCSI Miniport first which in this case can not access the
disk as bus driver is not yet initialized and so OS boot cannot start.
If I am booting from another disk (not controlled by My SCSI Miniport)
than these two drivers load in order and I can access my disk fine after
System boots. Is there a way I can force OS to always load Virtual Bus
driver before SCSI Miniport. SCSI Miniport PDO is created by this
virtual Bus driver.

For Bus Driver I am setting the Group as “Boot Bus Extender” and start
as 0.
For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.

As per DDK the Group “Boot Bus Extender” drivers should be loaded before
“SCSI miniport”.

-Dinesh


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

You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Dinesh,

you can try this out…

  1. dont put the bus & scsi drivers under pre existing
    group. Instead specify the group as a custom group as
    ‘dinesh’ . Then once both are under the same group you
    can set the ‘tag’ value for scsi miniport driver as
    ‘2’ and the tag value for bus driver as ‘1’. And check
    whether it works.

  2. Another approach could be to set the
    ‘DependOnService’ value for scsi miniport driber as
    .

    Hope this will help you.

    Som

    — “Kumar, Dinesh” wrote:

    > Hi,
    > I know there are lots of Virtual SCSI Experts on
    > this mailing list. I am
    > writing a SCSI Miniport driver that depends on a
    > virtual bus driver (Bus
    > driver is also mine). The SCSI Driver talks to bus
    > driver to access the
    > hard Disk. So I need to have bus driver loaded and
    > initialized before my
    > SCSI driver can be initialized and access the disk.
    > If I have the
    > Operating system installed on this disk and restart
    > the system it always
    > brings the SCSI Miniport first which in this case
    > can not access the
    > disk as bus driver is not yet initialized and so OS
    > boot cannot start.
    > If I am booting from another disk (not controlled by
    > My SCSI Miniport)
    > than these two drivers load in order and I can
    > access my disk fine after
    > System boots. Is there a way I can force OS to
    > always load Virtual Bus
    > driver before SCSI Miniport. SCSI Miniport PDO is
    > created by this
    > virtual Bus driver.
    >
    > For Bus Driver I am setting the Group as “Boot Bus
    > Extender” and start
    > as 0.
    > For SCSI Miniport I am setting Group as “SCSI
    > miniport” and start as 0.
    >
    > As per DDK the Group “Boot Bus Extender” drivers
    > should be loaded before
    > “SCSI miniport”.
    >
    > -Dinesh
    >
    >
    >
    > —
    > Questions? First check the Kernel Driver FAQ at
    > http://www.osronline.com/article.cfm?id=256
    >
    > You are currently subscribed to ntdev as: unknown
    > lmsubst tag argument: ‘’
    > To unsubscribe send a blank email to
    xxxxx@lists.osr.com

    If you think you can, you can.
    If you think you can’t, you are right.

    __________________________________
    Yahoo! Mail for Mobile
    Take Yahoo! Mail with you! Check email on your mobile phone.
    http://mobile.yahoo.com/learn/mail

I don’t assume having the SCSI miniport or SCSI Port driver will make a
difference for this load order issue as both these driver will fall in
SCSI Miniport class. Would you please be able to provide some more
details as what group and start values did you use for you virtual bus
driver and Port driver. That might help us also in loading these in
order…

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Thursday, August 04, 2005 5:43 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
Miniport.

Well, I’ve never tried it with a miniport, only a port driver. I made
that
decision after watching a ton of virtual miniport drivers crash and
burn. I
think at this point you will need someone else, since I know of no
working
virtual SCSI miniport drivers.


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

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…
The Bus driver is for a PCI Device so it has a real physical Device and
should be enumerated by PCI Bus driver? The SCSI Miniport is the child
of this Bus driver so does not has real hardware.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Thursday, August 04, 2005 5:31 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
Miniport.

The problem sounds like your bus driver is root enumerated (i.e. no real

hardware). In Windows these always load after the physical devices.
This
is another reason I tell people that virtual miniports do not work. I
had
to make a SCSI Port driver work on boot up with a virtual bus driver, in
the
end since we contolled the server we were doing the work for, we added
an
ACPI entry for the virtual bus to the BIOS so it appeard to have
hardware.


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

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…
Hi,
I know there are lots of Virtual SCSI Experts on this mailing list. I am
writing a SCSI Miniport driver that depends on a virtual bus driver (Bus
driver is also mine). The SCSI Driver talks to bus driver to access the
hard Disk. So I need to have bus driver loaded and initialized before my
SCSI driver can be initialized and access the disk. If I have the
Operating system installed on this disk and restart the system it always
brings the SCSI Miniport first which in this case can not access the
disk as bus driver is not yet initialized and so OS boot cannot start.
If I am booting from another disk (not controlled by My SCSI Miniport)
than these two drivers load in order and I can access my disk fine after
System boots. Is there a way I can force OS to always load Virtual Bus
driver before SCSI Miniport. SCSI Miniport PDO is created by this
virtual Bus driver.

For Bus Driver I am setting the Group as “Boot Bus Extender” and start
as 0.
For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.

As per DDK the Group “Boot Bus Extender” drivers should be loaded before
“SCSI miniport”.

-Dinesh


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

You are currently subscribed to ntdev as: xxxxx@intel.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@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

How to load a Virtual Bus driver before SCSI Miniport.Actually no. How could
there be, when a virtual SCSI miniport is impossible using either SCSIPORT
or STORPORT. You can do virtual SCSI minipoorts using 3rd party software,
but not the port drivers included with Windows NT and above. Your load order
indicates to me that you want a bus driver to control the bus, including the
IO and interrupts. Is that correct? On top of that you want to float a SCSI
min-port chlid. This child will then use the bus driver for it’s IO,
allowing other interfaces, as enumerated by the bus driver, to share this
resource. Is that correct?

The bottom line is a SCSI miniport cannot be virtualized.

The last time this was brought up, the poor soul could not get into his
FindAdapter function, but what he did not realize is that he still had the
unsolvable problem of through-put, because unless ScsiPort has access to the
interrupt, there is no way to get ScsiPort’s DPC routine scheduled other
than the timer. Using the timer, you will incur a 10 ms delay in EVERY
FRIGGING SRB you have to complete. Some how or another, the bottom layer in
this stack of cards has to be HBA/ScsiMiniPort/SCSIPORT. Any other way will
either fail, be so damn slow that no-one in their right mind will ever buy
it, or so full of system compromises that no one in their right mind would
let it in the door, let alone pay money for something that uses it.


The personal opinion of
Gary G. Little

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…

Hi,
I know there are lots of Virtual SCSI Experts on this mailing list. I am
writing a SCSI Miniport driver that depends on a virtual bus driver (Bus
driver is also mine). The SCSI Driver talks to bus driver to access the hard
Disk. So I need to have bus driver loaded and initialized before my SCSI
driver can be initialized and access the disk. If I have the Operating
system installed on this disk and restart the system it always brings the
SCSI Miniport first which in this case can not access the disk as bus driver
is not yet initialized and so OS boot cannot start. If I am booting from
another disk (not controlled by My SCSI Miniport) than these two drivers
load in order and I can access my disk fine after System boots. Is there a
way I can force OS to always load Virtual Bus driver before SCSI Miniport.
SCSI Miniport PDO is created by this virtual Bus driver.
For Bus Driver I am setting the Group as “Boot Bus Extender” and start as 0.
For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.
As per DDK the Group “Boot Bus Extender” drivers should be loaded before
“SCSI miniport”.
-Dinesh

Thanks Gary for your feedbacks. As you wrote

Your load order indicates to me that you want a bus driver to control
the bus, including the IO and interrupts. Is that correct?

Yes, this is correct. Bus driver will own the hardware but it exposes
direct entry points to be used by SCSI Miniport. So Bus Driver DPC can
function as ScsiPort’s DPC. You probably are right with all these
performance and usability issues but to reach there we need to load
these two drivers in order. Is it technically not possible to load a
driver before SCSI Miniport driver?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Friday, August 05, 2005 1:13 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
Miniport.

How to load a Virtual Bus driver before SCSI Miniport.Actually no. How
could
there be, when a virtual SCSI miniport is impossible using either
SCSIPORT
or STORPORT. You can do virtual SCSI minipoorts using 3rd party
software,
but not the port drivers included with Windows NT and above. Your load
order
indicates to me that you want a bus driver to control the bus, including
the
IO and interrupts. Is that correct? On top of that you want to float a
SCSI
min-port chlid. This child will then use the bus driver for it’s IO,
allowing other interfaces, as enumerated by the bus driver, to share
this
resource. Is that correct?

The bottom line is a SCSI miniport cannot be virtualized.

The last time this was brought up, the poor soul could not get into his
FindAdapter function, but what he did not realize is that he still had
the
unsolvable problem of through-put, because unless ScsiPort has access to
the
interrupt, there is no way to get ScsiPort’s DPC routine scheduled other

than the timer. Using the timer, you will incur a 10 ms delay in EVERY
FRIGGING SRB you have to complete. Some how or another, the bottom layer
in
this stack of cards has to be HBA/ScsiMiniPort/SCSIPORT. Any other way
will
either fail, be so damn slow that no-one in their right mind will ever
buy
it, or so full of system compromises that no one in their right mind
would
let it in the door, let alone pay money for something that uses it.


The personal opinion of
Gary G. Little

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…

Hi,
I know there are lots of Virtual SCSI Experts on this mailing list. I am

writing a SCSI Miniport driver that depends on a virtual bus driver (Bus

driver is also mine). The SCSI Driver talks to bus driver to access the
hard
Disk. So I need to have bus driver loaded and initialized before my SCSI

driver can be initialized and access the disk. If I have the Operating
system installed on this disk and restart the system it always brings
the
SCSI Miniport first which in this case can not access the disk as bus
driver
is not yet initialized and so OS boot cannot start. If I am booting from

another disk (not controlled by My SCSI Miniport) than these two drivers

load in order and I can access my disk fine after System boots. Is there
a
way I can force OS to always load Virtual Bus driver before SCSI
Miniport.
SCSI Miniport PDO is created by this virtual Bus driver.
For Bus Driver I am setting the Group as “Boot Bus Extender” and start
as 0.
For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.
As per DDK the Group “Boot Bus Extender” drivers should be loaded before

“SCSI miniport”.
-Dinesh


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

You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Sheesh. As I have said dozens of times, I spent 2 years trying to do
precisely that using a QLogic ISP2200 chip. It cannot be done, not in a
legal, documented fashion that WHQL will not fall down laughing at your
temerity.

How do you propose “hooking” SCSIPORT’s DPC, without hooking, which is
generally considered “Unclean” in this group? The miniport HAS no DPC since
it is part of SCSIPORT. The miniport has no means of calling SCSIPORT’s DPC
other than indirectly by the ISR call back from SCSIPORT or via the timer
functions. The miniport has no ISR. What it has is a CALLBACK from the
SCSIPORT’s ISR. The miniport is nothing more than an interface within
SCSIPORT. There is no way for you to do what you want to do in a documented
fashion, other than writing your own port driver or using a third party
support package.

Honestly, you are on a fools errand trying to do this with SCSIPORT or
STORPORT.

The personal opinion of
Gary G. Little

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…
Thanks Gary for your feedbacks. As you wrote

Your load order indicates to me that you want a bus driver to control
the bus, including the IO and interrupts. Is that correct?

Yes, this is correct. Bus driver will own the hardware but it exposes
direct entry points to be used by SCSI Miniport. So Bus Driver DPC can
function as ScsiPort’s DPC. You probably are right with all these
performance and usability issues but to reach there we need to load
these two drivers in order. Is it technically not possible to load a
driver before SCSI Miniport driver?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Friday, August 05, 2005 1:13 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
Miniport.

How to load a Virtual Bus driver before SCSI Miniport.Actually no. How
could
there be, when a virtual SCSI miniport is impossible using either
SCSIPORT
or STORPORT. You can do virtual SCSI minipoorts using 3rd party
software,
but not the port drivers included with Windows NT and above. Your load
order
indicates to me that you want a bus driver to control the bus, including
the
IO and interrupts. Is that correct? On top of that you want to float a
SCSI
min-port chlid. This child will then use the bus driver for it’s IO,
allowing other interfaces, as enumerated by the bus driver, to share
this
resource. Is that correct?

The bottom line is a SCSI miniport cannot be virtualized.

The last time this was brought up, the poor soul could not get into his
FindAdapter function, but what he did not realize is that he still had
the
unsolvable problem of through-put, because unless ScsiPort has access to
the
interrupt, there is no way to get ScsiPort’s DPC routine scheduled other

than the timer. Using the timer, you will incur a 10 ms delay in EVERY
FRIGGING SRB you have to complete. Some how or another, the bottom layer
in
this stack of cards has to be HBA/ScsiMiniPort/SCSIPORT. Any other way
will
either fail, be so damn slow that no-one in their right mind will ever
buy
it, or so full of system compromises that no one in their right mind
would
let it in the door, let alone pay money for something that uses it.


The personal opinion of
Gary G. Little

“Kumar, Dinesh” wrote in message
news:xxxxx@ntdev…

Hi,
I know there are lots of Virtual SCSI Experts on this mailing list. I am

writing a SCSI Miniport driver that depends on a virtual bus driver (Bus

driver is also mine). The SCSI Driver talks to bus driver to access the
hard
Disk. So I need to have bus driver loaded and initialized before my SCSI

driver can be initialized and access the disk. If I have the Operating
system installed on this disk and restart the system it always brings
the
SCSI Miniport first which in this case can not access the disk as bus
driver
is not yet initialized and so OS boot cannot start. If I am booting from

another disk (not controlled by My SCSI Miniport) than these two drivers

load in order and I can access my disk fine after System boots. Is there
a
way I can force OS to always load Virtual Bus driver before SCSI
Miniport.
SCSI Miniport PDO is created by this virtual Bus driver.
For Bus Driver I am setting the Group as “Boot Bus Extender” and start
as 0.
For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.
As per DDK the Group “Boot Bus Extender” drivers should be loaded before

“SCSI miniport”.
-Dinesh


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

You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Virtual miniports are much, much easier if you start with iSCSIprt, not
SCSIport.


Jake Oshins
Windows Kernel Group

This posting is provided “AS IS” with no warranties, and confers no rights.

“Don Burn” wrote in message news:xxxxx@ntdev…
> Well, I’ve never tried it with a miniport, only a port driver. I made
> that decision after watching a ton of virtual miniport drivers crash and
> burn. I think at this point you will need someone else, since I know of
> no working virtual SCSI miniport drivers.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> “Kumar, Dinesh” wrote in message
> news:xxxxx@ntdev…
> The Bus driver is for a PCI Device so it has a real physical Device and
> should be enumerated by PCI Bus driver? The SCSI Miniport is the child
> of this Bus driver so does not has real hardware.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
> Sent: Thursday, August 04, 2005 5:31 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
> Miniport.
>
> The problem sounds like your bus driver is root enumerated (i.e. no real
>
> hardware). In Windows these always load after the physical devices.
> This
> is another reason I tell people that virtual miniports do not work. I
> had
> to make a SCSI Port driver work on boot up with a virtual bus driver, in
> the
> end since we contolled the server we were doing the work for, we added
> an
> ACPI entry for the virtual bus to the BIOS so it appeard to have
> hardware.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> “Kumar, Dinesh” wrote in message
> news:xxxxx@ntdev…
> Hi,
> I know there are lots of Virtual SCSI Experts on this mailing list. I am
> writing a SCSI Miniport driver that depends on a virtual bus driver (Bus
> driver is also mine). The SCSI Driver talks to bus driver to access the
> hard Disk. So I need to have bus driver loaded and initialized before my
> SCSI driver can be initialized and access the disk. If I have the
> Operating system installed on this disk and restart the system it always
> brings the SCSI Miniport first which in this case can not access the
> disk as bus driver is not yet initialized and so OS boot cannot start.
> If I am booting from another disk (not controlled by My SCSI Miniport)
> than these two drivers load in order and I can access my disk fine after
> System boots. Is there a way I can force OS to always load Virtual Bus
> driver before SCSI Miniport. SCSI Miniport PDO is created by this
> virtual Bus driver.
>
> For Bus Driver I am setting the Group as “Boot Bus Extender” and start
> as 0.
> For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.
>
> As per DDK the Group “Boot Bus Extender” drivers should be loaded before
> “SCSI miniport”.
>
> -Dinesh
>
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@intel.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>

The correct solution for such a programming is to write the full storage
port.

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

----- Original Message -----
From: “Gary G. Little”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Saturday, August 06, 2005 1:41 AM
Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI Miniport.

> Sheesh. As I have said dozens of times, I spent 2 years trying to do
> precisely that using a QLogic ISP2200 chip. It cannot be done, not in a
> legal, documented fashion that WHQL will not fall down laughing at your
> temerity.
>
> How do you propose “hooking” SCSIPORT’s DPC, without hooking, which is
> generally considered “Unclean” in this group? The miniport HAS no DPC since
> it is part of SCSIPORT. The miniport has no means of calling SCSIPORT’s DPC
> other than indirectly by the ISR call back from SCSIPORT or via the timer
> functions. The miniport has no ISR. What it has is a CALLBACK from the
> SCSIPORT’s ISR. The miniport is nothing more than an interface within
> SCSIPORT. There is no way for you to do what you want to do in a documented
> fashion, other than writing your own port driver or using a third party
> support package.
>
> Honestly, you are on a fools errand trying to do this with SCSIPORT or
> STORPORT.
> –
> The personal opinion of
> Gary G. Little
>
> “Kumar, Dinesh” wrote in message
> news:xxxxx@ntdev…
> Thanks Gary for your feedbacks. As you wrote
>
> Your load order indicates to me that you want a bus driver to control
> the bus, including the IO and interrupts. Is that correct?
>
> Yes, this is correct. Bus driver will own the hardware but it exposes
> direct entry points to be used by SCSI Miniport. So Bus Driver DPC can
> function as ScsiPort’s DPC. You probably are right with all these
> performance and usability issues but to reach there we need to load
> these two drivers in order. Is it technically not possible to load a
> driver before SCSI Miniport driver?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
> Sent: Friday, August 05, 2005 1:13 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
> Miniport.
>
> How to load a Virtual Bus driver before SCSI Miniport.Actually no. How
> could
> there be, when a virtual SCSI miniport is impossible using either
> SCSIPORT
> or STORPORT. You can do virtual SCSI minipoorts using 3rd party
> software,
> but not the port drivers included with Windows NT and above. Your load
> order
> indicates to me that you want a bus driver to control the bus, including
> the
> IO and interrupts. Is that correct? On top of that you want to float a
> SCSI
> min-port chlid. This child will then use the bus driver for it’s IO,
> allowing other interfaces, as enumerated by the bus driver, to share
> this
> resource. Is that correct?
>
> The bottom line is a SCSI miniport cannot be virtualized.
>
> The last time this was brought up, the poor soul could not get into his
> FindAdapter function, but what he did not realize is that he still had
> the
> unsolvable problem of through-put, because unless ScsiPort has access to
> the
> interrupt, there is no way to get ScsiPort’s DPC routine scheduled other
>
> than the timer. Using the timer, you will incur a 10 ms delay in EVERY
> FRIGGING SRB you have to complete. Some how or another, the bottom layer
> in
> this stack of cards has to be HBA/ScsiMiniPort/SCSIPORT. Any other way
> will
> either fail, be so damn slow that no-one in their right mind will ever
> buy
> it, or so full of system compromises that no one in their right mind
> would
> let it in the door, let alone pay money for something that uses it.
>
> –
> The personal opinion of
> Gary G. Little
>
> “Kumar, Dinesh” wrote in message
> news:xxxxx@ntdev…
>
> Hi,
> I know there are lots of Virtual SCSI Experts on this mailing list. I am
>
> writing a SCSI Miniport driver that depends on a virtual bus driver (Bus
>
> driver is also mine). The SCSI Driver talks to bus driver to access the
> hard
> Disk. So I need to have bus driver loaded and initialized before my SCSI
>
> driver can be initialized and access the disk. If I have the Operating
> system installed on this disk and restart the system it always brings
> the
> SCSI Miniport first which in this case can not access the disk as bus
> driver
> is not yet initialized and so OS boot cannot start. If I am booting from
>
> another disk (not controlled by My SCSI Miniport) than these two drivers
>
> load in order and I can access my disk fine after System boots. Is there
> a
> way I can force OS to always load Virtual Bus driver before SCSI
> Miniport.
> SCSI Miniport PDO is created by this virtual Bus driver.
> For Bus Driver I am setting the Group as “Boot Bus Extender” and start
> as 0.
> For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.
> As per DDK the Group “Boot Bus Extender” drivers should be loaded before
>
> “SCSI miniport”.
> -Dinesh
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@intel.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@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Are you suggesting writing an iSCSI server?

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

----- Original Message -----
From: “Jake Oshins”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Saturday, August 06, 2005 2:20 AM
Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI Miniport.

> Virtual miniports are much, much easier if you start with iSCSIprt, not
> SCSIport.
>
> –
> Jake Oshins
> Windows Kernel Group
>
> This posting is provided “AS IS” with no warranties, and confers no rights.
>
>
> “Don Burn” wrote in message news:xxxxx@ntdev…
> > Well, I’ve never tried it with a miniport, only a port driver. I made
> > that decision after watching a ton of virtual miniport drivers crash and
> > burn. I think at this point you will need someone else, since I know of
> > no working virtual SCSI miniport drivers.
> >
> >
> > –
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > Remove StopSpam from the email to reply
> >
> >
> >
> > “Kumar, Dinesh” wrote in message
> > news:xxxxx@ntdev…
> > The Bus driver is for a PCI Device so it has a real physical Device and
> > should be enumerated by PCI Bus driver? The SCSI Miniport is the child
> > of this Bus driver so does not has real hardware.
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
> > Sent: Thursday, August 04, 2005 5:31 PM
> > To: Windows System Software Devs Interest List
> > Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
> > Miniport.
> >
> > The problem sounds like your bus driver is root enumerated (i.e. no real
> >
> > hardware). In Windows these always load after the physical devices.
> > This
> > is another reason I tell people that virtual miniports do not work. I
> > had
> > to make a SCSI Port driver work on boot up with a virtual bus driver, in
> > the
> > end since we contolled the server we were doing the work for, we added
> > an
> > ACPI entry for the virtual bus to the BIOS so it appeard to have
> > hardware.
> >
> >
> > –
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > Remove StopSpam from the email to reply
> >
> >
> >
> > “Kumar, Dinesh” wrote in message
> > news:xxxxx@ntdev…
> > Hi,
> > I know there are lots of Virtual SCSI Experts on this mailing list. I am
> > writing a SCSI Miniport driver that depends on a virtual bus driver (Bus
> > driver is also mine). The SCSI Driver talks to bus driver to access the
> > hard Disk. So I need to have bus driver loaded and initialized before my
> > SCSI driver can be initialized and access the disk. If I have the
> > Operating system installed on this disk and restart the system it always
> > brings the SCSI Miniport first which in this case can not access the
> > disk as bus driver is not yet initialized and so OS boot cannot start.
> > If I am booting from another disk (not controlled by My SCSI Miniport)
> > than these two drivers load in order and I can access my disk fine after
> > System boots. Is there a way I can force OS to always load Virtual Bus
> > driver before SCSI Miniport. SCSI Miniport PDO is created by this
> > virtual Bus driver.
> >
> > For Bus Driver I am setting the Group as “Boot Bus Extender” and start
> > as 0.
> > For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.
> >
> > As per DDK the Group “Boot Bus Extender” drivers should be loaded before
> > “SCSI miniport”.
> >
> > -Dinesh
> >
> >
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@intel.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@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

> Virtual miniports are much, much easier if you start with iSCSIprt, not

SCSIport.

Jake,

I see nothing called iSCSIPrt in the current DDK sample source tree. Are you
saying there is an iSCSI sample driver available in source form? If so where
do I find it, or who do I need to talk to?

  • Jan

There is a library in the WDK Beta1.

“Jan Bottorff” wrote in message news:xxxxx@ntdev…
>> Virtual miniports are much, much easier if you start with iSCSIprt, not
>> SCSIport.
>
> Jake,
>
> I see nothing called iSCSIPrt in the current DDK sample source tree. Are
> you
> saying there is an iSCSI sample driver available in source form? If so
> where
> do I find it, or who do I need to talk to?
>
> - Jan
>
>
>

Iscsiprt is the port driver - based on Storport - used by the MS iSCSI
initiator (there is an associated virtual miniport). Nothing to do with
writing an iSCSI server.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Friday, August 05, 2005 7:09 PM
Subject: Re: Re:How to load a Virtual Bus driver before SCSI Miniport.

Are you suggesting writing an iSCSI server?

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

----- Original Message -----
From: “Jake Oshins”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Saturday, August 06, 2005 2:20 AM
Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
Miniport.

> Virtual miniports are much, much easier if you start with iSCSIprt,
not
> SCSIport.
>
> –
> Jake Oshins
> Windows Kernel Group
>
> This posting is provided “AS IS” with no warranties, and confers no
rights.
>
>
> “Don Burn” wrote in message news:xxxxx@ntdev…
> > Well, I’ve never tried it with a miniport, only a port driver. I
made
> > that decision after watching a ton of virtual miniport drivers crash
and
> > burn. I think at this point you will need someone else, since I
know of
> > no working virtual SCSI miniport drivers.
> >
> >
> > –
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > Remove StopSpam from the email to reply
> >
> >
> >
> > “Kumar, Dinesh” wrote in message
> > news:xxxxx@ntdev…
> > The Bus driver is for a PCI Device so it has a real physical Device
and
> > should be enumerated by PCI Bus driver? The SCSI Miniport is the
child
> > of this Bus driver so does not has real hardware.
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
> > Sent: Thursday, August 04, 2005 5:31 PM
> > To: Windows System Software Devs Interest List
> > Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
> > Miniport.
> >
> > The problem sounds like your bus driver is root enumerated (i.e. no
real
> >
> > hardware). In Windows these always load after the physical devices.
> > This
> > is another reason I tell people that virtual miniports do not work.
I
> > had
> > to make a SCSI Port driver work on boot up with a virtual bus
driver, in
> > the
> > end since we contolled the server we were doing the work for, we
added
> > an
> > ACPI entry for the virtual bus to the BIOS so it appeard to have
> > hardware.
> >
> >
> > –
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > Remove StopSpam from the email to reply
> >
> >
> >
> > “Kumar, Dinesh” wrote in message
> > news:xxxxx@ntdev…
> > Hi,
> > I know there are lots of Virtual SCSI Experts on this mailing list.
I am
> > writing a SCSI Miniport driver that depends on a virtual bus driver
(Bus
> > driver is also mine). The SCSI Driver talks to bus driver to access
the
> > hard Disk. So I need to have bus driver loaded and initialized
before my
> > SCSI driver can be initialized and access the disk. If I have the
> > Operating system installed on this disk and restart the system it
always
> > brings the SCSI Miniport first which in this case can not access the
> > disk as bus driver is not yet initialized and so OS boot cannot
start.
> > If I am booting from another disk (not controlled by My SCSI
Miniport)
> > than these two drivers load in order and I can access my disk fine
after
> > System boots. Is there a way I can force OS to always load Virtual
Bus
> > driver before SCSI Miniport. SCSI Miniport PDO is created by this
> > virtual Bus driver.
> >
> > For Bus Driver I am setting the Group as “Boot Bus Extender” and
start
> > as 0.
> > For SCSI Miniport I am setting Group as “SCSI miniport” and start as
0.
> >
> > As per DDK the Group “Boot Bus Extender” drivers should be loaded
before
> > “SCSI miniport”.
> >
> > -Dinesh
> >
> >
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@intel.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@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Jeff,

Can I use iSCSI port(MS provided)driver for iSCSI Boot
with my virtual miniport?

Thanks,
Puru

— Jeffrey Goldner wrote:

> Iscsiprt is the port driver - based on Storport -
> used by the MS iSCSI
> initiator (there is an associated virtual miniport).
> Nothing to do with
> writing an iSCSI server.
>
> -----Original Message-----
> From: Maxim S. Shatskih
> [mailto:xxxxx@storagecraft.com]
> Sent: Friday, August 05, 2005 7:09 PM
> Subject: Re: Re:How to load a Virtual Bus driver
> before SCSI Miniport.
>
> Are you suggesting writing an iSCSI server?
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Jake Oshins”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
>
> Sent: Saturday, August 06, 2005 2:20 AM
> Subject: Re:[ntdev] How to load a Virtual Bus driver
> before SCSI
> Miniport.
>
>
> > Virtual miniports are much, much easier if you
> start with iSCSIprt,
> not
> > SCSIport.
> >
> > –
> > Jake Oshins
> > Windows Kernel Group
> >
> > This posting is provided “AS IS” with no
> warranties, and confers no
> rights.
> >
> >
> > “Don Burn” wrote in message
> news:xxxxx@ntdev…
> > > Well, I’ve never tried it with a miniport, only
> a port driver. I
> made
> > > that decision after watching a ton of virtual
> miniport drivers crash
> and
> > > burn. I think at this point you will need
> someone else, since I
> know of
> > > no working virtual SCSI miniport drivers.
> > >
> > >
> > > –
> > > Don Burn (MVP, Windows DDK)
> > > Windows 2k/XP/2k3 Filesystem and Driver
> Consulting
> > > Remove StopSpam from the email to reply
> > >
> > >
> > >
> > > “Kumar, Dinesh” wrote
> in message
> > > news:xxxxx@ntdev…
> > > The Bus driver is for a PCI Device so it has a
> real physical Device
> and
> > > should be enumerated by PCI Bus driver? The SCSI
> Miniport is the
> child
> > > of this Bus driver so does not has real
> hardware.
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On
> Behalf Of Don Burn
> > > Sent: Thursday, August 04, 2005 5:31 PM
> > > To: Windows System Software Devs Interest List
> > > Subject: Re:[ntdev] How to load a Virtual Bus
> driver before SCSI
> > > Miniport.
> > >
> > > The problem sounds like your bus driver is root
> enumerated (i.e. no
> real
> > >
> > > hardware). In Windows these always load after
> the physical devices.
> > > This
> > > is another reason I tell people that virtual
> miniports do not work.
> I
> > > had
> > > to make a SCSI Port driver work on boot up with
> a virtual bus
> driver, in
> > > the
> > > end since we contolled the server we were doing
> the work for, we
> added
> > > an
> > > ACPI entry for the virtual bus to the BIOS so it
> appeard to have
> > > hardware.
> > >
> > >
> > > –
> > > Don Burn (MVP, Windows DDK)
> > > Windows 2k/XP/2k3 Filesystem and Driver
> Consulting
> > > Remove StopSpam from the email to reply
> > >
> > >
> > >
> > > “Kumar, Dinesh” wrote
> in message
> > > news:xxxxx@ntdev…
> > > Hi,
> > > I know there are lots of Virtual SCSI Experts on
> this mailing list.
> I am
> > > writing a SCSI Miniport driver that depends on a
> virtual bus driver
> (Bus
> > > driver is also mine). The SCSI Driver talks to
> bus driver to access
> the
> > > hard Disk. So I need to have bus driver loaded
> and initialized
> before my
> > > SCSI driver can be initialized and access the
> disk. If I have the
> > > Operating system installed on this disk and
> restart the system it
> always
> > > brings the SCSI Miniport first which in this
> case can not access the
> > > disk as bus driver is not yet initialized and so
> OS boot cannot
> start.
> > > If I am booting from another disk (not
> controlled by My SCSI
> Miniport)
> > > than these two drivers load in order and I can
> access my disk fine
> after
> > > System boots. Is there a way I can force OS to
> always load Virtual
> Bus
> > > driver before SCSI Miniport. SCSI Miniport PDO
> is created by this
> > > virtual Bus driver.
> > >
> > > For Bus Driver I am setting the Group as “Boot
> Bus Extender” and
> start
> > > as 0.
> > > For SCSI Miniport I am setting Group as “SCSI
> miniport” and start as
> 0.
> > >
> > > As per DDK the Group “Boot Bus Extender” drivers
> should be loaded
> before
> > > “SCSI miniport”.
> > >
> > > -Dinesh
> > >
> > >
> > >
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as:
> xxxxx@intel.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@storagecraft.com
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
=== message truncated ===

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

No. As Jeff Goldner said, you can use just the iSCSIprt port driver, in
place of storport.sys. It’s essentially storport without the restrictions,
allowing a full WDM bottom end. Inherently, it has nothing to do with
iSCSI.


Jake Oshins
Windows Kernel Group

This posting is provided “AS IS” with no warranties, and confers no rights.

“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
> Are you suggesting writing an iSCSI server?
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Jake Oshins”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Saturday, August 06, 2005 2:20 AM
> Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI Miniport.
>
>
>> Virtual miniports are much, much easier if you start with iSCSIprt, not
>> SCSIport.
>>
>> –
>> Jake Oshins
>> Windows Kernel Group
>>
>> This posting is provided “AS IS” with no warranties, and confers no
>> rights.
>>
>>
>> “Don Burn” wrote in message news:xxxxx@ntdev…
>> > Well, I’ve never tried it with a miniport, only a port driver. I made
>> > that decision after watching a ton of virtual miniport drivers crash
>> > and
>> > burn. I think at this point you will need someone else, since I know
>> > of
>> > no working virtual SCSI miniport drivers.
>> >
>> >
>> > –
>> > Don Burn (MVP, Windows DDK)
>> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> > Remove StopSpam from the email to reply
>> >
>> >
>> >
>> > “Kumar, Dinesh” wrote in message
>> > news:xxxxx@ntdev…
>> > The Bus driver is for a PCI Device so it has a real physical Device and
>> > should be enumerated by PCI Bus driver? The SCSI Miniport is the child
>> > of this Bus driver so does not has real hardware.
>> >
>> > -----Original Message-----
>> > From: xxxxx@lists.osr.com
>> > [mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
>> > Sent: Thursday, August 04, 2005 5:31 PM
>> > To: Windows System Software Devs Interest List
>> > Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
>> > Miniport.
>> >
>> > The problem sounds like your bus driver is root enumerated (i.e. no
>> > real
>> >
>> > hardware). In Windows these always load after the physical devices.
>> > This
>> > is another reason I tell people that virtual miniports do not work. I
>> > had
>> > to make a SCSI Port driver work on boot up with a virtual bus driver,
>> > in
>> > the
>> > end since we contolled the server we were doing the work for, we added
>> > an
>> > ACPI entry for the virtual bus to the BIOS so it appeard to have
>> > hardware.
>> >
>> >
>> > –
>> > Don Burn (MVP, Windows DDK)
>> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> > Remove StopSpam from the email to reply
>> >
>> >
>> >
>> > “Kumar, Dinesh” wrote in message
>> > news:xxxxx@ntdev…
>> > Hi,
>> > I know there are lots of Virtual SCSI Experts on this mailing list. I
>> > am
>> > writing a SCSI Miniport driver that depends on a virtual bus driver
>> > (Bus
>> > driver is also mine). The SCSI Driver talks to bus driver to access the
>> > hard Disk. So I need to have bus driver loaded and initialized before
>> > my
>> > SCSI driver can be initialized and access the disk. If I have the
>> > Operating system installed on this disk and restart the system it
>> > always
>> > brings the SCSI Miniport first which in this case can not access the
>> > disk as bus driver is not yet initialized and so OS boot cannot start.
>> > If I am booting from another disk (not controlled by My SCSI Miniport)
>> > than these two drivers load in order and I can access my disk fine
>> > after
>> > System boots. Is there a way I can force OS to always load Virtual Bus
>> > driver before SCSI Miniport. SCSI Miniport PDO is created by this
>> > virtual Bus driver.
>> >
>> > For Bus Driver I am setting the Group as “Boot Bus Extender” and start
>> > as 0.
>> > For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.
>> >
>> > As per DDK the Group “Boot Bus Extender” drivers should be loaded
>> > before
>> > “SCSI miniport”.
>> >
>> > -Dinesh
>> >
>> >
>> >
>> >
>> >
>> > —
>> > Questions? First check the Kernel Driver FAQ at
>> > http://www.osronline.com/article.cfm?id=256
>> >
>> > You are currently subscribed to ntdev as: xxxxx@intel.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@storagecraft.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

Any chance to see it as STANDARD component of Windows and not as iSCSI
initiator add-on?

Regards,
Anton Kolomyeytsev

CEO, Rocket Division Software

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jake Oshins
Sent: Wednesday, August 10, 2005 7:54 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Re:How to load a Virtual Bus driver before SCSI
Miniport.

No. As Jeff Goldner said, you can use just the iSCSIprt port driver, in
place of storport.sys. It’s essentially storport without the restrictions,
allowing a full WDM bottom end. Inherently, it has nothing to do with
iSCSI.


Jake Oshins
Windows Kernel Group

This posting is provided “AS IS” with no warranties, and confers no rights.

“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
> Are you suggesting writing an iSCSI server?
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Jake Oshins”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Saturday, August 06, 2005 2:20 AM
> Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI Miniport.
>
>
>> Virtual miniports are much, much easier if you start with iSCSIprt,
>> not SCSIport.
>>
>> –
>> Jake Oshins
>> Windows Kernel Group
>>
>> This posting is provided “AS IS” with no warranties, and confers no
>> rights.
>>
>>
>> “Don Burn” wrote in message news:xxxxx@ntdev…
>> > Well, I’ve never tried it with a miniport, only a port driver. I
>> > made that decision after watching a ton of virtual miniport drivers
>> > crash and burn. I think at this point you will need someone else,
>> > since I know of no working virtual SCSI miniport drivers.
>> >
>> >
>> > –
>> > Don Burn (MVP, Windows DDK)
>> > Windows 2k/XP/2k3 Filesystem and Driver Consulting Remove StopSpam
>> > from the email to reply
>> >
>> >
>> >
>> > “Kumar, Dinesh” wrote in message
>> > news:xxxxx@ntdev…
>> > The Bus driver is for a PCI Device so it has a real physical Device
>> > and should be enumerated by PCI Bus driver? The SCSI Miniport is
>> > the child of this Bus driver so does not has real hardware.
>> >
>> > -----Original Message-----
>> > From: xxxxx@lists.osr.com
>> > [mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
>> > Sent: Thursday, August 04, 2005 5:31 PM
>> > To: Windows System Software Devs Interest List
>> > Subject: Re:[ntdev] How to load a Virtual Bus driver before SCSI
>> > Miniport.
>> >
>> > The problem sounds like your bus driver is root enumerated (i.e. no
>> > real
>> >
>> > hardware). In Windows these always load after the physical devices.
>> > This
>> > is another reason I tell people that virtual miniports do not work.
>> > I had to make a SCSI Port driver work on boot up with a virtual bus
>> > driver, in the end since we contolled the server we were doing the
>> > work for, we added an ACPI entry for the virtual bus to the BIOS so
>> > it appeard to have hardware.
>> >
>> >
>> > –
>> > Don Burn (MVP, Windows DDK)
>> > Windows 2k/XP/2k3 Filesystem and Driver Consulting Remove StopSpam
>> > from the email to reply
>> >
>> >
>> >
>> > “Kumar, Dinesh” wrote in message
>> > news:xxxxx@ntdev…
>> > Hi,
>> > I know there are lots of Virtual SCSI Experts on this mailing list.
>> > I am writing a SCSI Miniport driver that depends on a virtual bus
>> > driver (Bus driver is also mine). The SCSI Driver talks to bus
>> > driver to access the hard Disk. So I need to have bus driver loaded
>> > and initialized before my SCSI driver can be initialized and access
>> > the disk. If I have the Operating system installed on this disk and
>> > restart the system it always brings the SCSI Miniport first which
>> > in this case can not access the disk as bus driver is not yet
>> > initialized and so OS boot cannot start.
>> > If I am booting from another disk (not controlled by My SCSI
>> > Miniport) than these two drivers load in order and I can access my
>> > disk fine after System boots. Is there a way I can force OS to
>> > always load Virtual Bus driver before SCSI Miniport. SCSI Miniport
>> > PDO is created by this virtual Bus driver.
>> >
>> > For Bus Driver I am setting the Group as “Boot Bus Extender” and
>> > start as 0.
>> > For SCSI Miniport I am setting Group as “SCSI miniport” and start as 0.
>> >
>> > As per DDK the Group “Boot Bus Extender” drivers should be loaded
>> > before “SCSI miniport”.
>> >
>> > -Dinesh
>> >
>> >
>> >
>> >
>> >
>> > —
>> > Questions? First check the Kernel Driver FAQ at
>> > http://www.osronline.com/article.cfm?id=256
>> >
>> > You are currently subscribed to ntdev as: xxxxx@intel.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@storagecraft.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@voliacable.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

Jake Oshins said:

No. As Jeff Goldner said, you can use just the iSCSIprt port driver, in
place of storport.sys. It’s essentially storport without the
restrictions,
allowing a full WDM bottom end. Inherently, it has nothing to do with
iSCSI.

Jake,

Can you tell me if the iSCSIprt port driver is available on CURRENT
platforms, like W2K3 and WXP?

I’m doing work at a company that may need to write a combination SCSI/LAN
driver for their TCP/iSCSI offloaded network card. I know in the past, fibre
channel folks had a tough time coming up with a single driver than did
storage and networking on the same hardware, and am looking for what the
most appropriate way to do this TODAY would be. Something that talked WDM on
the bottom, and both SCSI port and NDIS 5.1/5.2 on the top would describe
things. This might also be 3 drivers, one that was WDM on the bottom and a
private interface in the top, and then a SCSI Port top and NDIS top that
communicated with a common private bottom (which seems like to makes the top
edge of the common bottom driver be a private bus driver).

  • Jan

The current driver from the iSCSI initiator kit works on all versions of
Windows from Win2K onwards and is included in LH/Vista.

-----Original Message-----
From: Jan Bottorff [mailto:xxxxx@pmatrix.com]
Sent: Wednesday, August 10, 2005 8:48 PM
Subject: RE: Re:How to load a Virtual Bus driver before SCSI Miniport.

Jake Oshins said:

No. As Jeff Goldner said, you can use just the iSCSIprt port driver,
in
place of storport.sys. It’s essentially storport without the
restrictions,
allowing a full WDM bottom end. Inherently, it has nothing to do with
iSCSI.

Jake,

Can you tell me if the iSCSIprt port driver is available on CURRENT
platforms, like W2K3 and WXP?

I’m doing work at a company that may need to write a combination
SCSI/LAN
driver for their TCP/iSCSI offloaded network card. I know in the past,
fibre
channel folks had a tough time coming up with a single driver than did
storage and networking on the same hardware, and am looking for what the
most appropriate way to do this TODAY would be. Something that talked
WDM on
the bottom, and both SCSI port and NDIS 5.1/5.2 on the top would
describe
things. This might also be 3 drivers, one that was WDM on the bottom and
a
private interface in the top, and then a SCSI Port top and NDIS top that
communicated with a common private bottom (which seems like to makes the
top
edge of the common bottom driver be a private bus driver).

  • Jan