From owner-freebsd-stable Sun Aug 26 16: 9:32 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 2E56A37B407; Sun, 26 Aug 2001 16:09:25 -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 DF5A87C26; Mon, 27 Aug 2001 01:09:14 +0200 (CEST) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id BD95F24D45; Mon, 27 Aug 2001 01:09:14 +0200 (CEST) Date: Mon, 27 Aug 2001 01:09:14 +0200 From: Thomas Quinot To: "Kenneth D. Merry" Cc: Thomas Quinot , stable@FreeBSD.ORG, scsi@FreeBSD.ORG Subject: Re: Failure to attach SCSI CD burner Message-ID: <20010827010914.A2265@melusine.cuivre.fr.eu.org> Reply-To: thomas@cuivre.fr.eu.org References: <20010825185223.A24294@melusine.cuivre.fr.eu.org> <20010825141549.A8851@panzer.kdm.org> <20010826105444.A65894@melusine.cuivre.fr.eu.org> <20010826122401.A13602@panzer.kdm.org> <20010826204458.A18333@melusine.cuivre.fr.eu.org> <20010826132958.A13920@panzer.kdm.org> 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: <20010826132958.A13920@panzer.kdm.org>; from ken@kdm.org on Sun, Aug 26, 2001 at 01:29:58PM -0600 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-26, Kenneth D. Merry écrivait : > Hmm. Well, try applying the attached patch to sys/cam/scsi/scsi_cd.c and > recompile your kernel. OK, some new info: 1. with NO CD in the drive, I did not actually get the failure reported before, but only the following messages: cd0 at sym0 bus 0 target 2 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Logical unit not ready, cause not reportable (and then subsequently cd0 was correctly attached and usable) 2. with a DEFECTIVE CD-R in the drive (that had been sitting in there for some time I guess...) I reproduced the failure: (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 and then retrying the command with camcontrol yields /valid/ sense data. 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