Subject: Re: Testers needed for upcoming 3.1 release
To: Joachim Thiemann <joachim.thiemann@gmail.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 09/16/2006 22:29:37
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Sep 16, 2006, at 17:37, Joachim Thiemann wrote:

> However, still one issue on my hardware, not sure it they're due to my
> configuration: I can't start X (XFree86).  In the log the message
> (after all the usual XFree86 stuff) is:
>
> Fatal server error:
> xf86MapVidMem: could not mmap screen [s=20000, a=a0000] (Invalid 
> argument)
>
> The kernel securelevel is -1, if that makes a difference.  Stock
> kernel off the 3.1_RC2 cd. ATI Rage 128 card.

That's a stupid XFree driver trying the legacy VGA framebuffer. There's 
a workaround in -current which simply hands processes doing this the 
first 128kB of the framebuffer when 'option OFB_FAKE_VGA_FB' is in the 
kernel config.
Fixing this in XFree's r128 driver should be trivial ( just #ifdef all 
references to the vgahw module, like in radeon and mach64 ) but I don't 
have the hardware to test it. The vgahw module is only used to save and 
restore VGA textmode information which is patently useless on a mac.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRQyzEspnzkX8Yg2nAQIhkQf9EXS+asGrjVj+8KVrQeomEhortCfxG/rL
+Bsbo0tvd5OpfzDnM0F5TGG3Nc4a/PGIzWV1wIZxUrsfH2FLCQDejCeHHhU8LgeA
Z4Gf0C+Gx8CExZjtiOgXAHJ34B3M/tpbb0WteIdaKUQ7a10YQI8Rgh0HRmj/D5DK
YPYE74/7nUDWmrAkBoRUGSz6z1uARagbvl9IJINmRXWgO35s38Fy/tT4ipKyX57c
n1R+T0qTvBkijW1rJvPZa79E1EWV+qy35JCeL9WcYpluyZoyHalhEGvvncqJ0Nsu
b9Pmdn3UXHeFbB/SttFqua5BxMmxVJWOm2aQesuXJiRkX+gG0jLqbA==
=8m58
-----END PGP SIGNATURE-----