From owner-freebsd-sparc64@FreeBSD.ORG Mon Feb 8 14:21:55 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 368E0106566B for ; Mon, 8 Feb 2010 14:21:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 8DE758FC19 for ; Mon, 8 Feb 2010 14:21:54 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=BqtR6jefYgkA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=vTptXioP4dhh5YBnNE4A:9 a=8LkiqrUi39qMlAW0eVAN2sxz3ikA:4 a=SV7veod9ZcQA:10 a=B1YaQsw0Bp3JWWKu:21 a=BdWteFPRf34B7myJ:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 629898120; Mon, 08 Feb 2010 15:21:52 +0100 From: Hans Petter Selasky To: freebsd-sparc64@freebsd.org, Marius Strobl , linimon@freebsd.org Date: Mon, 8 Feb 2010 15:20:26 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201002080910.o189A3fp080625@freefall.freebsd.org> In-Reply-To: <201002080910.o189A3fp080625@freefall.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201002081520.26468.hselasky@c2i.net> Cc: Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2010 14:21:55 -0000 On Monday 08 February 2010 10:10:03 Marius Strobl wrote: > The following reply was made to PR sparc64/141918; it has been noted by > GNATS. > > From: Marius Strobl > To: linimon@freebsd.org, bug-followup@freebsd.org, bel@orel.ru > Cc: > Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, > controller halted (sparc64) Date: Mon, 8 Feb 2010 10:07:42 +0100 > > On Mon, Feb 08, 2010 at 07:05:29AM +0000, linimon@freebsd.org wrote: > > hps claims that this may be sparc64-specific. > > As outlined here it's unlikely that this is a problem of the sparc64 > bus_dmamap_sync(9): Hi, > http://lists.freebsd.org/pipermail/freebsd-sparc64/2009-December/006866.ht > ml There are however known problems with usb(4) in this regard, see for The issue mentioned above was patched in 9-current some months back. Have you tried 9-current? > http://svn.freebsd.org/viewvc/base?view=revision&revision=203080 On point about busdma is that you should be able to pass any kernel virtual address to be loaded into DMA. If the kernel virtual address is not correctly aligned, a bounce page must be used, so that surrounding memory is not disturbed. And that is not an USB problem. --HPS