Extracting HBA Card Hardware info


 
Thread Tools Search this Thread
Operating Systems Solaris Extracting HBA Card Hardware info
# 1  
Old 10-26-2011
Extracting HBA Card Hardware info

Hello,



I am very new to solaris so please bear with me. I have 2 machines in question. For both I am trying to get the HBA Card Hardware information such as:
  • HBA Model Name
  • HBA Firmware version
  • HBA Port details
  • HBA Driver details
First machine is a Solaris 10. When I execute fcinfo hba-port, I get the following output:
Code:
[xxx@xxx/~]$ fcinfo hba-port
No Adapters Found.

But then, if I were to do prtconf -v | grep lpfc, I get this:
Code:
[xxx@xxx/~]$ prtconf -v | grep lpfc | more
        lpfc, instance #0
                    dev_path=/pci@8,600000/lpfc@1:devctl
                        dev_path=/pci@8,600000/lpfc@1/fp@0,0:devctl
                        dev_path=/pci@8,600000/lpfc@1/fp@0,0:fc
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0/ssd@w50060482d52e7f57,164:a
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0/ssd@w50060482d52e7f57,164:a,raw
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0/ssd@w50060482d52e7f57,164:b
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0/ssd@w50060482d52e7f57,164:b,raw
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0/ssd@w50060482d52e7f57,164:c
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0/ssd@w50060482d52e7f57,164:c,raw
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0/ssd@w50060482d52e7f57,164:d
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0/ssd@w50060482d52e7f57,164:d,raw
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0/ssd@w50060482d52e7f57,164:e
                            dev_path=/pci@8,600000/lpfc@1/fp@0,0...7f57,164:e,raw
                            ...

I thought no adapters are installed? then why do I get the above output? Isnt lpfc an HBA driver? I also tried prtconf -v | grep qlc and results in the following:
Code:
[xxx@xxx/~]$ prtconf -v | grep qlc
        SUNW,qlc, instance #0
                    value='NAME=qlc(0)' + '0=Device D3 State' + '3=Device D0 State'
                    dev_path=/pci@9,600000/SUNW,qlc@2:devctl
                        dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0:devctl
                        dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0:fc
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:a
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:a,raw
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:b
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:b,raw
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:c
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:c,raw
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:d
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:d,raw
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:e
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:e,raw
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:f
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:f,raw
                            dev_path=/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w21000014c3e53a55,0:g
                             ...

The second machine, is a Solaris 8. I tried luxadm - e port, and got the following:
Code:
[xxx@xxx/xxx]$ luxadm -e port
 Error: failed to initialize driver - socal.
 Error: failed to initialize driver - fp.
 Error: failed to initialize driver - ifp.
 
Found path to 0 HBA ports

and then also prtconf -vp | grep wwn and got the following:
Code:
[xxx@xxx/xxx]$ prtconf -vp | grep wwn
            port_wwn:
            node_wwn:
            port_wwn:
            node_wwn:

Can I safely assume that the 2nd machine running on Solaris 8 does not have any HBA cards installed? I could not run scli as it says command not found.

Any help is greatly appreciated. Thank you all.

Last edited by flagman5; 10-26-2011 at 11:59 AM.. Reason: added more info
# 2  
Old 10-26-2011
hm... strange
can you post an output of "prtdiag -v"
# 3  
Old 10-26-2011
Show output of
Code:
prtdiag -v

on Solaris 10.
# 4  
Old 10-26-2011
interesting... permission denied?

Code:
[xxx@xxx/~]$ prtdiag -v
prtdiag: di_prom_init() failed: Permission denied

# 5  
Old 10-26-2011
Are you running it as root?
# 6  
Old 10-26-2011
lol, you aren't root?

---------- Post updated at 10:07 AM ---------- Previous update was at 10:05 AM ----------

output with normal user
Code:
-bash-3.00$ /usr/sbin/fcinfo hba-port
No Adapters Found.

with root:
Code:
[root@x] / => fcinfo hba-port
HBA Port WWN: x
        OS Device Name: /dev/cfg/c1
        Manufacturer: QLogic Corp.
        Model: 375-3355-02
        Firmware Version: 05.01.02
        FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.08;
        Serial Number: x
        Driver Name: qlc
        Driver Version: 20090929-2.32
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 4Gb
        Node WWN: x
HBA Port WWN: x
        OS Device Name: /dev/cfg/c5
        Manufacturer: QLogic Corp.
        Model: 375-3355-02
        Firmware Version: 05.01.02
        FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.08;
        Serial Number: x
        Driver Name: qlc
        Driver Version: 20090929-2.32
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 4Gb
        Node WWN: x

# 7  
Old 10-26-2011
ok, so for all the above commands to work correctly for both Solaris 10 and 8, I need to be root?

i tried sudo but got denied...i guess i need to raise a request to get that level of access...

well if this is the problem, thanks for the help, i'll keep trying after i get sudo access.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

HBA card faulty

Hi, How to determine if HBA card in getting faulty from linux host ? any pointers. (2 Replies)
Discussion started by: saurabh84g
2 Replies

2. Solaris

Which FC HBA card support Solaris9

I have JNI FCE-6460-N fc card , it is detected in OK prompt.....I connected Sun StorEDGE A5000 FC storage. in OK prompt, PROBE-SCSI-ALL showing A5000 fc hdds details in ok prompt..... but in OS level.....not showing the hdd, i tried in DEVFSADM command and FORMAT command not showing A5000... (3 Replies)
Discussion started by: anysystem
3 Replies

3. Solaris

How to enable hba port of a two port hba card

Hi, i have a two port hba card in solaris 10 system one of which is disabled. How to enable and configure the other port. ---------- Post updated at 08:17 AM ---------- Previous update was at 03:40 AM ---------- please help :( (7 Replies)
Discussion started by: rishiraaz
7 Replies

4. AIX

Need HBA card driver

Hi All, SUN emulex HBA card has been installed on P520 box. When i run the cfgmgr i am getting the following message. lpar2#cfgmgr cfgmgr: 0514-621 WARNING: The following device packages are required for device support but are not currently installed.... (0 Replies)
Discussion started by: b_manu78
0 Replies

5. UNIX for Advanced & Expert Users

Sun internal disks and HBA card

I have a V490 that has couple internal disks attached to the same dual-port HBA card that I'm planning attach to the SAN for additional storage. Would I sacrifice performance if I use the same HBA? Is it better to throw in a new HBA instead? (1 Reply)
Discussion started by: kiem
1 Replies

6. Solaris

Qlogic HBA card in E450 with errors

I have installed a qlogic HBA card in an E450 Solaris 9 with all the SUNW packages and the latest EPROM version. Configuration reboot was done. An orange light flashes to the right of where the card plugs into the fiber cable after booting, and the following error apprears at the start of the boot... (9 Replies)
Discussion started by: floydm
9 Replies

7. Solaris

HBA Card

Hello...I got a problem here. I have HBAs installed in one of the domains in E20 and I gotta find out the brand and firmware. But when I do a prtconf, I cannot see the HBA. For other servers installed with HBAs, when I do prtconf on them I can see either qlc or em. Can you guys enlighten me how to... (5 Replies)
Discussion started by: xiaochensg
5 Replies

8. Solaris

How do I know which HBA cards' hardware I have (on Solaris 10) ?

Hi, I'm trying to determine which HBA cards are installed on my Solaris 10 (Sun-Fire-V240) machine. The relevant data I have is below, but from it I cannot ascertain for sure if I have Emulex 10000 or 11000 HBA cards. Can anyone suggest how to determine my HBA hardware ? Thanks, Ron. ... (4 Replies)
Discussion started by: ronbarak
4 Replies

9. UNIX for Advanced & Expert Users

How do I know which HBA cards' hardware I have (on Solaris 10) ?

Hi, I'm trying to determine which HBA cards are installed on my Solaris 10 (Sun-Fire-V240) machine. The relevant data I have is below, but from it I cannot ascertain for sure if I have Emulex 10000 or 11000 HBA cards. Can anyone suggest how to determine my HBA hardware ? Thanks, Ron. ... (3 Replies)
Discussion started by: ronbarak
3 Replies

10. UNIX for Advanced & Expert Users

Hardware HBA problem

I have worked with Qlogic (Sun) fiber cards a lot and with Emulex fiber cards only a little. Here is the scenario: I have a Sun 490 with 3 Emulex cards in it. A pair are for the 6120 array that is attached, the other is a direct attach so our SAN for Veritas Netbackup to back up the system.I... (0 Replies)
Discussion started by: lm_admin_dh
0 Replies
Login or Register to Ask a Question