question about qlogic QLA2312
Hi all,
I installed a new machine with this SCSI controller
03:02.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev
02)
The problem is that firmware cannot be loaded on this board. When loading the qla2xxx driver, I get these messages:
QLogic Fibre Channel HBA Driver
ACPI: PCI Interrupt 0000:03:02.0[A] -> GSI 22 (level, low) -> IRQ 177 qla2xxx 0000:03:02.0: Found an ISP2312, irq 177, iobase 0xffffc20000f70000
qla2xxx 0000:03:02.0: Configuring PCI space...
qla2xxx 0000:03:02.0: Configure NVRAM parameters... qla2xxx 0000:03:02.0: Verifying loaded RISC code... qla2xxx 0000:03:02.0: Mailbox command timeout occured. Scheduling ISP abort.
qla2xxx 0000:03:02.0: [ERROR] Failed to load segment 0 of firmware qla2xxx 0000:03:02.0: Failed to initialize adapter
Trying to free free IRQ177
Browsing the archives of linux-scsi I found a solution[1]: a patch missing from the suse linux kernel. Sadly this was about an old versione of the kernel, while the current one already include it.
I am using kernel 2.6.16.21.
Any idea about what the problem could be?
Thanks,
Giuseppe
Which version of the driver are you using ?
Also, what is the version of the firmware ? You can get the version of fimware by
# grep FW_VERSION_STRING in the source directory.
It will be helpful if you could recompile the driver with QL_DEBUG_LEVEL_2 enabled (qla_dbg.h) and recreate the issue.
-Shyam
Quoted 40 lines · Giuseppe Sacco
Hi all,
I installed a new machine with this SCSI controller03:02.0 Fibre Channel: QLogic Corp. QLA2312 Fibre Channel Adapter (rev
02)The problem is that firmware cannot be loaded on this board. When loading the qla2xxx driver, I get these messages:
QLogic Fibre Channel HBA Driver
ACPI: PCI Interrupt 0000:03:02.0[A] -> GSI 22 (level, low) -> IRQ 177 qla2xxx 0000:03:02.0: Found an ISP2312, irq 177, iobase0xffffc20000f70000
qla2xxx 0000:03:02.0: Configuring PCI space...
qla2xxx 0000:03:02.0: Configure NVRAM parameters... qla2xxx 0000:03:02.0: Verifying loaded RISC code... qla2xxx 0000:03:02.0: Mailbox command timeout occured. Scheduling ISP abort.
qla2xxx 0000:03:02.0: [ERROR] Failed to load segment 0 of firmware qla2xxx 0000:03:02.0: Failed to initialize adapter
Trying to free free IRQ177Browsing the archives of linux-scsi I found a solution[1]: a patch missing from the suse linux kernel. Sadly this was about an old versione of the kernel, while the current one already include it.
I am using kernel 2.6.16.21.
Any idea about what the problem could be?
Thanks,
Giuseppe[1]http://www.spinics.net/lists/linux-scsi/msg06713.html
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Il giorno ven, 15/09/2006 alle 19.26 +0530, G Shyam Sundar ha scritto:
Quoted 7 lines
Which version of the driver are you using ?
Also, what is the version of the firmware ? You can get the version of fimware by# grep FW_VERSION_STRING in the source directory.It will be helpful if you could recompile the driver with
QL_DEBUG_LEVEL_2enabled (qla_dbg.h) and recreate the issue.
I used two versions of the driver. The first one is shipped with the standard kernel from suse: 8.01.04-k (from modinfo). the second one is from the latest driver I could download from sourceforge.net (project linux-qla2xxx) and is version 8.01.06b2 (from modinfo).
The new version emit some more information:
qla2xxx_conf: module not supported by Novell, setting U taint flag.
qla2xxx: module not supported by Novell, setting U taint flag. QLogic Fibre Channel HBA Driver
qla2300: module not supported by Novell, setting U taint flag.
ACPI: PCI Interrupt 0000:03:02.0[A] -> GSI 22 (level, low) -> IRQ 177 qla2300 0000:03:02.0: Found an ISP2312, irq 177, iobase 0xffffc20000f70000
qla2300 0000:03:02.0: Configuring PCI space...
qla2300 0000:03:02.0: Configure NVRAM parameters... qla2300 0000:03:02.0: Verifying loaded RISC code... qla2300 0000:03:02.0: Mailbox command timeout occured. Scheduling ISP abort.
qla2300 0000:03:02.0: [ERROR] Failed to load segment 0 of firmware Mailbox registers:
scsi(7): mbox 0 0x4000
scsi(7): mbox 1 0xaaaa
scsi(7): mbox 2 0x5555
scsi(7): mbox 3 0xaa55
scsi(7): mbox 4 0x55aa
scsi(7): mbox 5 0xa5a5
qla2300 0000:03:02.0: Failed to initialize adapter
qla2300: probe of 0000:03:02.0 failed with error -1
About FW_VERSION_STRING:
lnx01:/usr/src/linux/drivers/scsi/qla2xxx # grep FW_V * ql2100_fw.c:#define FW_VERSION_STRING "1.19.25" ql2200_fw.c:#define FW_VERSION_STRING "2.02.08" ql2300_fw.c:#define FW_VERSION_STRING "3.03.18" ql2322_fw.c:#define FW_VERSION_STRING "3.03.18" ql2400_fw.c:#define FW_VERSION_STRING "4.00.16" ql6312_fw.c:#define FW_VERSION_STRING "3.03.18" lnx01:/usr/src/linux/drivers/scsi/qla2xxx #
Thanks,
Giuseppe
Il giorno ven, 15/09/2006 alle 19.26 +0530, G Shyam Sundar ha scritto:
Quoted 7 lines
Which version of the driver are you using ?
Also, what is the version of the firmware ? You can get the version of fimware by# grep FW_VERSION_STRING in the source directory.It will be helpful if you could recompile the driver with
QL_DEBUG_LEVEL_2enabled (qla_dbg.h) and recreate the issue.
Here it is, with some more debug levels (1,2,3, and 7)
Sep 15 17:49:01 lnx01 kernel: qla2xxx_conf: module not supported by Novell, setting U taint flag. Sep 15 17:49:01 lnx01 kernel: qla2xxx: module not supported by Novell, setting U taint flag. Sep 15 17:49:01 lnx01 kernel: QLogic Fibre Channel HBA Driver Sep 15 17:49:01 lnx01 kernel: qla2300: module not supported by Novell, setting U taint flag. Sep 15 17:49:01 lnx01 kernel: ACPI: PCI Interrupt 0000:03:02.0[A] -> GSI 22 (level, low) -> IRQ 177 Sep 15 17:49:01 lnx01 kernel: qla2300 0000:03:02.0: Found an ISP2312, irq 177, iobase 0xffffc20000f72000 Sep 15 17:49:01 lnx01 kernel: qla2300 0000:03:02.0: Configuring PCI space... Sep 15 17:49:01 lnx01 kernel: qla2x00_get_flash_version(): read BIOS 1.47. Sep 15 17:49:01 lnx01 kernel: qla2300 0000:03:02.0: Configure NVRAM parameters... Sep 15 17:49:01 lnx01 kernel: qla2300 0000:03:02.0: Verifying loaded RISC code... Sep 15 17:49:01 lnx01 kernel: scsi(11): Testing device at ffffc20000f72000. Sep 15 17:49:01 lnx01 kernel: scsi(11): Reset register cleared by chip reset Sep 15 17:49:01 lnx01 kernel: scsi(11): Checking product ID of chip Sep 15 17:49:01 lnx01 kernel: scsi(11): Checking mailboxes. Sep 15 17:49:01 lnx01 kernel: qla2x00_mailbox_command(11): Loaded MBX registers (displayed in bytes) = Sep 15 17:49:01 lnx01 kernel: 0 1 2 3 4 5 6 7 8 9 Ah Bh Ch Dh Eh Fh Sep 15 17:49:01 lnx01 kernel: -------------------------------------------------------------- Sep 15 17:49:01 lnx01 kernel: 06 00 aa aa 55 55 55 aa aa 55 a5 a5 5a 5a 25 25 Sep 15 17:49:01 lnx01 kernel: Sep 15 17:49:01 lnx01 kernel: 0 1 2 3 4 5 6 7 8 9 Ah Bh Ch Dh Eh Fh Sep 15 17:49:01 lnx01 kernel: -------------------------------------------------------------- Sep 15 17:49:01 lnx01 kernel: 20 50 f7 00 00 00 00 00 08 00 00 80 00 00 00 00 Sep 15 17:49:01 lnx01 kernel: Sep 15 17:49:01 lnx01 kernel: 0 1 2 3 4 5 6 7 8 9 Ah Bh Ch Dh Eh Fh Sep 15 17:49:01 lnx01 kernel: -------------------------------------------------------------- Sep 15 17:49:01 lnx01 kernel: 53 49 f7 00 00 00 00 00 Sep 15 17:49:01 lnx01 kernel: Sep 15 17:49:01 lnx01 kernel: qla2x00_mailbox_command(11): I/O address = ffffc20000f72080. Sep 15 17:49:01 lnx01 kernel: Mailbox registers: Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 0 0x0000 Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 1 0x4953 Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 2 0x5020 Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 3 0x2020 Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 4 0x0002 Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 5 0x0004 Sep 15 17:49:01 lnx01 kernel: qla2x00_mailbox_command(11): cmd=6 POLLING MODE. Sep 15 17:49:01 lnx01 kernel: qla2x00_mbx_completion(11): Got mailbox completion. cmd=6. Sep 15 17:49:01 lnx01 kernel: qla2x00_mailbox_command(11): cmd 6 completed. Sep 15 17:49:01 lnx01 kernel: scsi(11): Loading risc segment@ addr ffffffff8836fc40, number of bytes 0x8000, offset 0x800. Sep 15 17:49:01 lnx01 kernel: qla2x00_mailbox_command(11): Loaded MBX registers (displayed in bytes) = Sep 15 17:49:01 lnx01 kernel: 0 1 2 3 4 5 6 7 8 9 Ah Bh Ch Dh Eh Fh Sep 15 17:49:01 lnx01 kernel: -------------------------------------------------------------- Sep 15 17:49:01 lnx01 kernel: 09 00 00 08 78 fc 00 00 00 80 00 00 00 00 01 00 Sep 15 17:49:01 lnx01 kernel: Sep 15 17:49:01 lnx01 kernel: 0 1 2 3 4 5 6 7 8 9 Ah Bh Ch Dh Eh Fh Sep 15 17:49:01 lnx01 kernel: -------------------------------------------------------------- Sep 15 17:49:01 lnx01 kernel: b8 3a da f3 01 81 ff ff f8 39 da f3 01 81 ff ff Sep 15 17:49:01 lnx01 kernel: Sep 15 17:49:01 lnx01 kernel: 0 1 2 3 4 5 6 7 8 9 Ah Bh Ch Dh Eh Fh Sep 15 17:49:01 lnx01 kernel: -------------------------------------------------------------- Sep 15 17:49:01 lnx01 kernel: 80 84 03 05 02 81 ff ff Sep 15 17:49:01 lnx01 kernel: Sep 15 17:49:01 lnx01 kernel: qla2x00_mailbox_command(11): I/O address = ffffc20000f72080. Sep 15 17:49:01 lnx01 kernel: Mailbox registers: Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 0 0x4000 Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 1 0xaaaa Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 2 0x5555 Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 3 0xaa55 Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 4 0x55aa Sep 15 17:49:01 lnx01 kernel: scsi(11): mbox 5 0xa5a5 Sep 15 17:49:01 lnx01 kernel: qla2x00_mailbox_command(11): cmd=9 POLLING MODE. Sep 15 17:49:31 lnx01 kernel: qla2x00_mailbox_command(11): **** MB Command Timeout for cmd 9 **** Sep 15 17:49:31 lnx01 kernel: qla2x00_mailbox_command(11): icontrol=0 jiffies=100055e49 Sep 15 17:49:31 lnx01 kernel: qla2x00_mailbox_command(11): *** mailbox[0] = 0x4000 *** Sep 15 17:49:31 lnx01 kernel: Mailbox registers: Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 0 0x4000 Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 1 0xaaaa Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 2 0x5555 Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 3 0xaa55 Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 4 0x55aa Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 5 0xa5a5 Sep 15 17:49:31 lnx01 kernel: qla2300 0000:03:02.0: Mailbox command timeout occured. Scheduling ISP abort. Sep 15 17:49:31 lnx01 kernel: qla2300 0000:03:02.0: [ERROR] Failed to load segment 0 of firmware Sep 15 17:49:31 lnx01 kernel: Mailbox registers: Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 0 0x4000 Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 1 0xaaaa Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 2 0x5555 Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 3 0xaa55 Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 4 0x55aa Sep 15 17:49:31 lnx01 kernel: scsi(11): mbox 5 0xa5a5 Sep 15 17:49:31 lnx01 kernel: qla2300 0000:03:02.0: Failed to initialize adapter Sep 15 17:49:31 lnx01 kernel: qla2300: probe of 0000:03:02.0 failed with error -1