From owner-freebsd-sparc64@FreeBSD.ORG Sat Jun 11 09:19:46 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 CED2416A41C for ; Sat, 11 Jun 2005 09:19:46 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0389C43D49 for ; Sat, 11 Jun 2005 09:19:45 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: by simscan 1.1.0 ppid: 10684, pid: 10685, t: 0.9617s scanners:none Received: from unknown (HELO michelle.rndsoft.co.kr) (192.168.5.90) by 0 with SMTP; 11 Jun 2005 09:16:16 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j5B9KGBG021919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Jun 2005 18:20:17 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j5B9KGdB021918; Sat, 11 Jun 2005 18:20:16 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Sat, 11 Jun 2005 18:20:16 +0900 From: Pyun YongHyeon To: John-Mark Gurney Message-ID: <20050611092015.GE19976@rndsoft.co.kr> References: <20050606132756.X16994@carver.gumbysoft.com> <20050611.004435.59726356.hrs@allbsd.org> <20050610211239.GA59402@xor.obsecurity.org> <20050611.154028.102195481.hrs@allbsd.org> <20050611072632.GB19976@rndsoft.co.kr> <20050611084748.GF742@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050611084748.GF742@funkthat.com> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamDetector 1.00 (2004-01-11) on 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 Reply-To: yongari@rndsoft.co.kr List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jun 2005 09:19:46 -0000 On Sat, Jun 11, 2005 at 01:47:48AM -0700, John-Mark Gurney wrote: > Pyun YongHyeon wrote this message on Sat, Jun 11, 2005 at 16:26 +0900: > > I wonder how you can use NFS reliably on sparc64. Due to failure of > > alignment(both server and client) it's really easy to get panic on sparc64. > > I was recently trying to upgrade my sparc64 using a cross-built world, > and I couldn't get through an installworld with my sparc64 mounted.. > It kept on panicing.. I plan to take a look at them shortly, but I > don't think I was using tcp... I do have a few back traces if someone > wants to look at them... > Long ago I had a local hack that addresses the alignment issue. Basically it re-inspected whether the mbuf needs realignment in nfsm_disct(). It was ugly hack and gave performance penalty for architectures that allow non-aligned memory access. Personally I believe we should remove nfs_realign() that fails its mission and rewrite nfsm_disct to handle alignments as NetBSD did. In this way we can remove duplicated code, nfs_realign(client and server side), and get clean/central implementation of nfsm_disct since there is no need to call nfs_realign. -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org