From owner-freebsd-current@FreeBSD.ORG Mon Feb 1 14:40:48 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BEDF106566C; Mon, 1 Feb 2010 14:40:48 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by mx1.freebsd.org (Postfix) with ESMTP id 220BC8FC0C; Mon, 1 Feb 2010 14:40:47 +0000 (UTC) Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 2341C1C0027D; Mon, 1 Feb 2010 15:40:47 +0100 (CET) Received: from localhost (dynscan2.mnet-online.de [192.168.6.166]) by mail.m-online.net (Postfix) with ESMTP id 17EBC901B7; Mon, 1 Feb 2010 15:40:47 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.6.166]) (amavisd-new, port 10024) with ESMTP id NNlKSjhfN3fI; Mon, 1 Feb 2010 15:40:44 +0100 (CET) Received: from mail.reifenberger.com (ppp-93-104-58-177.dynamic.mnet-online.de [93.104.58.177]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 1 Feb 2010 15:40:44 +0100 (CET) Received: by mail.reifenberger.com (Postfix, from userid 1001) id 297452C6FB; Mon, 1 Feb 2010 15:40:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.reifenberger.com (Postfix) with ESMTP id 1F4902C6F8; Mon, 1 Feb 2010 15:40:44 +0100 (CET) Date: Mon, 1 Feb 2010 15:40:43 +0100 (CET) From: Michael Reifenberger To: Alexander Motin In-Reply-To: <4B66C689.2000906@FreeBSD.org> Message-ID: References: <4B636812.8060403@FreeBSD.org> <20100130112749.GA1660@garage.freebsd.pl> <20100130114451.GB1660@garage.freebsd.pl> <20100201092334.GB1743@garage.freebsd.pl> <4B66A669.2070406@FreeBSD.org> <4B66C689.2000906@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD-Current Subject: Re: Odd ada(4) failures when trying using USB scanner X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2010 14:40:48 -0000 On Mon, 1 Feb 2010, Alexander Motin wrote: > Date: Mon, 01 Feb 2010 14:18:17 +0200 > From: Alexander Motin > To: Michael Reifenberger > Cc: FreeBSD-Current > 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? Thanks for your work on ATA-CAM anyway! Bye/2 --- Michael Reifenberger Michael@Reifenberger.com http://www.Reifenberger.com