From owner-freebsd-usb@FreeBSD.ORG Thu Apr 24 03:34:56 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19BE0106567C; Thu, 24 Apr 2008 03:34:56 +0000 (UTC) (envelope-from mainland@eecs.harvard.edu) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by mx1.freebsd.org (Postfix) with ESMTP id 0A24B8FC12; Thu, 24 Apr 2008 03:34:55 +0000 (UTC) (envelope-from mainland@eecs.harvard.edu) Received: by mail.eecs.harvard.edu (Postfix, from userid 33141) id DCEB81A5156; Wed, 23 Apr 2008 23:34:52 -0400 (EDT) Date: Wed, 23 Apr 2008 23:34:52 -0400 From: Geoffrey Mainland To: Hans Petter Selasky Message-ID: <20080424033452.GA39119@eecs.harvard.edu> References: <20080421171305.GA19840@eecs.harvard.edu> <20080421.122938.1943336925.imp@bsdimp.com> <20080422215227.GA79245@eecs.harvard.edu> <200804231932.00765.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804231932.00765.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-usb@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: Soekris 4826 USB failure on FreeBSD 7.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2008 03:34:56 -0000 On Wed, Apr 23, 2008 at 07:31:59PM +0200, Hans Petter Selasky wrote: > On Tuesday 22 April 2008, Geoffrey Mainland wrote: > > Wow, this turns out to be much worse than I thought...I've tracked down > > the problem to the commit of the new physical memory allocator at Sat > > Jun 16 04:57:05 2007 UTC. Before that, no kern/122380; after that, > > kern/122380 applies. Any ideas where to go from here? > > > > Hi, > > I've sometimes seen that the USB HC's do not always support 32 address lines. > Not sure if that is the case for you. Then all DMA memory has to be allocated > at a lower physical memory address. You can easily check this by changing the > parameters used when creating DMA tags in the USB code. > > --HPS The new page allocator obviously tickled a bug somewhere in the current USB stack, but I'm happy to report that replacing it with the USB stack from your subversion repository fixed everything. Thank you! This fix has allowed me to move a large wireless testbed forward to FreeBSD 7. Geoff