Subject: Re: Wow, I got ADB working on the 660av :)
To: None <port-mac68k@NetBSD.ORG>
From: Markus Hitter <M.Hitter@trier.fh-rpl.de>
List: port-mac68k
Date: 05/27/1996 20:17:23
On May 27, 10:40am, Brian J. Johnson wrote:
> Subject: Re: Wow, I got ADB working on the 660av :)

> It sounds like a cache flushing problem to me:  if you've updated the
> trap vectors or constructed some glue code on the fly (please excuse
> the vagueness and my general ignorance -- I haven't actually looked at
> the MRG code) and then try to jump to it without flushing the caches,
> it seems to me that you might end up executing old data.  Printf()
> with a non-trivial format string calls a pile of subroutines to do the
> formatting, which could cause enough cache activity that the updates
> actually make it to RAM.

I had similar problems on the LCII, too. For this reason I'm currently running
a kernel with caches completly disabled. What whould you think about enabling
the caches VERY lately for all machines? Very lately means just before the end
of the kernel setup. We whould perhaps loose a few seconds at boot time (not
noticable on a 68030) but get rid of some strange behaviour forever. I think
this is a good idea as long as we're doing lots of development on the kernel.

Markus




-- 
-----------------------------------------------------------------------
 Markus Hitter                 email: hitterm@trier.fh-rpl.de
                               WWW: http://www.trier.fh-rpl.de/~hitterm
 Trier (Germany)               Voice: ++49/0651/828172
-----------------------------------------------------------------------