Re: [2.6.25.1] qla2xxx can't see more than 4 drives
From: Gerhard Mack
Date: Wed May 07 2008 - 12:05:43 EST
On Tue, 6 May 2008, Andrew Vasquez wrote:
> On Tue, 06 May 2008, Gerhard Mack wrote:
>
> > On Tue, 6 May 2008, Andrew Vasquez wrote:
> > > 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 ****
> ...
> > 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:
>
> > cat /sys/class/fc_remote_ports/rport-4\:0-0/* :
> > 0x2200000c507ce546
> ...
> > cat /sys/class/fc_remote_ports/rport-4\:0-1/*
> > 0x22000004cf69c688
> ...
> > cat /sys/class/fc_remote_ports/rport-4\:0-2/* | log
> > 0x2200000c507ce809
> ...
> > 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?
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
gmack@xxxxxxxxxxxxx
<>< As a computer I find your faith in technology amusing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/