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 <> wrote:
> On Mar 26, 2020, at 6:22 PM, Chris Hanson <> 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
                    -1619144  733976-1223584    80%    /
                    -1619144  733976-1223584    80%    /usr
                    -1619144  733976-1223584    80%    /usr/kvm
                    -1619144  733976-1223584    80%    /usr/share/man
                    -1619144  733976-1223584    80%    /usr/local
                    -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