From: Søren Dideriksen on
Hi,

I need to identify 2 HBA's on a box running Solaris 9.
I can't seem to get the information I need (driver version, WWnumber,
and chipset)
I've tried the following:

# prtconf -Pv | grep FC
and then same with sysdef.

I seem to have found the information in:
# more messages.0 | grep WWN

but isn't there a command that can display this information in a nice way.?

Regards Sýren Dideriksen


From: Atro Tossavainen on
Sýren Dideriksen <sdide(a)as.aaa.dk> writes:

> # prtconf -Pv | grep FC
> and then same with sysdef.
....
> but isn't there a command that can display this information in a nice way.?

/usr/platform/`uname -i`/sbin/prtdiag -v|grep pci

Sample relevant snippets of outputs from a few different machines:

- - - - - -
0 pci 33 PCI2 lpfc-pci10df,f900 (scsi) LP9002
0 pci 33 PCI1 fibre-channel-pci1242,4643
- - - - - -
00-PCI#2 lpfc-pci10df,f980 LP9802 PCIBUS#B(66Mhz)
- - - - - -
0 PCI 66 pcia slot 1 SUNW,ifp-pci1077,2100.0.1.4/s+
- - - - - -

(i.e. you have to know what you're looking for)

--
Atro Tossavainen (Mr.) / The Institute of Biotechnology at
Systems Analyst, Techno-Amish & / the University of Helsinki, Finland,
+358-9-19158939 UNIX Dinosaur / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS
From: Richard B. Gilbert on
Sýren Dideriksen wrote:

> Hi,
>
> I need to identify 2 HBA's on a box running Solaris 9.
> I can't seem to get the information I need (driver version, WWnumber,
> and chipset)
> I've tried the following:
>
> # prtconf -Pv | grep FC
> and then same with sysdef.
>
> I seem to have found the information in:
> # more messages.0 | grep WWN
>
> but isn't there a command that can display this information in a nice
> way.?
>
> Regards Sýren Dideriksen
>
>
You mean something like:
ALPHA5_$ show device /full pk

Device PKA0:, device type NCR 53C810 SCSI, is online, error logging is
enabled.

Error count 0 Operations
completed 37
Owner process "" Owner UIC
[SYSTEM]
Owner process ID 00000000 Dev Prot
S:RWPL,O:RWPL,G,W
Reference count 0 Default buffer
size 0

Sorry, wrong operating system! Some thirty-six years of tradition make
this as unlikely as you removing your pants in church! Unix has always
considered hardware as ugly, embarrassing or some such thing.
From: Bernd.Schemmer on
Sýren Dideriksen wrote:
> Hi,
>
> I need to identify 2 HBA's on a box running Solaris 9.
> I can't seem to get the information I need (driver version, WWnumber,
> and chipset)

driver version:

luxadm -fcode_download -p

wwn (for some tpye of HBAs):

prtconf -vpPD | grep -i wwn

wwn (for some type of HBAs):

grep -i wwn /var/adm/messages.0

Also take a look at the tools packages for the HBA from the HBA manufactor.

regards

Bernd

> I've tried the following:
>
> # prtconf -Pv | grep FC
> and then same with sysdef.
>
> I seem to have found the information in:
> # more messages.0 | grep WWN
>
> but isn't there a command that can display this information in a nice way.?
>
> Regards Sýren Dideriksen
>
>