You are not logged in.

#1 2009-03-25 11:30:09

thanatos
Member
Registered: 2009-03-25
Posts: 2

Archlinuxppc on ibook G4

Hi everyone! tongue
After two years using arch on my desktop PC,  I installed Archlinuxppc on my ibook G4 laptop.
It boots correctly but, when I start xorg, keyboard stops working.
Running "X -configure" returns:

Fatal server error:
xf86MapDomainMem():   mmap() failure

I've read about patching a file called "linuxPci.c" but I cant find it and I don't know if it's the correct way to solve this.
Any idea? I really want arch on my ibook...

Offline

#2 2009-03-25 14:01:16

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Archlinuxppc on ibook G4

Hmm.  Yeah.  Thanatos try and load X without an xorg.conf.  hal takes on a lot of these things now.  Here is an example of my xorg.conf:

# /etc/X11/xorg.conf

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    Option         "DPMS"
    Gamma           0.86 0.85 0.87
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
#    Option         "DynamicTwinView"    "False"
    Option         "NoLogo"             "True"
    Option         "NvAGP"              "2" # 0 disable, 1 nv, 2 agpgart
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True" # For Compiz
    SubSection     "Display"
        Depth       24
    EndSubSection
    Option          "OnDemandVBlankInterrupts" "True"
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Most of that is nvidia specific details.

Last edited by Gen2ly (2009-03-25 14:01:44)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#3 2009-03-25 16:11:59

thanatos
Member
Registered: 2009-03-25
Posts: 2

Re: Archlinuxppc on ibook G4

Done! Running X with HAL daemon activated and no xorg.conf works well!
"X -configure" still launches the error message but it doesn't really matters.

Thanks a lot! big_smile

Last edited by thanatos (2009-03-25 16:15:52)

Offline

#4 2009-03-30 12:19:12

DaNiMoTh
Member
Registered: 2006-06-10
Posts: 260

Re: Archlinuxppc on ibook G4

Maybe add it to the wiki ( if exists a section for archppc and xorg ! )

Anyway, you can find the lastest info and news on IRC, at #archlinux-ppc on freenode.

Thanks !

Offline

#5 2009-04-09 18:54:03

stream303
Member
Registered: 2009-03-18
Posts: 23

Re: Archlinuxppc on ibook G4

thanatos wrote:

I've read about patching a file called "linuxPci.c" but I cant find it and I don't know if it's the correct way to solve this.
Any idea? I really want arch on my ibook...

I don't have the 64-bit kernel of ArchLinux up on my G5 iMac yet, but I fixed this legacy memory issue in Crux-PPC by using the last patch seen here and recompiling:

http://patchwork.kernel.org/patch/5951/

Last edited by stream303 (2009-04-09 18:57:48)

Offline

#6 2009-05-01 13:20:15

BigDaveyL
Member
From: Rochester,NY, USA
Registered: 2009-05-01
Posts: 1
Website

Re: Archlinuxppc on ibook G4

I had this same issue with running Gentoo on my Powerbook G4.  It should be fixed in 2.6.29.
There is a patch available that works with 2.6.28.  See this bug report:
http://bugs.gentoo.org/show_bug.cgi?id=253149

Offline

Board footer

Powered by FluxBB