Subject: Re: "pmap_unwire: wiring ... didn't change!"
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: port-cobalt
Date: 02/26/2005 10:39:07
>>>>> "Izumi" == Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> writes:

    >> Yes: A (large) file that was intact a first time seems to be
    >> corrupt when reading it later a second time (and vice versa).

    Izumi> Hmm, I've confirmed it certainly happens on my RaQ2.
    Izumi> Multiple "cmp -l file1 file2" after "cp file1 file2" shows
    Izumi> different results. This happens both on wd0 at viaide and
    Izumi> on sd0 at siop.

    Izumi> With the attached (a bit ugly) patch against cache.c (which
    Izumi> make always wbinv use index ops) the problem seems
    Izumi> disappear, but I'm not sure what is the real problem.

I've just tried this patch on my qube2: It seems to avoid the problem
in pure read situation ('cmp', 'sha1' et al.), but I still can
reproduce corruptions if doing 'cp file1 fileN' multiple times...

Markus.