Bug #230
sunwlibc missing in base install breaks fibre channel tools
| Status: | New | Start: | 08/12/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - |
Description
Using NCP3 RC3. Tried to use several tools to look at fibre channel device status and all reported errors or no FC adapters installed. Looking at /etc/hba.conf, it's referencing two libraries belonging to the sunwlibc package but this package is not installed by default.
After installing this package, everything works fine. It may be good to have this package installed by default so these tools are not broken.
root@nexenta:~# cfgadm -al -o show_FCP_dev cfgadm: Configuration administration not supported root@nexenta:~# luxadm -e port ERROR: No Fibre Channel Adapters found. root@nexenta:~# fcinfo hba-port No Adapters Found. root@nexenta:~# tail /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 root@nexenta~# ldd /usr/lib/64/libsun_fc.so.1 libdevinfo.so.1 => /lib/64/libdevinfo.so.1 libsysevent.so.1 => /lib/64/libsysevent.so.1 libnvpair.so.1 => /lib/64/libnvpair.so.1 libCstd.so.1 => (file not found) libCrun.so.1 => (file not found) libc.so.1 => /lib/64/libc.so.1 libsec.so.1 => /lib/64/libsec.so.1 libgen.so.1 => /lib/64/libgen.so.1 libnsl.so.1 => /lib/64/libnsl.so.1 libavl.so.1 => /lib/64/libavl.so.1 libidmap.so.1 => /usr/lib/64/libidmap.so.1 libmp.so.2 => /lib/64/libmp.so.2 libmd.so.1 => /lib/64/libmd.so.1 libscf.so.1 => /lib/64/libscf.so.1 libuutil.so.1 => /lib/64/libuutil.so.1 libsmbios.so.1 => /usr/lib/64/libsmbios.so.1 libm.so.2 => /lib/64/libm.so.2 root@nexenta:~# apt-get install sunwlibc Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: sunwlibc 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1203kB of archives. After this operation, 11.3kB of additional disk space will be used. Get:1 http://apt.nexenta.org hardy-unstable/non-free sunwlibc 20060918-1 [1203kB] Fetched 1203kB in 1s (708kB/s) Selecting previously deselected package sunwlibc. (Reading database ... 33190 files and directories currently installed.) Unpacking sunwlibc (from .../sunwlibc_20060918-1_solaris-i386.deb) ... Setting up sunwlibc (20060918-1) ... root@nexenta:~# luxadm -e port /devices/pci@1,0/pci1022,7450@2/pci1077,10a@1/fp@0,0:devctl CONNECTED /devices/pci@1,0/pci1022,7450@2/pci1077,10a@1,1/fp@0,0:devctl NOT CONNECTED root@nexenta:# cfgadm -al -o show_FCP_dev Ap_Id Type Receptacle Occupant Condition c2 fc-private connected configured unknown c2::21000011c616b339,0 disk connected configured unknown c2::21000011c616fdfb,0 disk connected configured unknown c2::21000011c6250044,0 disk connected configured unknown c2::21000011c6250586,0 disk connected configured unknown c2::21000011c625080b,0 disk connected configured unknown c2::21000011c625097f,0 disk connected configured unknown c2::21000011c6250d6f,0 disk connected configured unknown c2::21000011c625198d,0 disk connected configured unknown c2::21000011c6251a83,0 disk connected configured unknown c2::21000011c6251a92,0 disk connected configured unknown c2::21000014c36a4bc6,0 disk connected configured unknown c2::21000014c36a88be,0 disk connected configured unknown c2::215000c0ff004501,0 ESI connected configured unknown c3 fc connected unconfigured unknown