Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: X server support?



Hi! Michael and all,


First,  Hi! tech-x11 users.
I try to support xserver on bebox and prep.

  http://mail-index.netbsd.org/port-powerpc/2008/09/10/msg002623.html


> > > I see this message now.
> > >
> > >  (II) Loading /usr/X11R6/lib/modules/libpcidata.a I am at 0x186fad8
> > >  (EE) LoadModule: Module pcidata does not have a pcidataModuleData  
> > > data object.
> > >  (II) UnloadModule: "pcidata"
> > >  (II) Unloading /usr/X11R6/lib/modules/libpcidata.a
> > >  (EE) Failed to load module "pcidata" (invalid module, 0)
> > >
> > >  Fatal server error:
> > >  Unable to load required probe modules, Exiting...

Moreover, I corrected share/mk/bsd.x11.mk.  And, I saw another error
message on bebox. 

  Fatal server error:
  R_PPC_REL24 PLT offset 105ef5e4 too large


hmm...  I have the memory of seeing this message before with macppc.

Thanks,
--
kiyohara

XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/bebox 4.99.72 - The NetBSD Foundation, Inc.
Current Operating System: NetBSD tower.fool 4.99.72 NetBSD 4.99.72 (TOWER) #0: 
Wed Sep 17 02:21:09 JST 2008  
lance%highpriestess.fool@localhost:/usr/src/sys/arch/bebox/compile/TOWER bebox
Build Date: 6 October 2008
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Command line: X :0
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (EE) error, (WW) warning,
        (II) informational, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Oct  7 03:08:29 2008
(==) Using config file: "/usr/X11R6/lib/X11/XF86Config".
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.3
        XFree86 Video Driver: 0.8
        XFree86 XInput driver : 0.5
        XFree86 Server Extension : 0.3
        XFree86 Font Renderer : 0.5
(II) Loader running on netbsd
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled.
(==) ServerLayout "Simple Layout"
(==) |-->Screen "Screen 1" (0) (0, 0)
(**) |  |-->Device "Card0"
(**) |  |-->Monitor "Monitor0" (0)
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(II) Checking for unused ServerFlags options:
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a I am at 0x186fad8
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a I am at 0x186fad8
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Bitmap
(--) Using wscons driver
(WW) xf86EnableIO 5
(II) xf86EnableIO: efdc0000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 5333,8811 card 0000,0000 rev 44 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI:*(0:0:0) S3 Inc. 86c764/765 [Trio32/64/64V+] rev 68, BIOS @ 
0x04100000/16
(II) Addressable bus resource ranges are
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [3] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]
(II) Active PCI resource ranges:
        [0] -1  0       0x04100000 - 0x0410ffff (0x10000) MX[B](B)
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0       0x04100000 - 0x0410ffff (0x10000) MX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [3] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
        [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
        [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
        [2] -1  0       0x04100000 - 0x0410ffff (0x10000) MX[B](B)
        [3] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [4] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a I am at 0x186fad8
(II) Module dbe: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a I am at 0x186fad8
(II) Module extmod: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.3
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a I am at 0x186fad8
(II) Module type1: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.2
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a I am at 0x186fad8
(II) Module speedo: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.1
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font Speedo
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a I am at 0x186fad8
(II) Module freetype: vendor="The XFree86 Project & the After X-TT Project"
        compiled for 4.5.0, module version = 2.1.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "wsfb"
(II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.o I am at 0x186fad8
(II) Module wsfb: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.8
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o I am at 0x186fad8
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.5
(II) wsfb: driver for wsdisplay framebuffer: wsfb
(II) Primary Device is: PCI 00:00:0
(II) wsfb(0): using default device
(II) Running in FRAMEBUFFER Mode
(**) wsfb(0): Depth 8, (--) framebuffer bpp 8
(==) wsfb(0): Default visual is PseudoColor
(==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0)
(II) wsfb(0): Vidmem: 300k
(==) wsfb(0): DPI set to (75, 75)
(==) wsfb(0): Using HW cursor
(**) wsfb(0): Using "Shadow Framebuffer"
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/X11R6/lib/modules/libshadow.a I am at 0x186fad8
(II) Module shadow: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.3
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a I am at 0x186fad8
(II) Module fb: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.3
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a I am at 0x186fad8
(II) Module ramdac: vendor="The XFree86 Project"
        compiled for 4.5.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.8
(==) wsfb(0): Backing store disabled
(WW) No HW cursor support found
(==) RandR enabled

Fatal server error:
R_PPC_REL24 PLT offset 105ef5e4 too large


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86%xfree86.org.@localhost

Index: x11/Xserver/Makefile.common
===================================================================
RCS file: /cvsroot/src/x11/Xserver/Makefile.common,v
retrieving revision 1.34
diff -u -r1.34 Makefile.common
--- x11/Xserver/Makefile.common 8 Mar 2008 10:38:59 -0000       1.34
+++ x11/Xserver/Makefile.common 28 Sep 2008 18:05:29 -0000
@@ -49,7 +49,8 @@
     ${MACHINE} == "macppc" || ${MACHINE} == "cats" || \
     ${MACHINE} == "sgimips" || ${MACHINE} == "sparc64" || \
     ${MACHINE} == "sparc" || ${MACHINE} == "ofppc" || \
-    ${MACHINE} == "netwinder" || ${MACHINE} == "shark"
+    ${MACHINE} == "netwinder" || ${MACHINE} == "shark" || \
+    ${MACHINE} == "bebox" || ${MACHINE} == "prep"
 XSERVER_NEEDS_XFONT=   yes
 XSERVER_NEEDS_MIEXT=   yes
 XSERVER_XFREE86=       yes
Index: x11/Xserver/hw/xfree86/drivers/Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/drivers/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- x11/Xserver/hw/xfree86/drivers/Makefile     8 Mar 2008 10:38:59 -0000       
1.22
+++ x11/Xserver/hw/xfree86/drivers/Makefile     28 Sep 2008 18:05:30 -0000
@@ -11,7 +11,8 @@
 SUBDIR+=       i740 i810 neomagic via vmware
 .endif
 
-.if ${MACHINE} != "macppc" && ${MACHINE} != "sgimips" && ${MACHINE} != "ofppc"
+.if ${MACHINE} != "macppc" && ${MACHINE} != "sgimips" && \
+    ${MACHINE} != "ofppc" && ${MACHINE} != "bebox" && ${MACHINE} != "prep"
 SUBDIR+=       apm ark cirrus cyrix dummy i128 nsc \
                rendition siliconmotion tga tseng vesa
 .endif
Index: x11/Xserver/hw/xfree86/drivers/ati/Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/drivers/ati/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- x11/Xserver/hw/xfree86/drivers/ati/Makefile 8 Mar 2008 10:38:59 -0000       
1.6
+++ x11/Xserver/hw/xfree86/drivers/ati/Makefile 28 Sep 2008 18:05:30 -0000
@@ -57,7 +57,8 @@
 # XXX from the Imakefile
 # -DAVOID_NON_PCI must be defined for those platforms that do not
 # tolerate PCI master aborts.
-.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc"
+.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc" || \
+    ${MACHINE} == "bebox" || ${MACHINE} == "prep"
 CPPFLAGS+=     -DAVOID_NON_PCI
 .endif
 
Index: x11/Xserver/hw/xfree86/drivers/atimisc/Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/drivers/atimisc/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- x11/Xserver/hw/xfree86/drivers/atimisc/Makefile     8 Mar 2008 10:38:59 
-0000       1.5
+++ x11/Xserver/hw/xfree86/drivers/atimisc/Makefile     28 Sep 2008 18:05:30 
-0000
@@ -67,7 +67,8 @@
 # XXX from the Imakefile
 # -DAVOID_NON_PCI must be defined for those platforms that do not
 # tolerate PCI master aborts.
-.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc"
+.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc" || \
+    ${MACHINE} == "bebox" || ${MACHINE} == "prep"
 CPPFLAGS+=     -DAVOID_NON_PCI
 .endif
 
Index: x11/Xserver/hw/xfree86/drivers/chips/Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/drivers/chips/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- x11/Xserver/hw/xfree86/drivers/chips/Makefile       8 Mar 2008 10:38:59 
-0000       1.5
+++ x11/Xserver/hw/xfree86/drivers/chips/Makefile       28 Sep 2008 18:05:30 
-0000
@@ -42,7 +42,8 @@
 
 CPPFLAGS+=     -DPSZ=8
 
-.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc"
+.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc" || \
+    ${MACHINE} == "bebox" || ${MACHINE} == "prep"
 CPPFLAGS+=     -DNO_VBE
 .endif
 
Index: x11/Xserver/hw/xfree86/drivers/glint/Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/drivers/glint/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- x11/Xserver/hw/xfree86/drivers/glint/Makefile       8 Mar 2008 10:39:00 
-0000       1.5
+++ x11/Xserver/hw/xfree86/drivers/glint/Makefile       28 Sep 2008 18:05:30 
-0000
@@ -14,7 +14,8 @@
        TIramdac.c glint_shadow.c sx_accel.c glint_dga.c
 
 .if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "macppc" || \
-    ${MACHINE} == "ofppc"
+    ${MACHINE} == "ofppc" || ${MACHINE} == "bebox" || \
+    ${MACHINE} == "prep"
 CPPFLAGS+=     -DGLINT_AVOID_INT10
 .endif
 
Index: x11/Xserver/hw/xfree86/drivers/r128/Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/drivers/r128/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- x11/Xserver/hw/xfree86/drivers/r128/Makefile        8 Mar 2008 10:39:00 
-0000       1.6
+++ x11/Xserver/hw/xfree86/drivers/r128/Makefile        28 Sep 2008 18:05:30 
-0000
@@ -52,7 +52,8 @@
 .endif
 
 .if ${MACHINE} == "macppc" || ${MACHINE} == "sparc" || \
-    ${MACHINE} == "sparc64" || ${MACHINE} == "ofppc"
+    ${MACHINE} == "sparc64" || ${MACHINE} == "ofppc" || \
+    ${MACHINE} == "bebox" || ${MACHINE} == "prep"
 CPPFLAGS+=     -DAVOID_VGAHW
 .endif
        
Index: x11/Xserver/hw/xfree86/xf86/Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/xf86/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- x11/Xserver/hw/xfree86/xf86/Makefile        8 Mar 2008 10:39:00 -0000       
1.11
+++ x11/Xserver/hw/xfree86/xf86/Makefile        28 Sep 2008 18:05:36 -0000
@@ -22,7 +22,8 @@
 CPPFLAGS+=-DUSE_MODULAR_KBD
 .endif
 
-.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc"
+.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc" || \
+    ${MACHINE} == "bebox" || ${MACHINE} == "prep"
 CPPFLAGS+=-DUSE_MODULAR_KBD
 .endif
 
Index: x11/Xserver/hw/xfree86/xf86_os/Makefile
===================================================================
RCS file: /cvsroot/src/x11/Xserver/hw/xfree86/xf86_os/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- x11/Xserver/hw/xfree86/xf86_os/Makefile     23 Apr 2008 05:13:43 -0000      
1.19
+++ x11/Xserver/hw/xfree86/xf86_os/Makefile     28 Sep 2008 18:05:36 -0000
@@ -30,7 +30,8 @@
 .endfor
 .endif
 
-.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc"
+.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc" || \
+    ${MACHINE} == "bebox" || ${MACHINE} == "prep"
 SRCS.bsd+=     ppc_video.c bsdResource.c pm_noop.c lnx_agp.c
 .for _FN in ${SRCS.bsd}
 CPPFLAGS.${_FN}=       -DWSCONS_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC \
@@ -85,11 +86,13 @@
 .if ${MACHINE} == "macppc" || ${MACHINE} == "cats" || \
     ${MACHINE} == "sgimips" || ${MACHINE} == "sparc64" || \
     ${MACHINE} == "sparc" || ${MACHINE} == "netwinder" || \
-    ${MACHINE} == "shark" || ${MACHINE} == "ofppc"
+    ${MACHINE} == "shark" || ${MACHINE} == "ofppc" || \
+    ${MACHINE} == "bebox" || ${MACHINE} == "prep"
 SRCS.bus+=     netbsdPci.c
 .endif
 
-.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc"
+.if ${MACHINE} == "macppc" || ${MACHINE} == "ofppc" || \
+    ${MACHINE} == "bebox" || ${MACHINE} == "prep"
 .for _FN in ${SRCS.bus}
 CPPFLAGS.${_FN}=       -DPCI_VIA_TTYE0
 .endfor
@@ -109,7 +112,8 @@
        ${MACHINE} == "cats" || ${MACHINE} == "sgimips" || \
        ${MACHINE} == "sparc64" || ${MACHINE} == "sparc" || \
        ${MACHINE} == "netwinder" || ${MACHINE} == "shark" || \
-       ${MACHINE} == "ofppc"
+       ${MACHINE} == "ofppc" || ${MACHINE} == "bebox" || \
+       ${MACHINE} == "prep"
 SRCS.misc+=    CBUSmemcpy.c CIODelay.c CSlowBcopy.c
 .endif
 
Index: share/mk/bsd.x11.mk
===================================================================
RCS file: /cvsroot/src/share/mk/bsd.x11.mk,v
retrieving revision 1.67
diff -u -r1.67 bsd.x11.mk
--- share/mk/bsd.x11.mk 15 Sep 2008 18:21:48 -0000      1.67
+++ share/mk/bsd.x11.mk 7 Oct 2008 03:26:47 -0000
@@ -116,11 +116,13 @@
 .endif
 
 .if ${MACHINE} == "amd64"      || \
+    ${MACHINE} == "bebox"      || \
     ${MACHINE} == "cats"       || \
     ${MACHINE} == "i386"       || \
     ${MACHINE} == "macppc"     || \
     ${MACHINE} == "netwinder"  || \
     ${MACHINE} == "ofppc"      || \
+    ${MACHINE} == "prep"       || \
     ${MACHINE} == "sgimips"    || \
     ${MACHINE} == "sparc64"    || \
     ${MACHINE} == "sparc"      || \


Home | Main Index | Thread Index | Old Index