Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Qlogic QLA2xxx driver

News

Linux Disk Management

Linux Networking

Recommended Links

QLogic cards

installing QLE2460

LVM
Manage Your Disk By UUID System Configuration Configuring multipath-tools Enabling the Multipath Deamon Querying the Status Tuning the Failover Managing IO
Software RAID udev Trunking / Bonding Solaris Multipathing Humor Etc

It's important to flash the most recent firmware image for the card before troubleshooting other issues.  For The NetApp there is special approved BIOS.  See Support OEM Download driver

If the driver is built into the ramdisk image (/boot/initrd), the ramdisk image should to be rebuilt and the server rebooted. This can be confirmed by running the following:

grep INITRD_MODULES /etc/sysconfig/kernel

If you see qla2xxx listed, then the driver is built into the image.

SANsurfer Linux Driver Installer (x86/x64/IA64)8.01.07.15-2 installs the appropriate kernel 2.6 drivers based on the hardware platform. Includes Linux driver version 8.01.07.15. Readme PDF 10781492 bytes, tgz format

There is also SANsurfer CLI (x86/x64) 1.7.1 build 20. This is a command line interface for use with the QLogic Linux driver, version 7.07.06 or 8.02.08, and the following Inbox drivers: SLES 10 and SLES 10 SP1 and Red Hat RHEL AS 5.0 and 5.1

NEWS CONTENTS

Old News ;-)

[Jun 08, 2010] QLogic View Thread

06/03/09

you should be able to use the inbox driver (qla2xxx.ko included with the OS).

...the latest driver version 8.02.23 was recently released and has been fully tested with SLES 10 SP2.

[Jun 08, 2010] QLogic View Thread

Hello,
The 8.01.06-fo driver has failover enabled by default. This is probably why only part of the disks are available. This can be changed by adding the following to /etc/modprobe.conf.local:
options qla2xxx ql2xfailover=0

If the driver is built into the ramdisk image (/boot/initrd), the ramdisk image will neet to be rebuilt and the server rebooted. This can be confirmed by running the following:

grep INITRD_MODULES /etc/sysconfig/kernel

If you see qla2xxx listed, then the driver is built into the image.

Regards,
QLogic Tech Support

[Jun 08, 2010] QLogic View Thread

Hi,

I have installed a fc card (QLogic QMH2462 4Gb FC HBA for HP c-Class BladeSystem ) I followed the Qlogic install for Suse instructions but I can´t see it in my system when I ran lspci although I can see it through the onboard administrator.

Details about the system:

OS: SLES 10 SP2

lsmod|grep qla
qla2xxx 1008684 0
firmware_class 28032 1 qla2xxx
intermodule 20868 1 qla2xxx
scsi_mod 170936 5 qla2xxx,scsi_transport_fc,sg,cciss,sd_mod

dmesg|grep -i ql
qla2xxx: module not supported by Novell, setting U taint flag.
QLogic Fibre Channel HBA Driver: 8.02.23-fo

grep ql /etc/sysconfig/kernel
INITRD_MODULES="cciss qla2xxx processor thermal fan jbd ext3 dm_mod edd"


Thanks

[Jun 07, 2010] QLogic Search Results

Subject: SLES 10 QLA2xxx - how to set up?

samuurai :

Hi Everyone,

I'm trying to set up my SUSE10 server to connect to an external Disk Array.

I've added these entries to modprobe.conf
alias scsi_hostadapter3 qla2xxx_conf
alias scsi_hostadapter4 qla2xxx
alias scsi_hostadapter5 qla2300

(does the 3,4 and 5 matter? I made it those numbers to avoid potential conflicts)

I do a dmesg and it's not finding /dev/sg1

It shows this:

scsi0 : qla2xxx
qla2xxx 0000:04:03.0:
QLogic Fibre Channel HBA Driver: 8.01.04-k
QLogic QLA2312 -
ISP2312: PCI-X (100 MHz) @ 0000:04:03.0 hdma+, host#=0, fw=3.03.18 IPX
ACPI: PCI Interrupt 0000:04:03.1[B] -> GSI 49 (level, low) -> IRQ 201
qla2xxx 0000:04:03.1: Found an ISP2312, irq 201, iobase 0xf8856000
qla2xxx 0000:04:03.1: Configuring PCI space...
qla2xxx 0000:04:03.1: Configure NVRAM parameters...
qla2xxx 0000:04:03.1: Verifying loaded RISC code...
qla2xxx 0000:04:03.1: Extended memory detected (512 KB)...
qla2xxx 0000:04:03.1: Resizing request queue depth (2048 -> 4096)...
qla2xxx 0000:04:03.1: Waiting for LIP to complete...
qla2xxx 0000:04:03.1: Cable is unplugged...


I know the hardware definitely works because this machine used to have Windows on it and it saw the array fine.

Cheers,

Beren

haz :

The numbers in modprobe.conf file suggests the order in which the drivers get loaded.

As you are using inbox driver, you need qla2xxx and qla2300 entries present.

Looking at the logs,"Cable is unplugged..." message comes only when "storage is not connected" or "Storage is connected but it is powered off"

Please check you do not have any of the above condition true in your case.

Thanks,
HAZ

[Jun 07, 2010] IT Resource Center forums - qla2xxx dirver problem - This thread has been closed

Mark McDonald:

Hi all

We have 2 identical servers (DL380 G5) connected to a raid via fibre cards. RHEL 5.0.

These boxes were running fine untill we lost power to the server room last week. 1 server has come back up fine, but the other has failed ot load the qla2xxx driver.

dmesg on the failed server:
qla2xxx: Unknown parameter `ql2xfailover'

There is no options line in modprobe.conf on either server.

The last line of lsmod on the failed server shows qla2xxx is missing:
scsi_mod 130637 4 sg,cciss,scsi_transport_fc,sd_mod

qla2xxx is there on the other machine.

I am unable to add the driver using modprobe:
> modprobe qla2xxx
FATAL: Module qla2xxx not found.

I'm not sure where to look next.

Thanks in advance Mark.

Mark McDonald:

I've just checked another environment with the same hardware and OS.

That also seems to have the same problem.

The machine that had the disks mounted prior to the power loss has failed to load the qla2xxx driver. Some sort of corruption?

Mark McDonald

Just tried rebuilding the initrd, but that omitted the qla2xxx driver completely.

This directory is empty: /lib/modules/2.6.18-8.1.6.el5/kernel/drivers/scsi/qla2xxx

Should that contain the module?

Mark McDonald

ok, copied the initrd across from the working server and we have the qla driver loaded and can see the disks.

Problem now is /dev/vg01 and /dev/vg02 are missing, how can I recreate them?

vgscan can see vg01 and vg02

Matti Kurkela

> qla2xxx: Unknown parameter `ql2xfailover'

There are (at least) two different versions of the qla2xxx driver. The RHEL 5 includes a standard version of the driver, which does not have built-in multipath handling. RedHat's recommendation is to use device-mapper multipath instead.

HP offers a version of the qla2xxx driver that includes the built-in multipath feature. The message "unknown parameter 'ql2xfailover'" suggests you used to have the version _with_ the multipath feature.
(The ql2xfailover option is specific to the built-in multipath feature.)

The VGs are probably not activated for some reason. What happens if you try to activate them?

vgchange -a y vg01
vgchange -a y vg02

(In Linux LVM2, the udev subsystem manages the device files for the LVs: it creates the devices when the VG and its LVs are activated, and removes them when they are deactivated. The LV device names are guaranteed to be persistent, but the major/minor device numbers aren't.)

MK

Mark McDonald:

Thanks MK, I had just ran the vgchange command and it worked.

Also thanks for the info regarding the drivers. I was given a very quick handover last year, and one thing that was mentioned was a different driver to allow multipathing.

Mark McDonald

copying initrd from the other system fixed the driver issue.

vgchange -a y vg01/2 fixed the missing /dev/vg0* issue.

Finally I need to reinstall the driver so that I can recreate initrd from the system its self.

QLogic View Thread

gurus

I have the total opposite problem of what most folks are describing here.
I have a PE8650 with 2 QLE2460's.

One does exactly what I want but the other acts weird.

It shows 26 devices although I only have 25 devices masked to this wwpn. The extra one has a * on it which means the OS doesn't see it. The OS never discovers it either yet the hba insists its there.
Here the details.

1. Relevant output of /proc/scsi/qla2xxx/2
before zoning:

scsi-qla1-adapter-port=2100001b321734f0;

FC Port Information:

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.

As you can see there is not visible target and therefore no devices.

on the dmx I have a masking entry for 25 devices for this wwpn (6 GK and 19 real devices)

2100001b321734f0 Fibre JOLIE_QLE_P2 2100001b321734f0 005E:0063
0070
0098
009C
00A0
00F1
012B
0155
0169
016D
0175
0179
0181
0185
0199
019D
01A7
01BD
01C1
01C7

When I create the zone and activate it /proc/scsi/qla2xxx/2 immediately shows 26 devices :

FC Port Information:
scsi-qla1-port-0=5006048ad5f0c350:5006048ad5f0c350:010000:81;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:25): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:26): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:27): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:28): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:29): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:30): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:31): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:32): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:33): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:34): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:35): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:36): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:37): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:38): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:39): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:40): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:41): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:42): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:43): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:44): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:45): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:46): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:47): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:48): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:49): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:81 00

At this point they're all not registered with the OS.
First weird this is how can I see 26 but the worst thing is that after rebooting the box the output looks like that :

FC Port Information:
scsi-qla1-port-0=5006048ad5f0c350:5006048ad5f0c350:010000:81;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 3, Pending reqs 0, flags 0x0*, 1:0:81 00
( 0:25): Total reqs 278, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:26): Total reqs 102, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:27): Total reqs 102, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:28): Total reqs 102, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:29): Total reqs 102, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:30): Total reqs 102, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:31): Total reqs 181, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:32): Total reqs 170, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:33): Total reqs 170, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:34): Total reqs 181, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:35): Total reqs 181, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:36): Total reqs 170, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:37): Total reqs 181, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:38): Total reqs 170, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:39): Total reqs 159, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:40): Total reqs 170, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:41): Total reqs 167, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:42): Total reqs 178, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:43): Total reqs 167, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:44): Total reqs 178, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:45): Total reqs 167, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:46): Total reqs 178, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:47): Total reqs 185, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:48): Total reqs 5817, Pending reqs 0, flags 0x0, 1:0:81 00
( 0:49): Total reqs 241, Pending reqs 0, flags 0x0, 1:0:81 00

As you can see 25 devices are there plus one extra one.
Problem is simply what is this, why do I see it and why does the OS not see it then ?
The other qle card on the same host only sees 25 devices and has no * just like desired.

On closer inspection I realize that this is lun0 which should only be visible via QLE port 1 but it seems stuck in QLE port 2 also. Almost as if the scsi layer still thinks it's there when it isn't anymore. But should a reboot fix this since udev will kick in ?
According to symcli lun 0 and lun 19 are the same device (gatekeeper 005E). Something seems double visible but I can't see where.
PP is happy too and sees the 25 device I want it to see.

Has anyone seen this ?

Recommended Links

Google matched content

Softpanorama Recommended

Top articles

Sites

...

Internal

External

QLE2460 - QLogic

SUSE Linux Enterprise Desktop 10 Release Notes

Multipath-usage.txt File for Red Hat Enterprise Linux 4 Update 3

Fun with your SAN and Multi-path " SUSE Linux Enterprise in the Americas

Linux Multipath Howto (RHAS4)

Device Mapper Resource Page
List of sources and related packages, etc...
How do I setup device-mapper multipathing in Red Hat Enterprise Linux 4?
Redhat Knowledge Base, article id: 7170
Basically the same as this page, but more generic.
How do I make device mapper multipath ignore my local disks when generating the multipath maps in Red Hat Enterprise Linux 4?
Redhat Knowledge Base, article id: 7319
How can I add more products into the multipathing database?
Redhat Knowledge Base, article id: 8131
Device Mapper Resource Page
List of sources and related packages, etc...
How do I setup device-mapper multipathing in Red Hat Enterprise Linux 4?
Redhat Knowledge Base, article id: 7170
Basically the same as this page, but more generic.
How do I make device mapper multipath ignore my local disks when generating the multipath maps in Red Hat Enterprise Linux 4?
Redhat Knowledge Base, article id: 7319
How can I add more products into the multipathing database?
Redhat Knowledge Base, article id: 8131

QLogic Driver Download

QLogic - Wikipedia, the free encyclopedia



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019