From: yushang on
On Aug 21, 10:20 pm, yushang <yus...(a)gmail.com> wrote:
> On Aug 21, 10:02 pm, "Don Burn" <b...(a)stopspam.windrvr.com> wrote:
>
>
>
> > NoiaStoris the driver for the PDO for the controller. Disk.sys is the
> > driver for the actual disk. Look athttp://msdn.microsoft.com/en-us/library/ms801427.aspx
>
> > --
> > Don Burn (MVP, Windows DKD)
> > Windows Filesystem and Driver Consulting
> > Website:http://www.windrvr.com
> > Blog:http://msmvps.com/blogs/WinDrvr
> > Remove StopSpam to reply
>
> > "yushang" <yus...(a)gmail.com> wrote in message
>
> >news:7744c5c6-2939-470c-a849-d5c664d0ab18(a)u16g2000pru.googlegroups.com...
>
> > > On Aug 21, 9:24 pm, "Don Burn" <b...(a)stopspam.windrvr.com> wrote:
> > >> DriveriaStoris a miniport that links to the storport.sys which is a
> > >> DLL.
> > >> The storport.sys provides the capabilities of a bus driver to enumerate
> > >> the
> > >> devices on the SCSI bus as PDO's. The PDO's indicate that the device is
> > >> of
> > >> class disk for instance which causes disk.sys to be loaded as the driver
> > >> for
> > >> that PDO.
>
> > >> --
> > >> Don Burn (MVP, Windows DKD)
> > >> Windows Filesystem and Driver Consulting
> > >> Website:http://www.windrvr.com
> > >> Blog:http://msmvps.com/blogs/WinDrvr
> > >> Remove StopSpam to reply
>
> > >> > How did you mean "port class driver" ? I just know miniport driver or
> > >> > class driver , the former link to port lib and the latter link to
> > >> > classpnp lib . Take this devstack as an example :
> > >> > !DevObj !DrvObj !DevExt ObjectName
> > >> > 82d35678 \Driver\PartMgr 82d35730
> > >> > 82d0c030 \Driver\Shockprf 82d0c0e8
> > >> > 82d35ab8 \Driver\Disk 82d35b70 DR0
> > >> > 82d0e710 \Driver\ACPI 82dd5590 00000084
> > >> > 82783038 \Driver\iaStor 827830f0 IAAStorageDevice-0
> > >> > Disk.sys is loaded aboveiaStor
>
> > >> __________ Information from ESET NOD32 Antivirus, version of virus
> > >> signature database 4355 (20090821) __________
>
> > >> The message was checked by ESET NOD32 Antivirus.
>
> > >>http://www.eset.com
>
> > > How did you mean by saying " ...disk.sys to be loaded as the driver
> > > for
> > > that PDO. " ? In fact PDO's driver isiaStor, right ?
>
> > > __________ Information from ESET NOD32 Antivirus, version of virus
> > > signature database 4355 (20090821) __________
>
> > > The message was checked by ESET NOD32 Antivirus.
>
> > >http://www.eset.com
>
> > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4355 (20090821) __________
>
> > The message was checked by ESET NOD32 Antivirus.
>
> >http://www.eset.com
>
> iaStorwill enumerate the pyhsical disk attached to it , for every
> disk create a PDO . disk will enumerate partitions on a physical
> disk , for every partition create a PDO . So I guess the following
> diagram:
>
> FDO <- disk -> PDO for partition
> +
> FDO <-iaStor-> PDO for disk
> +
> PDO <- PCI bus

Any cpmments ?
From: yushang on
On Aug 21, 10:20 pm, yushang <yus...(a)gmail.com> wrote:
> On Aug 21, 10:02 pm, "Don Burn" <b...(a)stopspam.windrvr.com> wrote:
>
>
>
> > NoiaStoris the driver for the PDO for the controller. Disk.sys is the
> > driver for the actual disk. Look athttp://msdn.microsoft.com/en-us/library/ms801427.aspx
>
> > --
> > Don Burn (MVP, Windows DKD)
> > Windows Filesystem and Driver Consulting
> > Website:http://www.windrvr.com
> > Blog:http://msmvps.com/blogs/WinDrvr
> > Remove StopSpam to reply
>
> > "yushang" <yus...(a)gmail.com> wrote in message
>
> >news:7744c5c6-2939-470c-a849-d5c664d0ab18(a)u16g2000pru.googlegroups.com...
>
> > > On Aug 21, 9:24 pm, "Don Burn" <b...(a)stopspam.windrvr.com> wrote:
> > >> DriveriaStoris a miniport that links to the storport.sys which is a
> > >> DLL.
> > >> The storport.sys provides the capabilities of a bus driver to enumerate
> > >> the
> > >> devices on the SCSI bus as PDO's. The PDO's indicate that the device is
> > >> of
> > >> class disk for instance which causes disk.sys to be loaded as the driver
> > >> for
> > >> that PDO.
>
> > >> --
> > >> Don Burn (MVP, Windows DKD)
> > >> Windows Filesystem and Driver Consulting
> > >> Website:http://www.windrvr.com
> > >> Blog:http://msmvps.com/blogs/WinDrvr
> > >> Remove StopSpam to reply
>
> > >> > How did you mean "port class driver" ? I just know miniport driver or
> > >> > class driver , the former link to port lib and the latter link to
> > >> > classpnp lib . Take this devstack as an example :
> > >> > !DevObj !DrvObj !DevExt ObjectName
> > >> > 82d35678 \Driver\PartMgr 82d35730
> > >> > 82d0c030 \Driver\Shockprf 82d0c0e8
> > >> > 82d35ab8 \Driver\Disk 82d35b70 DR0
> > >> > 82d0e710 \Driver\ACPI 82dd5590 00000084
> > >> > 82783038 \Driver\iaStor 827830f0 IAAStorageDevice-0
> > >> > Disk.sys is loaded aboveiaStor
>
> > >> __________ Information from ESET NOD32 Antivirus, version of virus
> > >> signature database 4355 (20090821) __________
>
> > >> The message was checked by ESET NOD32 Antivirus.
>
> > >>http://www.eset.com
>
> > > How did you mean by saying " ...disk.sys to be loaded as the driver
> > > for
> > > that PDO. " ? In fact PDO's driver isiaStor, right ?
>
> > > __________ Information from ESET NOD32 Antivirus, version of virus
> > > signature database 4355 (20090821) __________
>
> > > The message was checked by ESET NOD32 Antivirus.
>
> > >http://www.eset.com
>
> > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4355 (20090821) __________
>
> > The message was checked by ESET NOD32 Antivirus.
>
> >http://www.eset.com
>
> iaStorwill enumerate the pyhsical disk attached to it , for every
> disk create a PDO . disk will enumerate partitions on a physical
> disk , for every partition create a PDO . So I guess the following
> diagram:
>
> FDO <- disk -> PDO for partition
> +
> FDO <-iaStor-> PDO for disk
> +
> PDO <- PCI bus

Any comments ?
From: eagersh on
On Oct 3, 1:26 pm, yushang <yus...(a)gmail.com> wrote:
> On Aug 21, 10:20 pm, yushang <yus...(a)gmail.com> wrote:
>
>
>
> > On Aug 21, 10:02 pm, "Don Burn" <b...(a)stopspam.windrvr.com> wrote:
>
> > > NoiaStoris the driver for the PDO for the controller.  Disk.sys is the
> > > driver for the actual disk.  Look athttp://msdn.microsoft.com/en-us/library/ms801427.aspx
>
> > > --
> > > Don Burn (MVP, Windows DKD)
> > > Windows Filesystem and Driver Consulting
> > > Website:http://www.windrvr.com
> > > Blog:http://msmvps.com/blogs/WinDrvr
> > > Remove StopSpam to reply
>
> > > "yushang" <yus...(a)gmail.com> wrote in message
>
> > >news:7744c5c6-2939-470c-a849-d5c664d0ab18(a)u16g2000pru.googlegroups.com....
>
> > > > On Aug 21, 9:24 pm, "Don Burn" <b...(a)stopspam.windrvr.com> wrote:
> > > >> DriveriaStoris a miniport that links to the storport.sys which is a
> > > >> DLL.
> > > >> The storport.sys provides the capabilities of a bus driver to enumerate
> > > >> the
> > > >> devices on the SCSI bus as PDO's.  The PDO's indicate that the device is
> > > >> of
> > > >> class disk for instance which causes disk.sys to be loaded as the driver
> > > >> for
> > > >> that PDO.
>
> > > >> --
> > > >> Don Burn (MVP, Windows DKD)
> > > >> Windows Filesystem and Driver Consulting
> > > >> Website:http://www.windrvr.com
> > > >> Blog:http://msmvps.com/blogs/WinDrvr
> > > >> Remove StopSpam to reply
>
> > > >> > How did you mean "port class driver" ? I just know miniport driver or
> > > >> > class driver , the former link to port lib and the latter link to
> > > >> > classpnp lib . Take this devstack as an example :
> > > >> >  !DevObj   !DrvObj            !DevExt   ObjectName
> > > >> >  82d35678  \Driver\PartMgr    82d35730
> > > >> >  82d0c030  \Driver\Shockprf   82d0c0e8
> > > >> >  82d35ab8  \Driver\Disk       82d35b70  DR0
> > > >> >  82d0e710  \Driver\ACPI       82dd5590  00000084
> > > >> >  82783038  \Driver\iaStor    827830f0  IAAStorageDevice-0
> > > >> > Disk.sys is loaded aboveiaStor
>
> > > >> __________ Information from ESET NOD32 Antivirus, version of virus
> > > >> signature database 4355 (20090821) __________
>
> > > >> The message was checked by ESET NOD32 Antivirus.
>
> > > >>http://www.eset.com
>
> > > > How did you mean by saying " ...disk.sys to be loaded as the driver
> > > > for
> > > > that PDO. " ? In fact PDO's driver isiaStor, right ?
>
> > > > __________ Information from ESET NOD32 Antivirus, version of virus
> > > > signature database 4355 (20090821) __________
>
> > > > The message was checked by ESET NOD32 Antivirus.
>
> > > >http://www.eset.com
>
> > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4355 (20090821) __________
>
> > > The message was checked by ESET NOD32 Antivirus.
>
> > >http://www.eset.com
>
> > iaStorwill enumerate the pyhsical disk attached to it , for every
> > disk create a PDO . disk will enumerate partitions on a physical
> > disk , for every partition create a PDO . So I guess the following
> > diagram:
>
> >                  FDO <- disk -> PDO for partition
> >                   +
> > FDO <-iaStor-> PDO for disk
> >  +
> > PDO <- PCI bus
>
> Any comments ?

Yes, FDO of the actual disk is created in disk.sys. And disk.sys
creates PDO for each partition.

Igor Sharovar
From: Maxim S. Shatskih on
>Yes, FDO of the actual disk is created in disk.sys. And disk.sys
>creates PDO for each partition.

Pre-Vista.

On Vista+, partmgr does all of this - calling IoReadPartitionTableEx, responding to drive layour IOCTLs, having a PnP bus driver for partition PDOs.

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

From: eagersh on
On Oct 4, 9:24 pm, "Maxim S. Shatskih"
<ma...(a)storagecraft.com.no.spam> wrote:
> >Yes, FDO of the actual disk is created in disk.sys. And disk.sys
> >creates PDO for each partition.
>
> Pre-Vista.
>
> On Vista+, partmgr does all of this - calling IoReadPartitionTableEx, responding to drive layour IOCTLs, having a PnP bus driver for partition PDOs.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> ma...(a)storagecraft.comhttp://www.storagecraft.com

Could a custom class disk designed for Win2000 and XP, which creates
PDO for each partition, work on Vista and Win7?
We have such class driver in our system. It works in the same way on
XP and Vista. Although, I notice that there are some differences in
Win7.
My question what kind of implication would be to use XP style class
disk driver on Vista and Win7.

Igor Sharovar