From owner-freebsd-sparc64@FreeBSD.ORG Mon Aug 29 03:14:51 2005 Return-Path: X-Original-To: freebsd-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 BBA7116A41F for ; Mon, 29 Aug 2005 03:14:51 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FEFF43D45 for ; Mon, 29 Aug 2005 03:14:51 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by rproxy.gmail.com with SMTP id r35so936197rna for ; Sun, 28 Aug 2005 20:14:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=L5ZU5Q9Aa1/KyEpcnxWfrgY8cZz1v70/CvlL4wds1LBcOd2U1MFGDZTH3vhLqAPTZbvY6N5mNuqE5CY8yE5p10BmCEHH28shFx9WJKzsZPcTI/s6xSMl2RKRMBXmbUyLLKVLDPYAmtArv9IvPk1fEy3NpOrIDP9m1v5VPP4F/3M= Received: by 10.38.151.35 with SMTP id y35mr113607rnd; Sun, 28 Aug 2005 20:14:50 -0700 (PDT) Received: from michelle.rndsoft.co.kr ( [211.32.202.211]) by mx.gmail.com with ESMTP id 79sm4580035rna.2005.08.28.20.14.49; Sun, 28 Aug 2005 20:14:50 -0700 (PDT) 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 j7T3B6ie001416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Aug 2005 12:11:06 +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 j7T3AwY8001402; Mon, 29 Aug 2005 12:10:58 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Mon, 29 Aug 2005 12:10:58 +0900 From: Pyun YongHyeon To: "R. Imura" Message-ID: <20050829031058.GA871@rndsoft.co.kr> References: <20050823081517.GB4956@rndsoft.co.kr> <200508230911.18163.john@jnielsen.net> <20050824010147.GD4956@rndsoft.co.kr> <20050824143940.GA65078%imura@ryu16.org> <20050824191437.A36508@newtrinity.zeist.de> <20050827055841.GB83681%imura@ryu16.org> <20050827145503.G19225@newtrinity.zeist.de> <20050827132008.GA28954%imura@ryu16.org> <20050827153704.H19225@newtrinity.zeist.de> <20050827140525.GA29949%imura@ryu16.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050827140525.GA29949%imura@ryu16.org> User-Agent: Mutt/1.4.2.1i Cc: John Nielsen , freebsd-sparc64@freebsd.org Subject: Re: "fast data access mmu miss" on kernels w/o "makeoptions DEBUG=-g" X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 03:14:51 -0000 On Sat, Aug 27, 2005 at 11:05:25PM +0900, R. Imura wrote: > On Sat, Aug 27, 2005 at 03:37:04PM +0200, Marius Strobl wrote: > > While it should fix compilation on sparc64 it still doesn't deal > > with the alignment issues. Please have a look at the changes that > > went into the respective kernel and userland parts in NetBSD if > > you want to get it working on FreeBSD/sparc64, too. > > > > Marius > > Sorry but while I'm not a smbfs maintainer, I've just found a > person who wanted to use smbfs on sparc64 and I just thought > I want to help him. > Because I don't have sparc64, I won't do anymore about this. > I hope sparc64 people make smbfs work on sparc64. > Supporting smbfs on sparc64 is on my TODO list. But it's priority is low due to a lack of time and other pending works. Based on NetBSD's changes I managed to build smbfs. But it didn't work and it needs more investigation. While reading the code I noticed there is a bug in smbfs_hash() in sys/fs/smbfs/smbfs_node.c. NetBSD switched to use hash32_strn() defined in . I think it also has influence on our implementation. Would you please check the function? (http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/fs/smbfs/smbfs_node.c, rev. 1.12) -- Regards, Pyun YongHyeon