Emulex lpfc Driver Problems
10 filesystem using a custom kernel (2.6.16.2) and I'm trying to install the lpfc driver using the lpfc-install script found in the lpfc_2.6_driver_kit-8.0.16.27-1. When I run the script, this is what I get:
linux:/pdd/Emulex/lpfc_2.6_driver_kit-8.0.16.27-1 # ./lpfc-install
Emulex LPFC Driver Installer Version 2906
Determining distribution type and kernel version ...
Checking for Emulex LPFCDFC driver packages ...
Checking for old Emulex driver ...
Looking for kernel source package ...
Looking for compilers ...
Searching for LPFC Driver source RPM from /pdd/Emulex/lpfc_2.6_driver_kit-8.0.16.27-1/. ...
Installing package ...
Preparing... ########################################### [100%]
1:lpfcdriver_2.6 ########################################### [100%]
Building LPFC driver ......
- Error 1 while building/installing driver.
- Log is contained in /usr/src/lpfc/errlog
error: %post(lpfcdriver_2.6-8.0.16.27-1) scriptlet failed, exit status 5
Error during RPM installation
Error installing LPFC Driver source RPM.
Loading LPFC Driver .FATAL: Could not open '/lib/modules/2.6.16.2/kernel/drivers/scsi/lpfc/lpfc.ko': No such file or directory
.
Error loading LPFC Driver
Please refer to the following file(s) for more information
about this driver load failure:
/var/log/messages
/var/log/warn
Please contact Emulex Technical Support
The /usr/src/lpfc/errlog contains:
make: Entering directory `/usr/src/lpfc'
make -C /lib/modules/2.6.16.2/build SUBDIRS=`pwd` CONFIG_SCSI_LPFC=m modules
make[1]: Entering directory `/usr/src/packages/BUILD/kernel-2.6.16.2'
CC [M] /usr/src/lpfc/lpfc_mem.o
/usr/src/lpfc/lpfc_mem.c: In function âlpfc_mem_allocâ:
/usr/src/lpfc/lpfc_mem.c:80: warning: passing argument 2 of âmempool_createâ from incompatible pointer type
/usr/src/lpfc/lpfc_mem.c:86: warning: passing argument 2 of âmempool_createâ from incompatible pointer type
/usr/src/lpfc/lpfc_mem.c:92: warning: passing argument 2 of âmempool_createâ from incompatible pointer type
/usr/src/lpfc/lpfc_mem.c:98: warning: passing argument 2 of âmempool_createâ from incompatible pointer type
/usr/src/lpfc/lpfc_mem.c:104: warning: passing argument 2 of âmempool_createâ from incompatible pointer type
CC [M] /usr/src/lpfc/lpfc_sli.o
In file included from /usr/src/lpfc/lpfc_sli.c:43:
/usr/src/lpfc/lpfc_compat.h:40:5: warning: "__BIG_ENDIAN" is not defined
In file included from /usr/src/lpfc/lpfc_sli.c:44:
/usr/src/lpfc/lpfc_fcp.h:76:5: warning: "__BIG_ENDIAN" is not defined
/usr/src/lpfc/lpfc_sli.c: In function âlpfc_sli_issue_iocbâ:
/usr/src/lpfc/lpfc_sli.c:2530: warning: âiocbâ may be used uninitialized in this function
CC [M] /usr/src/lpfc/lpfc_ct.o
CC [M] /usr/src/lpfc/lpfc_els.o
CC [M] /usr/src/lpfc/lpfc_hbadisc.o
In file included from /usr/src/lpfc/lpfc_hbadisc.c:44:
/usr/src/lpfc/lpfc_fcp.h:76:5: warning: "__BIG_ENDIAN" is not defined
CC [M] /usr/src/lpfc/lpfc_init.o
In file included from /usr/src/lpfc/lpfc_init.c:44:
/usr/src/lpfc/lpfc_compat.h:40:5: warning: "__BIG_ENDIAN" is not defined
CC [M] /usr/src/lpfc/lpfc_mbox.o
In file included from /usr/src/lpfc/lpfc_mbox.c:38:
/usr/src/lpfc/lpfc_compat.h:40:5: warning: "__BIG_ENDIAN" is not defined
CC [M] /usr/src/lpfc/lpfc_nportdisc.o
CC [M] /usr/src/lpfc/lpfc_scsiport.o
In file included from /usr/src/lpfc/lpfc_scsiport.c:42:
/usr/src/lpfc/lpfc_fcp.h:76:5: warning: "__BIG_ENDIAN" is not defined
/usr/src/lpfc/lpfc_scsiport.c: In function âlpfc_target_unblockâ:
/usr/src/lpfc/lpfc_scsiport.c:1351: warning: implicit declaration of function âfc_target_unblockâ
/usr/src/lpfc/lpfc_scsiport.c: In function âlpfc_target_blockâ:
/usr/src/lpfc/lpfc_scsiport.c:1380: warning: implicit declaration of function âfc_target_blockâ
CC [M] /usr/src/lpfc/lpfc_fcp.o
In file included from /usr/src/lpfc/lpfc_fcp.c:51:
/usr/src/lpfc/lpfc_fcp.h:76:5: warning: "__BIG_ENDIAN" is not defined
In file included from /usr/src/lpfc/lpfc_fcp.c:57:
/usr/src/lpfc/lpfc_compat.h:40:5: warning: "__BIG_ENDIAN" is not defined
/usr/src/lpfc/lpfc_fcp.c: In function âlpfc_get_port_idâ:
/usr/src/lpfc/lpfc_fcp.c:1707: warning: implicit declaration of function âfc_port_idâ
/usr/src/lpfc/lpfc_fcp.c:1707: error: invalid lvalue in assignment
/usr/src/lpfc/lpfc_fcp.c: In function âlpfc_get_node_nameâ:
/usr/src/lpfc/lpfc_fcp.c:1718: warning: implicit declaration of function âfc_node_nameâ
/usr/src/lpfc/lpfc_fcp.c:1718: error: invalid lvalue in assignment
/usr/src/lpfc/lpfc_fcp.c: In function âlpfc_get_port_nameâ:
/usr/src/lpfc/lpfc_fcp.c:1729: warning: implicit declaration of function âfc_port_nameâ
/usr/src/lpfc/lpfc_fcp.c:1729: error: invalid lvalue in assignment
/usr/src/lpfc/lpfc_fcp.c: At top level:
/usr/src/lpfc/lpfc_fcp.c:1756: error: unknown field âget_port_idâ specified in initializer
/usr/src/lpfc/lpfc_fcp.c:1756: warning: initialization from incompatible pointer type
/usr/src/lpfc/lpfc_fcp.c:1757: error: unknown field âshow_port_idâ specified in initializer
/usr/src/lpfc/lpfc_fcp.c:1757: warning: initialization makes pointer from integer without a cast
/usr/src/lpfc/lpfc_fcp.c:1759: error: unknown field âget_node_nameâ specified in initializer
/usr/src/lpfc/lpfc_fcp.c:1759: warning: initialization from incompatible pointer type
/usr/src/lpfc/lpfc_fcp.c:1760: error: unknown field âshow_node_nameâ specified in initializer
/usr/src/lpfc/lpfc_fcp.c:1760: warning: initialization makes pointer from integer without a cast
/usr/src/lpfc/lpfc_fcp.c:1762: error: unknown field âget_port_nameâ specified in initializer
/usr/src/lpfc/lpfc_fcp.c:1762: warning: initialization from incompatible pointer type
/usr/src/lpfc/lpfc_fcp.c:1763: error: unknown field âshow_port_nameâ specified in initializer
/usr/src/lpfc/lpfc_fcp.c:1763: warning: initialization makes pointer from integer without a cast
make[2]: *** [/usr/src/lpfc/lpfc_fcp.o] Error 1
make[1]: *** [_module_/usr/src/lpfc] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/kernel-2.6.16.2'
make: *** [build] Error 2
make: Leaving directory `/usr/src/lpfc'
Any thoughts?
|