1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Emulex Lightpulse Fiber Card
(1 viewing) 1 Guest
Go to bottomPage: 12345
TOPIC: Emulex Lightpulse Fiber Card
#43721
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
ok, drivers are installed. poking and prodding around a bit to see if i could get it done but no such luck yet as the link_state is down. I tried echo UP > link_state as shown in the Emulex manual but i get a write error: Invalid argument.

From what i gathered from the manual, its properties are stored in files and any changes to them are immediate. Maybe i have to <mount -xxxx> the directory (i forget the command), i ran into this once before where wasnt able to edit a file because the file system wasnt writable.

One question i have aside from, any advice, is, why arent fiber nics treated the same way copper nics are? I would think that you should be able to do an ifconfig and see the interfaces like copper and edit as such. why the special treatment?
Darin Schmidt
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43722
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
I've never used fiber optic equipment either, so I may not be able to help you very much. If you post exactly how you installed the driver, someone may be able to help you more.

Do you know the exact name of the kernel module (driver) that the card uses? If you do, you could try:

Code:



modprobe name_of _the_module




to load the driver.

Addendum:

I found this link:

www.freelinuxtips.com/emulex-hba-driver/...hba-driver-in-linux/

It may help you.
yaye
Gold Boarder
Posts: 167
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/07/15 21:47 By yaye.
The administrator has disabled public write access.
"To see the earth as we now see it, small and blue and beautiful in that eternal silence where it floats, is to see ourselves as riders on the earth together, brothers on that bright loveliness in the unending night, brothers who see now they are truly brothers." - Archibald MacLeish, Brothers in Eternal Cold
 
#43724
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
I downloaded the latest drivers for RHEL 6.2 elx-lpfc-dd-rhel6-8.3.5.68 inside that there is a file called elx_lpfc_install.sh but it wont install from that because it says that it cant detect the distribution type so i extracted tar file: lpfc-rhel6-8.3.5.68-1.tar.gz

Then inside that it contained a rpm called kmod-elx-lpfc-8.3.5.68_2.6.32_131.0.15.el6-1.x86_64.rpm so i did a yum install kmod-elx-lpfc-8.3.5.68_2.6.32_131.0.15.el6-1.x86_64.rpm

it seemed to install and i did a reboot, nothing showed up on the interfaces of ClearOS so thats why i started to dig around a little more.
Darin Schmidt
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43725
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
Try:

modprobe lpfc
yaye
Gold Boarder
Posts: 167
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
"To see the earth as we now see it, small and blue and beautiful in that eternal silence where it floats, is to see ourselves as riders on the earth together, brothers on that bright loveliness in the unending night, brothers who see now they are truly brothers." - Archibald MacLeish, Brothers in Eternal Cold
 
#43727
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
tried that, in the emulex manual it refers to a modprobe.conf, no such file exists for me. i put in your command and nothing was spit back to me, i checked the link status of both hosts and link was still down.

Thanks for the help, if you can think of anything else, i would appreciate it.
Darin Schmidt
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43728
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
I have found cases where modprobe failed to find the module - try this just in case

updatedb && insmod `locate lpfc.ko`

then, when it finishes, run

lsmod | grep lpfc

Note the "back ticks" normally just to the left of the number 1 key (usually also has ~ as a shift)
the first command line may take a few minutes - so be patient..

modprobe.conf is no longer used with Version 6 so that manual is presumed for Version 5
Tony Ellis
Platinum Boarder
Posts: 1048
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43729
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
thanks tony, when i tried ( updatedb && insmod `locate lpfc.ko` ) that it gives this error: should i remove it and run the command again?

insmod: error inserting '/lib/modules/2.6.32-131.0.15.el6.x86_64/extra/elx-lpfc/lpfc.ko': -1 File exists

for the sake of it i tried the other part of the command ( lsmod | grep lpfc ) just to see what it would do since the file exists and this is what it says:

lpfc 665523 0
scsi_transport_fc 55235 1 lpfc



I checked dmesg again and now that the drivers are installed it shows this that i didnt notice before:

Emulex LightPulse Fibre Channel SCSI driver 8.3.5.68
Copyright(c) 2004-2011 Emulex. All rights reserved.
alloc irq_desc for 28 on node 0
alloc kstat_irqs on node 0
lpfc 0000:02:01.0: PCI INT A -> GSI 28 (level, low) -> IRQ 28
scsi2 : Emulex LP9000 1Gb PCI Fibre Channel Adapter on PCI bus 02 device 08 irq
28

scsi3 : Emulex LP9802 1Gb PCI-X Fibre Channel Adapter on PCI bus 06 device 08 irq 37

lpfc module is older than RHEL 6.2 ... applying fixups
lpfc 0000:02:01.0: PCI INT A -> GSI 28 (level, low) -> IRQ 28
lpfc 0000:06:01.0: PCI INT A -> GSI 37 (level, low) -> IRQ 37
lpfc 0000:02:01.0: 0:1303 Link Up Event x1 received Data: x1 xf7 x8 x0 x0 x0 0
lpfc 0000:02:01.0: 0:(0):0237 Pending Link Event during Discovery: State x7
lpfc 0000:02:01.0: 0:1305 Link Down Event x2 received Data: x2 x7 x98014 x0 x0
lpfc 0000:02:01.0: 0:1303 Link Up Event x3 received Data: x3 x0 x8 x0 x0 x0 0
lpfc 0000:02:01.0: 0:(0):0237 Pending Link Event during Discovery: State x7
lpfc 0000:02:01.0: 0:1305 Link Down Event x4 received Data: x4 x7 x98014 x0 x0


if that helps any
Darin Schmidt
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/07/16 00:48 By darinschmidt.
The administrator has disabled public write access.
 
#43730
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
OK - a lpfc.ko driver is loaded - but with all the rpms you installed we don't know which one...

In fact I just looked at my ClearOS V 6.3 64 bit - and lpfc.ko is there as part of the base install...

Here is the result of modinfo - just the first few lines... for the ClearOS 6.3 Version

Code:


[root@alice lpfc]# modinfo lpfc.ko
filename:       lpfc.ko
version:        0:8.3.5.68.5p
author:         Emulex Corporation - tech.support@emulex.com
description:    Emulex LightPulse Fibre Channel SCSI driver 8.3.5.68.5p
license:        GPL
srcversion:     268B4330F21043D84588C13
alias:          pci:v000010DFd0000E268sv*sd*bc*sc*i*
alias:          pci:v000010DFd0000E208sv*sd*bc*sc*i*
alias:          pci:v000010DFd0000E260sv*sd*bc*sc*i*
...
...

Tony Ellis
Platinum Boarder
Posts: 1048
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43731
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
ok, maybe i'll start from scratch with a fresh install tomorrow and let you know how things go with that.
Darin Schmidt
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43732
Re:Emulex Lightpulse Fiber Card 10 Months, 2 Weeks ago  
Just take it one trial at a time - if the ClearOS provided driver doesn't work - rename it so it doesn't load (make sure it is unloaded first) and install one of the rpms - and if that does work, then remove that rpm before trying the next etc so you know where you are and exactly which is being loaded... One change at a time...

Note that I know nothing about fibre - just had a fair bit of experience compiling and loading modules!
Tony Ellis
Platinum Boarder
Posts: 1048
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12345
  get the latest posts directly to your desktop