From owner-freebsd-sparc64@FreeBSD.ORG Fri Nov 14 22:16:23 2008 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 D864C1065674 for ; Fri, 14 Nov 2008 22:16:23 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id A32D98FC19 for ; Fri, 14 Nov 2008 22:16:23 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0KAC00200DRAIH00@smtpauth1.wiscmail.wisc.edu> for freebsd-sparc64@freebsd.org; Fri, 14 Nov 2008 15:16:22 -0600 (CST) Received: from sark.icecube.wisc.edu ([128.104.34.126]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0KAC00288DR77E00@smtpauth1.wiscmail.wisc.edu>; Fri, 14 Nov 2008 15:16:22 -0600 (CST) Date: Fri, 14 Nov 2008 15:23:01 -0600 From: Nathan Whitehorn In-reply-to: <20081114211118.GG64456@alchemy.franken.de> To: Marius Strobl Message-id: <491DEC35.7060203@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=128.104.34.126 X-Spam-PmxInfo: Server=avs-10, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.11.14.210428, SenderIP=128.104.34.126 References: <183638.12752.qm@web56802.mail.re3.yahoo.com> <20081031131827.GA9613@soaustin.net> <20081103223042.GB8256@alchemy.franken.de> <20081104115722.GA28394@soaustin.net> <20081104221003.GE31338@alchemy.franken.de> <20081105184746.GA26875@soaustin.net> <20081112201029.GE64456@alchemy.franken.de> <20081112213543.GA71577@alchemy.franken.de> <20081114161933.GA24688@soaustin.net> <20081114211118.GG64456@alchemy.franken.de> User-Agent: Thunderbird 2.0.0.9 (X11/20080211) Cc: freebsd-sparc64@freebsd.org Subject: Re: Free Ultra2 in Silicon Valley, USA 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: Fri, 14 Nov 2008 22:16:23 -0000 Marius Strobl wrote: > On Fri, Nov 14, 2008 at 10:19:33AM -0600, Mark Linimon wrote: > >> It turns out the T1-200s are much happier to boot if you actually >> include the gem(4) driver in the kernel. >> >> Sigh. >> >> Anyways, thanks for the help investigating. >> >> > > Ah, the problem then likely is that the GEMs are left initialized > and running by the firmware; at some point, probably when some > packet is received, the GEM DMAs something to a mapping the > IOMMU no longer knows about since the kernel has taken it over > and thus triggers a DMA error interrupt. > If this happens when netbooting then it's probably time to > fix libstand to no longer open and close the network device > for every file access so we can remove the hack form the > loader which just keeps the device open forever. On the other > hand, it's probably beneficial in general to not remove the > driver for the device one wants to netboot with :) > This opening and closing for each file access breaks netbooting on a wide range of PowerPC systems as well (ones with gem interfaces, for instance). So it would be nice if you could fix loader in an MI way... -Nathan