Date: Wed, 03 Feb 2010 19:48:55 +0200 From: Alexander Motin <mav@FreeBSD.org> To: Michael Reifenberger <mike@reifenberger.com> Cc: FreeBSD-Current <freebsd-current@freebsd.org> Subject: Re: Odd ada(4) failures when trying using USB scanner Message-ID: <4B69B707.2020504@FreeBSD.org> In-Reply-To: <1265048584.00214331.1265035802@10.7.7.3> References: <1264818191.00213314.1264807803@10.7.7.3> <1264861382.00213426.1264851002@10.7.7.3> <1264864983.00213434.1264852204@10.7.7.3> <1265026986.00214174.1265016606@10.7.7.3> <1265030583.00214182.1265019602@10.7.7.3> <1265037797.00214273.1265026205@10.7.7.3> <1265037810.00214278.1265026802@10.7.7.3> <1265048584.00214331.1265035802@10.7.7.3>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael Reifenberger wrote: > On Mon, 1 Feb 2010, Alexander Motin wrote: > >> Date: Mon, 01 Feb 2010 14:18:17 +0200 >> From: Alexander Motin <mav@FreeBSD.org> >> To: Michael Reifenberger <mike@reifenberger.com> >> Cc: FreeBSD-Current <freebsd-current@freebsd.org> >> Subject: Re: Odd ada(4) failures when trying using USB scanner >> >> Michael Reifenberger wrote: >>> I'm using -current as of r202157. >>> >>> When attaching an epson USB scanner and trying to `scanimage -L` >>> I get a freeze for some time and the following console logs: >>> ... >>> ata1: FAILURE - odd-sized DMA transfer attempt 5 % 2 >>> ata1: setting up DMA failed >> >> I would say that scanner application tries to probe all CAM devices, >> looking for scanner. While doing it, it uses SCSI/ATAPI commands with >> odd-sized transfer sizes. It causes errors from ata(4) and triggers bug >> in IXP700 AHCI controller. Odd-sized requests are generally not >> supported by ATA/SATA. Second problem is in work now. > > Could odd-sized commands be prohibited/ignored by the driver then? I've recently committed patch to 9-CURRENT, that should block sending of SCSI commands to non-ATAPI devices. That should fix your problem. -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B69B707.2020504>