From: Andrew Vasquez <andrew.vasquez@qlogic.com>
To: Patrick Mansfield <patmans@us.ibm.com>
Cc: Catalin Muresan <catalin.muresan@astral.ro>,
James Bottomley <James.Bottomley@steeleye.com>,
Andrew Vasquez <andrew.vasquez@qlogic.com>,
linux-scsi@vger.kernel.org, bogdan.luca@astral.ro
Subject: Re: Apple Xserve RAID and qlogic ISP2312 (qla2300)
Date: Thu, 28 Oct 2004 10:21:43 -0700 [thread overview]
Message-ID: <20041028172143.GA20949@praka.san.rr.com> (raw)
In-Reply-To: <20041028164210.GA16905@beaverton.ibm.com>
On Thu, 28 Oct 2004, Patrick Mansfield wrote:
> On Thu, Oct 28, 2004 at 06:35:22PM +0300, Catalin Muresan wrote:
>
> Ok, that should have been lun 5.
>
> > > > Oct 28 01:59:37 zerg-b kernel: scsi_scan_host_selected: <0:4294967295:4294967295:4294967295>
> > > > Oct 28 01:59:37 zerg-b kernel: scsi scan: INQUIRY to host 0 channel 0 id 0 lun 0
> > > > Oct 28 01:59:37 zerg-b kernel: scsi scan: 1st INQUIRY failed with code 0x10000
> > >
> > > The 0x10000 is a DID_NO_CONNECT, generally the adapter can't talk to
> > > the target at all.
> >
> > I don't know what the SCSI spec has to say about this, but by
> > looking at the code it should respond with SCSI_SCAN_TARGET_PRESENT.
>
> Hmmm ... my interpretation of DID_NO_CONNECT was that the adapter cannot
> talk to the target at all.
>
> You should be able to send an INQUIRY to any LUN on a target, the HBA
> really shouldn't block it.
>
> Given that, it is correct for the scan to give SCSI_SCAN_TARGET_PRESENT
> on a DID_NO_CONNECT.
>
Not wanting to go into the history of the qla2xxx driver's internal
port/lun structures, let me just say that the driver should always
create an internal 'lun 0' object so that the mid-layer can perform
its scan.
> So, it looks like the qlogic is giving a DID_NO_CONNECT when it should
> not. We could hack around this in scsi_scan.c but that might be bad.
>
> James or Andrew what do you think?
>
Yuck, the midlayer should not have to change.
> Catalin - does the device support REPORT LUNS? Do you have that
> configured? It would avoid this problem.
>
Yes, Catalin, could you find that out? I've only had a small amount
of exposure with the XRAID box and know that there were some quirks
about the device not performing an RFT_ID with the SNS, not sure if
that was addressed.
> > my goal is to have a kernel with which I can boot from FC, but i see
> > that can be done only with an ugly patch(for now) or with tricks from
> > initrd.
>
> What tricks and ugly patch? I haven't tried boot via qlogic on an HS20.
>
Catalin, could you enable some debug settings:
In qla_dbg.h, modify the following line:
/* #define QL_DEBUG_LEVEL_2 */ /* Output error msgs to COM1 */
to read as:
#define QL_DEBUG_LEVEL_2 /* Output error msgs to COM1 */
In qla_settings.h, modify the following line:
#define DEBUG_QLA2100 0 /* For Debug of qla2x00 */
to read as:
#define DEBUG_QLA2100 1 /* For Debug of qla2x00 */
recompile the driver, load, and forward over the relevent
var/log/messages snippet to me.
BTW: Regarding the internal queues and port/lun objects -- most of our
'experimental' work with 2.6 is begin done with our iSCSI driver.
This includes removal of the driver's internal queuing mechanism and
dependencies on these port/lun objects being built internally during
the driver scan. Porting (actually mostly pruning) to the FC driver
will follow shortly.
--
Andrew Vasquez
next prev parent reply other threads:[~2004-10-28 17:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 23:33 Apple Xserve RAID and qlogic ISP2312 (qla2300) Catalin Muresan
2004-10-28 14:37 ` Patrick Mansfield
2004-10-28 15:35 ` Catalin Muresan
2004-10-28 16:42 ` Patrick Mansfield
2004-10-28 16:51 ` Patrick Mansfield
2004-10-28 17:21 ` Andrew Vasquez [this message]
2004-10-29 8:58 ` Catalin Muresan
2004-10-29 18:06 ` Patrick Mansfield
2004-10-30 15:44 ` Catalin Muresan
2004-11-01 10:56 ` Catalin Muresan
2004-11-01 19:48 ` Patrick Mansfield
2004-11-09 2:49 ` Report luns [was: Apple Xserve RAID and qlogic ISP2312 (qla2300)] Douglas Gilbert
2004-11-09 15:06 ` Luben Tuikov
2004-11-09 21:10 ` Patrick Mansfield
2004-11-09 22:07 ` Luben Tuikov
2004-11-10 4:47 ` Report luns Douglas Gilbert
2004-11-10 14:13 ` Luben Tuikov
2004-11-10 5:19 ` Report luns [was: Apple Xserve RAID and qlogic ISP2312 (qla2300)] Douglas Gilbert
2004-11-10 14:47 ` Luben Tuikov
2004-10-29 9:01 ` Apple Xserve RAID and qlogic ISP2312 (qla2300) Catalin Muresan
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=20041028172143.GA20949@praka.san.rr.com \
--to=andrew.vasquez@qlogic.com \
--cc=James.Bottomley@steeleye.com \
--cc=bogdan.luca@astral.ro \
--cc=catalin.muresan@astral.ro \
--cc=linux-scsi@vger.kernel.org \
--cc=patmans@us.ibm.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.