Re: trouble using sfsagent in MacOS 10.4 Tiger

Kevin Fu <[email protected]> Tue, 1 Nov 2005 21:11:16 -0500
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
Sorry, no dice.  The "arg marshaling" problem does not appear.   
Compiling with no optimization whatsoever (env DEBUG=-g ./configure)  
results in the same problem:

# /usr/local/sbin/sfscd -d
sfscd: version 0.8pre, pid 21877
sfscd: not dropping privileges for debugging
nfsmounter: version 0.8pre, pid 21880
nfsmounter: mounted /sfs
nfsmounter: mounted /sfs/.mnt/wait
sfsrwcd: version 0.8pre, pid 21878
sfsrocd: version 0.8pre, pid 21879


$ sfsagent [email protected]
sfsagent: EOF from sfscd
sfsagent: exiting

Maybe I'll have the joy of running into that problem once I figure  
out this EOF of sfscd.  My SFS client and server are using code from  
CVS several months apart --- so it could be something as simple as a  
protocol mismatch.  Will keep looking.

Cheers,
-Kevin

On Nov 1, 2005, at 1:53 PM, Jaakko Niemi wrote:

> On Thu, 27 Oct 2005, Kevin Fu wrote:
>> sfsagent: EOF from sfscd
>
>  Hmm, anything in syslog? What if you start sfscd with -d ?
>  If you see something like:
>
>  sfscd: arg marshaling failed (prog 344438, vers 1, proc 2)
>
>  you're most propably running into gcc optimization bug that
>  happens on ppc. Reproduced on at least Linux and couple BSD's.
>  Easy to work around, just compile with -O0 or -O1 instead of
>  -O2. Plenty free beers for whoever manages to decent testcase
>  so that proper bugreport can be made.
>
>  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=183871
>
> 			--j