Subject: Re: Problem in mac68k -current
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 05/25/1997 17:27:14
Well, that helped out a little bit - at least it gets the right address
and attaches the ite0!  But I guess there's still something else that's
very fundamentally wrong, since as soon as I start up X (xdm, actually) it
clears the display to all white (_not_ the pseudo-gray background) and
then gets an MMU fault.

Oh, and on its way to MMU fault, I got a couple of those "freelist data
modified" messages that someone else mentioned the other day...

Oh, well, I guess I can live without X for a while longer.

On Sun, 25 May 1997, Jason Thorpe wrote:

> On Sun, 25 May 1997 14:42:37 -0700 (PDT) 
>  Paul Goyette <paul@whooppee.com> wrote:
> 
>  > Seems to me that the grf_mv.c version should look more like:
>  > 
>  > 	gm->fbbase = (caddr_t) mac68ktrunk_page(sc->sc_handle + image.offset);
>  > 	gm->fboff = (sc->sc_handle + image.offset)& PGOFSET;
>  > 
>  > What do you think?
> 
> ...I think you are probably correct!  However, don't forget the "XXX evil!"
> comments... as Scott and I have discussed before, there's not much you
> can do about it, but you're using a bus_space_handle_t as an address
> there.. (which is "ok" since this is not MI code :-)
> 
> (err, oh yah... that sould be mac68k_trunc_page(), not trunk :-)

Yep.  If X had been running, I'd have just cut-and-pasted it instead of
having to retype it!  :)

> 
> Jason R. Thorpe                                       thorpej@nas.nasa.gov
> NASA Ames Research Center                               Home: 408.866.1912
> NAS: M/S 258-6                                          Work: 415.604.0935
> Moffett Field, CA 94035                                Pager: 415.428.6939
> 

-----------------------------------------------------------------------------
| Paul Goyette       | PGP Public Key fingerprint:  | E-mail addresses:     |
| Network Consultant |     0E 40 D2 FC 2A 13 74 A0  |  paul@whooppee.com    |
| and kernel hacker  |     E4 69 D5 BE 65 E4 56 C6  |  paul_goyette@ins.com |
-----------------------------------------------------------------------------