Roland Touchais
2006-Dec-22 15:26 UTC
[Xen-users] xen dom0 kernel in redhat4.4 with qla2xxx firmware
Hello, I have a fait on load firmware under RedHat 4.4. With just RedHat standard kernel, firmware seem to be loader for qla2300 module. And all work fine. with Mandriva 2007 (other OS i try before, but with domU not runable) I just add "qla*.bin" downloaded from ftp://ftp.qlogic.com/outgoing/linux/firmware/ in "/lib/firmware" and i get all work fine under Standard and Xen:dom0 kernels. But when i use XEN RPMs for redhat 4. 4(downloaded from XEN web site) under redhat 4.4 kernel-xen-2.6.16.29-3.0.3.0 xen-3.0.3.0-1 kernel-xenU-2.6.9-42.0.2.EL.xs148 grub conf (sda1 for partition /boot) title Xen root (hd0,1) kernel /xen.gz dom0_mem=500000 console=vga module /vmlinuz-2.6-xen root=LABEL=/1 ro console=tty0 module /initrd-2.6-xen.img Il i make a DomU in a file; i can use it so Xen is OK. But for QLA hardware, I can not acces to SANE disk. I get the same result with and without firmware in /lib/firmware : dmesg | grep -i qla : qla2xxx 0000:06:01.0: Found an ISP2312, irq 18, iobase 0xe0024000 qla2xxx 0000:06:01.0: Configuring PCI space... qla2xxx 0000:06:01.0: Configure NVRAM parameters... qla2xxx 0000:06:01.0: Verifying loaded RISC code... qla2xxx 0000:06:01.0: Firmware image unavailable. qla2xxx 0000:06:01.0: Failed to initialize adapter qla2xxx 0000:06:01.1: Found an ISP2312, irq 19, iobase 0xe0024000 qla2xxx 0000:06:01.1: Configuring PCI space... qla2xxx 0000:06:01.1: Configure NVRAM parameters... qla2xxx 0000:06:01.1: Verifying loaded RISC code... qla2xxx 0000:06:01.1: Firmware image unavailable. qla2xxx 0000:06:01.1: Failed to initialize adapter in /sys/classe/firmware i have only "timeout" So it seem that firware in /lib/firmware are not loaded or not recognized... Have you an idea to solve or debug this problem (usefull because i need qla for acces SANE disk for virtuals Xen DomU. A votre service, Roland Touchais Ingenieur du Centre de Ressources Informatiques Bat 210, Universite Paris-Sud, Orsay, France tel: +33 1 69 15 72 26 fax: +33 1 69 15 69 86 email: Roland.Touchais@cri.u-psud.fr _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jordan Share
2006-Dec-22 22:22 UTC
Re: [Xen-users] xen dom0 kernel in redhat4.4 with qla2xxx firmware
Roland Touchais wrote:> Hello, > > I have a fait on load firmware under RedHat 4.4. > > With just RedHat standard kernel, firmware seem to be loader for > qla2300 module. And all work fine. > > > with Mandriva 2007 (other OS i try before, but with domU not runable) > I just add "qla*.bin" downloaded from > ftp://ftp.qlogic.com/outgoing/linux/firmware/ in "/lib/firmware" and i > get all work fine under Standard and Xen:dom0 kernels. > > > But when i use XEN RPMs for redhat 4. 4(downloaded from XEN web site) > under redhat 4.4 > kernel-xen-2.6.16.29-3.0.3.0 > xen-3.0.3.0-1 > kernel-xenU-2.6.9-42.0.2.EL.xs148 > > grub conf (sda1 for partition /boot) > title Xen > root (hd0,1) > kernel /xen.gz dom0_mem=500000 console=vga > module /vmlinuz-2.6-xen root=LABEL=/1 ro console=tty0 > module /initrd-2.6-xen.img > > Il i make a DomU in a file; i can use it so Xen is OK. > > But for QLA hardware, I can not acces to SANE disk. > I get the same result with and without firmware in /lib/firmware :[snip]> So it seem that firware in /lib/firmware are not loaded or not > recognized...The firmware is likely not in the initrd''s /lib/firmware (even though it may be in /lib/firmware on the actual root filesystem). You could try rebuilding your initrd to include the firmware files.> Have you an idea to solve or debug this problem (usefull because i > need qla for acces SANE disk for virtuals Xen DomU. > > A votre service, > > Roland Touchais_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Hierling
2006-Dec-23 09:54 UTC
Re: [Xen-users] xen dom0 kernel in redhat4.4 with qla2xxx firmware
Hi, have the same setup (Xen 3.0.3 qla2xxx) and i have found out that you dont need the firmware. If the driver doesnt find the firmware it copys it from the adapter. So it should work without (as for me): qla2xxx 0000:07:00.0: Found an ISP2432, irq 20, iobase 0xffffc20000016000 qla2xxx 0000:07:00.0: Configuring PCI space... qla2xxx 0000:07:00.0: Configure NVRAM parameters... qla2xxx 0000:07:00.0: Verifying loaded RISC code... qla2xxx 0000:07:00.0: Firmware image unavailable. qla2xxx 0000:07:00.0: Firmware images can be retrieved from: ftp://ftp.qlogic.com/outgoing/linux/firmware/. qla2xxx 0000:07:00.0: Attempting to load (potentially outdated) firmware from flash. qla2xxx 0000:07:00.0: Allocated (64 KB) for EFT... qla2xxx 0000:07:00.0: Allocated (1413 KB) for firmware dump... qla2xxx 0000:07:00.0: Waiting for LIP to complete... qla2xxx 0000:07:00.0: LIP reset occured (f8f7). qla2xxx 0000:07:00.0: LOOP UP detected (4 Gbps). qla2xxx 0000:07:00.0: Topology - (F_Port), Host Loop address 0x0 What i have done (perhaps) different is that i boot from the SAN device and i have activated the apropriate button in the controller bios. So, flash you controller with the actual firmware and forget the error message. regards Martin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users