[SunHELP] match PCI Slot to HBA WWN

Markham, Richard RLMarkham at hafeleamericas.com
Thu Apr 1 15:49:23 CST 2004


How can I determine which PCI Slot matches up to the which HBA card?

Apr  1 14:06:54 devapps1 Emulex LightPulse FC SCSI/IP 5.02c
Apr  1 14:07:03 devapps1 lpfc: [ID 129691 kern.notice] NOTICE: lpfc0:
Firmware Rev 3.90A7 (D2D3.90A7)
Apr  1 14:07:03 devapps1 lpfc: [ID 475632 kern.notice] NOTICE: lpfc0:
WWPN:10:00:00:00:c9:29:6f:d4 WWNN:20:00:00:00:c9:29:6f:d4
Apr  1 14:07:03 devapps1 lpfc: [ID 457646 kern.info] NOTICE: Device Path for
interface lpfc0:
Apr  1 14:07:03 devapps1 pcipsy: [ID 370704 kern.info] PCI-device:
fibre-channel at 4, lpfc0
Apr  1 14:07:03 devapps1 genunix: [ID 936769 kern.info] lpfc0 is
/pci at 1f,4000/fibre-channel at 4
Apr  1 14:07:12 devapps1 lpfc: [ID 129691 kern.notice] NOTICE: lpfc1:
Firmware Rev 3.90A7 (D2D3.90A7)
Apr  1 14:07:12 devapps1 lpfc: [ID 475632 kern.notice] NOTICE: lpfc1:
WWPN:10:00:00:00:c9:22:53:59 WWNN:20:00:00:00:c9:22:53:59
Apr  1 14:07:13 devapps1 lpfc: [ID 457646 kern.info] NOTICE: Device Path for
interface lpfc1:
Apr  1 14:07:13 devapps1 pcipsy: [ID 370704 kern.info] PCI-device:
fibre-channel at 1, lpfc1
Apr  1 14:07:13 devapps1 genunix: [ID 936769 kern.info] lpfc1 is
/pci at 1f,2000/fibre-channel at 1

Is "lpfc0" always pci slot 1 ??
I'm basically trying to be able to say: WWPN XXXX is in PCI Slot XXXX

# prtdiag -v
~~snip~~
========================= IO Cards =========================

     Bus   Freq
Brd  Type  MHz   Slot        Name                          Model
---  ----  ----  ----------  ----------------------------
--------------------
 0   PCI    33     On-Board  network-SUNW,hme

 0   PCI    33     On-Board  scsi-glm/disk (block)         Symbios,53C875

 0   PCI    33     On-Board  scsi-glm/disk (block)         Symbios,53C875

 0   PCI    33         pcib  fibre-channel-pci10df,f800

 0   PCI    33            -  SUNW,m64B                     SUNW,370-4362

 0   PCI    33   pcia slot 1  fibre-channel-pci10df,f800


No failures found in System
===========================
~~snip~~

Solaris 8



More information about the SunHELP mailing list