From owner-freebsd-stable@FreeBSD.ORG Sun Jan 24 17:54:40 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97BF81065670; Sun, 24 Jan 2010 17:54:40 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout5.freenet.de (mout5.freenet.de [IPv6:2001:748:100:40::2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 2896F8FC0C; Sun, 24 Jan 2010 17:54:40 +0000 (UTC) Received: from [195.4.92.15] (helo=5.mx.freenet.de) by mout5.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.70 #1) id 1NZ6fW-0001q6-Tt; Sun, 24 Jan 2010 18:54:38 +0100 Received: from p57ae25fd.dip0.t-ipconnect.de ([87.174.37.253]:32268 helo=ernst.jennejohn.org) by 5.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1NZ6fW-0000xk-Mo; Sun, 24 Jan 2010 18:54:38 +0100 Date: Sun, 24 Jan 2010 18:54:35 +0100 From: Gary Jennejohn To: Alexander Motin Message-ID: <20100124185435.54b5fef6@ernst.jennejohn.org> In-Reply-To: <4B5C79CF.9070504@FreeBSD.org> References: <4B55D9D4.1000008@FreeBSD.org> <201001231407.o0NE7l8j002620@triton8.kn-bremen.de> <20100123184619.257203d9@ernst.jennejohn.org> <4B5C79CF.9070504@FreeBSD.org> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.16.2; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD-Current , FreeBSD Stable , Juergen Lock Subject: Re: Pack of CAM improvements X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 17:54:40 -0000 On Sun, 24 Jan 2010 18:48:15 +0200 Alexander Motin wrote: > Gary Jennejohn wrote: > > I started seeing a problem a few days ago with one of my DVD drives (a > > burner at cd0) under 9-current, which makes it impossible to use it even > > to simply read a DVD. > > > > Here the (rather strange IMO) output in dmesg: > > > > cd0: Removable CD-ROM SCSI-0 device > > cd0: 66.700MB/s transfers (UDMA4, PIO size 65534bytes) > > cd0: Attempt to query device size failed: UNIT ATTENTION, Power on, reset, > > or bus device reset occurred > > cd1 at ata0 bus 0 scbus6 target 1 lun 0 > > cd1: Removable CD-ROM SCSI-0 device > > cd1: 33.300MB/s transfers (UDMA2, PIO size 65534bytes) > > cd1: Attempt to query device size failed: NOT READY, Medium not present - > > tray closed > > > > I haven't the foggiest why cd0 behaves diffrently from cd1, which is a > > vanilla DVD drive and just works. > > I am not sure yet what triggered these changes. May be just some timing > issue. That UNIT ATTENTION seems reasonable, as reset indeed just > happened there. The real problem is that CAM had several limitations in > SCSI status handling, when working with ATAPI or USB devices. It made > request processing stop in some cases, where retries would be expected. > > New patch version should handle this and some other problems: > http://people.freebsd.org/~mav/cam-ata.20100124.patch > > Try it please. Thanks. > This patch works extremely well! Thanks. --- Gary Jennejohn