Solaris + Emulex HBA configuration question — missing piece??
Dear Sun Gurus,
I am asked to install and configure the Emulex HBA on my Sun 480R server
(running on Solaris 10 U4). It is a LP11002 emulex HBA card. I installed it
and system can “see” this. I also installed emlxu_kit-1.02k-sparc.tar
utility to administer the HBA. This server already has SUNWemlxs & SUNWemlxu
packages installed.
Now, when I run “fcinfo hba-port”, it reports the HBA but it shows “Type :
unknown & State: offline”. Is that usual? *How do I make this HBA online?*
What is next or the missing piece in this configuration? Fyi, there is
nothing done on fibre switch side as of now (except fibre cable connection,
which I have already connected).
I will summarize.
Thanks,
VS
-bash-3.00# luxadm -e port
/devices/pci@9,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED
/devices/pci@8,600000/lpfc@2/fp@0,0:devctl NOT
CONNECTED
/devices/pci@8,600000/lpfc@2,1/fp@0,0:devctl NOT
CONNECTED
-bash-3.00# fcinfo hba-port
HBA Port WWN: 21000003baa8f47f
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
Model: 2200
Firmware Version: 2.1.144
FCode/BIOS Version: ISP2200 FC-AL Host Adapter Driver: 1.14 01/11/20
Type: L-port
State: online
Supported Speeds: 1Gb
Current Speed: 1Gb
Node WWN: 20000003baa8f47f
HBA Port WWN: 10000000c95771b4
OS Device Name: /dev/cfg/c4
Manufacturer: Emulex
Model: FC2243
Firmware Version: 2.10a7
FCode/BIOS Version: 1.50a4
* Type: unknown
* *State: offline
* Supported Speeds: 1Gb 2Gb 4Gb
*Current Speed: not established
* Node WWN: 20000000c95771b4
HBA Port WWN: 10000000c95771b5
OS Device Name: /dev/cfg/c5
Manufacturer: Emulex
Model: FC2243
Firmware Version: 2.10a7
FCode/BIOS Version: 1.50a4
*Type: unknown
State: offline
* Supported Speeds: 1Gb 2Gb 4Gb
*Current Speed: not established*
Node WWN: 20000000c95771b5
-bash-3.00# cfgadm -al
Ap_Id Type Receptacle Occupant
Condition
c0 scsi-bus connected configured
unknown
c0::dsk/c0t0d0 CD-ROM connected configured
unknown
c1 fc-private connected configured
unknown
c1::21000000871a1496 disk connected configured
unknown
c1::500000e010e4b291 disk connected configured
unknown
c2 scsi-bus connected unconfigured
unknown
c3 scsi-bus connected unconfigured
unknown
c4 fc connected unconfigured
unknown
c5 fc connected unconfigured
unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb0/3 unknown empty unconfigured ok
usb0/4 unknown empty unconfigured ok
-bash-3.00# tar xf emlxu_kit-1.02k-sparc.tar
-bash-3.00# ls -l
total 694
drwxr-xr-x 4 root root 512 Jul 7 14:25 EMLXemlxu
-rwxr-xr-x 1 root root 780 Jul 7 14:25 emlxu_install
-rwxr-xr-x 1 root root 344064 Jul 22 10:37
emlxu_kit-1.02k-sparc.tar
-rwxr-xr-x 1 root root 432 Jul 7 14:25 emlxu_remove
-bash-3.00# ./emlxu_install
<Removing old EMLXemlxu package>
pkgrm: ERROR: no package associated with <EMLXemlxu>
<Expanding emlxu_kit-1.02k-sparc.tar>
<Adding new package>
Processing package instance <EMLXemlxu> from
</root/EMULEX_DRIVERS/EMULEX_LP11002_DRIVER/OPTIONAL_PKGS/solaris-4.0a33-1.02
k-1a/KIT>
Emulex LightPulse Fibre Channel Adapter Utilities (usr)(sparc)
1.02k,REV=2008.07.07.14.13
COPYRIGHT (c) 2004-2008 Emulex. All rights reserved.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
6 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
The following files are already installed on the system and are being
used by another package:
/opt <attribute change only>
Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <EMLXemlxu> [y,n,?] y
Installing Emulex LightPulse Fibre Channel Adapter Utilities (usr) as
<EMLXemlxu>
## Executing preinstall script.
## Installing part 1 of 1.
[ verifying class <none> ]
## Executing postinstall script.
Installation of <EMLXemlxu> was successful.
<Cleaning directory>
<emlxu_install complete>
<Execute “emlxu_remove” when ready to uninstall>
-bash-3.00# cat sd.conf
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident “@(#)sd.conf 1.10 06/02/08 SMI”
name=”sd” class=”scsi” class_prop=”atapi” target=0 lun=0;
name=”sd” class=”scsi” class_prop=”atapi” target=1 lun=0;
name=”sd” class=”scsi” class_prop=”atapi” target=2 lun=0;
name=”sd” class=”scsi” class_prop=”atapi” target=3 lun=0;
name=”sd” class=”scsi” target=4 lun=0;
name=”sd” class=”scsi” target=5 lun=0;
name=”sd” class=”scsi” target=6 lun=0;
name=”sd” class=”scsi” target=8 lun=0;
name=”sd” class=”scsi” target=9 lun=0;
name=”sd” class=”scsi” target=10 lun=0;
name=”sd” class=”scsi” target=11 lun=0;
name=”sd” class=”scsi” target=12 lun=0;
name=”sd” class=”scsi” target=13 lun=0;
name=”sd” class=”scsi” target=14 lun=0;
name=”sd” class=”scsi” target=15 lun=0;
#
# Enable Target 7 for the mpt SCSI/SAS/SATA driver. Target 7 has
# traditionally been reserved for legacy SCSI HBAs, but SAS controllers
# supported by the mpt driver do not use target 7 for that purpose.
# Enabling Target 7 allows the use of 8 disks on those controllers.
#
name=”sd” parent=”mpt” target=7 lun=0;
-bash-3.00# prtdiag
System Configuration: Sun Microsystems sun4u Sun Fire 480R
System clock frequency: 150 MHz
Memory size: 16384 Megabytes
:
:
<snip>
:
:
========================= IO Cards =========================
Bus Max
IO Port Bus Freq Bus Dev,
Type ID Side Slot MHz Freq Func State Name
Model
—- —- —- —- —- —- —- —– ——————————–
———————-
PCI 8 B 3 33 33 3,0 ok scsi-pci1000,30.1000.10c0.8/disk+
LSI,1030
PCI 8 B 3 33 33 3,1 ok scsi-pci1000,30.1000.10c0.8/disk+
LSI,1030
PCI 8 A 1 66 66 2,0 ok lpfc-pci10df,fd00/fp (fp)
FC2243
PCI 8 A 1 66 66 2,1 ok lpfc-pci10df,fd00/fp (fp)
FC2243
-bash-3.00# /opt/EMLXemlxu/bin/emlxadm
EMLXADM Device Management Utility, Version: v1.02k
COPYRIGHT (c) 2004-2008 Emulex. All rights reserved.
Available Emulex HBA’s:
1. SFS:emlxs0 : /devices/pci@8,600000/lpfc@2/fp@0,0 (NOT CONNECTED)
2. SFS:emlxs1 : /devices/pci@8,600000/lpfc@2,1/fp@0,0 (NOT CONNECTED)
Enter an HBA number or zero to exit: 1
emlxadm> get_host_params
Host:
Dtype: 0
FC4_type[proto]: 0x00000100, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000
State: Offline
Linkspeed: Unknown(0x0)
D_id: 0
LILP: 0
Hard Addr: 0
WWPN: 10000000c95771b4
WWNN: 20000000c95771b4
emlxadm> link_status 0
D_ID: 0
Link failures: 1 (0x1)
Loss of sync count: 6 (0x6)
Loss of signal count: 3 (0x3)
Primitive sequence errors: 0 (0x0)
Invalid tx words: 0 (0x0)
Invalid CRC count: 0 (0x0)
emlxadm> hba
Available Emulex HBA’s:
1. SFS:emlxs0 : /devices/pci@8,600000/lpfc@2/fp@0,0 (NOT CONNECTED)
2. SFS:emlxs1 : /devices/pci@8,600000/lpfc@2,1/fp@0,0 (NOT CONNECTED)
Enter an HBA number or zero to exit:
Exiting…
-bash-3.00#
*-bash-3.00# dmesg | grep -i emulex*
Oct 31 18:07:58 emlxs: [ID 349649 kern.info] [ B.11DA]emlxs0: NOTICE: 100:
Driver attach. (Emulex-S s10-64 sparc v2.20k (2007.06.04.09.35))
Oct 31 18:08:16 emlxs: [ID 349649 kern.info] [ B.11DA]emlxs1: NOTICE: 100:
Driver attach. (Emulex-S s10-64 sparc v2.20k (2007.06.04.09.35))
-bash-3.00# pkginfo | grep I SUNWemlx
system SUNWemlxs Emulex-Sun LightPulse Fibre
Channel Adapter (FCA) driver (root)
system SUNWemlxu Emulex-Sun LightPulse Fibre
Channel Adapter Utilties (usr)
-bash-3.00#

Leave a Reply