Subject: Re: XFree86 woes
To: Ryan O'Connor <ryan@interchange.ubc.ca>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 05/27/2006 19:05:37
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> I've been trying for a while to get XFree86 running on my iMacDV. I 
> keep encountering the following error:
>
> xf86MapVidMem: could not mmap screen [s=20000,a=a0000] (Invalid 
> argument)
>
> I thought a native xsrc recompile would fix this... nope. I was 
> hopeing someone else with an iMac with an ati rage 128 video card 
> would be kind enough to send me their working XF86Config.
>
> Let me know if I should post my dmesg or anything...

That's the 86 in XFree86. Stupid driver tries to mmap the VGA 
framebuffer to do some textmode status savine ( pointless on a mac 
anyway ).
add
options OFB_FAKE_VGA_FB
to your kernel config to get around this.

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

iQEVAwUBRHjbQcpnzkX8Yg2nAQLlJQf+O9CpAclm29dWElhTGyY9aqT/xa0qSewH
lAzqS2IsR+8hld+BJYhguwmBQBmBcAKXhBsGdohpinrab3mfKWOCOLz2wakZb+CN
BldpMJ0PQi8JDgSLUp57CsPyv9zyqPvLl78w7+mtlDlpoMi9mG0q0tYwn8bdQ0yi
1tOKn37Xy/vfV6OzGo/fRDqT28qw6rGBhe7EkBRA8Qq/KyHgCygkuiLcN6qSmaZ7
0rKt4ZKu591rCldwHZEi06TgwvwAXjP109w3jGHgkS0VG7EHIDq3suQU5hmDZznP
v/WCxiczTUgbfdyakhGKFtoUYbmyH9GcLwTntdBZbQGpnwJSxYOa4g==
=Qz0y
-----END PGP SIGNATURE-----