Subject: X problem
To: None <port-macppc@NetBSD.org>
From: Andreas Moschos <a_moschos@yahoo.com>
List: port-macppc
Date: 12/03/2005 12:22:24
A few months before i had installed netbsd 2 on a
second partition and used it in paralel with MacOs X
for evaluation.I had some difficult time to configure
X and that was the main reason i did not use it as the
Only o.s on the iBook.After reading through the list i
thought the X problems were solved so i decided to
install it for production use, MacOS X is much slower
on this machine (plus NetBSD is superb)!

At the moment i am running a current kernel and
userland (including X from xsrc) which i compiled on a
Debian system using the build.sh option "release".
Output of uname -a
NetBSD artemis 3.99.10 NetBSD 3.99.10 (amo)

Output of X -version
XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/macppc 3.99.10 - The
NetBSD Foundation, Inc.

In XF86Config i have the necessary "iBookHacks" and
"NoInt10" options i am using r128 driver

Output of scanpci:
pci bus 0x0000 cardnum 0x0b function 0x00: vendor
0x106b device 0x0020
Apple Computer Inc. UniNorth AGP

pci bus 0x0000 cardnum 0x10 function 0x00: vendor
0x1002 device 0x4c46
ATI Technologies Inc Rage Mobility M3 AGP 2x

X dies with a core dump whenever i try to start it.

The part of initialing the int10 modules looks o.k in
the .log file:
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.8
(II) R128(0): initializing int10
(**) R128(0): Option "NoINT10" "true"
(--) R128(0): Chipset: "ATI Rage 128 Mobility M3 LF
(AGP)" (ChipID = 0x4c46)
(--) R128(0): Linear framebuffer at 0x94000000
(--) R128(0): MMIO registers at 0x90000000
(--) R128(0): BIOS at 0x90020000
(WW) xf86EnableIO 5

The trailing part of the log says:
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.1.0
        ABI class: XFree86 Video Driver, version 0.8
(!!) R128(0): For information on using the multimedia
capabilities
of this adapter, please see http://gatos.sf.net.
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] 0   0       0x90000000 - 0x90003fff
(0x4000) MS[B]
        [1] 0   0       0x94000000 - 0x97ffffff
(0x4000000) MS[B]
        [2] -1  0       0xffffffff - 0xffffffff (0x1)
MX[B]
        [3] -1  0       0x00000000 - 0x00000000 (0x1)
MX[B]
        [4] -1  0       0x90020000 - 0x9003ffff
(0x20000) MX[B](B)
        [5] -1  0       0x90000000 - 0x90003fff
(0x4000) MX[B](B)
        [6] -1  0       0x94000000 - 0x97ffffff
(0x4000000) MX[B](B)
        [7] 0   0       0x000a0000 - 0x000affff
(0x10000) MS[B](OprU)
        [8] 0   0       0x000b0000 - 0x000b7fff
(0x8000) MS[B](OprU)
        [9] 0   0       0x000b8000 - 0x000bffff
(0x8000) MS[B](OprU)
        [10] 0  0       0x00000400 - 0x000004ff
(0x100) IS[B]
        [11] -1 0       0x0000ffff - 0x0000ffff (0x1)
IX[B]
        [12] -1 0       0x00000000 - 0x00000000 (0x1)
IX[B]
        [13] -1 0       0x00000400 - 0x000004ff
(0x100) IX[B](B)
        [14] 0  0       0x000003b0 - 0x000003bb (0xc)
IS[B](OprU)
        [15] 0  0       0x000003c0 - 0x000003df (0x20)
IS[B](OprU)

   *** If unresolved symbols were reported above, they
might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 10.  Server aborting

Whenever i do X -probeonly the .log file reports none
of these it looks it succeeds.

Output of gdb XFree86 XFree86.core says:

Program terminated with signal 6, Aborted.
Reading symbols from /usr/libexec/ld.elf_so...(no
debugging symbols found)...
done.
Loaded symbols for /usr/libexec/ld.elf_so
Reading symbols from /usr/lib/libpam.so.0...(no
debugging symbols found)...
done.
Loaded symbols for /usr/lib/libpam.so.0
Reading symbols from /usr/X11R6/lib/libXau.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.6
Reading symbols from /usr/X11R6/lib/libXdmcp.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libz.so.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.0
Reading symbols from /usr/lib/libm.so.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/libm.so.0
Reading symbols from /usr/lib/libc.so.12...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.12
#0  0xefe48abc in ?? () from /usr/lib/libc.so.12


The iBook is 2000 model with G3 @ 366Mhz and 320MB RAM

I would apreciate any kind of help on this, it looks
quite confusing to me that -probeonly
works fine and it never come up (wscons are enabled
and i use wskbd and wsmouse)


		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com