Subject: Re: NFS lossage from NetBSD to SunOS
To: Greg A. Woods <woods@kuma.web.net>
From: Greg Wohletz <greg@duke.CS.UNLV.EDU>
List: current-users
Date: 05/01/1996 14:01:17
>[ On Sat, April 27, 1996 at 11:55:43 (+0300), Valtteri Vuorikoski wrote: ]
>> Subject: NFS lossage from NetBSD to SunOS
>>
>>  I have a SunOS 4.1.3_U1 box running diskless and mounting filesystems 
>> from a NetBSD/mac68k box (-current from several weeks ago but this 
>> problem isn't new).
>> 
>>  Executables seem to be getting randomly corrupted on the SunOS box, which 
>> causes them to either crash in odd places or to do weird things. Once it 
>> has occurred, the crash or the problem always appears at the same place, so 
>> it doesn't vary randomly. An interesting example of this is that I was 
>> compiling something with g++, when suddenly instead of ".align" it started 
>> outputting ".a'ign".
>
>I've an opposite setup, where I'm running a diskless NetBSD-1.1A machine
>mounted on a SunOS-4.1.1_U1 server (sun3s, both).
>
>I see similar problems.  Sometimes the X server on the NetBSD box starts
>to lose fonts, other times it'll be the shared libraries that start
>showing corruption and most everything dies.  A reboot normally fixes
>things, except for the odd time when the MMU gets stuck in some bad
>state and I have to do a low-level reset (PROM "k2" command or a power
>cycle).

Make sure that the kernel variable udp_cksum is set to 1 in your sunos
kernel (it's not by default).  Having this set to 0 (as sunos is shipped)
can cause a variety of problems with UDP based services (like NFS and
nameservice)

						--Greg