Date: Sun, 24 Jan 2010 18:54:35 +0100 From: Gary Jennejohn <gary.jennejohn@freenet.de> To: Alexander Motin <mav@FreeBSD.org> Cc: FreeBSD-Current <freebsd-current@FreeBSD.org>, FreeBSD Stable <freebsd-stable@FreeBSD.org>, Juergen Lock <nox@jelal.kn-bremen.de> Subject: Re: Pack of CAM improvements 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Jan 2010 18:48:15 +0200 Alexander Motin <mav@FreeBSD.org> 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: <HL-DT-ST DVD-RAM GSA-H54N 1.00> 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: <TSSTcorp DVD-ROM SH-D162D SB01> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100124185435.54b5fef6>