From owner-freebsd-sparc64@FreeBSD.ORG Fri Jun 10 21:22:15 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9587C16A41C; Fri, 10 Jun 2005 21:22:15 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E19943D48; Fri, 10 Jun 2005 21:22:12 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [172.28.177.82] ([12.174.84.3]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j5ALRWOb086276; Fri, 10 Jun 2005 15:27:33 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <42AA0484.1090005@samsco.org> Date: Fri, 10 Jun 2005 15:22:12 -0600 From: Scott Long User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <429A7B4D.3080102@samsco.org> <20050607.015510.21897573.hrs@allbsd.org> <20050606132756.X16994@carver.gumbysoft.com> <20050611.004435.59726356.hrs@allbsd.org> <20050610211239.GA59402@xor.obsecurity.org> In-Reply-To: <20050610211239.GA59402@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org Cc: Hiroki Sato , sparc64@freebsd.org Subject: Re: E4500 with 24GB RAM 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, 10 Jun 2005 21:22:15 -0000 Kris Kennaway wrote: > On Sat, Jun 11, 2005 at 12:44:35AM +0900, Hiroki Sato wrote: > >>Doug White wrote >> in <20050606132756.X16994@carver.gumbysoft.com>: >> >>dw> Since the panic is in a KASSERT thats why it only pops up under >>dw> INVARIANTS. However the bus_dma tags specify that hme can only handle 32 >>dw> bit addresses so it should be using a bounce buffer. I'm guessing that >>dw> bus_dma needs to be taught about this limitation and use bounce buffers >>dw> for the IOMMU on >16GB systems. >>dw> >>dw> Someone should also research this value a bit more ... I wonder if its >>dw> from some older system (E450?), and newer machines have larger limits. I >>dw> would hope they'd build E4500s with IOMMUs that can address all of >>dw> physical memory. >> >> Hmmm, I notice the box sometimes hangs up with <16GB RAM under >> moderate network load just after "hme0: invalid packet size >> xxxx; dropping" is displayed. I tried 16, 12, 8, and 4GB. >> Another E4500 with 5GB RAM seems OK, though. > > > I wonder if it's disk related. I tried to check out a ports tree on > this machine and it hung in a few seconds (although this was also > checking out using the network via nfs). > > Kris > > >> Is there anyone interested in investigating? I can provide remote >> access (serial console available) to this box. >> >>-- >>| Hiroki SATO > > > If it's a matter of the iommu and busdma, there aren't any quick fixes, or even quick hacks. I'm pretty sure that esp(4) will handle EINPROGRESS from busdma, but naturally it hasn't been tested because the proper busdma code for sparc64 hasn't been written yet. Scott