From owner-freebsd-fs@FreeBSD.ORG Wed Nov 25 19:30:04 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 067C61065676 for ; Wed, 25 Nov 2009 19:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D0BBA8FC1F for ; Wed, 25 Nov 2009 19:30:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAPJU31I009912 for ; Wed, 25 Nov 2009 19:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAPJU3sc009905; Wed, 25 Nov 2009 19:30:03 GMT (envelope-from gnats) Date: Wed, 25 Nov 2009 19:30:03 GMT Message-Id: <200911251930.nAPJU3sc009905@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Marius Strobl Cc: Subject: Re: sparc64/140797: Panic on 8.0-RC3/sparc64 as an NFS server X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marius Strobl List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2009 19:30:04 -0000 The following reply was made to PR sparc64/140797; it has been noted by GNATS. From: Marius Strobl To: marcel@FreeBSD.org Cc: bug-followup@FreeBSD.org, Greg Lewis , Greg Lewis Subject: Re: sparc64/140797: Panic on 8.0-RC3/sparc64 as an NFS server Date: Wed, 25 Nov 2009 20:28:14 +0100 On Tue, Nov 24, 2009 at 09:53:56PM -0800, Greg Lewis wrote: > G'day Marius, > > On Mon, Nov 23, 2009 at 08:49:13PM +0100, Marius Strobl wrote: > > Could you please test whether r199274/r199284 fix this problem? > > > > http://svn.freebsd.org/viewvc/base/head/sys/nfsserver/nfs_fha.c?r1=195202&r2=199284&diff_format=u > > > > --- head/sys/nfsserver/nfs_fha.c 2009/06/30 19:03:27 195202 > > +++ head/sys/nfsserver/nfs_fha.c 2009/11/15 03:09:50 199284 > > @@ -206,7 +206,7 @@ > > if (error) > > goto out; > > > > - i->fh = *(const u_int64_t *)(fh.fh_generic.fh_fid.fid_data); > > + bcopy(fh.fh_generic.fh_fid.fid_data, &i->fh, sizeof(i->fh)); > > > > /* Content ourselves with zero offset for all but reads. */ > > if (procnum != NFSPROC_READ) > > Yes, this fixes it! Thanks. Sorry for not finding that myself. > > I realise it may be too late to get this into the release. It might be > worth an ERRATA notice if so. > Marcel, do you have any such plans? Marius