[rhn-users] qlogic 2300 attached luns not enabled with 2.4.21-32.EL

Ray Stell stellr at cns.vt.edu
Tue May 24 21:27:59 UTC 2005


Thanks Raj.  

I used the qlogic "scli" command that enables all the luns (I'm not
sure what it does at OS level), but after I enabled with scli, I did 
a modprobe -r and then a modprobe qla2300 and then I could mount the
luns.  However, it would loose the config on a reboot.

So, I did the above and created a new initrd:

[root at pecan qlogic]# cat /etc/modules.conf
alias eth0 tulip
alias eth1 e1000
alias eth2 e1000
alias scsi_hostadapter qla2300
alias scsi_hostadapter qla2300_conf
alias usb-controller usb-uhci
alias usb-controller1 ehci-hcd
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

with this command:

mkinitrd initrd-2.4.21-32.EL.qlogic.img 2.4.21-32.EL

and booted this entry of grub:

title Red Hat Enterprise Linux AS (2.4.21-32.EL.qlogic)
        root (hd0,0)
        kernel /vmlinuz-2.4.21-32.EL ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.21-32.EL.qlogic.img

As is I get:

[root at pecan qlogic]# mount /dev/sda1 /db01
mount: /dev/sda1 is not a valid block device

...

Looks like you are right, I don't have to do the scli thing, I
just modprobe and the devices are ready:

[root at pecan qlogic]# modprobe -r qla2300
[root at pecan qlogic]# modprobe qla2300
[root at pecan qlogic]# mount /dev/sda1 /db01

Not sure what you mean about "mount the initrd image using option -oloop."
Is that on the boot loader command line?  Example, please.
I wanted to check to see if I was getting the right ram disk, but didn't
know how.





On Tue, May 24, 2005 at 09:02:29PM -0000, Raj  Kumar wrote:
> Hi,
> 
> I had this problem recently. But rebuilding initrd solved it. 
> After reboot, what commands do you execute to make the luns available?
> One solution that I used for a while was to include "modprobe qla2300" in rc.local file. You can also mount the initrd image using option "-oloop " and then check if the qla2300.o is in it. Can you post your /etc/modules.conf ?
> 
> Cheers,
> Raj
> 
> 
> On Wed, 25 May 2005 Ray Stell wrote :
> >
> >After an recent download of kernel update vmlinuz-2.4.21-32.EL
> >the qlogic attached luns will not retain an enabled status
> >on reboot.  This was not true with the last kernel, vmlinuz-2.4.21-27.0.4.EL.
> >I'm trying to use the built into redhat qla2300.o.
> >
> >I can enable the luns with qlogic software and they work, but
> >the config does not survive a reboot.  I've created a new
> >initrd with the modules.conf and the disks enabled, but
> >the OS scsi mapping to the qlogic card does not show up
> >in messages.  If I boot the old kernel the luns come up.
> >
> >Is there something else I have to do to make the mapping persistant.
> >
> >Old (working) /var/log/messages lines:
> >
> >May 19 15:47:21 pecan kernel: scsi(0): Found a QLA2312  @ bus 1, device 0xa, irq 11, iobase 0xf88dd000
> >May 19 15:47:21 pecan kernel: scsi(0): 32 Bit PCI Addressing Enabled.
> >May 19 15:47:21 pecan kernel: scsi(0): Configure NVRAM parameters...
> >May 19 15:47:21 pecan kernel: scsi(0): Verifying loaded RISC code...
> >May 19 15:47:21 pecan kernel: scsi(0): Verifying chip...
> >May 19 15:47:21 pecan kernel: scsi(0): Waiting for LIP to complete...
> >May 19 15:47:21 pecan kernel: scsi(0): LOOP UP detected.
> >May 19 15:47:21 pecan kernel: scsi(0): Port database changed.
> >May 19 15:47:21 pecan kernel: scsi(0): Topology - (F_Port), Host Loop address 0xffff
> >May 19 15:47:21 pecan kernel: scsi-qla0-adapter-node=200000e08b0a8deb\;
> >May 19 15:47:21 pecan kernel: scsi-qla0-adapter-port=210000e08b0a8deb\;
> >May 19 15:47:21 pecan kernel: scsi-qla0-tgt-0-di-0-port=5005076300c89456\;
> >May 19 15:47:21 pecan kernel: scsi-qla0-tgt-1-di-0-port=5005076300c49456\;
> >May 19 15:47:21 pecan kernel: scsi0 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 1 device 10 irq 11
> >May 19 15:47:21 pecan kernel: scsi(0:0:0:0): Enabled tagged queuing, queue depth 32.
> >May 19 15:47:21 pecan kernel: scsi(0:0:0:1): Enabled tagged queuing, queue depth 32.
> >May 19 15:47:21 pecan kernel: scsi(0:0:1:0): Enabled tagged queuing, queue depth 32.
> >May 19 15:47:21 pecan kernel: scsi(0:0:1:1): Enabled tagged queuing, queue depth 32.
> >May 19 15:47:21 pecan kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> >May 19 15:47:21 pecan kernel: Attached scsi disk sdb at scsi0, channel 0, id 0, lun 1
> >May 19 15:47:22 pecan kernel: Attached scsi disk sdc at scsi0, channel 0, id 1, lun 0
> >May 19 15:47:22 pecan kernel: Attached scsi disk sdd at scsi0, channel 0, id 1, lun 1
> >May 19 15:47:22 pecan kernel: scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored
> >May 19 15:47:22 pecan kernel: scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored
> >
> >new (broken) /var/log/messages lines:
> >
> >May 24 14:53:45 pecan kernel: scsi(0): Found a QLA2312  @ bus 1, device 0xa, irq 11, iobase 0xf88de000
> >May 24 14:53:45 pecan kernel: scsi(0): 32 Bit PCI Addressing Enabled.
> >May 24 14:53:45 pecan kernel: scsi(0): Configure NVRAM parameters...
> >May 24 14:53:45 pecan kernel: scsi(0): Verifying loaded RISC code...
> >May 24 14:53:45 pecan kernel: scsi(0): Verifying chip...
> >May 24 14:53:45 pecan kernel: scsi(0): Waiting for LIP to complete...
> >May 24 14:53:45 pecan kernel: scsi(0): LOOP UP detected.
> >May 24 14:53:45 pecan kernel: scsi(0): Port database changed.
> >May 24 14:53:45 pecan kernel: scsi(0): Topology - (F_Port), Host Loop address 0xffff
> >May 24 14:53:45 pecan kernel: scsi-qla0-adapter-node=200000e08b0a8deb\;
> >May 24 14:53:45 pecan kernel: scsi-qla0-adapter-port=210000e08b0a8deb\;
> >May 24 14:53:45 pecan kernel: scsi0 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 1 device 10 irq 11
> >May 24 14:53:45 pecan kernel: scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored
> >May 24 14:53:45 pecan kernel: scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored
> >============================================================
> >Ray Stell  stellr at vt.edu  (540) 231-4109  Tempus fugit  28^D
> >
> >_______________________________________________
> >rhn-users mailing list
> >rhn-users at redhat.com
> >https://www.redhat.com/mailman/listinfo/rhn-users

-- 
============================================================
Ray Stell  stellr at vt.edu  (540) 231-4109  Tempus fugit  28^D




More information about the rhn-users mailing list