Subject: Re: NFS problems with LAN adapter
To: Christian Groessler <cpg@aladdin.de>
From: Harold Gutch <logix@foobar.franken.de>
List: port-dreamcast
Date: 09/02/2002 23:54:51
On Mon, Sep 02, 2002 at 11:04:54PM +0200, Christian Groessler wrote:
> On 09/02/2002 07:16:57 PM ZE2 Harold Gutch wrote:
> >
> >  3) NFSv3, UDP:
> >     32 byte file corruption at weird positions:
> >     4096, 4352, 4480, 4672, 4768, 4928, 5024, 5280, 5504
> >     (at this point i stopped comparing)
> >
> >I used "-r=1024,-w=1024" for all of these tests, copied /netbsd
> >to /tmp/netbsd and then compared them on the NFS server.
> 
> It doesn't happen here, both with "-r=1024,-w=1024" and without. I
> didn't specify other parameter, I think NFSv3 udp is default.

Strange.  NFSv3 over UDP is the default, yes.


> What is your kernel config? I also tried with GENERIC with the
> following line added:
> lana0           at g2bus?

I'm using exactly the DREAMS.LANA configfile you attached to PR
PR 17493.  I now also tried it with "lana0 at g2bus?" (I had to
modify files.dreamcast slightly for that to work).

As you're mentioning GENERIC - I applied your patches in PR 17493
(and the ones in PR 17193) before compiling kernel and userland.
Was that wrong, is the LAN adapter supported in the plain kernel
nowadays?


> Do ftp transfers work?

Yes.  I tried by ftp'ing a kernel away from the Dreamcast, then I
did a "get netbsd |md5" and got the same hash that I also got
from "md5 /nebsd".  I have only been able to see these problems
in combination with NFS writes.


bye,
  Harold