Subject: X current
To: None <current-users@netbsd.org>
From: Andreas Moschos <a_moschos@yahoo.com>
List: current-users
Date: 12/05/2005 05:31:49
--0-2079607688-1133789509=:37033
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

 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) Fri 2 Dec 

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) Loading sub module "xaa"
(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)
(WW) mapVidMem 90000000, 4000, 4 fd = 5(II) mapVidMem effe2000(WW) mapVidMem 94000000, 800000, 4 fd = 5(II) mapVidMem ef640000
   *** 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


A part of the ktrace X says:

17136 XFree86  RET   ioctl 0
17136 XFree86  CALL  write(0,0x19f6fc4,0x27)
17136 XFree86  GIO   fd 0 wrote 39 bytes
      "(WW) mapVidMem 90000000, 4000, 4 fd = 5"
17136 XFree86  RET   write 39/0x27
17136 XFree86  CALL  mmap(0,0x4000,3,1,7,0,0,0x90000000)
17136 XFree86  RET   mmap -268558336/0xeffe2000
17136 XFree86  CALL  write(0,0x19f6fc4,0x17)
17136 XFree86  GIO   fd 0 wrote 23 bytes
       "(II) mapVidMem effe2000"
17136 XFree86  RET   write 23/0x17
17136 XFree86  CALL  ioctl(6,_IOW('P',0x3,0x14),0xffffdbd0)
17136 XFree86  GIO   fd 6 wrote 20 bytes
       "\0\0\0\0\0\0\0\^P\0\0\0\0\0\0\0\^D\^B\M-0\0\M^G"
17136 XFree86  RET   ioctl 0
17136 XFree86  CALL  write(0,0x19f6fc4,0x29)
17136 XFree86  GIO   fd 0 wrote 41 bytes
       "(WW) mapVidMem 94000000, 800000, 4 fd = 5"
17136 XFree86  RET   write 41/0x29
17136 XFree86  CALL  mmap(0,0x800000,3,1,7,0,0,0x94000000)
17136 XFree86  RET   mmap -278659072/0xef640000
17136 XFree86  CALL  write(0,0x19f6fc4,0x17)
17136 XFree86  GIO   fd 0 wrote 23 bytes
       "(II) mapVidMem ef640000"
17136 XFree86  RET   write 23/0x17
17136 XFree86  PSIG  SIGBUS caught handler=0x1847f34 mask=(): code=BUS_OBJERR, addr=0x20ad0b8, trap=512)
17136 XFree86  CALL  __sigaction_sigtramp(SIGBUS,0xffffdb00,0xffffdb20,0xefecc234,1)
17136 XFree86  RET   __sigaction_sigtramp 0
17136 XFree86  CALL  write(2,0x19f6fc4,0x70)
17136 XFree86  GIO   fd 2 wrote 112 bytes
       "
    *** If unresolved symbols were reported above, they might not
    *** be the reason for the server aborting.


The iBook is 2000 model with G3 @ 366Mhz and 320MB RAM
(I do not include the entire .log and .trace files because of their size)

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! Personals
 Skip the bars and set-ups and start using Yahoo! Personals for free
--0-2079607688-1133789509=:37033
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div id="RTEContent">&nbsp;At the moment i am running a current kernel and<span style="font-family: monospace;"><br>  </span>userland (including X from xsrc) which i compiled on a<span style="font-family: monospace;"><br>  </span>Debian system using the build.sh option "release".<br>  <pre><tt>Output of uname -a<br>NetBSD artemis 3.99.10 NetBSD 3.99.10 (amo) Fri 2 Dec <br><br>Output of X -version<br>XFree86 Version 4.5.0<br>Release Date: 16 March 2005<br>X Protocol Version 11, Revision 0<br>Build Operating System:NetBSD/macppc 3.99.10 - The<br>NetBSD Foundation, Inc.<br><br>In XF86Config i have the necessary "iBookHacks" and<br>"NoInt10" options i am using r128 driver<br><br>Output of scanpci:<br>pci bus 0x0000 cardnum 0x0b function 0x00: vendor<br>0x106b device 0x0020<br>Apple Computer Inc. UniNorth AGP<br><br>pci bus 0x0000 cardnum 0x10 function 0x00: vendor<br>0x1002 device 0x4c46<br>ATI Technologies Inc Rage Mobility M3 AGP 2x<br><br>X dies with a core dump whenever i try
  to
 start it.<br><br>The part of initialing the int10 modules looks o.k in<br>the .log file:<br>(II) Loading sub module "int10"<br>(II) LoadModule: "int10"<br>(II) Loading /usr/X11R6/lib/modules/libint10.a<br>(II) Module int10: vendor="The XFree86 Project"<br>        compiled for 4.5.0, module version = 1.0.0<br>        ABI class: XFree86 Video Driver, version 0.8<br>(II) R128(0): initializing int10<br>(**) R128(0): Option "NoINT10" "true"<br>(--) R128(0): Chipset: "ATI Rage 128 Mobility M3 LF<br>(AGP)" (ChipID = 0x4c46)<br>(--) R128(0): Linear framebuffer at 0x94000000<br>(--) R128(0): MMIO registers at 0x90000000<br>(--) R128(0): BIOS at 0x90020000<br>(WW) xf86EnableIO 5<br><br>The trailing part of the log says:<br>(II) Loading sub module "xaa"<br>(II) LoadModule: "xaa"<br>(II) Loading /usr/X11R6/lib/modules/libxaa.a<br>(II) Module xaa: vendor="The XFree86 Project"<br> compiled for 4.5.0, module version = 1.1.0<br> ABI class: XFree86 Video Driver, version 0.8<br>(!!) R128(0): 
 For
 information on using the multimedia capabilities<br> of this adapter, please see http://gatos.sf.net.<br>(II) do I need RAC?  No, I don't.<br>(II) resource ranges after preInit:<br> [0] 0 0 0x90000000 - 0x90003fff (0x4000) MS[B]<br> [1] 0 0 0x94000000 - 0x97ffffff (0x4000000) MS[B]<br> [2] -1 0 0xffffffff - 0xffffffff (0x1) MX[B]<br> [3] -1 0 0x00000000 - 0x00000000 (0x1) MX[B]<br> [4] -1 0 0x90020000 - 0x9003ffff (0x20000) MX[B](B)<br> [5] -1 0 0x90000000 - 0x90003fff (0x4000) MX[B](B)<br> [6] -1 0 0x94000000 - 0x97ffffff (0x4000000) MX[B](B)<br> [7] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprU)<br> [8] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)<br> [9] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)<br> [10] 0 0 0x00000400 - 0x000004ff (0x100) IS[B]<br> [11] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]<br> [12] -1 0 0x00000000 - 0x00000000 (0x1) IX[B]<br> [13] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B)<br> [14] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)<br> [1
 5] 0 0
 0x000003c0 - 0x000003df (0x20) IS[B](OprU)<br>(WW) mapVidMem 90000000, 4000, 4 fd = 5(II) mapVidMem effe2000(WW) mapVidMem 94000000, 800000, 4 fd = 5(II) mapVidMem ef640000<br>   *** If unresolved symbols were reported above, they might not<br>   *** be the reason for the server aborting.<br><br>Fatal server error:<br>Caught signal 10.  Server aborting<br><br><br>Whenever i do X -probeonly the .log file reports none<br>of these it looks it succeeds.<br><br>Output of gdb XFree86 XFree86.core says:<br><br>Program terminated with signal 6, Aborted.<br>Reading symbols from /usr/libexec/ld.elf_so...(no<br>debugging symbols found)...<br>done.<br>Loaded symbols for /usr/libexec/ld.elf_so<br>Reading symbols from /usr/lib/libpam.so.0...(no<br>debugging symbols found)...<br>done.<br>Loaded symbols for /usr/lib/libpam.so.0<br>Reading symbols from /usr/X11R6/lib/libXau.so.6...<br>(no debugging symbols found)...done.<br>Loaded symbols for /usr/X11R6/lib/libXau.so.6<br>Reading symbols fro
 m
 /usr/X11R6/lib/libXdmcp.so.6...<br>(no debugging symbols found)...done.<br>Loaded symbols for /usr/X11R6/lib/libXdmcp.so.6<br>Reading symbols from /usr/lib/libz.so.0...(no<br>debugging symbols found)...done.<br>Loaded symbols for /usr/lib/libz.so.0<br>Reading symbols from /usr/lib/libm.so.0...(no<br>debugging symbols found)...done.<br>Loaded symbols for /usr/lib/libm.so.0<br>Reading symbols from /usr/lib/libc.so.12...(no<br>debugging symbols found)...done.<br>Loaded symbols for /usr/lib/libc.so.12<br>#0  0xefe48abc in ?? () from /usr/lib/libc.so.12<br><br><br>A part of the ktrace X says:<br><br>17136 XFree86  RET   ioctl 0<br>17136 XFree86  CALL  write(0,0x19f6fc4,0x27)<br>17136 XFree86  GIO   fd 0 wrote 39 bytes<br>      "(WW) mapVidMem 90000000, 4000, 4 fd = 5"<br>17136 XFree86  RET   write 39/0x27<br>17136 XFree86  CALL  mmap(0,0x4000,3,1,7,0,0,0x90000000)<br>17136 XFree86  RET   mmap -268558336/0xeffe2000<br>17136 XFree86  CALL  write(0,0x19f6fc4,0x17)<br>17136 XFree86  
 GIO   fd
 0 wrote 23 bytes<br>       "(II) mapVidMem effe2000"<br>17136 XFree86  RET   write 23/0x17<br>17136 XFree86  CALL  ioctl(6,_IOW('P',0x3,0x14),0xffffdbd0)<br>17136 XFree86  GIO   fd 6 wrote 20 bytes<br>       "\0\0\0\0\0\0\0\^P\0\0\0\0\0\0\0\^D\^B\M-0\0\M^G"<br>17136 XFree86  RET   ioctl 0<br>17136 XFree86  CALL  write(0,0x19f6fc4,0x29)<br>17136 XFree86  GIO   fd 0 wrote 41 bytes<br>       "(WW) mapVidMem 94000000, 800000, 4 fd = 5"<br>17136 XFree86  RET   write 41/0x29<br>17136 XFree86  CALL  mmap(0,0x800000,3,1,7,0,0,0x94000000)<br>17136 XFree86  RET   mmap -278659072/0xef640000<br>17136 XFree86  CALL  write(0,0x19f6fc4,0x17)<br>17136 XFree86  GIO   fd 0 wrote 23 bytes<br>       "(II) mapVidMem ef640000"<br>17136 XFree86  RET   write 23/0x17<br>17136 XFree86  PSIG  SIGBUS caught handler=0x1847f34 mask=(): code=BUS_OBJERR, addr=0x20ad0b8, trap=512)<br>17136 XFree86  CALL  __sigaction_sigtramp(SIGBUS,0xffffdb00,0xffffdb20,0xefecc234,1)<br>17136 XFree86  RET   __sigaction_sigt
 ramp
 0<br>17136 XFree86  CALL  write(2,0x19f6fc4,0x70)<br>17136 XFree86  GIO   fd 2 wrote 112 bytes<br>       "<br>    *** If unresolved symbols were reported above, they might not<br>    *** be the reason for the server aborting.<br><br><br>The iBook is 2000 model with G3 @ 366Mhz and 320MB RAM<br>(I do not include the entire .log and .trace files because of their size)<br><br>I would apreciate any kind of help on this, it looks<br>quite confusing to me that -probeonly<br>works fine and it never come up (wscons are enabled<br>and i use wskbd and wsmouse)</tt></pre>  </div><p>
		<hr size=1> <B>Yahoo! Personals</B><BR> 
Skip the bars and set-ups and <a href="http://us.rd.yahoo.com/evt=36107/*http://personals.yahoo.com/us/reg/free7days 
">start using Yahoo! Personals for free</a>
--0-2079607688-1133789509=:37033--