Hi , I could solve the issue. I had to set the SAN port D on and SPC2 enabl . These flags I cnaged on with the WWPN no, so only the host I want , it will be effected on that only. These flags needed to be enabled for 2.6 64 bit kernel. Thanks again to all of you.
--- On Mon, 1/19/09, Win Htin <[email protected]> wrote: From: Win Htin <[email protected]> Subject: [rhelv5-list] RHEL5.2x86_64, mkinitrd problem with embedded qlogic driver To: [email protected] Date: Monday, January 19, 2009, 12:30 PM Do the following steps and hopefully your problem will be fixed. Note, your kernel version might be different from my notes. 1. Install kernel-devel and kernel-headers packages. 2. download the QLogic driver (qla2xxx-8.01.07.15) and extract the file into /tmp/qlogic directory 3. issue the command ./drvsetup (which creates the directory qla2xxx-8.01.07.15) 4. run the following commands: a) cd qla2xxx-8.01.07.15/ c) ./extras/build.sh install d) depmod -av 5. Copy the currently booted kernel image from /boot dir to temp directory. cp /boot/initrd-2.6.18-92.1.18.el5.img /tmp/image 6. cd /tmp/image 7. mv initrd-2.6.18-92.1.18.el5.img initrd-2.6.18-92.1.18.el5.img.gz 8. gzip -d initrd-2.6.18-92.1.18.el5.img.gz (This will be inflated into initrd-2.6.18-92.el5.img file) 9. cd /tmp/image && cpio -i --make-directories < initrd-2.6.18-92.el5.img 10. mv initrd-2.6.18-92.el5.img ../ (VERY IMPORTANT STEP!!) 11. vi "init" file and add: a) Add the following EIGHT lines: (Make sure the orders are as below) echo "Loading intermodule.ko module" insmod /lib/intermodule.ko echo "Loading qla2xxx.ko module" insmod /lib/qla2xxx.ko echo "Loading qla2400.ko module" insmod /lib/qla2400.ko echo "Loading qla2xxx_conf.ko module" insmod /lib/qla2xxx_conf.ko just below the line ' insmod /lib/sd_mod.ko ' b) Delete the following TWO lines: echo "Loading scsi_transport_fc.ko module" insmod /lib/scsi_transport_fc.ko 12. cp qla2400.ko file from /lib/modules/`uname -r`/kernel/drivers/scsi/qla2xxx to /tmp/image/lib dir. 13. cp qla2xxx.ko file from /lib/modules/`uname -r`/kernel/drivers/scsi/qla2xxx to /tmp/image/lib dir. 14. cp qla2xxx_conf.ko file from /lib/modules/`uname -r`/kernel/drivers/scsi/qla2xxx to /tmp/image/lib dir. 15. cp /lib/modules/`uname -r`/kernel/kernel/intermodule.ko /tmp/image/lib 16. Make the new initial Ram image: cd /tmp/image && find . | cpio -o -H newc | gzip -9 -n > ../initrd-`uname -r`-QLFO.img 17. cd .. && cp initrd-`uname -r`-QLFO.img /boot 18. vi /boot/grub/menu.lst file and add the new QLogic driver compiled initrd entry. 19. Reboot # init 6 from console ---------------------------------------------------------------------- Date: Sun, 18 Jan 2009 15:37:26 -0800 (PST) From: Lavannya <[email protected]> Subject: [rhelv5-list] RHEL5.2x86_64, mkinitrd problem with embedded qlogic dirver To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" I am trying to install/configure the EMC PowerPath with embedded qlogic driver in a server with RHEL5.2 64 bit. HEre is my server specifications: OS release : Red Hat Enterprise Linux Server release 5.2 (Tikanga) kernel : Linux 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux Embedded Qlogic driver : QLogic Fibre Channel HBA Driver: 8.02.00-k5-rhel5.2-04 The storage attached : DMX3 No of luns : 3 [ each of 100gb ] No of hbas : 2 [ single ported ] As per EMC specifications, the embedded qlogic driver should be used. But when I installed the PowerPath ,without any aliases mentioned in the /etc/modprobe.conf, found powermt display dev=all, is showing several paths per luns. But generally it will show 2 paths/lun if the hba is single ported . Here is some background : I used many servers [ mostly rhel4 , 32 bits ] but never used the embedded qlogic driver. As becuase Redhat embedded qlogic driver does not have the qla2xxx_conf module. I always used to download the driver 8.01.06 from Qlogic /OEM models section of qlogic site which are suppored by EMC. After upgrading the driver to 8.01.06 I used to type the follwoing lines in the /etc/modprobe.conf, alias scsi_hostadapter1 qla2xxx alias scsi_hostadapter2 qla2300 alias scsi_hostadapter3 qla2xxx_conf options qla2xxx ql2xmaxqdepth=32 qlport_down_retry=0 ql2xloginretrycount=0 ql2xfailover=0 ql2xlbType=0 Then used to do mkinitrd to take effect and reboot. I use the above options , as becuase PowerPath already takes care of failover so ql2xfailover=0 is needed for qlogic driver to stop the failover. Everything works fine. This is confirmed by EMC RPQ team. They have confirmed me for using the qlogic driver of version 8.01.06 Here is my present situation: In my rhel5.2 64 bit box , i wanted to use the embedded driver and so , after PowerPath installation, when found the paths are not showing correct, I modified the /etc/modprobe.conf file with the following lines. alias scsi_hostadapter1 qla2xxx options qla2xxx ql2xmaxqdepth=32 qlport_down_retry=0 ql2xloginretrycount=0 ql2xfailover=0 ql2xlbType=0 Then reimage the kernel with mkinitrd, but without checking the mkintrd , init file , I rebooted and kernle got in panic state. So it is for sure at the boot time qla2xxx were not in the mkinitrd , init file. So, it will be really appreciated if anybody suggest/advice how can I proceed with this situaiton using the QLogic Fibre Channel HBA Driver: 8.02.00-k5-rhel5.2-04 with PowerPath. There is no driver suggested for rhel5.2 64 bit in the qlogic OEM section. Also EMC heat report suggests to use the embedded driver. Thanks in advance -------------- next part -------------- -- email : [email protected] "The unexamined life is not worth living" -- Socrates _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
_______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
