From: F. H. <fh...@at...> - 2000-09-17 22:14:33
|
On Sun, Sep 17, 2000 at 08:01:03PM +0200, Geert Uytterhoeven wrote: > On Sun, 17 Sep 2000, Michel [iso-8859-1] Dänzer wrote: > > "F. Heitkamp" schrieb: > > > CACHE TEST FAILED: host wrote 5, ncr read 0. > > > CACHE TEST FAILED: ncr wrote 7, host read 5. > > > CACHE INCORRECTLY CONFIGURED. > > > > This looks like the CPU only writes to and reads from cache. Maybe you should > > map the memory as uncacheable? > > Or you wrote to a different place than the NCR expects, so the result in > memory wasn't modified. It is beyond me how the structure is aligned in memory. I wish I could draw a nice picture of where things should be but I don't know enough about the memory layout of the Amiga or Linux. Yes. It apears that the scratcha register which had a non zero value in it, had a zero written to it, however the value the was in the ncr_cache variable was unchanged. So the script did not access the proper location. Here is the script section: 3679 }/*-------------------------< SNOOPTEST >-------------------*/,{ 3680 /* 3681 ** Read the variable. 3682 */ 3683 SCR_COPY (4), 3684 NADDR(ncr_cache), 3685 RADDR (scratcha), 3686 /* 3687 ** Write the variable. 3688 */ 3689 SCR_COPY (4), 3690 RADDR (temp), 3691 NADDR(ncr_cache), 3692 /* 3693 ** Read back the variable. 3694 */ 3695 SCR_COPY (4), 3696 NADDR(ncr_cache), 3697 RADDR (temp), 3698 }/*-------------------------< SNOOPEND >-------------------*/,{ > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geertOlinux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > -- Fred |