Solaris 10. fcinfo hba-port shows adapter not Found

I understand that fcinfo hba-port should show information(WWN, HBA vendor, etc..) but my result show "No adapter found". If I used grep -i 'version' /var/adm/messages* then I see my installed HBA (QLogic FCode at 2.00.09).. I am wondering why and what I had failed to install?
Thanks in advance. Y4Net.:mad:

Kindly post the o/p of:
"uname -a" and "grep -i 'version' /var/adm/messages"

If you 'qlogic from sun' or simple qlogic?
you can check it with command 'prtdiag -v' or 'cat /etc/path_to_inst'
in result:
qla - qlogic hba from qlogic :slight_smile:
qlc - qlogic hba from sun

hba with sun firmware will be added in system automaticly, hba with qlogic firmware need driver ( but it a possible to change this firmware to sun-firmware).

Drivers will be found here QLogic Driver Download

Thanks for replying. I am aware that I can use /usr/sbin/prtconf -vp |grep 'Qlogic'; modinfo, prtdiag, etc.. to extract information of HBA. I am also aware that fcinfo should work in Solaris 10. But my question is why the result yields "No adapter found" while I other commands will tell me that I have HBA cards installed. Did I fail to install some package? patches? Thanks. Y4Net

ok.
Kindly post the o/p of:
"uname -a" and "grep -i 'version' /var/adm/messages"
and
prtdiag -v | grep -i qla
prtdiag -v | grep -i qlc

are your hba's currently connected to a SAN device?

Yes, it is. connected to a switch. So are a bunch of other servers. Only 1 server was able to get results from fcinfo hba-port -l and this particular one server is configured with leadville drv and solaris 10. I am just dumbfounded by this. Regards. Y4Net.

OK. Ikorolev. I will try to post the result of those mentioned commands soon. Thanks.

  1. fcinfo work with adapters witch have sun-firmware only.
  2. If your hba do not in sun compatible list (search in sunsolve.sun.com) - it wouldn't work.
  3. if you plugin adapter from qligic (jni, emulecs and so on) with vendor firmware - you need install dirvers form this vendor and configure hba with help of utilites this vendor. but this hba (and all disk array) wouldn't be seen in fcinfo, cfgadm and so on.

Below are results.
# uname -a
SunOS serverxxxx 5.10 Generic_125100-09 sun4u sparc SUNW,Sun-Fire-V240
# fcinfo hba-port
No Adapters Found.
# /usr/sbin/prtdiag -v|grep -i 'qla'
pci 33 PCI2 QLGC,qla-pci1077,nnn (scsi) QLA2xxx
okay /pci@1e,600000/QLGC,qla@2
pci 33 PCI1 QLGC,qla-pci1077,nnn (scsi) QLA2xxx
okay /pci@1e,600000/QLGC,qla@3
# /usr/sbin/prtdiag -v|grep -i 'qlc'
#
# grep -i 'version' /var/adm/messages*
/var/adm/messages:Sep 18 2 17:33:39 serverxxxx qla2300: [ID nnnnnn kern.notice] hba0: QLogic Fibre Channel Host Adapter fcode version 2.00.09

Thanks Ikorolev. No wonder..
I don't have the information from the server which fcinfo works. That server is configured with Sun Leadville driver, and the rest do not.
Again, Thanks. Y4.

frst thing , you should be able to probe from the ok prompt using probe-scsi-all
what do you get for
# luxadm -e port
#luxadm qlgc
#luxadm probe
??

*Last resolution, try this
It will force the link to reinitialize, using the Loop Initialization Primitive (LIP) sequence:
luxadm -e forcelip yourfibrechannelhbaport

incredible - luxadm only works on SFS-supported 2gb hbas and sun-branded 2gb hbas, correct?

Not true..
bash-3.00# luxadm qlgc

Found Path to 2 FC100/P, ISP2200, ISP23xx Devices

Opening Device: /devices/ssm@0,0/pci@19,600000/SUNW,qlc@2/fp@0,0:devctl
Detected FCode Version: QLA2460 Host Adapter FCode(SPARC): 1.26 05/17/07

Opening Device: /devices/ssm@0,0/pci@18,600000/SUNW,qlc@1/fp@0,0:devctl
Detected FCode Version: QLA2460 Host Adapter FCode(SPARC): 1.26 05/17/07
Complete

you have qlogic-adapters with sun-firmware (qlc). sun-branded...

luxadm work with 1,2,4 (and may be 8) Gb sun branded hbas and 2Gb SFS.
Or with adapters was flashed with sun firmware .

exactly. i was reading this article and they only pointed out 2gb hbas. i thought to myself there is no way because i know i've used them on different hbas (transfer rates). i wasn't at work (where i have hbas :slight_smile: ) when i posted. but thanks for heads up.

The results of prtdiag -v
------ snip -----
pci 33 PCI2 QLGC,qla-pci1077,100 (scsi) QLA2340
okay /pci@1e,600000/QLGC,qla@2
pci 33 PCI1 QLGC,qla-pci1077,100 (scsi) QLA2340
okay /pci@1e,600000/QLGC,qla@3
----- snip ----
cat /etc/path_to_inst
---- snip ------
"/pci@1e,600000/usb@a/keyboard@2" 1 "hid"
"/pci@1e,600000/fibre-channel@2" 0 "qlc"
"/pci@1e,600000/fibre-channel@2/fp@0,0" 0 "fp"
"/pci@1e,600000/fibre-channel@3" 1 "qlc"
"/pci@1e,600000/fibre-channel@3/fp@0,0" 1 "fp"
"/pci@1e,600000/QLGC,qla@2" 0 "qla2300"
"/pci@1e,600000/QLGC,qla@2/sd@10,0" 63 "sd"
"/pci@1e,600000/QLGC,qla@2/sd@10,f3" 64 "sd"
"/pci@1e,600000/QLGC,qla@2/sd@10,f2" 65 "sd"
"/pci@1e,600000/QLGC,qla@2/sd@0,0" 31 "sd"
"/pci@1e,600000/QLGC,qla@2/emcpsf@0,0" 3 "emcpsf"
"/pci@1e,600000/QLGC,qla@2/sd@10,5" 48 "sd"
"/pci@1e,600000/QLGC,qla@2/sd@10,4" 49 "sd"
"/pci@1e,600000/QLGC,qla@2/sd@10,3" 50 "sd"
"/pci@1e,600000/QLGC,qla@2/sd@10,2" 51 "sd"
"/pci@1e,600000/QLGC,qla@2/sd@10,1" 52 "sd"
"/pci@1e,600000/QLGC,qla@3" 1 "qla2300"
"/pci@1e,600000/QLGC,qla@3/sd@1a,f3" 66 "sd"
"/pci@1e,600000/QLGC,qla@3/sd@1a,f2" 67 "sd"
"/pci@1e,600000/QLGC,qla@3/sd@0,0" 32 "sd"
"/pci@1e,600000/QLGC,qla@3/emcpsf@0,0" 1 "emcpsf"
"/pci@1e,600000/QLGC,qla@3/sd@24,6" 73 "sd"
"/pci@1e,600000/QLGC,qla@3/sd@24,0" 33 "sd"
"/pci@1c,600000" 2 "pcisch"
------ snip ------

Base on shown output, how can I tell the HBA is QLogic or Sun branded ? My guess is QLogic because
"/pci@1e,600000/QLGC,qla@3" 1 "qla2300"
"/pci@1e,600000/QLGC,qla@3/sd@1a,f3" 66 "sd"
"/pci@1e,600000/QLGC,qla@3/sd@1a,f2" 67 "sd"
Am I correct?
Thanks.

yes, you are correct - thats qlogic hba. You can download drivers for those hba from qlogic.com
theoretical - it a possible to flash sun firmware into those hba.

please show the contents of /etc/hba.conf

If Leadville is used, the content will look like this:

com.sun.fchba /usr/lib/libsun_fc.so.1
com.sun.fchba64 /usr/lib/64/libsun_fc.so.1

Did you install the SAN patches for Solaris 10 ?