Captain Jack

pageicon 星期二 五月 29, 2007

Duplicated Entry from 'fcinfo'

Duplicated entries could exist if multiple HBA libraries exist in the system. Following is an example:

There is an emulex FC port in the system and it is shown twice from 'fcinfo'.
--------
-bash-3.00# fcinfo hba-port
HBA Port WWN: 10000000c94abfc8
OS Device Name:
Manufacturer: Sun Microsystems, Inc.
Model: LP10000-S
Firmware Version: 1.91x15
FCode/BIOS Version: 1.50a4
Type: N-port
State: online Supported
Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c94abfc8

HBA Port WWN: 10000000c94abfc8
OS Device Name: /dev/cfg/c6
Manufacturer: Sun Microsystems, Inc.
Model: LP10000-S
Firmware Version: 1.91x15
FCode/BIOS Version: 1.50a4
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c94abfc8

The first output is from emulex's HBA lib and the second is from Sun's.

-bash-3.00# cat /etc/hba.conf
# # This file contains names and references to HBA libraries
# # Format:
# # # # The library name should be prepended with the domain of # the manufacturer or driver author.
com.sun.fchba /usr/lib/libsun_fc.so.1
com.sun.fchba64 /usr/lib/64/libsun_fc.so.1
com.emulex.emulexapilibrary /usr/lib/libemulexhbaapi.so
com.emulex.emulexapilibrary /usr/lib/sparcv9/libemulexhbaapi.so
-------------------------------

The problem is the library from EMLXemlxu, a package as 'Emulex LightPulse Fibre Channel Adapter Utilities (usr)'. It shouldn't enumerate an HBA with Sun's make, though it is OEMed from Emulex.
评论:

发表一条评论:
  • HTML语法: 禁用