Subject: Re: ibook G3 Graphite, NetBSD 2.1 with X
To: dark sunday <nlourenzlist@gmail.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 12/21/2005 08:55:07
--Signature_Wed__21_Dec_2005_08_55_07_-0500_UJ0oNkLSaR0KciHP
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> I recently recived an ibook G3 (graphite) 366mhz, with 192mb of ram
> (64base + 128mb ext), and a 6gb harddisk.
> The first thing i did, was to know how the boot process worked, it has
> OpenFirmware 3.0 so it was easy to put NetBSD 2.1 macppc working on
> it.
> The problem is Xfree, i tried to create XF86Config, with some example
> configuration that i found, and even with 'XFree86 -configure ', but
> it just won't start.

>     Identifier  "my_card"
>     Driver      "r128"
>     VideoRam    8192

> (--) PCI:*(0:16:0) ATI Technologies Inc Rage Mobility L AGP 2x rev
> 100, Mem @ 0x91000000/24, 0x90000000/12, I/O @ 0x0400/8, BIOS @
> 0x90020000/17

Wrong driver, use 'ati' or 'atimisc'. The chip is a Mach64 derivate, not
a Rage 128 ( yes, ATI's product names don't always make sense. Most Rage
chips are mach64, but Rage 128 is a different family ) I cannot promise
it will work, the driver is known to have problems with the Rage L range
and I can't debug it for lack of hardware. You may have to play with
some more arcane settings, like reference clock.

> Fatal server error:
> xf86MapVidMem: could not mmap screen [s=3D20000,a=3Da0000] (Invalid
> argument)

The VGA driver tried to mmap() the legacy VGA video aperture, which
isn't going to work on macppc.

So...
- check if you have the atimisc driver ( that's the mach64-specific part
  ) in /usr/X11R6/lib/modules/drivers
- maybe try 3.0, should be available any day now.
- check if you have the wsfb driver, it should work although
  unaccelerted
- use the Xmacppc Xserver if everything else fails. It should Just Work
  but it's also unaccelerated and pinned to the resolution / colour
  depth set up by OpenFirmware.

have fun
Michael

--Signature_Wed__21_Dec_2005_08_55_07_-0500_UJ0oNkLSaR0KciHP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ6levMpnzkX8Yg2nAQIcLAf+PxL81NUoFi14ec211sY5BAFr67iLxHsw
PuiMWe9TVLSeeM65V6GlrgTUOVnGxJ6kCN+9AdwHfQWYo1bEEQYFY4bhX6rRhaj8
rsBFUA2aPEmJ+ang+R6mltA7zSR3Wkod9KxSaiEzHHuGQ82OaLDhLpn/4ZSEoomf
SdBWVNwPecs4V0rSHJkzaaJa1HJYwQ9XeNO/VXo9ixvoOTcZJojcgL6yqQblgKft
njacL+WJ5yjeFrkOW9Cnb9e7BDBF7LPndQef6OEcgSZT+OFZJGyQlANn3CJNQsoJ
Nw+h778ntCW7P4nOL3NsKm947R7lkkgOq6meWsMKXd2l4nPJhPfHeA==
=oImv
-----END PGP SIGNATURE-----

--Signature_Wed__21_Dec_2005_08_55_07_-0500_UJ0oNkLSaR0KciHP--