LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 04-29-2004, 07:51 AM   #1
facs
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Rep: Reputation: 0
Question Red Hat Enterpraise 3 & driver emulex


I have an HP DL580 with Red Hat Enterprise linux 3 and I have installed a fc card :
Fibre Channel: Emulex Corporation LP952 Fibre Channel Adapter (rev 01)
I try to install the driver downloaded from emulex ftp site but I have found many error.
Can anyone help me?
Can anyone say me if there is a documentation of installation for Red Hat Entrpraise 3?
Can anyone say me if there are any prerequirement?
Thanks.
facs
 
Old 01-27-2005, 09:32 PM   #2
avattathil
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
lpfcdd Emulex RHES 3 (how to install lpfcdd driver on Linux)

Emulex Driver Install

To support a framework, which allows kernel modules to be dynamically built dkms package must be installed prior to installed

# rpm - Uvh dkms-1.10-1.noarch.rpm

Then install Emulex driver
# rpm - Uvh emulex-2.02e-1dkms.noarch.rpm

Next install Emulex management software
# rpm - Uvh lpfcdriver-2.01g-1.i386.rpm
# rpm - Uvh HBAnyware-2.0a13-1.i386.rpm

In order to load the lpfcdd driver you must replace the drive supplied with update 3. To accomplish this you must edit /etc/modules.conf and remove the alias for lpfc

Remove the line
# alias scsi_hostadapter lpfc
Replace it with
# alias scsi_hostadapter lpfcdd

(if other driver exists increment adapter id hostadapter1)

Because the lpfc driver is extended via the scsi_mod you will not be able to unload it

(scsi_mod 115240 4 [cciss lpfc sd_mod])


To start the new driver at boot you will have to modify the initial ram-disk (make a new initrd image). After you make the correction to modules.conf run depmod - a

To read the module file and create a new image
Change dir to boot
#cd /boot
cp initrd-2.4.21-27.0.2.ELsmp.img initrd-2.4.21-27.0.2.ELsmp.img_backup
(MAKE SURE BACKUP THE INITIAL IMAGE.). Doing this step incorrectly can render the server unbootable.

# mkinitrd -f initrd-2.4.21-27.0.2.ELsmp.img 2.4.21-27.0.2.Elsmp

Check grub.conf and insure that you are booting from the correct image.

On you next boot your should be on the new image

This operation does not taint the kernel, as you are not recompiling the kernel. Just changing the loadable modules.

Last edited by avattathil; 02-25-2005 at 12:28 PM.
 
Old 02-01-2005, 02:08 AM   #3
facs
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Talking

Thanks fot your help. IT's all rigtht.
The kernel linux-2.4.21-27.0.2.ELsmp contain the driver for emulex and I must to use the entry:
alias scsi_hostadapter1 lpfc

Thanks
Gabriele
 
  


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
Device Driver Writing Red Hat 8 & 9 unicorn21 Red Hat 2 12-14-2003 03:01 AM
howto setup Cable modem&router&red hat on machine with ethernet integrated on mobo&XP takanana Linux - Networking 14 10-23-2003 07:20 AM
Red Hat 9 & ISDN & Creative Labs Live! xarix Red Hat 1 10-13-2003 07:43 PM
XMMS & Red Hat 9 & MP3 plugin = no :( Slayer Linux - Software 12 10-08-2003 12:59 AM
Red Hat 7.2... & a modem with Red Hat 7.1 driver support rahduku Linux - Distributions 1 02-14-2002 11:49 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:54 PM.

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