From owner-freebsd-stable Tue Aug 28 15: 8:45 2001 Delivered-To: freebsd-stable@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id 2C30137B401; Tue, 28 Aug 2001 15:08:38 -0700 (PDT) (envelope-from thomas@cuivre.fr.eu.org) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id E65648366; Wed, 29 Aug 2001 00:08:35 +0200 (CEST) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id CC5FF24D45; Wed, 29 Aug 2001 00:08:34 +0200 (CEST) Date: Wed, 29 Aug 2001 00:08:34 +0200 From: Thomas Quinot To: =?iso-8859-1?Q?G=E9rard_Roudier?= Cc: "Kenneth D. Merry" , Thomas Quinot , stable@FreeBSD.ORG, scsi@FreeBSD.ORG Subject: Re: Failure to attach SCSI CD burner Message-ID: <20010829000834.A22196@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: <20010827135440.A21092@panzer.kdm.org> <20010828212323.J1476-100000@gerard> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20010828212323.J1476-100000@gerard>; from groudier@free.fr on Tue, Aug 28, 2001 at 10:00:11PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Le 2001-08-28, Gérard Roudier écrivait : >>>>> (cd0:sym0:0:2:0): autosense is NOT valid >>>>> (cd0:sym0:0:2:0): flags = 0x40 status = 0x4c >>>>> (cd0:sym0:0:2:0): got CAM status 0x4c >>>>> (cd0:sym0:0:2:0): fatal error, failed to attach to device >>>>> (cd0:sym0:0:2:0): lost device >>>>> (cd0:sym0:0:2:0): removing device entry > It would have been fine to also display out the actual value of the scsi > status returned by the device. Being 100% sure is far better than only > 99%. :) > Let me suggest Thomas to add such a trace to scsi_cd.c and to give another > try with his CD burner. Hum... You are crediting me with more knowledge of the SCSI subsystem's internals than I deserve ;) Do you mean that I should trace the status in sym_sir_bad_scsi_status? As far as scsi_cd is concerned, Kenneth's patch did already trace status = done_ccb->ccb_h.status (2nd line of output above.) Thomas. -- Thomas.Quinot@Cuivre.FR.EU.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message