Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <4B66C689.2000906@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1002011225390.79943@gw.reifenberger.com>
References:  <4B636812.8060403@FreeBSD.org> <20100130112749.GA1660@garage.freebsd.pl> <20100130114451.GB1660@garage.freebsd.pl> <20100201092334.GB1743@garage.freebsd.pl> <4B66A669.2070406@FreeBSD.org> <alpine.BSF.2.00.1002011225390.79943@gw.reifenberger.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B66C689.2000906>