From owner-freebsd-sparc64@FreeBSD.ORG Sun Apr 1 23:10:14 2012 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37C6A106564A for ; Sun, 1 Apr 2012 23:10:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 08D1D8FC08 for ; Sun, 1 Apr 2012 23:10:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q31NADQ9041989 for ; Sun, 1 Apr 2012 23:10:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q31NADwm041988; Sun, 1 Apr 2012 23:10:13 GMT (envelope-from gnats) Date: Sun, 1 Apr 2012 23:10:13 GMT Message-Id: <201204012310.q31NADwm041988@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Manuel Tobias Schiller 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 Reply-To: Manuel Tobias Schiller List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2012 23:10:14 -0000 The following reply was made to PR sparc64/141918; it has been noted by GNATS. From: Manuel Tobias Schiller To: Marius Strobl Cc: bug-followup@FreeBSD.org Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) Date: Mon, 2 Apr 2012 01:00:56 +0200 --Sig_/FD.bT1F1mdRCMwfDMJiTH.3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 1 Apr 2012 12:41:24 +0200 Marius Strobl wrote: > Well, the individual patches shouldn't make things worse except for > the second one causing more memory to be used so I'd suggest to > combine them. If in the end things actually work we still can check > what changes are needed for that. > Looking at the Linux USB code, the FreeBSD one doesn't some to honor > some DMA constraints and at least for the alignment it's actually > hard to follow what value eventually is used. One thing that stands > out is that for EHCI, the boundary is 4096. This is most easily fixed > by defining USB_PAGE_SIZE to 4096 in sys/dev/usb/usb_busdma.h. >=20 > Marius Ok, the second patch on its own doesn't appear to work either, so I'm trying the combination of patches now. By the way: defining USB_PAGE_SIZE to 4096 in sys/dev/usb/usb_busdma.h is a bad idea - the kernel panics with a backtrace pointing into the mmu-related code. Probably has to do with sparc64 mmu only supporting 8k pages, so I'm not terribly surprised... Ok, I'm waiting for the next make buildkernel to finish, and I'll let you know what comes out. Manuel --=20 Homepage: http://www.hinterbergen.de/mala OpenPGP: 0xA330353E (DSA) or 0xD87D188C (RSA) --Sig_/FD.bT1F1mdRCMwfDMJiTH.3 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQGcBAEBAgAGBQJPeN4oAAoJEEPbVOqHHK4gWQgL/1DH2YRTlCceXnvwiI13o90X BAd40TZ6llECh91m9TlJpyWK/2KL9HTBGbCMVlEb0+effYNfzkCuFL01FnbemY6x PniTe9y7QWiffaiwbrAQ9WpYRpWajh/R4UhydWTmiyu6XAybDF7Ast1TY0ZuBZMK WOkdUccGxnnsOo033PnHx5NbvNfqLJfTjafjgQ5TlnnSZCqKbaCOZD5ru3Wlex/I lGqCwbHlR1lw/VbmWdaVW4J7UjtDrZI7B6YRYEck5jtooo673heJ17NU/R/Dgkt2 sNkNlEa+xOVrKhBHct9x1UO2fkkwSmv3Zo0doURI8JvSVyuMNTw46d+4YKSfFzJ+ rWajSnjxa2yebMkaOnnhTbS/xx3lWy1x2Uqk5yl6mDjKox1vKwX6HuI8hVOw7qq6 O6vjJ0HqGraMiv+1IYUhx+FbbLSh811uAKck2JVRDL6n/xSdvb858ae7f7HjQHyt DIK/DcXqdyRVf7l2msOBWNeugHjQZO//BQkxTQW5SA== =5gLy -----END PGP SIGNATURE----- --Sig_/FD.bT1F1mdRCMwfDMJiTH.3--