Skip to contentSkip to conversation

Problems seeing raid array attached to a qla2312

DISCUSSION James Pearson 3 participants 5 messages Aug 19, 2004 – Sep 7, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

I'm having problems seeing a Fibrenetix VP-1242-FC raid array via a qla2312 HBA on a dual Xeon box running a RHEL3.0 clone - using a 2.4.21 based kernel.

The first port on the qla2312 has a Quantum tape library and two SDLT tape drives - which the OS can see fine.

The raid array is attached to the 2nd port on the qla2312 - it is configured with 3 volumes at luns 0, 1 and 2 - unfortunately, the OS can't 'see' the 3 disk volumes ...

The two ports on the qla2312 are scsi2 and scsi3

/proc/scsi/scsi shows

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST336607LC Rev: 0007
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST373307LC Rev: 0006
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: ESG-SHV Model: SCA HSBP M16 Rev: 0.05
Type: Processor ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATL Model: M2500 Rev: 6.0
Type: Medium Changer ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 01
Vendor: QUANTUM Model: SDLT600 Rev: 1515
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 02
Vendor: QUANTUM Model: SDLT600 Rev: 1515
Type: Sequential-Access ANSI SCSI revision: 02

However, at the BIOS level, the array can be seen. Also, the file /proc/scsi/qla2300/3 ends with:

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 60, Pending reqs 0, flags 0x0, 1:0:00, ( 0: 1): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00, ( 0: 2): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00,

which seems to indicate something is there ...

(full output from /proc/scsi/qla2300/[23] below.

I'm using v7.00.03 of the qla2300 driver (downloaded from Qlogic's web site).

I've tried:

echo "scsi add-single-device 3 0 0 0" > /proc/scsi/scsi

etc. but it doesn't make a difference

As a test, I attached the raid array to an SGI IRIX server (using qla2342 HBA) - and it could see the three volumes with out a problem.

Is there anything else I can try?

Thanks

James Pearson

Output of /proc/scsi/qla2300/2 (port with the tape robot and tape drives):

QLogic PCI to Fibre Channel Host Adapter for QLA2342 :

        Firmware version:  3.02.28, Driver version 7.00.03-fo

Entry address = f8b1d060
HBA: QLA2312 , Serial# L20754
Request Queue = 0x35fc0000, Response Queue = 0x35fb0000 Request Queue count= 512, Response Queue count= 512 Total number of active commands = 0
Total number of interrupts = 3
Total number of IOCBs (used/max) = (0/600) Total number of queued commands = 0

    Device queue depth = 0x20

Number of free request entries = 508
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0 Number of reqs in failover_q= 0
Host adapter:loop state= <READY>, flags= 0x860a33
Dpc flags = 0x1000040
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 030
Port down retry = 032
Login retry count = 032
Commands retried with dropped frame(s) = 0
Configured characteristic impedence: 50 ohms
Configured data rate: 1-2 Gb/sec auto-negotiate

SCSI Device Information:
scsi-qla0-adapter-node=200100e08b31f219;
scsi-qla0-adapter-port=210100e08b31f219;
scsi-qla0-target-0=2100001086104018;

FC Port Information:
scsi-qla0-port-0=2000001086104018:2100001086104018;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00, ( 0: 1): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00, ( 0: 2): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00,

Output of /proc/scsi/qla2300/3 (raid array attached)

QLogic PCI to Fibre Channel Host Adapter for QLA2342 :

        Firmware version:  3.02.28, Driver version 7.00.03-fo

Entry address = f8b1d060
HBA: QLA2312 , Serial# L20754
Request Queue = 0x35fa0000, Response Queue = 0x35f90000 Request Queue count= 512, Response Queue count= 512 Total number of active commands = 0
Total number of interrupts = 60
Total number of IOCBs (used/max) = (0/600) Total number of queued commands = 0

    Device queue depth = 0x20

Number of free request entries = 451
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0 Number of reqs in failover_q= 0
Host adapter:loop state= <READY>, flags= 0x860a33
Dpc flags = 0x1000040
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 030
Port down retry = 032
Login retry count = 032
Commands retried with dropped frame(s) = 60
Configured characteristic impedence: 50 ohms
Configured data rate: 1-2 Gb/sec auto-negotiate

SCSI Device Information:
scsi-qla1-adapter-node=200000e08b11f219;
scsi-qla1-adapter-port=210000e08b11f219;
scsi-qla1-target-0=21000004d9600fc0;

FC Port Information:
scsi-qla1-port-0=20000004d9600fc0:21000004d9600fc0;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 60, Pending reqs 0, flags 0x0, 1:0:00, ( 0: 1): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00, ( 0: 2): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00,

#1 lore raw

I've managed to get this working - by using an older version of the qla2300 driver ...

I found a copy of 6.01.00-fo, so now /proc/scsi/qla2300/3 reports:

QLogic PCI to Fibre Channel Host Adapter for ISP23xx:

        Firmware version:  3.01.13, Driver version 6.01.00-fo

and the three disk volumes are found and are available.

I guess the driver downloads the firmware, as this is different from the firmware reported with driver version 7.00.03-fo

So it looks like the disk array doesn't like the newer qla2300 driver/firmware ... (or vice versa)

James Pearson

Quoted 156 lines · James Pearson <[email protected]> - wrote:

I'm having problems seeing a Fibrenetix VP-1242-FC raid array via a qla2312 HBA on a dual Xeon box running a RHEL3.0 clone - using a 2.4.21 based kernel.

The first port on the qla2312 has a Quantum tape library and two SDLT tape drives - which the OS can see fine.

The raid array is attached to the 2nd port on the qla2312 - it is configured with 3 volumes at luns 0, 1 and 2 - unfortunately, the OS can't 'see' the 3 disk volumes ...

The two ports on the qla2312 are scsi2 and scsi3

/proc/scsi/scsi shows

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST336607LC Rev: 0007
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST373307LC Rev: 0006
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: ESG-SHV Model: SCA HSBP M16 Rev: 0.05
Type: Processor ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATL Model: M2500 Rev: 6.0
Type: Medium Changer ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 01
Vendor: QUANTUM Model: SDLT600 Rev: 1515
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 02
Vendor: QUANTUM Model: SDLT600 Rev: 1515
Type: Sequential-Access ANSI SCSI revision: 02

However, at the BIOS level, the array can be seen. Also, the file /proc/scsi/qla2300/3 ends with:

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 60, Pending reqs 0, flags 0x0, 1:0:00, ( 0: 1): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00, ( 0: 2): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00,

which seems to indicate something is there ...

(full output from /proc/scsi/qla2300/[23] below.

I'm using v7.00.03 of the qla2300 driver (downloaded from Qlogic's web site).

I've tried:

echo "scsi add-single-device 3 0 0 0" > /proc/scsi/scsi

etc. but it doesn't make a difference

As a test, I attached the raid array to an SGI IRIX server (using qla2342 HBA) - and it could see the three volumes with out a problem.

Is there anything else I can try?

Thanks

James Pearson

Output of /proc/scsi/qla2300/2 (port with the tape robot and tape drives):

QLogic PCI to Fibre Channel Host Adapter for QLA2342 :

        Firmware version:  3.02.28, Driver version 7.00.03-fo

Entry address = f8b1d060
HBA: QLA2312 , Serial# L20754
Request Queue = 0x35fc0000, Response Queue = 0x35fb0000 Request Queue count= 512, Response Queue count= 512 Total number of active commands = 0
Total number of interrupts = 3
Total number of IOCBs (used/max) = (0/600) Total number of queued commands = 0

    Device queue depth = 0x20

Number of free request entries = 508
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0 Number of reqs in failover_q= 0
Host adapter:loop state= <READY>, flags= 0x860a33
Dpc flags = 0x1000040
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 030
Port down retry = 032
Login retry count = 032
Commands retried with dropped frame(s) = 0
Configured characteristic impedence: 50 ohms
Configured data rate: 1-2 Gb/sec auto-negotiate

SCSI Device Information:
scsi-qla0-adapter-node=200100e08b31f219;
scsi-qla0-adapter-port=210100e08b31f219;
scsi-qla0-target-0=2100001086104018;

FC Port Information:
scsi-qla0-port-0=2000001086104018:2100001086104018;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00, ( 0: 1): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00, ( 0: 2): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00,

Output of /proc/scsi/qla2300/3 (raid array attached)

QLogic PCI to Fibre Channel Host Adapter for QLA2342 :

        Firmware version:  3.02.28, Driver version 7.00.03-fo

Entry address = f8b1d060
HBA: QLA2312 , Serial# L20754
Request Queue = 0x35fa0000, Response Queue = 0x35f90000 Request Queue count= 512, Response Queue count= 512 Total number of active commands = 0
Total number of interrupts = 60
Total number of IOCBs (used/max) = (0/600) Total number of queued commands = 0

    Device queue depth = 0x20

Number of free request entries = 451
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0 Number of reqs in failover_q= 0
Host adapter:loop state= <READY>, flags= 0x860a33
Dpc flags = 0x1000040
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 030
Port down retry = 032
Login retry count = 032
Commands retried with dropped frame(s) = 60
Configured characteristic impedence: 50 ohms
Configured data rate: 1-2 Gb/sec auto-negotiate

SCSI Device Information:
scsi-qla1-adapter-node=200000e08b11f219;
scsi-qla1-adapter-port=210000e08b11f219;
scsi-qla1-target-0=21000004d9600fc0;

FC Port Information:
scsi-qla1-port-0=20000004d9600fc0:21000004d9600fc0;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 60, Pending reqs 0, flags 0x0, 1:0:00, ( 0: 1): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00, ( 0: 2): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00,

#2 lore raw
Quoted 8 lines · James Pearson

I've managed to get this working - by using an older version of the qla2300 driver ...

I found a copy of 6.01.00-fo, so now /proc/scsi/qla2300/3 reports:

QLogic PCI to Fibre Channel Host Adapter for ISP23xx:

         Firmware version:  3.01.13, Driver version 6.01.00-fo
Quoted 7 lines

and the three disk volumes are found and are available.

I guess the driver downloads the firmware, as this is different from the firmware reported with driver version 7.00.03-fo

So it looks like the disk array doesn't like the newer qla2300 driver/firmware ... (or vice versa)

The level 6 and 7 drivers contain a firmware image that is downloaded regardless of what firmware may have been started via a BIOS (if there is one). The 3.01.13 is quite ancient. For instance 3.02.29 is available.

There are some problems with 3.02.29 (and earlier) including dealing with fabric switch connected loops (public and private loops).

mark

Quoted 174 lines

James Pearson

Quoted 153 lines · James Pearson <[email protected]> - wrote:

I'm having problems seeing a Fibrenetix VP-1242-FC raid array via a qla2312 HBA on a dual Xeon box running a RHEL3.0 clone - using a 2.4.21 based kernel.

The first port on the qla2312 has a Quantum tape library and two SDLT tape drives - which the OS can see fine.

The raid array is attached to the 2nd port on the qla2312 - it is configured with 3 volumes at luns 0, 1 and 2 - unfortunately, the OS can't 'see' the 3 disk volumes ...

The two ports on the qla2312 are scsi2 and scsi3

/proc/scsi/scsi shows

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST336607LC Rev: 0007
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST373307LC Rev: 0006
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: ESG-SHV Model: SCA HSBP M16 Rev: 0.05
Type: Processor ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATL Model: M2500 Rev: 6.0
Type: Medium Changer ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 01
Vendor: QUANTUM Model: SDLT600 Rev: 1515
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 02
Vendor: QUANTUM Model: SDLT600 Rev: 1515
Type: Sequential-Access ANSI SCSI revision: 02

However, at the BIOS level, the array can be seen. Also, the file /proc/scsi/qla2300/3 ends with:

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 60, Pending reqs 0, flags 0x0, 1:0:00, ( 0: 1): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00, ( 0: 2): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00,

which seems to indicate something is there ...

(full output from /proc/scsi/qla2300/[23] below.

I'm using v7.00.03 of the qla2300 driver (downloaded from Qlogic's web site).

I've tried:

echo "scsi add-single-device 3 0 0 0" > /proc/scsi/scsi

etc. but it doesn't make a difference

As a test, I attached the raid array to an SGI IRIX server (using qla2342 HBA) - and it could see the three volumes with out a problem.

Is there anything else I can try?

Thanks

James Pearson

Output of /proc/scsi/qla2300/2 (port with the tape robot and tape drives):

QLogic PCI to Fibre Channel Host Adapter for QLA2342 :

        Firmware version:  3.02.28, Driver version 7.00.03-fo

Entry address = f8b1d060
HBA: QLA2312 , Serial# L20754
Request Queue = 0x35fc0000, Response Queue = 0x35fb0000 Request Queue count= 512, Response Queue count= 512 Total number of active commands = 0
Total number of interrupts = 3
Total number of IOCBs (used/max) = (0/600) Total number of queued commands = 0

    Device queue depth = 0x20

Number of free request entries = 508
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0 Number of reqs in failover_q= 0
Host adapter:loop state= <READY>, flags= 0x860a33
Dpc flags = 0x1000040
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 030
Port down retry = 032
Login retry count = 032
Commands retried with dropped frame(s) = 0
Configured characteristic impedence: 50 ohms
Configured data rate: 1-2 Gb/sec auto-negotiate

SCSI Device Information:
scsi-qla0-adapter-node=200100e08b31f219;
scsi-qla0-adapter-port=210100e08b31f219;
scsi-qla0-target-0=2100001086104018;

FC Port Information:
scsi-qla0-port-0=2000001086104018:2100001086104018;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00, ( 0: 1): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00, ( 0: 2): Total reqs 1, Pending reqs 0, flags 0x0*, 0:0:00,

Output of /proc/scsi/qla2300/3 (raid array attached)

QLogic PCI to Fibre Channel Host Adapter for QLA2342 :

        Firmware version:  3.02.28, Driver version 7.00.03-fo

Entry address = f8b1d060
HBA: QLA2312 , Serial# L20754
Request Queue = 0x35fa0000, Response Queue = 0x35f90000 Request Queue count= 512, Response Queue count= 512 Total number of active commands = 0
Total number of interrupts = 60
Total number of IOCBs (used/max) = (0/600) Total number of queued commands = 0

    Device queue depth = 0x20

Number of free request entries = 451
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0 Number of reqs in failover_q= 0
Host adapter:loop state= <READY>, flags= 0x860a33
Dpc flags = 0x1000040
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 030
Port down retry = 032
Login retry count = 032
Commands retried with dropped frame(s) = 60
Configured characteristic impedence: 50 ohms
Configured data rate: 1-2 Gb/sec auto-negotiate

SCSI Device Information:
scsi-qla1-adapter-node=200000e08b11f219;
scsi-qla1-adapter-port=210000e08b11f219;
scsi-qla1-target-0=21000004d9600fc0;

Quoted 11 lines

FC Port Information:
scsi-qla1-port-0=20000004d9600fc0:21000004d9600fc0;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS. ( 0: 0): Total reqs 60, Pending reqs 0, flags 0x0, 1:0:00, ( 0: 1): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00, ( 0: 2): Total reqs 0, Pending reqs 0, flags 0x0*, 1:0:00,

-
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

#3 lore raw
In reply to James Pearson
Quoted 6 lines · James Pearson

I'm having problems seeing a Fibrenetix VP-1242-FC raid array via a qla2312 HBA on a dual Xeon box running a RHEL3.0 clone - using a 2.4.21 based kernel.

The first port on the qla2312 has a Quantum tape library and two SDLT tape drives - which the OS can see fine.

The raid array is attached to the 2nd port on the qla2312 - it is configured with 3 volumes at luns 0, 1 and 2 - unfortunately, the OS can't 'see' the 3 disk volumes ...

This turned out to be a problem with the firmware on the raid array - upgrading to a newer version fixed this issue.

James Pearson

#4 lore raw
Quoted 4 lines · James Pearson

This turned out to be a problem with the firmware on the raid array - upgrading to a newer version fixed this issue.

Thanks for the update. Glad to hear you managed to get the issue resolved.

Regards,
Andrew Vasquez