Subject: Re: NetBSD/ofppc boots multiuser on Pegasos
To: Allen Briggs <briggs@netbsd.org>
From: =?ISO-8859-1?Q?Jorge_Acereda_Maci=E1?= <jacereda@gmail.com>
List: netbsd-ports
Date: 07/28/2006 03:46:52
Allen Briggs wrote:
> On Fri, Jul 28, 2006 at 02:18:44AM +0200, Jorge Acereda Maci? wrote:
>
>>Maybe you have a theory on what's going on. When I copy a file, what I
>>get on the NFS server is a file of the same size, but with chunks of
>>zeros interleaved, that is:
>>
>>0x0000 <correct data>
>>0x1000 <zeros>
>>0x2000 <correct data>
>>0x3000 <zeros>
>>...
>
>
> It seems possible that OF_write() is not dumping the cache for the data
> that you're sending. I haven't looked at the Openfirmware bindings to
> see if that says anything about it.
I've just put some printfs(), and with some help from tcpdump, it seems
that the packets arriving with zeros at the server really were passed as
zeros to OF_write().