Skip to contentSkip to conversation

[2.6.25.1] qla2xxx can't see more than 4 drives

DISCUSSION Gerhard Mack 2 participants 6 messages May 3, 2008 – May 7, 2008 SCSI

lore
Share & tools
lore
#0 lore raw

I have an array witjh 6 drives in it and if use the card's utilities on boot it sees all of them but for some reason Linux only sees 4 drives.

Am I running into a limit? I can see both drives if I remove other drives from the array.

[0:0:0:0]    disk    MAXTOR   ATLAS10K4_36SCA  DFM0  /dev/sda
[0:0:1:0]    disk    MAXTOR   ATLAS10K4_36SCA  DFM0  /dev/sdb
[0:0:2:0]    disk    MAXTOR   ATLAS10K4_36SCA  DFM0  /dev/sdc
[0:0:6:0]    process PE/PV    1x3 SCSI BP      0.28  -
fiber channel drives:
[2:0:0:0]    disk    SEAGATE  ST314680 CLAR146 7A0A  /dev/sdd
[2:0:1:0]    disk    SEAGATE  ST314680 CLAR146 7A04  /dev/sde
[2:0:2:0]    disk    SEAGATE  ST314680 CLAR146 7A0A  /dev/sdf
[2:0:3:0]    disk    SEAGATE  ST314680 CLAR146 7A04  /dev/sdg

QLogic Fibre Channel HBA Driver
qla2xxx 0000:02:0a.0: Found an ISP2312, irq 24, iobase 0xf88cc000 qla2xxx 0000:02:0a.0: Configuring PCI space...
qla2xxx 0000:02:0a.0: Configure NVRAM parameters...
qla2xxx 0000:02:0a.0: Verifying loaded RISC code...
qla2xxx 0000:02:0a.0: Allocated (412 KB) for firmware dump...
scsi3 : qla2xxx
qla2xxx 0000:02:0a.0: LIP reset occured (f8f7).
qla2xxx 0000:02:0a.0: LIP occured (f8f7).
qla2xxx 0000:02:0a.0: LOOP UP detected (1 Gbps).
scsi 3:0:0:0: Direct-Access SEAGATE ST314680 CLAR146 7A0A PQ: 0 ANSI: 3
sd 3:0:0:0: [sdd] 286749476 512-byte hardware sectors (146816 MB)
sd 3:0:0:0: [sdd] Write Protect is off
sd 3:0:0:0: [sdd] Mode Sense: a7 00 10 08
sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA sd 3:0:0:0: [sdd] 286749476 512-byte hardware sectors (146816 MB)
sd 3:0:0:0: [sdd] Write Protect is off
sd 3:0:0:0: [sdd] Mode Sense: a7 00 10 08
sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA
sdd:<6>qla2xxx 0000:02:0a.0:
QLogic Fibre Channel HBA Driver: 8.02.00-k9
QLogic QLA2340 - 133MHz PCI-X to 2Gb FC, Single Channel
ISP2312: PCI (66 MHz) @ 0000:02:0a.0 hdma-, host#=3, fw=3.03.20 IPX
unknown partition table
sd 3:0:0:0: [sdd] Attached SCSI disk
sd 3:0:0:0: Attached scsi generic sg4 type 0
sd 3:0:0:0: Embedded Enclosure Device
sd 3:0:0:0: Failed to get diagnostic page 0x6000000
sd 3:0:0:0: Failed to bind enclosure -19
scsi 3:0:1:0: Direct-Access SEAGATE ST314680 CLAR146 7A04 PQ: 0 ANSI: 3
sd 3:0:1:0: [sde] 286749476 512-byte hardware sectors (146816 MB)
sd 3:0:1:0: [sde] Write Protect is off
sd 3:0:1:0: [sde] Mode Sense: a7 00 10 08
sd 3:0:1:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA sd 3:0:1:0: [sde] 286749476 512-byte hardware sectors (146816 MB)
sd 3:0:1:0: [sde] Write Protect is off
sd 3:0:1:0: [sde] Mode Sense: a7 00 10 08
sd 3:0:1:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sde: unknown partition table
sd 3:0:1:0: [sde] Attached SCSI disk
sd 3:0:1:0: Attached scsi generic sg5 type 0
sd 3:0:1:0: Embedded Enclosure Device
sd 3:0:1:0: Failed to get diagnostic page 0x6000000
sd 3:0:1:0: Failed to bind enclosure -19
scsi 3:0:2:0: Direct-Access SEAGATE ST314680 CLAR146 7A0A PQ: 0 ANSI: 3
sd 3:0:2:0: [sdf] 286749476 512-byte hardware sectors (146816 MB)
sd 3:0:2:0: [sdf] Write Protect is off
sd 3:0:2:0: [sdf] Mode Sense: a7 00 10 08
sd 3:0:2:0: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA sd 3:0:2:0: [sdf] 286749476 512-byte hardware sectors (146816 MB)
sd 3:0:2:0: [sdf] Write Protect is off
sd 3:0:2:0: [sdf] Mode Sense: a7 00 10 08
sd 3:0:2:0: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdf: unknown partition table
sd 3:0:2:0: [sdf] Attached SCSI disk
sd 3:0:2:0: Attached scsi generic sg6 type 0
sd 3:0:2:0: Embedded Enclosure Device
qla2xxx 0000:02:0a.0: scsi(3:2:0): Abort command issued -- 1 62 2002. qla2xxx 0000:02:0a.0: scsi(3:2:0): Abort command issued -- 1 6d 2002.

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.

#1 lore raw
Quoted 16 lines · Gerhard Mack

I have an array witjh 6 drives in it and if use the card's utilities on boot it sees all of them but for some reason Linux only sees 4 drives.

Am I running into a limit? I can see both drives if I remove other drives from the array.

[0:0:0:0]    disk    MAXTOR   ATLAS10K4_36SCA  DFM0  /dev/sda
[0:0:1:0]    disk    MAXTOR   ATLAS10K4_36SCA  DFM0  /dev/sdb
[0:0:2:0]    disk    MAXTOR   ATLAS10K4_36SCA  DFM0  /dev/sdc
[0:0:6:0]    process PE/PV    1x3 SCSI BP      0.28  -
fiber channel drives:
[2:0:0:0]    disk    SEAGATE  ST314680 CLAR146 7A0A  /dev/sdd
[2:0:1:0]    disk    SEAGATE  ST314680 CLAR146 7A04  /dev/sde
[2:0:2:0]    disk    SEAGATE  ST314680 CLAR146 7A0A  /dev/sdf
[2:0:3:0]    disk    SEAGATE  ST314680 CLAR146 7A04  /dev/sdg
Quoted 10 lines

QLogic Fibre Channel HBA Driver
qla2xxx 0000:02:0a.0: Found an ISP2312, irq 24, iobase 0xf88cc000 qla2xxx 0000:02:0a.0: Configuring PCI space...
qla2xxx 0000:02:0a.0: Configure NVRAM parameters... qla2xxx 0000:02:0a.0: Verifying loaded RISC code... qla2xxx 0000:02:0a.0: Allocated (412 KB) for firmware dump... scsi3 : qla2xxx
qla2xxx 0000:02:0a.0: LIP reset occured (f8f7).
qla2xxx 0000:02:0a.0: LIP occured (f8f7).
qla2xxx 0000:02:0a.0: LOOP UP detected (1 Gbps).

Could you load the driver with the ql2xextended_error_logging module parameter set to 1 and send the resultant driver logs? Also, it would could you also send the output of the following after the driver is loaded:

$ cat /sys/class/fc_host/host<host_no>
$ cat /sys/class/scsi_host/host<host_no>/*
$ cat /sys/class/fc_remote_ports/*

where host_no corresponds to the SCSI host-number assigned to the HBA.

Regards,
Andrew Vasquez

#2 lore raw
Quoted 40 lines · Andrew Vasquez

Date: Tue, 6 May 2008 06:51:18 -0700
From: Andrew Vasquez <[email protected]>
To: Gerhard Mack <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [2.6.25.1] qla2xxx can't see more than 4 drives

Quoted 16 lines · Gerhard Mack

I have an array witjh 6 drives in it and if use the card's utilities on boot it sees all of them but for some reason Linux only sees 4 drives.

Am I running into a limit? I can see both drives if I remove other drives from the array.

[0:0:0:0]    disk    MAXTOR   ATLAS10K4_36SCA  DFM0  /dev/sda
[0:0:1:0]    disk    MAXTOR   ATLAS10K4_36SCA  DFM0  /dev/sdb
[0:0:2:0]    disk    MAXTOR   ATLAS10K4_36SCA  DFM0  /dev/sdc
[0:0:6:0]    process PE/PV    1x3 SCSI BP      0.28  -
fiber channel drives:
[2:0:0:0]    disk    SEAGATE  ST314680 CLAR146 7A0A  /dev/sdd
[2:0:1:0]    disk    SEAGATE  ST314680 CLAR146 7A04  /dev/sde
[2:0:2:0]    disk    SEAGATE  ST314680 CLAR146 7A0A  /dev/sdf
[2:0:3:0]    disk    SEAGATE  ST314680 CLAR146 7A04  /dev/sdg
Quoted 10 lines

QLogic Fibre Channel HBA Driver
qla2xxx 0000:02:0a.0: Found an ISP2312, irq 24, iobase 0xf88cc000 qla2xxx 0000:02:0a.0: Configuring PCI space...
qla2xxx 0000:02:0a.0: Configure NVRAM parameters... qla2xxx 0000:02:0a.0: Verifying loaded RISC code... qla2xxx 0000:02:0a.0: Allocated (412 KB) for firmware dump... scsi3 : qla2xxx
qla2xxx 0000:02:0a.0: LIP reset occured (f8f7).
qla2xxx 0000:02:0a.0: LIP occured (f8f7).
qla2xxx 0000:02:0a.0: LOOP UP detected (1 Gbps).

Could you load the driver with the ql2xextended_error_logging module parameter set to 1 and send the resultant driver logs? Also, it would could you also send the output of the following after the driver is loaded:

Quoted 6 lines
$ cat /sys/class/fc_host/host<host_no>
$ cat /sys/class/scsi_host/host<host_no>/*
$ cat /sys/class/fc_remote_ports/*

where host_no corresponds to the SCSI host-number assigned to the HBA.

Of course..

QLogic Fibre Channel HBA Driver
qla2xxx 0000:02:0a.0: Found an ISP2312, irq 24, iobase 0xf88cc000 qla2xxx 0000:02:0a.0: Configuring PCI space...
qla2xxx 0000:02:0a.0: Configure NVRAM parameters...
qla2xxx 0000:02:0a.0: Verifying loaded RISC code...
scsi(4): **** Load RISC code ****
scsi(4): Verifying Checksum of loaded RISC code.
scsi(4): Checksum OK, start firmware.
qla2xxx 0000:02:0a.0: Allocated (412 KB) for firmware dump... scsi(4): Issue init firmware.
DEBUG: detect hba 4 at address = f5da2278
scsi4 : qla2xxx
scsi(4): Asynchronous LIP RESET (f8f7).
qla2xxx 0000:02:0a.0: LIP reset occured (f8f7).
scsi(4): LIP occured (f8f7).
qla2xxx 0000:02:0a.0: LIP occured (f8f7).
scsi(4): Asynchronous LOOP UP (1 Gbps).
qla2xxx 0000:02:0a.0: LOOP UP detected (1 Gbps).
scsi(4): Asynchronous PORT UPDATE.
scsi(4): Port database changed ffff 0006 0000.
scsi(4): qla2x00_reset_marker()
scsi(4): qla2x00_loop_resync()
scsi(4): F/W Ready - OK
scsi(4): fw_state=3 curr time=1371fd39.
scsi(4): Configure loop -- dpc flags =0x40800e0 qla2x00_mailbox_command(4): **** FAILED. mbx0=4006, mbx1=7e, mbx2=0, cmd=6a **** qla2x00_get_port_name(4): failed=102.
scsi(4): MBC_GET_PORT_NAME Failed, No FL Port
scsi(4): LOOP READY
scsi(4): qla2x00_loop_resync - end
qla2xxx 0000:02:0a.0: scsi(4:0:0:0): Queue depth adjusted-up to 4.
scsi 4:0:0:0: Direct-Access SEAGATE ST314680 CLAR146 7A0A PQ: 0 ANSI: 3
sd 4:0:0:0: [sdd] 286749476 512-byte hardware sectors (146816 MB)
sd 4:0:0:0: [sdd] Write Protect is off
sd 4:0:0:0: [sdd] Mode Sense: a7 00 10 08
sd 4:0:0:0: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA sd 4:0:0:0: [sdd] 286749476 512-byte hardware sectors (146816 MB)
sd 4:0:0:0: [sdd] Write Protect is off
sd 4:0:0:0: [sdd] Mode Sense: a7 00 10 08
sd 4:0:0:0: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA
sdd:<6>qla2xxx 0000:02:0a.0:
QLogic Fibre Channel HBA Driver: 8.02.00-k9-debug
QLogic QLA2340 - 133MHz PCI-X to 2Gb FC, Single Channel
ISP2312: PCI (66 MHz) @ 0000:02:0a.0 hdma-, host#=4, fw=3.03.20 IPX
unknown partition table
sd 4:0:0:0: [sdd] Attached SCSI disk
sd 4:0:0:0: Attached scsi generic sg4 type 0
sd 4:0:0:0: Embedded Enclosure Device
sd 4:0:0:0: Failed to get diagnostic page 0x6000000
sd 4:0:0:0: Failed to bind enclosure -19
qla2xxx 0000:02:0a.0: scsi(4:0:1:0): Queue depth adjusted-up to 4.
scsi 4:0:1:0: Direct-Access SEAGATE ST314680 CLAR146 7A04 PQ: 0 ANSI: 3
sd 4:0:1:0: [sde] 286749476 512-byte hardware sectors (146816 MB)
sd 4:0:1:0: [sde] Write Protect is off
sd 4:0:1:0: [sde] Mode Sense: a7 00 10 08
sd 4:0:1:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA sd 4:0:1:0: [sde] 286749476 512-byte hardware sectors (146816 MB)
sd 4:0:1:0: [sde] Write Protect is off
sd 4:0:1:0: [sde] Mode Sense: a7 00 10 08
sd 4:0:1:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sde: unknown partition table
sd 4:0:1:0: [sde] Attached SCSI disk
sd 4:0:1:0: Attached scsi generic sg5 type 0
sd 4:0:1:0: Embedded Enclosure Device
sd 4:0:1:0: Failed to get diagnostic page 0x6000000
sd 4:0:1:0: Failed to bind enclosure -19
qla2xxx 0000:02:0a.0: scsi(4:0:2:0): Queue depth adjusted-up to 4.
scsi 4:0:2:0: Direct-Access SEAGATE ST314680 CLAR146 7A0A PQ: 0 ANSI: 3
sd 4:0:2:0: [sdf] 286749476 512-byte hardware sectors (146816 MB)
sd 4:0:2:0: [sdf] Write Protect is off
sd 4:0:2:0: [sdf] Mode Sense: a7 00 10 08
sd 4:0:2:0: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA sd 4:0:2:0: [sdf] 286749476 512-byte hardware sectors (146816 MB)
sd 4:0:2:0: [sdf] Write Protect is off
sd 4:0:2:0: [sdf] Mode Sense: a7 00 10 08
sd 4:0:2:0: [sdf] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdf: unknown partition table
sd 4:0:2:0: [sdf] Attached SCSI disk
sd 4:0:2:0: Attached scsi generic sg6 type 0
sd 4:0:2:0: Embedded Enclosure Device
qla2xxx_eh_abort(4): aborting sp f7fce920 from RISC. pid=95.
scsi(4): ABORT status detected 0x5-0x0.
qla2xxx 0000:02:0a.0: scsi(4:2:0): Abort command issued -- 1 5f 2002. qla2xxx_eh_abort(4): aborting sp f7fce920 from RISC. pid=110. scsi(4): ABORT status detected 0x5-0x0.
qla2xxx 0000:02:0a.0: scsi(4:2:0): Abort command issued -- 1 6e 2002. qla2xxx_eh_abort(4): aborting sp f7fce920 from RISC. pid=112. scsi(4): ABORT status detected 0x5-0x0.
qla2xxx 0000:02:0a.0: scsi(4:2:0): Abort command issued -- 1 70 2002. qla2xxx_eh_abort(4): aborting sp f7fce920 from RISC. pid=115. scsi(4): ABORT status detected 0x5-0x0.
qla2xxx 0000:02:0a.0: scsi(4:2:0): Abort command issued -- 1 73 2002. sd 4:0:2:0: Failed to get diagnostic page 0x80000
sd 4:0:2:0: Failed to bind enclosure -19
qla2xxx 0000:02:0a.0: scsi(4:0:3:0): Queue depth adjusted-up to 4.
scsi 4:0:3:0: Direct-Access SEAGATE ST314680 CLAR146 7A04 PQ: 0 ANSI: 3
sd 4:0:3:0: [sdg] 286749476 512-byte hardware sectors (146816 MB)
sd 4:0:3:0: [sdg] Write Protect is off
sd 4:0:3:0: [sdg] Mode Sense: a7 00 10 08
sd 4:0:3:0: [sdg] Write cache: disabled, read cache: enabled, supports DPO and FUA sd 4:0:3:0: [sdg] 286749476 512-byte hardware sectors (146816 MB)
sd 4:0:3:0: [sdg] Write Protect is off
sd 4:0:3:0: [sdg] Mode Sense: a7 00 10 08
sd 4:0:3:0: [sdg] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdg: unknown partition table
sd 4:0:3:0: [sdg] Attached SCSI disk
sd 4:0:3:0: Attached scsi generic sg7 type 0
sd 4:0:3:0: Embedded Enclosure Device
qla2xxx_eh_abort(4): aborting sp f6ddb160 from RISC. pid=137. scsi(4): ABORT status detected 0x5-0x0.
qla2xxx 0000:02:0a.0: scsi(4:3:0): Abort command issued -- 1 89 2002. qla2xxx_eh_abort(4): aborting sp f73c4a80 from RISC. pid=149. scsi(4): ABORT status detected 0x5-0x0.
qla2xxx 0000:02:0a.0: scsi(4:3:0): Abort command issued -- 1 95 2002. qla2xxx_eh_abort(4): aborting sp f6ddb080 from RISC. pid=158. scsi(4): ABORT status detected 0x5-0x0.
qla2xxx 0000:02:0a.0: scsi(4:3:0): Abort command issued -- 1 9e 2002. qla2xxx_eh_abort(4): aborting sp f6ddb080 from RISC. pid=161. scsi(4): ABORT status detected 0x5-0x0.
qla2xxx 0000:02:0a.0: scsi(4:3:0): Abort command issued -- 1 a1 2002. sd 4:0:3:0: Failed to get diagnostic page 0x80000
sd 4:0:3:0: Failed to bind enclosure -19

cat /sys/class/fc_host/host4/* :
0x200000e08b127d20
0
0x200000e08b127d20
0
0x000001
0x210000e08b127d20
Online
LPort (private loop)
1 Gbit
Class 3
QLA2340 FW:v3.03.20 DVR:v8.02.00-k9-debug

wwpn (World Wide Port Name)

cat /sys/class/scsi_host/host4/* :
Initiator
Disabled
2176
3
8.02.00-k9-debug
3.03.20 IPX
0
4953 5020 2020 0002
ISP2312
133MHz PCI-X to 2Gb FC, Single Channel
QLA2340
1.54
0.00
0.00
0.00.00 0
PCI (66 MHz)
<NULL>
L87965
128
Link Up - Loop
Initiator
0
0
Disabled
200 us

cat /sys/class/fc_remote_ports/rport-4\:0-0/* :
35
0x2000000c507ce546
0x0000e2
0x2200000c507ce546
Online
FCP Target
0
Class 3

cat /sys/class/fc_remote_ports/rport-4\:0-1/*
35
0x20000004cf69c688
0x0000e1
0x22000004cf69c688
Online
FCP Target
1
Class 3

cat /sys/class/fc_remote_ports/rport-4\:0-2/* | log 35
0x2000000c507ce809
0x00000f
0x2200000c507ce809
Online
FCP Target
2
Class 3

cat /sys/class/fc_remote_ports/rport-4\:0-3/* :
35
0x20000004cf69b98f
0x000008
0x22000004cf69b98f
Online
FCP Target
3
Class 3

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.

#3 lore raw
Quoted 20 lines · Gerhard Mack
Quoted 11 lines · Andrew Vasquez

Could you load the driver with the ql2xextended_error_logging module parameter set to 1 and send the resultant driver logs? Also, it would could you also send the output of the following after the driver is loaded:

$ cat /sys/class/fc_host/host<host_no>
$ cat /sys/class/scsi_host/host<host_no>/*
$ cat /sys/class/fc_remote_ports/*

where host_no corresponds to the SCSI host-number assigned to the HBA.

Of course..

QLogic Fibre Channel HBA Driver
qla2xxx 0000:02:0a.0: Found an ISP2312, irq 24, iobase 0xf88cc000 qla2xxx 0000:02:0a.0: Configuring PCI space...
qla2xxx 0000:02:0a.0: Configure NVRAM parameters... qla2xxx 0000:02:0a.0: Verifying loaded RISC code... scsi(4): **** Load RISC code ****

...

Quoted 9 lines

cat /sys/class/fc_host/host4/* :
0x200000e08b127d20
0
0x200000e08b127d20
0
0x000001
0x210000e08b127d20
Online
LPort (private loop)

Hmm, qla2xxx has a 'split' port-discovery model based on topology. Switched fabric (P2P) discovery and logins are managed by the driver. FC_AL topology discovery and logins are managed by firmware. The driver (qla2xxx) simply asks the firmware for a list of recognized ports, as you've noted the driver (and indirectly, firmware), only recognized 4 ports during LIPA/LIHA/LISA address negotiation:

Quoted 2 lines

cat /sys/class/fc_remote_ports/rport-4\:0-0/* :
0x2200000c507ce546

...

Quoted 2 lines

cat /sys/class/fc_remote_ports/rport-4\:0-1/*
0x22000004cf69c688

...

Quoted 2 lines

cat /sys/class/fc_remote_ports/rport-4\:0-2/* | log 0x2200000c507ce809

...

Quoted 2 lines

cat /sys/class/fc_remote_ports/rport-4\:0-3/* :
0x22000004cf69b98f

...

You mentioned that the 'BIOS' configuration program recognizes 6 devices, have there been any changes made via the BIOS utility to

* assign a hard-loop id?
* acquire a loop-id during LIPA?

or any changes above and beyond 'default' settings? If so, could you 'retrore' default settings within BIOS utility?

--
Andrew Vasquez

#4 lore raw
Quoted 54 lines · Andrew Vasquez
Quoted 20 lines · Gerhard Mack
Quoted 11 lines · Andrew Vasquez

Could you load the driver with the ql2xextended_error_logging module parameter set to 1 and send the resultant driver logs? Also, it would could you also send the output of the following after the driver is loaded:

$ cat /sys/class/fc_host/host<host_no>
$ cat /sys/class/scsi_host/host<host_no>/*
$ cat /sys/class/fc_remote_ports/*

where host_no corresponds to the SCSI host-number assigned to the HBA.

Of course..

QLogic Fibre Channel HBA Driver
qla2xxx 0000:02:0a.0: Found an ISP2312, irq 24, iobase 0xf88cc000 qla2xxx 0000:02:0a.0: Configuring PCI space...
qla2xxx 0000:02:0a.0: Configure NVRAM parameters... qla2xxx 0000:02:0a.0: Verifying loaded RISC code... scsi(4): **** Load RISC code ****

...

Quoted 9 lines

cat /sys/class/fc_host/host4/* :
0x200000e08b127d20
0
0x200000e08b127d20
0
0x000001
0x210000e08b127d20
Online
LPort (private loop)

Hmm, qla2xxx has a 'split' port-discovery model based on topology. Switched fabric (P2P) discovery and logins are managed by the driver. FC_AL topology discovery and logins are managed by firmware. The driver (qla2xxx) simply asks the firmware for a list of recognized ports, as you've noted the driver (and indirectly, firmware), only recognized 4 ports during LIPA/LIHA/LISA address negotiation:

Quoted 2 lines

cat /sys/class/fc_remote_ports/rport-4\:0-0/* :
0x2200000c507ce546

...

Quoted 2 lines

cat /sys/class/fc_remote_ports/rport-4\:0-1/*
0x22000004cf69c688

...

Quoted 2 lines

cat /sys/class/fc_remote_ports/rport-4\:0-2/* | log 0x2200000c507ce809

...

Quoted 2 lines

cat /sys/class/fc_remote_ports/rport-4\:0-3/* :
0x22000004cf69b98f

...

Quoted 8 lines

You mentioned that the 'BIOS' configuration program recognizes 6 devices, have there been any changes made via the BIOS utility to

* assign a hard-loop id?
* acquire a loop-id during LIPA?

or any changes above and beyond 'default' settings? If so, could you 'retrore' default settings within BIOS utility?

Hmm your right.. it's only showing 4 drives in the BIOS utility. Don't know why I recall seeing more ealier.

It's back to default and only showing 4 drives.

Gerhard

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.

#5 lore raw
Quoted 6 lines · Gerhard Mack
Quoted 6 lines

You mentioned that the 'BIOS' configuration program recognizes 6 devices, have there been any changes made via the BIOS utility to

* assign a hard-loop id?
* acquire a loop-id during LIPA?

Quoted 7 lines
Quoted 2 lines

or any changes above and beyond 'default' settings? If so, could you 'retrore' default settings within BIOS utility?

Hmm your right.. it's only showing 4 drives in the BIOS utility. Don't know why I recall seeing more ealier.

It's back to default and only showing 4 drives.

Ok, so at least the BIOS and driver views of the topology are consistent... The firmware supports up to 126 devices in a FCAL topology, so there's no HBA limit that is being run into here.

You mentioned that if you remove the originally visible drives, then the driver/BIOS can see the previously non-visible drives -- perhaps there is some limitation with the storage enclosure you are using...

Regards,
Andrew Vasquez