Since I could get X 3.3.6 running on my Debian 2.2.17 installed
PowerMac 7500 (4MB VRAM, 604e ), I decided to try upgrading X to
4.0.1. I followed roughly the directions given at
http://linuxppc.org/documentation/xf4/. However, I have encountered
a number of problems.
First and foremost, X doesn't come up. Either at system startup or
startx-ing, I get the follow message:
beginmessage:
XFree86 Version 4.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 1 July 2000
If the server is older than 6-12 months, or if your card is newer
than the above date, look for a newer version before reporting
problems. (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.17 ppc [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Mon Dec 4 12:56:41 2000
(==) Using config file: "/etc/X11/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "simple layout"
(**) |-->Screen "ScreenOne" (0)
(**) | |-->Monitor "MonitorOne"
(**) | |-->Device "Linux Frame Buffer Device"
(**) |-->Input Device "MouseOne"
(**) |-->Input Device "KeyboardOne"
(**) Option "XkbDisable"
(**) XKB: disabled
(**) FontPath set to
"/usr/lib/X11/fonts/misc/:unscaled,/usr/lib/X11/fonts/cyrillic/:unscaled,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/"
(**) RgbPath set to "/usr/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.2
XFree86 XInput driver : 0.1
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.1
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.0.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.1
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.2
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0001 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 106b,0002 card 0000,0000 rev 02 class ff,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.2
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Addressable bus resource ranges are
[0] -1 0x00000000 - 0xffffffff (0x0) MXB
[1] -1 0x00000000 - 0x0000ffff (0x10000) IXB
(II) OS-reported resource ranges:
(II) Active PCI resource ranges:
[0] -1 0xf3000000 - 0xf3ffffff (0x1000000) MXBE
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0xf3000000 - 0xf3ffffff (0x1000000) MXBE
(II) OS-reported resource ranges after removing overlaps with PCI:
(II) All system resource ranges:
[0] -1 0xf3000000 - 0xf3ffffff (0x1000000) MXBE
(II) LoadModule: "xie"
(II) Loading /usr/X11R6/lib/modules/extensions/libxie.a
(II) Module xie: vendor="The XFree86 Project"
compiled for 4.0.1, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XIE
(II) LoadModule: "fbdev"
(II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o
(II) Module fbdev: vendor="The XFree86 Project"
compiled for 4.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.2
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.0.1, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.1
(II) FBDev: driver for framebuffer: fbdev, afb
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="The XFree86 Project"
compiled for 4.0.1, module version = 0.0.1
ABI class: XFree86 Video Driver, version 0.2
Fatal server error:
Caught signal 11. Server aborting
endmessage
Now I am pretty sure I edited the file /etc/X11/XF86Config correctly
following the new specifications. The most important changed seems
to be the BUSID in the "Device Section." Running "cat /proc/pci", I
got two BusID alternatives: either "PCI:0:11:0" for Bandit or
"PCI:0:16:0" for Grand. Alternating between both options seems to
make no difference. Here is my XF86Config file.
begin file /etc/X11/XF86Config:
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/lib/X11/fonts/cyrillic/:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Speedo/"
FontPath "/usr/lib/X11/fonts/Type1/"
FontPath "/usr/lib/X11/fonts/misc/"
FontPath "/usr/lib/X11/fonts/cyrillic/"
FontPath "/usr/lib/X11/fonts/100dpi/"
FontPath "/usr/lib/X11/fonts/75dpi/"
EndSection
# **********************************************************************
# Module section
# **********************************************************************
Section "Module"
Load "xie"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "KeyboardOne"
Driver "keyboard"
Option "XkbDisable"
# Macintosh keyboard users
Option "XkbKeymap" "macintosh"
Option "XkbRules" "xfree86"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "MouseOne"
Driver "mouse"
Option "Protocol" "BusMouse"
Option "Device" "/dev/adbmouse"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "MonitorOne"
VendorName "Apple"
ModelName "Multiple Scan 15 Display"
#The following settings are ripped off from LinuxPPC 2000 generated
#XF86Config file.
HorizSync 1 - 300
VertRefresh 1 - 300
Mode "Generated" #its 832x624
# D: 100.000 MHz, H: 114.679 kHz, V: 172.709 Hz
DotClock 100.001
HTimings 832 848 856 872
VTimings 624 640 648 664
Flags "-HSync" "-VSync"
EndMode
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
Section "Device"
Identifier "Linux Frame Buffer Device"
VendorName "unknown"
BoardName "unknown"
Driver "fbdev"
BusID "PCI:0:16:0"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# Server for the Linux Frame Buffer Device
Section "Screen"
Identifier "ScreenOne"
Device "Linux Frame Buffer Device"
Monitor "MonitorOne"
Subsection "Display"
Depth 24
Modes "Generated"
ViewPort 0 0
Virtual 832 624
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "simple layout"
Screen "ScreenOne"
InputDevice "MouseOne" "CorePointer"
InputDevice "KeyboardOne" "CoreKeyboard"
EndSection
end file /etc/X11/XF86Config
There are some further details as well. I have made
/usr/X11R6/bin/XFree86 my default X server in file /etc/X11/Xserver.
Building X4.0.1 did not produce an Xserver called XF68_FBDev.
My second problem with installed X 4.0.1 relates to xfs. Previously,
using X 3.3.6, the font server would always come up on startup, even
when X itself failed. With X 4.0.1, now xfs also fails. On startup I
get the following message:
"Starting X font server: xfs/usr/bin/X11/xfs: error in loading shared
libraries: libXfont.so./: cannot open shared object file: No such
file or directory"
If you can provide me any information, I would greatly appreciate it.
I am almost going to give up on Debian and move to LinuxPPC because I
can get the Xserver 3.3.6 at least running on that install.
Thanks,
--
W. Crowshaw
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com