<P>
Hi Ray,<BR>
<BR>
Please try the following steps to verify your initrd contents:<BR>
<BR>
cp initrd.version.qlogic.img /temp<BR>
cd /temp<BR>
mv initrd.version.qlogic.img initrd.version.qlogic.img.gz [just change the extension]  <BR>
gunzip initrd.version.qlogic.img.tgz<BR>
mount -o loop initrd.version.qlogic.img /mnt/temp<BR>
cd /mnt/temp<BR>
ls<BR>
<BR>
cd to lib directory and then check for qla2300.o file<BR>
<BR>
let us know if you need help!!<BR>
<BR>
Cheers,<BR>
Raj<BR>
<BR>
On Wed, 25 May 2005 Ray Stell wrote :<BR>
><BR>
>Thanks Raj.<BR>
><BR>
>I used the qlogic "scli" command that enables all the luns (I'm not<BR>
>sure what it does at OS level), but after I enabled with scli, I did<BR>
>a modprobe -r and then a modprobe qla2300 and then I could mount the<BR>
>luns.  However, it would loose the config on a reboot.<BR>
><BR>
>So, I did the above and created a new initrd:<BR>
><BR>
>[root@pecan qlogic]# cat /etc/modules.conf<BR>
>alias eth0 tulip<BR>
>alias eth1 e1000<BR>
>alias eth2 e1000<BR>
>alias scsi_hostadapter qla2300<BR>
>alias scsi_hostadapter qla2300_conf<BR>
>alias usb-controller usb-uhci<BR>
>alias usb-controller1 ehci-hcd<BR>
>alias sound-slot-0 i810_audio<BR>
>post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :<BR>
>pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :<BR>
><BR>
>with this command:<BR>
><BR>
>mkinitrd initrd-2.4.21-32.EL.qlogic.img 2.4.21-32.EL<BR>
><BR>
>and booted this entry of grub:<BR>
><BR>
>title Red Hat Enterprise Linux AS (2.4.21-32.EL.qlogic)<BR>
>         root (hd0,0)<BR>
>         kernel /vmlinuz-2.4.21-32.EL ro root=LABEL=/ hdc=ide-scsi<BR>
>         initrd /initrd-2.4.21-32.EL.qlogic.img<BR>
><BR>
>As is I get:<BR>
><BR>
>[root@pecan qlogic]# mount /dev/sda1 /db01<BR>
>mount: /dev/sda1 is not a valid block device<BR>
><BR>
>...<BR>
><BR>
>Looks like you are right, I don't have to do the scli thing, I<BR>
>just modprobe and the devices are ready:<BR>
><BR>
>[root@pecan qlogic]# modprobe -r qla2300<BR>
>[root@pecan qlogic]# modprobe qla2300<BR>
>[root@pecan qlogic]# mount /dev/sda1 /db01<BR>
><BR>
>Not sure what you mean about "mount the initrd image using option -oloop."<BR>
>Is that on the boot loader command line?  Example, please.<BR>
>I wanted to check to see if I was getting the right ram disk, but didn't<BR>
>know how.<BR>
><BR>
><BR>
><BR>
><BR>
><BR>
>On Tue, May 24, 2005 at 09:02:29PM -0000, Raj  Kumar wrote:<BR>
> > Hi,<BR>
> ><BR>
> > I had this problem recently. But rebuilding initrd solved it.<BR>
> > After reboot, what commands do you execute to make the luns available?<BR>
> > 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 ?<BR>
> ><BR>
> > Cheers,<BR>
> > Raj<BR>
> ><BR>
> ><BR>
> > On Wed, 25 May 2005 Ray Stell wrote :<BR>
> > ><BR>
> > >After an recent download of kernel update vmlinuz-2.4.21-32.EL<BR>
> > >the qlogic attached luns will not retain an enabled status<BR>
> > >on reboot.  This was not true with the last kernel, vmlinuz-2.4.21-27.0.4.EL.<BR>
> > >I'm trying to use the built into redhat qla2300.o.<BR>
> > ><BR>
> > >I can enable the luns with qlogic software and they work, but<BR>
> > >the config does not survive a reboot.  I've created a new<BR>
> > >initrd with the modules.conf and the disks enabled, but<BR>
> > >the OS scsi mapping to the qlogic card does not show up<BR>
> > >in messages.  If I boot the old kernel the luns come up.<BR>
> > ><BR>
> > >Is there something else I have to do to make the mapping persistant.<BR>
> > ><BR>
> > >Old (working) /var/log/messages lines:<BR>
> > ><BR>
> > >May 19 15:47:21 pecan kernel: scsi(0): Found a QLA2312  @ bus 1, device 0xa, irq 11, iobase 0xf88dd000<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0): 32 Bit PCI Addressing Enabled.<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0): Configure NVRAM parameters...<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0): Verifying loaded RISC code...<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0): Verifying chip...<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0): Waiting for LIP to complete...<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0): LOOP UP detected.<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0): Port database changed.<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0): Topology - (F_Port), Host Loop address 0xffff<BR>
> > >May 19 15:47:21 pecan kernel: scsi-qla0-adapter-node=200000e08b0a8deb\;<BR>
> > >May 19 15:47:21 pecan kernel: scsi-qla0-adapter-port=210000e08b0a8deb\;<BR>
> > >May 19 15:47:21 pecan kernel: scsi-qla0-tgt-0-di-0-port=5005076300c89456\;<BR>
> > >May 19 15:47:21 pecan kernel: scsi-qla0-tgt-1-di-0-port=5005076300c49456\;<BR>
> > >May 19 15:47:21 pecan kernel: scsi0 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 1 device 10 irq 11<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0:0:0:0): Enabled tagged queuing, queue depth 32.<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0:0:0:1): Enabled tagged queuing, queue depth 32.<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0:0:1:0): Enabled tagged queuing, queue depth 32.<BR>
> > >May 19 15:47:21 pecan kernel: scsi(0:0:1:1): Enabled tagged queuing, queue depth 32.<BR>
> > >May 19 15:47:21 pecan kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0<BR>
> > >May 19 15:47:21 pecan kernel: Attached scsi disk sdb at scsi0, channel 0, id 0, lun 1<BR>
> > >May 19 15:47:22 pecan kernel: Attached scsi disk sdc at scsi0, channel 0, id 1, lun 0<BR>
> > >May 19 15:47:22 pecan kernel: Attached scsi disk sdd at scsi0, channel 0, id 1, lun 1<BR>
> > >May 19 15:47:22 pecan kernel: scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored<BR>
> > >May 19 15:47:22 pecan kernel: scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored<BR>
> > ><BR>
> > >new (broken) /var/log/messages lines:<BR>
> > ><BR>
> > >May 24 14:53:45 pecan kernel: scsi(0): Found a QLA2312  @ bus 1, device 0xa, irq 11, iobase 0xf88de000<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0): 32 Bit PCI Addressing Enabled.<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0): Configure NVRAM parameters...<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0): Verifying loaded RISC code...<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0): Verifying chip...<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0): Waiting for LIP to complete...<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0): LOOP UP detected.<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0): Port database changed.<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0): Topology - (F_Port), Host Loop address 0xffff<BR>
> > >May 24 14:53:45 pecan kernel: scsi-qla0-adapter-node=200000e08b0a8deb\;<BR>
> > >May 24 14:53:45 pecan kernel: scsi-qla0-adapter-port=210000e08b0a8deb\;<BR>
> > >May 24 14:53:45 pecan kernel: scsi0 : QLogic QLA2312 PCI to Fibre Channel Host Adapter: bus 1 device 10 irq 11<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored<BR>
> > >May 24 14:53:45 pecan kernel: scsi(0) qla2x00_isr MBA_PORT_UPDATE ignored<BR>
> > >============================================================<BR>
> > >Ray Stell  stellr@vt.edu  (540) 231-4109  Tempus fugit  28^D<BR>
> > ><BR>
> > >_______________________________________________<BR>
> > >rhn-users mailing list<BR>
> > >rhn-users@redhat.com<BR>
> > >https://www.redhat.com/mailman/listinfo/rhn-users<BR>
><BR>
>--<BR>
>============================================================<BR>
>Ray Stell  stellr@vt.edu  (540) 231-4109  Tempus fugit  28^D<BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>