Date: Wed, 7 Mar 2012 14:40:05 -0800 From: Chuck Tuffli <chuck@tuffli.net> To: "Kenneth D. Merry" <ken@freebsd.org> Cc: freebsd-scsi <freebsd-scsi@freebsd.org> Subject: Re: [patch] CTL should check condition INQUIRY with invalid LUN Message-ID: <CAM0tzX31HRoWkoeGBY0kOz_25UxnfUvkD-ptJ3USHOzfoWGxSw@mail.gmail.com> In-Reply-To: <20120307222546.GA38581@nargothrond.kdm.org> References: <CAM0tzX1=OrfYK3za9s5xkiUDmnO=maHPbhmyv0k50y=6-WTT9w@mail.gmail.com> <20120306001731.GA38229@nargothrond.kdm.org> <CAM0tzX2y=Nh7MjM%2BDhZJu-CPYqUhvBsJCVjPsagTXmR3v_2_Hw@mail.gmail.com> <20120307202200.GA23825@nargothrond.kdm.org> <CAM0tzX1a1-Hen=tXpmkbWdac0xtP=AnYHrrupqNT2uVx_4AzOw@mail.gmail.com> <20120307222546.GA38581@nargothrond.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 7, 2012 at 2:25 PM, Kenneth D. Merry <ken@freebsd.org> wrote: > On Wed, Mar 07, 2012 at 14:17:14 -0800, Chuck Tuffli wrote: >> On Wed, Mar 7, 2012 at 12:22 PM, Kenneth D. Merry <ken@freebsd.org> wrot= e: >> > On Tue, Mar 06, 2012 at 16:30:22 -0800, Chuck Tuffli wrote: >> ... >> >> Linux does issue REPORT LUNs, but most of the time, this gets >> >> check-conditioned with illegal request, overlapped commands attempted= . >> > >> > Hmm, that sounds suspicious. ?What is the exact ASC/ASCQ reported? >> > >> > Are you setting the tag_action field in the ATIO that gets sent to CTL= ? >> > Only one untagged command is allowed at a time. >> >> Ooops, no I wasn't. Fixed that and the illegal request check condition >> has gone away (tnx!) > > Ahh, cool. =A0So is Linux probing things properly now? No, the probing is messed up unless I change the inquiry device qualifier/type to 0x3/0x1f, but the spurious check conditions are now gone. ---chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM0tzX31HRoWkoeGBY0kOz_25UxnfUvkD-ptJ3USHOzfoWGxSw>