mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gerhard Mack <gmack@innerfire.net>
To: Andrew Vasquez <andrew.vasquez@qlogic.com>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [2.6.25.1] qla2xxx can't see more than 4 drives
Date: Wed, 7 May 2008 12:05:09 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.1.10.0805071204000.31448@mtl.rackplans.net> (raw)
In-Reply-To: <20080506220826.GI57975@plap4.qlogic.org>

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@innerfire.net

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

  reply	other threads:[~2008-05-07 16:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-03 19:17 Gerhard Mack
2008-05-06 13:51 ` Andrew Vasquez
2008-05-06 14:28   ` Gerhard Mack
2008-05-06 22:08     ` Andrew Vasquez
2008-05-07 16:05       ` Gerhard Mack [this message]
2008-05-07 16:59         ` Andrew Vasquez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.1.10.0805071204000.31448@mtl.rackplans.net \
    --to=gmack@innerfire.net \
    --cc=andrew.vasquez@qlogic.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®