LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-19-2012, 07:32 AM   #1
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
Checking Qlogic bios/firmware/driver version


Hi Guys,

Would just like to confirm if the following below is where you determine the bios/firmware/driver version

Code:
/sys/class/scsi_host/host0/fw_version
/sys/class/scsi_host/host0/driver_version
/sys/class/scsi_host/host0/optrom_bios_version
 
Old 04-19-2012, 08:11 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
It depends on WHICH firmware you're interested in.

If you install the Qlogic scli command and look at a specific HBA's information it will show something like:
Quote:
Host Name : noneya
HBA Instance : 0
HBA Model : QLE2564
HBA Description : QLE2564 PCI Express to 8Gb FC Quad Channel
HBA ID : 0-QLE2564
HBA Alias :
HBA Port : 1
Port Alias :
Node Name : 20-00-00-24-FF-x-x-x
Port Name : 21-00-00-24-FF-x-x-x
Port ID : EE-00-0C
Serial Number : RFD1019C30000
Driver Version : 8.03.04.12.06.0-k0
BIOS Version : 2.10
Driver Firmware Version : 5.03.15 (d5)
Flash BIOS Version : 2.10
Flash FCode Version : 2.04
Flash EFI Version : 2.04
Flash Firmware Version : 4.06.02
Actual Connection Mode : Point to Point
Actual Data Rate : 8 Gbps
PortType (Topology) : NPort
Target Count : 2
PCI Bus Number : 7
PCI Device Number : 0
PCIe Max Bus Width : x8
PCIe Max Bus Speed : 5.0 Gbps
PCIe Negotiated Width : x4
PCIe Negotiated Speed : 5.0 Gbps
HBA Status : Online
The file you asked about will output the information corresponding to "Driver Firmware Version" in the above output.
Quote:
cat /sys/class/scsi_host/host1/fw_version
5.03.15 (d5)
However as can be seen there are other firmware items listed for the HBA by Qlogic.

You can get the scli package from Qlogic's website. The one I last installed was scli-1.7.3-37.i386.rpm.
 
Old 04-19-2012, 08:37 AM   #3
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
Hi MensaWater,

unfortunately i dont have the liberty to install that tool so my only source of info are the files in /proc or /sys
 
Old 04-19-2012, 09:22 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Well as noted above there is a fw_version reported in the file you mentioned.

The flash fw_version appears to correspond with what is in:
/sys/class/scsi_host/host1/optrom_fw_version

Note that I see this on RHEL6 but not on RHEL5 so it may depend on what level of distro you're using. In RHEL5 I relied more on /proc for information than in RHEL6 where I rely on /sys.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PC BIOS/Firmware Training kushalkoolwal General 2 05-05-2009 02:21 PM
upgrading Dell bios and firmware?? stratotak Linux - Newbie 3 12-28-2008 12:21 AM
Checking driver version of NIC card jeriryan Linux - Newbie 3 06-26-2008 05:17 PM
apm: BIOS version 1.2 flags 0x03 (Driver version 1.16) JEBBEDIAH C Linux - Newbie 0 02-04-2005 05:12 PM
QLA2342 7.00.03 qlogic driver niverson Linux - Hardware 0 07-08-2004 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:12 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