Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 02-28-2008, 03:47 PM   #1
LQ Newbie
Registered: Feb 2008
Posts: 4

Rep: Reputation: 0
Question How to determine device driver versions in RHEL 4 Update 4?

I'm running Red Hat AS 4 Update 4. I've got a 2-channel Emulex fibre channel HBA installed in the server. I'm using the Emulex drivers that come bundled with the OS. What is the command & syntax I can use to find out the version of the driver the HBA is using? I've tried using different syntax variations of systool, modprobe, & cat /proc/scsi/lpfc[0|1] with no success. FYI: lpfc is the name of the Emulex driver. 'rpm -qa | grep lpfc' returns no results even though I've confirmed that the driver is loaded:

# lsmod | grep -i lpfc
lpfcdfc 186261 8
lpfc 188481 6 lpfcdfc
scsi_transport_fc 11841 2 lpfcdfc,lpfc
scsi_mod 141457 9 lpfcdfc,sr_mod,usb_storage,sg,st,lpfc,scsi_transport_fc,cciss,sd_mod

Thank you in advance. I greatly appreciate it!
Old 02-28-2008, 04:27 PM   #2
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
you should be able to use modinfo.

$ modinfo lpfc | head
filename:       /lib/modules/
version:        0:8.2.2
author:         Emulex Corporation -
description:    Emulex LightPulse Fibre Channel SCSI driver 8.2.2
license:        GPL
srcversion:     4F8B4F07645EB9686CF1225
alias:          pci:v000010DFd0000FC40sv*sd*bc*sc*i*
alias:          pci:v000010DFd0000F111sv*sd*bc*sc*i*
alias:          pci:v000010DFd0000F112sv*sd*bc*sc*i*
alias:          pci:v000010DFd0000F011sv*sd*bc*sc*i*
in the example output above lpfc is
version: 0:8.2.2
Old 02-28-2008, 06:46 PM   #3
LQ Newbie
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks, rayfordj. I use that command in Solaris all the time. I don't know why I didn't even think to use it in Linux. Geez. Thanks, again.


drivers, emulex, fibre

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
How to determine device driver versions in RHEL 4 Update 4? bigd00dy Linux - Newbie 1 02-28-2008 05:24 PM
Installing RHEL 4: no device driver for SATA HDD cool_guy_km Linux - Hardware 1 10-17-2007 02:24 PM
How to determine software versions Wim Sturkenboom Linux - Software 5 01-27-2005 01:21 AM
How to determine driver versions in FC3 jamespwalter Linux - Newbie 2 01-10-2005 08:15 AM
Finding Device Driver Location and VERSIONS Rita Linux - Software 0 01-20-2002 08:20 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:02 AM.

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