From owner-freebsd-scsi Mon Apr 30 16: 8:45 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 88D6437B424 for ; Mon, 30 Apr 2001 16:08:42 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id RAA49833; Mon, 30 Apr 2001 17:08:39 -0600 (MDT) (envelope-from ken) Date: Mon, 30 Apr 2001 17:08:39 -0600 From: "Kenneth D. Merry" To: Joerg Wunsch Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: sa(4) jamming Message-ID: <20010430170839.A49771@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> <20010430145815.A48398@panzer.kdm.org> <20010501000024.H50864@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: <20010501000024.H50864@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Tue, May 01, 2001 at 12:00:24AM +0200 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, May 01, 2001 at 00:00:24 +0200, J Wunsch wrote: > As Kenneth D. Merry wrote: > > > (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 > ... > > > Are you getting any error messages prior to the ones printed above? > > Do you get any printfs when the ILI problem happens? > > Nope, the ILI case doesn't cause any message to be printed. > Obviously, cam_periph_error() eventually returns to saerror() with a > return code of 0, and without printing anything. > > (Just to clarify: bootverbose was set, of course.) I think it's doing the correct thing in both cases. In the case above (filemark detected) it is correctly stating that retries have been exhaused, because the sa(4) driver uses a retry count of 0 for reads and writes. In the ILI case, the ASC/ASCQ are probably 0x00,0x00, which we translate into a nop with no sense printing, as opposed to retrying and printing sense. Anyway, thanks for testing the patch, I checked it in in revision 1.36 of cam_periph.c. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message