Re: Data corruption with NFS in 2.1.x?

Bill Hawes (whawes@star.net)
Sun, 18 Jan 1998 09:05:57 -0500


Heinz Ulrich Stille wrote:

> The file lengths always are the same. I just now thought of comparing versions
> compiled under 2.0.x and 2.1.x and noticed that differences occur always in
> places where the file from 2.0.x has zeroes; a typical result looks like this:
> (from cmp -i 16 -l -c)

Just a quick update -- I've found an apparent problem in
generic_file_write() that was causing the NFS write corruption.
Basically a page was being marked up-to-date without clearing it first,
and so when the gcc build writes a file with gaps, garbage bytes were
appearing.

I've tested with 'make bootstrap' and 'make compare' with no differences
found, and will post a patch later today after a little more
cleanup/review.

Regards,
Bill