<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RHEL 4 QLogic driver update problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663184#M41607</link>
    <description>Hello everybody:&lt;BR /&gt;&lt;BR /&gt;I have another problem on which I hope someone can shed some light...&lt;BR /&gt;&lt;BR /&gt;Environment&lt;BR /&gt;ProLiant DL580 G3&lt;BR /&gt;RHEL 4.8&lt;BR /&gt;kernel 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686 i686 i386 GNU/Linux&lt;BR /&gt;QLogic fibre card: QLA2342 &lt;BR /&gt;EMC with PowerPath v. 5.3&lt;BR /&gt;&lt;BR /&gt;While running an emcgrab report a few weeks ago, we found this problem:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;Driver Version 8.01.07.15-fo&lt;BR /&gt;EMC Supported Driver version(s) 8.02.09.02.04.08-d&lt;BR /&gt;WARNING Detected version (8.01.07.15-fo) does not match any of the EMC supported Driver version(s) listed&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Therefore, I attempted to update the driver to 8.02&lt;BR /&gt;&lt;BR /&gt;In the process, the only 8.02 driver I found from the QLogic website, was this one: 8.02.09-d0-rhel4.7-05&lt;BR /&gt;&lt;BR /&gt;As that driver archive doesn't have an install script (qinstall) - I went the manual method - extracted the files from the archive, and ran the build.sh script. Copied the .ko modules over to the /lib/modules directory, and then ran:&lt;BR /&gt;mkinitrd -f initrd.&lt;KERNEL_VER&gt;.img &lt;KERNEL_VER&gt;&lt;BR /&gt;&lt;BR /&gt;Well sir, when I rebooted it dropped into maintenance mode because it could not find any SAN located filesystems from the /etc/fstab file. (Errored on one fs, I booted to single user, removed it from fstab, and then rebooted - only to have it crap out on the next fs.)&lt;BR /&gt;&lt;BR /&gt;I restored my saved initrd.img and rebooted, and then everything came back.&lt;BR /&gt;&lt;BR /&gt;In the mean time, the new qla driver modules are still in the /lib/modules tree. (didn't restore the old qla kernel modules to the tree.)&lt;BR /&gt;&lt;BR /&gt;Now, what I think I have is a system that boots using qla driver 8.01.07.15-fo to load all the SAN partitions - and then later in the boot process, loads the newer module that I manually copied into the /lib/modules tree.&lt;BR /&gt;&lt;BR /&gt;I assume that because of the fact that I restored the initrd.img (which had the older driver) plus the fact that modinfo tells me I'm using the newer driver:&lt;BR /&gt;&lt;BR /&gt;# modinfo qla2xxx | grep version&lt;BR /&gt;version: 8.02.09-d0-rhel4.7-05 &lt;BR /&gt;&lt;BR /&gt;So the question is this: what did I miss while creating a new initrd.img which caused non of the SAN VGs to be seen on boot?&lt;BR /&gt;&lt;BR /&gt;Is there a more complex mkinitrd process that requires info about lvm and or SAN? I've not heard of such, and I've read countless readme files on creating an initrd img - including the one in the driver software archive, and nothing indicates that I need to pass any other parms to the mkinitrd. &lt;BR /&gt;&lt;BR /&gt;The only change I made was to build and manually copy the .ko files into the /lib/modules tree (as per manual) and then run mkinitrd, and all that followed was major problems.&lt;BR /&gt;&lt;BR /&gt;Can anyone lend any insight?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;/KERNEL_VER&gt;&lt;/KERNEL_VER&gt;</description>
    <pubDate>Mon, 19 Jul 2010 17:51:12 GMT</pubDate>
    <dc:creator>Leibniz</dc:creator>
    <dc:date>2010-07-19T17:51:12Z</dc:date>
    <item>
      <title>RHEL 4 QLogic driver update problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663184#M41607</link>
      <description>Hello everybody:&lt;BR /&gt;&lt;BR /&gt;I have another problem on which I hope someone can shed some light...&lt;BR /&gt;&lt;BR /&gt;Environment&lt;BR /&gt;ProLiant DL580 G3&lt;BR /&gt;RHEL 4.8&lt;BR /&gt;kernel 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686 i686 i386 GNU/Linux&lt;BR /&gt;QLogic fibre card: QLA2342 &lt;BR /&gt;EMC with PowerPath v. 5.3&lt;BR /&gt;&lt;BR /&gt;While running an emcgrab report a few weeks ago, we found this problem:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;Driver Version 8.01.07.15-fo&lt;BR /&gt;EMC Supported Driver version(s) 8.02.09.02.04.08-d&lt;BR /&gt;WARNING Detected version (8.01.07.15-fo) does not match any of the EMC supported Driver version(s) listed&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Therefore, I attempted to update the driver to 8.02&lt;BR /&gt;&lt;BR /&gt;In the process, the only 8.02 driver I found from the QLogic website, was this one: 8.02.09-d0-rhel4.7-05&lt;BR /&gt;&lt;BR /&gt;As that driver archive doesn't have an install script (qinstall) - I went the manual method - extracted the files from the archive, and ran the build.sh script. Copied the .ko modules over to the /lib/modules directory, and then ran:&lt;BR /&gt;mkinitrd -f initrd.&lt;KERNEL_VER&gt;.img &lt;KERNEL_VER&gt;&lt;BR /&gt;&lt;BR /&gt;Well sir, when I rebooted it dropped into maintenance mode because it could not find any SAN located filesystems from the /etc/fstab file. (Errored on one fs, I booted to single user, removed it from fstab, and then rebooted - only to have it crap out on the next fs.)&lt;BR /&gt;&lt;BR /&gt;I restored my saved initrd.img and rebooted, and then everything came back.&lt;BR /&gt;&lt;BR /&gt;In the mean time, the new qla driver modules are still in the /lib/modules tree. (didn't restore the old qla kernel modules to the tree.)&lt;BR /&gt;&lt;BR /&gt;Now, what I think I have is a system that boots using qla driver 8.01.07.15-fo to load all the SAN partitions - and then later in the boot process, loads the newer module that I manually copied into the /lib/modules tree.&lt;BR /&gt;&lt;BR /&gt;I assume that because of the fact that I restored the initrd.img (which had the older driver) plus the fact that modinfo tells me I'm using the newer driver:&lt;BR /&gt;&lt;BR /&gt;# modinfo qla2xxx | grep version&lt;BR /&gt;version: 8.02.09-d0-rhel4.7-05 &lt;BR /&gt;&lt;BR /&gt;So the question is this: what did I miss while creating a new initrd.img which caused non of the SAN VGs to be seen on boot?&lt;BR /&gt;&lt;BR /&gt;Is there a more complex mkinitrd process that requires info about lvm and or SAN? I've not heard of such, and I've read countless readme files on creating an initrd img - including the one in the driver software archive, and nothing indicates that I need to pass any other parms to the mkinitrd. &lt;BR /&gt;&lt;BR /&gt;The only change I made was to build and manually copy the .ko files into the /lib/modules tree (as per manual) and then run mkinitrd, and all that followed was major problems.&lt;BR /&gt;&lt;BR /&gt;Can anyone lend any insight?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;/KERNEL_VER&gt;&lt;/KERNEL_VER&gt;</description>
      <pubDate>Mon, 19 Jul 2010 17:51:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663184#M41607</guid>
      <dc:creator>Leibniz</dc:creator>
      <dc:date>2010-07-19T17:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL 4 QLogic driver update problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663185#M41608</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Insight? No.&lt;BR /&gt;&lt;BR /&gt;So the question is this: what did I miss while creating a new initrd.img which caused non of the SAN VGs to be seen on boot?&lt;BR /&gt;&lt;BR /&gt;Driver incompatibility with your kernel or the way you hacked this driver into use.&lt;BR /&gt;&lt;BR /&gt;Is there a more complex mkinitrd process that requires info about lvm and or SAN? I've not heard of such, and I've read countless readme files on creating an initrd img - including the one in the driver software archive, and nothing indicates that I need to pass any other parms to the mkinitrd. &lt;BR /&gt;&lt;BR /&gt;No, mkinitrd on all currently released Linux OS does not support LVM boot.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 19 Jul 2010 18:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663185#M41608</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-07-19T18:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL 4 QLogic driver update problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663186#M41609</link>
      <description>And when you say "hack" I assume you mean "followed the install directions carefully", i.e.&lt;BR /&gt;&lt;BR /&gt;# cd 8.02.09-d0-rhel4.7-05/&lt;BR /&gt;# cat readme_qla2xxx_inbox.txt&lt;BR /&gt;---snip---&lt;BR /&gt;4. Build the driver modules from the source code by starting the&lt;BR /&gt;   build.sh script. For example:&lt;BR /&gt;&lt;BR /&gt;   # ./build.sh&lt;BR /&gt;&lt;BR /&gt;--snip- To load drivers manually... ---&lt;BR /&gt;&lt;BR /&gt; * To load the driver using modprobe:&lt;BR /&gt;&lt;BR /&gt;    1. Copy the .ko files to the appropriate&lt;BR /&gt;       /lib/modules/2.6.../kernel/drivers/scsi/qla2xxx directory.&lt;BR /&gt;       For example:&lt;BR /&gt;&lt;BR /&gt;       # cp *.ko /lib/modules/2.6.../kernel/drivers/scsi/qla2xxx&lt;BR /&gt;&lt;BR /&gt;    2. Enter the following commands:&lt;BR /&gt;&lt;BR /&gt;       # modprobe -v qla2300 (QLA23XX) or&lt;BR /&gt;       # modprobe -v qla2400 (QLE24XX/QLE24XX/QLE8042) or&lt;BR /&gt;       # modprobe -v qla2500 (QLE25XX)&lt;BR /&gt;&lt;BR /&gt;   NOTE: The modprobe -v qla2300/qla2400/qla2500 command&lt;BR /&gt;   automatically loads the qla2xxx.ko and&lt;BR /&gt;   scsi_transport_fc.ko components.&lt;BR /&gt;&lt;BR /&gt; * To unload the driver using modprobe, enter the following&lt;BR /&gt;   command:&lt;BR /&gt;&lt;BR /&gt;   # modprobe -r qla2300/qla2400/qla2500&lt;BR /&gt;&lt;BR /&gt;   This command unloads the qla2300.ko and qla2xxx.ko modules.&lt;BR /&gt;   If the system finds additional firmware-loader modules (such as&lt;BR /&gt;   qla2400.ko) that depend on qla2xxx.ko, it will not unload&lt;BR /&gt;   the qla2xxx.ko file.&lt;BR /&gt;&lt;BR /&gt;5.3  Making a RAMDISK Image to Load the Driver&lt;BR /&gt;&lt;BR /&gt;Use the following steps to build a ramdisk image on RHEL 4.7:&lt;BR /&gt;&lt;BR /&gt; 1. Follow the steps in section 5.1&lt;BR /&gt;&lt;BR /&gt; 2. Copy the .ko files to the appropriate&lt;BR /&gt;   /lib/modules/2.6.../kernel/drivers/scsi/qla2xxx&lt;BR /&gt;   directory. For example:&lt;BR /&gt;&lt;BR /&gt;   # cp *.ko /lib/modules/2.6.../kernel/drivers/scsi/qla2xxx&lt;BR /&gt;&lt;BR /&gt; 3. Edit the /etc/modprobe.conf file and add the following entries&lt;BR /&gt;    (if not already present):&lt;BR /&gt;&lt;BR /&gt;    alias scsi_hostadapter1 qla2xxx&lt;BR /&gt;    alias scsi_hostadapter2 qla2300 (QLA23XX) or&lt;BR /&gt;    alias scsi_hostadapter3 qla2400 (QLA24XX/QLE24XX/QLE8042) or&lt;BR /&gt;    alias scsi_hostadapter4 qla2500 (QLE25xx)&lt;BR /&gt;&lt;BR /&gt; 4. Change to the /boot directory for x86, and x86_64 platforms, and&lt;BR /&gt;    to /boot/efi/efi/redhat for ia64 platforms.&lt;BR /&gt;&lt;BR /&gt; 5. Create a backup of current RAMDISK image. For example:&lt;BR /&gt;&lt;BR /&gt;    # cp -f initrd-[kernel_version].img initrd-[kernel_version].img.bak&lt;BR /&gt;&lt;BR /&gt; 6. Build the RAMDISK image by executing the following command:&lt;BR /&gt;&lt;BR /&gt;    # mkinitrd -f initrd-[kernel_version].img [kernel_version]&lt;BR /&gt;&lt;BR /&gt; 7. Reboot the system to load the RAMDISK image with the QLogic driver.&lt;BR /&gt;---snip---&lt;BR /&gt;&lt;BR /&gt;And voila!  can't find SAN partitions and drops into maintenance mode.&lt;BR /&gt;&lt;BR /&gt;A driver incompatability does make sense for the problem.  If the QLA driver fails in the initrd while booting, it follows that it would not find any SAN partitions.&lt;BR /&gt;&lt;BR /&gt;That said - version 8.02.09.02.04.08-d seems to be the EMC required version of the driver, and yet that specific version does not seem to be available on the QLogic download site.  &lt;BR /&gt;&lt;BR /&gt;Anyone know if that version is maybe a non-QLogic version of the driver (EMC? RH?)&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jul 2010 19:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663186#M41609</guid>
      <dc:creator>Leibniz</dc:creator>
      <dc:date>2010-07-19T19:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL 4 QLogic driver update problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663187#M41610</link>
      <description>At some point(s) of the RHEL 4 release cycle, the built-in QLogic driver was updated. &lt;BR /&gt;&lt;BR /&gt;The qla2xxx driver version 8.02.09.01.04.09-d is currently included in the standard RHEL 4 kernel package (version 2.6.9-89.0.26.ELsmp), so you don't have to install any extra driver packages from HP nor from QLogic. Just update your kernel to the latest version available from RHN.&lt;BR /&gt;&lt;BR /&gt;If your system uses the older module to mount the SAN partitions, the newer module cannot replace it: you cannot unload the driver module while the SAN filesystems are mounted. The module loading command knows that a module with the same name is already loaded and in use, so it does nothing at all.&lt;BR /&gt;&lt;BR /&gt;The modinfo command simply looks at the module file in your /lib/modules tree, so you're really still using the older module included in the initrd.img, and just fooling the modinfo command with the newer module file.&lt;BR /&gt;&lt;BR /&gt;To find the version number of the qla2xxx module you're really using, run:&lt;BR /&gt;&lt;BR /&gt;head /proc/scsi/qla2xxx/*&lt;BR /&gt;&lt;BR /&gt;If you want to use the module version 8.02.09.01.04.09-d, verify your /etc/modprobe.conf file does not contain any options for the qla2xxx module that the new version does not understand: unrecognized options may stop the module from loading.&lt;BR /&gt;&lt;BR /&gt;Another thing you should know: if your /etc/modprobe.conf contains more than one "options qla2xxx ..." line, the initrd.img creation process may become confused and create a broken early-startup script within the initrd.img file. &lt;BR /&gt;&lt;BR /&gt;I once saw such a case (on about RHEL 4.4, I think) and the system was stuck in an infinite loop within the initrd, spewing lots messages on the console. I had to set up my laptop as a serial console to capture the earliest error messages in order to get to the bottom of that mess...&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 20 Jul 2010 10:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663187#M41610</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-07-20T10:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: RHEL 4 QLogic driver update problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663188#M41611</link>
      <description>Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;Upon further investigation, what we have is an EMC supported kernel version ( 2.6.9-89.ELsmp) which, for some reason, had an old version of the QLA driver in it (8.01.07.15-fo) and I just learned what you also posted - that the [supported and proper] QLA driver is already compiled in the kernel.&lt;BR /&gt;&lt;BR /&gt;So, we still don't know how that old module got in there, but afte we boot of an older kernel and then force a kernel upgrade, we expect to get the problem resolved.&lt;BR /&gt;&lt;BR /&gt;Thanks again for your help. &lt;BR /&gt;Bill&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jul 2010 21:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rhel-4-qlogic-driver-update-problem/m-p/4663188#M41611</guid>
      <dc:creator>Leibniz</dc:creator>
      <dc:date>2010-07-22T21:29:59Z</dc:date>
    </item>
  </channel>
</rss>

