LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-12-2006, 03:02 PM   #1
rcaisse
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Rep: Reputation: 0
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?
 
Old 08-02-2006, 12:52 AM   #2
DrAxeman
Member
 
Registered: Jun 2004
Location: State of Confusion
Distribution: My other OS is your Solaris box.
Posts: 84

Rep: Reputation: 15
I've worked a lot with Emulex drivers.

Can I see any relevant info /var/log/messages and /var/log/warn?

Also, are you sure you downloaded the correct version of the lpfc source?
 
Old 08-07-2006, 11:44 AM   #3
rcaisse
LQ Newbie
 
Registered: Jul 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I switched to QLogic HBA's and now they work fine. But thanks anyways!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emulex 7000E configuration Wells Debian 1 02-27-2006 05:26 PM
Emulex FC, STK 9740 - Confusion. dorga Linux - Hardware 0 09-13-2005 11:55 AM
AIX 5.1 Emulex HBA drivers jamesps AIX 4 02-01-2005 02:48 PM
Red Hat Enterpraise 3 & driver emulex facs Linux - Enterprise 2 02-01-2005 03:08 AM
Trouble Compiling Emulex Drivers vsubrama Red Hat 4 10-08-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration