tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Subtle NFS incompatibility with SunOS 4.1.1 on 68K



On Mar 26, 2020, at 6:50 PM, Chris Hanson <cmhanson%eschatologist.net@localhost> wrote:
> 
> On Mar 26, 2020, at 6:22 PM, Chris Hanson <cmhanson%eschatologist.net@localhost> wrote:
>> 
>> I just masked the input to txdr_unsigned() to 0x7fffffff before assigning it to sfp->sf_*; did a build of tools, kernel=RPI2 and distribution; and put the new kernel and nfsserver.kmod in place. Now I can compile & assemble from my Sun!
> 
> I spoke too soon; `as -o bla.o bla.s` works for an empty bla.s, but `cc -o hello hello.c` for "Hello, world!" still gives me an error. I'll continue to investigate.

Looking at the output of trace when trying to assemble the "Hello, world!" .s file, the issue is the same: Passing a size of -32 to write(2). I do notice that there's a difference in df output on the Sun with my hack in place on the NFS server, but still plenty of negatives:

Filesystem            kbytes    used   avail capacity  Mounted on
pi3bsd:/export/sun/root/ferrari.sun3.sunos.4.1.1
                    -1619144  733976-1223584    80%    /
pi3bsd:/export/sun/exec/sun3.sunos.4.1.1
                    -1619144  733976-1223584    80%    /usr
pi3bsd:/export/sun/exec/kvm/sun3.sunos.4.1.1
                    -1619144  733976-1223584    80%    /usr/kvm
pi3bsd:/export/sun/exec/share/sunos.4.1.1/man
                    -1619144  733976-1223584    80%    /usr/share/man
pi3bsd:/export/sun/exec/local/sun3.sunos.4.1.x
                    -1619144  733976-1223584    80%    /usr/local
pi3bsd:/export/sun/home
                    -1619144  733976-1223584    80%    /home

So there's more to tweak. At least my next build will be super-quick!

  -- Chris



Home | Main Index | Thread Index | Old Index