question on SCSI DeviceInstance ID

Hi All,

Wondering how windows creates unique deviceInstanceID for SCSI disk drive.
The DDK documentation says it combines DeviceID and InstanceID to make it
unique. I understand the DeviceId part which is created based on the Vender
& Product information retruned by the INQUIRY command.
How does windows create InstanceID? from where it gets this information?
Please clarify.

Thank You,
Shakeel.

For SCSI devices the instance ID contains the vendor, device and
revision information from the device firmware combined with the SCSI
address of the device (port, target and lun) to build an identifier that
is unique for that particular SCSI adapter.

PNP then combines that with the unique Id of the parent bus (the PCI
bus) to create an id that is unique on the system.

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
Sent: Wednesday, August 25, 2004 11:22 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] question on SCSI DeviceInstance ID

Hi All,

Wondering how windows creates unique deviceInstanceID for
SCSI disk drive.
The DDK documentation says it combines DeviceID and
InstanceID to make it unique. I understand the DeviceId part
which is created based on the Vender & Product information
retruned by the INQUIRY command.
How does windows create InstanceID? from where it gets this
information?
Please clarify.

Thank You,
Shakeel.


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

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

Thanks Peter for the clarification.

I am actually working on a SBP2/1394 device.
the DeviceInstanceId for SBP2 disk device is computed the same way?

Thank You,
Shakeel.

“Peter Wieland” wrote in message
news:xxxxx@ntdev…
For SCSI devices the instance ID contains the vendor, device and
revision information from the device firmware combined with the SCSI
address of the device (port, target and lun) to build an identifier that
is unique for that particular SCSI adapter.

PNP then combines that with the unique Id of the parent bus (the PCI
bus) to create an id that is unique on the system.

-p

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
> Sent: Wednesday, August 25, 2004 11:22 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] question on SCSI DeviceInstance ID
>
> Hi All,
>
> Wondering how windows creates unique deviceInstanceID for
> SCSI disk drive.
> The DDK documentation says it combines DeviceID and
> InstanceID to make it unique. I understand the DeviceId part
> which is created based on the Vender & Product information
> retruned by the INQUIRY command.
> How does windows create InstanceID? from where it gets this
> information?
> Please clarify.
>
> Thank You,
> Shakeel.
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@windows.microsoft.com To unsubscribe send a blank
> email to xxxxx@lists.osr.com
>

Since SBP2 devices don’t have scsi IDs I doubt that it’s computed the
same way. I’m not sure what the algorithm is.

Is this just for intellectual curiosity? Or are you thinking you’ll
rely on this formula in your product in an attempt to extract
information from the instance IDs? The latter is a bad idea, as the way
these are computed or glommed together could change in the future.

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
Sent: Wednesday, August 25, 2004 12:25 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] question on SCSI DeviceInstance ID

Thanks Peter for the clarification.

I am actually working on a SBP2/1394 device.
the DeviceInstanceId for SBP2 disk device is computed the same way?

Thank You,
Shakeel.

“Peter Wieland” wrote in
> message news:xxxxx@ntdev…
> For SCSI devices the instance ID contains the vendor, device
> and revision information from the device firmware combined
> with the SCSI address of the device (port, target and lun) to
> build an identifier that is unique for that particular SCSI adapter.
>
> PNP then combines that with the unique Id of the parent bus (the PCI
> bus) to create an id that is unique on the system.
>
> -p
>
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
> > Sent: Wednesday, August 25, 2004 11:22 AM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] question on SCSI DeviceInstance ID
> >
> > Hi All,
> >
> > Wondering how windows creates unique deviceInstanceID for SCSI disk
> > drive.
> > The DDK documentation says it combines DeviceID and
> InstanceID to make
> > it unique. I understand the DeviceId part which is created based on
> > the Vender & Product information retruned by the INQUIRY command.
> > How does windows create InstanceID? from where it gets this
> > information?
> > Please clarify.
> >
> > Thank You,
> > Shakeel.
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as:
> > xxxxx@windows.microsoft.com To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@windows.microsoft.com To unsubscribe send a blank
> email to xxxxx@lists.osr.com
>

Peter,

we are having an issue of duplicate ID with two or more of our SPB2 devices.
I understood the DeviceID part from DDK computed as
SBP2\VendorName&ModelName&LUNn*

I am trying to understand how the unique ID is computed to help resolve the
duplicate ID issue.

Thank You,
Shakeel.

“Peter Wieland” wrote in message
news:xxxxx@ntdev…
Since SBP2 devices don’t have scsi IDs I doubt that it’s computed the
same way. I’m not sure what the algorithm is.

Is this just for intellectual curiosity? Or are you thinking you’ll
rely on this formula in your product in an attempt to extract
information from the instance IDs? The latter is a bad idea, as the way
these are computed or glommed together could change in the future.

-p

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
> Sent: Wednesday, August 25, 2004 12:25 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] question on SCSI DeviceInstance ID
>
> Thanks Peter for the clarification.
>
> I am actually working on a SBP2/1394 device.
> the DeviceInstanceId for SBP2 disk device is computed the same way?
>
> Thank You,
> Shakeel.
>
> “Peter Wieland” wrote in
> message news:xxxxx@ntdev…
> For SCSI devices the instance ID contains the vendor, device
> and revision information from the device firmware combined
> with the SCSI address of the device (port, target and lun) to
> build an identifier that is unique for that particular SCSI adapter.
>
> PNP then combines that with the unique Id of the parent bus (the PCI
> bus) to create an id that is unique on the system.
>
> -p
>
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
> > Sent: Wednesday, August 25, 2004 11:22 AM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] question on SCSI DeviceInstance ID
> >
> > Hi All,
> >
> > Wondering how windows creates unique deviceInstanceID for SCSI disk
> > drive.
> > The DDK documentation says it combines DeviceID and
> InstanceID to make
> > it unique. I understand the DeviceId part which is created based on
> > the Vender & Product information retruned by the INQUIRY command.
> > How does windows create InstanceID? from where it gets this
> > information?
> > Please clarify.
> >
> > Thank You,
> > Shakeel.
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as:
> > xxxxx@windows.microsoft.com To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@windows.microsoft.com To unsubscribe send a blank
> email to xxxxx@lists.osr.com
>

Vendor+Model+Lun+unique ID from config ROM

-----Original Message-----
From: shakeel [mailto:xxxxx@yahoo.com]
Sent: Wednesday, August 25, 2004 2:11 PM
Subject: Re: question on SCSI DeviceInstance ID

Peter,

we are having an issue of duplicate ID with two or more of our SPB2
devices.
I understood the DeviceID part from DDK computed as
SBP2\VendorName&ModelName&LUNn*

I am trying to understand how the unique ID is computed to help resolve
the
duplicate ID issue.

Thank You,
Shakeel.

“Peter Wieland” wrote in message
news:xxxxx@ntdev…
Since SBP2 devices don’t have scsi IDs I doubt that it’s computed the
same way. I’m not sure what the algorithm is.

Is this just for intellectual curiosity? Or are you thinking you’ll
rely on this formula in your product in an attempt to extract
information from the instance IDs? The latter is a bad idea, as the way
these are computed or glommed together could change in the future.

-p

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
> Sent: Wednesday, August 25, 2004 12:25 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] question on SCSI DeviceInstance ID
>
> Thanks Peter for the clarification.
>
> I am actually working on a SBP2/1394 device.
> the DeviceInstanceId for SBP2 disk device is computed the same way?
>
> Thank You,
> Shakeel.
>
> “Peter Wieland” wrote in
> message news:xxxxx@ntdev…
> For SCSI devices the instance ID contains the vendor, device
> and revision information from the device firmware combined
> with the SCSI address of the device (port, target and lun) to
> build an identifier that is unique for that particular SCSI adapter.
>
> PNP then combines that with the unique Id of the parent bus (the PCI
> bus) to create an id that is unique on the system.
>
> -p
>
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
> > Sent: Wednesday, August 25, 2004 11:22 AM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] question on SCSI DeviceInstance ID
> >
> > Hi All,
> >
> > Wondering how windows creates unique deviceInstanceID for SCSI disk
> > drive.
> > The DDK documentation says it combines DeviceID and
> InstanceID to make
> > it unique. I understand the DeviceId part which is created based on
> > the Vender & Product information retruned by the INQUIRY command.
> > How does windows create InstanceID? from where it gets this
> > information?
> > Please clarify.
> >
> > Thank You,
> > Shakeel.
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as:
> > xxxxx@windows.microsoft.com To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@windows.microsoft.com To unsubscribe send a blank
> email to xxxxx@lists.osr.com
>