Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2009 05:10:02 GMT
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        freebsd-fs@FreeBSD.org
Subject:   Re: sparc64/140797: Panic on 8.0-RC3/sparc64 as an NFS server
Message-ID:  <200911240510.nAO5A2h7046201@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR sparc64/140797; it has been noted by GNATS.

From: Greg Lewis <glewis@eyesbeyond.com>
To: Marius Strobl <marius@alchemy.franken.de>
Cc: bug-followup@FreeBSD.org, Greg Lewis <glewis@FreeBSD.org>
Subject: Re: sparc64/140797: Panic on 8.0-RC3/sparc64 as an NFS server
Date: Mon, 23 Nov 2009 21:05:33 -0800

 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)
 
 Thanks Marius!  I'll give it a try as soon as I can and let you know.
 
 -- 
 Greg Lewis                          Email   : glewis@eyesbeyond.com
 Eyes Beyond                         Web     : http://www.eyesbeyond.com
 Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911240510.nAO5A2h7046201>