Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 1999 21:46:56 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: odd NFS behaviour with DU 4.F client
Message-ID:  <14360.64462.254136.673166@grasshopper.cs.duke.edu>
In-Reply-To: <199910290103.SAA13818@apollo.backplane.com>
References:  <14360.50663.727201.679421@grasshopper.cs.duke.edu> <199910282225.PAA12530@apollo.backplane.com> <14360.60247.329457.247327@grasshopper.cs.duke.edu> <199910290103.SAA13818@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Matthew Dillon writes:
 > :Speaking of NFS changes, there was talk at one time about turning the
 > :nfsm macros into functions.  Is this going to happen?
 > 
 >     No.  The nfsm macros have goto's all over the place that jump outside
 >     the macro, and also use local variables declared outside the macro. 
 >     Short of rewriting a fairly large hunk of the NFS code entirely it
 >     aint gonna happen.  Nobody is contemplating rewriting the code.

Exactly why I wasn't going to try to do it myself ;-)

But I could have sworn I read somewhere that somebody was planning
it.  Oh well.

 >     You can use gdb to disassemble the code to locate the exact point where
 >     the panic occured.  It is definitely more difficult, but there isn't
 >     much we can do about it.  The rpc design tends to keep things aligned
 >     and NFS packet elements tend to be sized such that alignment remains 
 >     intact, so if these panics can be tracked down the fixes should be 
 >     relatively easy to make.  Unfortunately, we just don't see these sorts
 >     of panics on Intel boxes all that much because IA32 allows misaligned
 >     accesses.  This means there are almost certainly alignment bugs in the
 >     code.
 > 
 > 						-Matt

I'm all in favor of having all the developers have alphas so these
things get caught early ;-)


Cheers,
Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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