From owner-freebsd-scsi Mon Apr 30 13:59:11 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id BB8FB37B422 for ; Mon, 30 Apr 2001 13:58:55 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id OAA48648; Mon, 30 Apr 2001 14:58:15 -0600 (MDT) (envelope-from ken) Date: Mon, 30 Apr 2001 14:58:15 -0600 From: "Kenneth D. Merry" To: Joerg Wunsch Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: sa(4) jamming Message-ID: <20010430145815.A48398@panzer.kdm.org> References: <200104271649.f3RGmts35017@aslan.scsiguy.com> <200104271700.f3RH01s35435@aslan.scsiguy.com> <20010428210359.Q50185@uriah.heep.sax.de> <20010428233306.A37621@panzer.kdm.org> <20010429185005.B50185@uriah.heep.sax.de> <20010429172047.A41838@panzer.kdm.org> <20010430203604.E50864@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010430203604.E50864@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Mon, Apr 30, 2001 at 08:36:04PM +0200 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Apr 30, 2001 at 20:36:04 +0200, J Wunsch wrote: > As Kenneth D. Merry wrote: > > > Hopefully that's true. :) I think another part of it may be that not > > as many people are brave enough to run -current. :) (I go quite a > > long time before updating some of my machines.) > > I usually, too. My reason for upgrading recently was the acquisition > of new hardware (i finally got rid of my old P133 box as the main > workstation). > > > > What else would > > > trigger a NO SENSE situation? > > > > It's possible you could do it with a CDROM drive. There are a couple of > > audio-related sense codes that return SS_NOP: > > > > /* R */{SST(0x00, 0x12, SS_NOP, > > "Audio play operation paused") }, > > [etc] > > Hmm, i can't seem to trigger them, patched or unpatched system. After > looking into the SCSI-2 documents, it seems they are not returned as > sense codes but in the Audio Status field of an READ SUB-CHANNEL > command. Hmm, yeah, maybe those sense codes are from an older spec or something. > > You could always just disable the sa(4) driver patch and do it that way. > > That would probably be the easiest way to test it. > > Well, i did this, on my test machine. Since i already did that > previously (without setting action_string), i knew it fixes the ILI > problem, but exposes the filemark -> EIO problem. That still happens, > also with the addition of setting action_string (of course). Also, > hitting the filemark yields a NO SENSE situation: > > (sa0:sym0:0:1:0): READ(06). CDB: 8 0 0 80 0 0 > (sa0:sym0:0:1:0): CAM Status: SCSI Status Error > (sa0:sym0:0:1:0): SCSI Status: Check Condition > (sa0:sym0:0:1:0): NO SENSE info:8000 asc:0,1 > (sa0:sym0:0:1:0): Filemark detected > (sa0:sym0:0:1:0): Retries Exhausted > (sa0:sym0:0:1:0): error 5 > (sa0:sym0:0:1:0): Unretryable Error > > I can't seem to trigger printing the action_string ("No Recovery > Action Needed") in either situation (ILI or filemark), however. Hmm. At least in the above case we aren't getting an error action of SS_NOP, but rather SS_RETRY. With ILI, we would probably get back SS_NOP. Are you getting any error messages prior to the ones printed above? Do you get any printfs when the ILI problem happens? Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message