"aakash berde" <[EMAIL PROTECTED]> wrote:
> Hi keith,
>
> sorry to not clearly giving details.
> I am trying to communicate with target through HBA. I am collecting data of
> target through HBA.
> I want to detect how many targets are attched to HBA.
> I have done a research on all that you have told. But with these analysis I
> am not still getting the positive result
The current drivers from Sun are unable to help you with this problem.
The problem is that you need exactly _one_ target driver that is in the system
attached to each target.
Currently, you either ned sgen or a specific driver attached which creates a
lot of confusion and makes a systematic scan impossible.
Sgen is not a solution at all as it needs manual confguration.
If the current Solaris HBA drivers would still conform to the Sun SCSA standard,
then my scg driver from 1986 would do what you like. It allows you to send SCSI
commands to any drive of a SCSI bus it did attach to. As the current Solaris
HBA drivers do no longer follow the Sun SCSA stamndard and put SCSI address
cookies into hiffen places, the method from scg no longer works.
For this reason, I made a proposal several years already:
- define a new official method that again allows scg to connect to
any SCSI target
- define a mechanism that allows scg to insert SCSI packets into the
SCSI command queue of target specific SCSI drivers in a way that
the results of these SCSI commands will be seen in the "interrupt"
routine of the scg driver.
This will give a target specific view on SCSI _and_ a neutral and systematic
global view on _all_ SCSI targets.
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code