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

Bug#671103: [powerpc] [ATi Rage 128 Pro AGP] x.org doesn't work with xf86-video-r128 driver, calling sigbus'ing useless on non-bios-driven hardware int10 routine



Package: xorg
Version: 1:7.6+12

X.org doesn't work with xf86-video-r128 driver. With the following
/etc/X11/xorg.conf (made manually from scratch)

--------------------------------------------------------------------------------
Section "Device"
    Identifier "r128"
    Driver "r128"
    Option "UseFBDev" "false"
EndSection
--------------------------------------------------------------------------------

I got SIGBUS on startx:

--------------------------------------------------------------------------------
    [   892.451]
    X.Org X Server 1.11.4
    Release Date: 2012-01-27
    [   892.456] X Protocol Version 11, Revision 0
    [   892.458] Build Operating System: Linux 2.6.32-5-powerpc64 ppc Debian
    [   892.460] Current Operating System: Linux finnix
3.0.6-1-ppc-finnix #2 Sun Oct 9 15:38:55 PDT 2011 ppc
    [   892.463] Kernel command line: ro quiet
    [   892.465] Build Date: 05 March 2012  12:28:46AM
    [   892.468] xorg-server 2:1.11.4-1 (Cyril Brulebois <kibi@debian.org>)
    [   892.470] Current version of pixman: 0.24.4
    [   892.473]    Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
    [   892.479] Markers: (--) probed, (**) from config file, (==)
default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [   892.489] (==) Log file: "/var/log/Xorg.0.log", Time: Tue May
1 23:14:05 2012
    [   892.494] (==) Using config file: "/etc/X11/xorg.conf"
    [   892.498] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [   892.502] (==) No Layout section.  Using the first Screen section.
    [   892.502] (==) No screen section available. Using defaults.
    [   892.502] (**) |-->Screen "Default Screen Section" (0)
    [   892.502] (**) |   |-->Monitor "<default monitor>"
    [   892.503] (==) No device specified for screen "Default Screen Section".
            Using the first device section listed.
    [   892.503] (**) |   |-->Device "r128"
    [   892.503] (==) No monitor specified for screen "Default Screen Section".
            Using a default monitor configuration.
    [   892.504] (==) Automatically adding devices
    [   892.504] (==) Automatically enabling devices
    [   892.504] (WW) The directory "/usr/share/fonts/X11/cyrillic"
does not exist.
    [   892.504]    Entry deleted from font path.
    [   892.504] (WW) The directory
"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
    [   892.504]    Entry deleted from font path.
    [   892.504] (==) FontPath set to:
            /usr/share/fonts/X11/misc,
            /usr/share/fonts/X11/100dpi/:unscaled,
            /usr/share/fonts/X11/75dpi/:unscaled,
            /usr/share/fonts/X11/Type1,
            /usr/share/fonts/X11/100dpi,
            /usr/share/fonts/X11/75dpi,
            built-ins
    [   892.504] (==) ModulePath set to "/usr/lib/xorg/modules"
    [   892.504] (II) The server relies on udev to provide the list of
input devices.
            If no devices become available, reconfigure udev or
disable AutoAddDevices.
    [   892.505] (II) Loader magic: 0x209b556c
    [   892.505] (II) Module ABI versions:
    [   892.505]    X.Org ANSI C Emulation: 0.4
    [   892.505]    X.Org Video Driver: 11.0
    [   892.505]    X.Org XInput driver : 13.0
    [   892.505]    X.Org Server Extension : 6.0
    [   892.506] (--) PCI:*(0:0:16:0) 1002:5046:0000:0000 rev 0, Mem @
0x94000000/67108864, 0x90000000/16384, I/O @ 0x00000400/256, BIOS @
0x????????/131072
    [   892.506] (II) LoadModule: "extmod"
    [   892.509] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [   892.511] (II) Module extmod: vendor="X.Org Foundation"
    [   892.511]    compiled for 1.11.4, module version = 1.0.0
    [   892.511]    Module class: X.Org Server Extension
    [   892.511]    ABI class: X.Org Server Extension, version 6.0
    [   892.511] (II) Loading extension SELinux
    [   892.511] (II) Loading extension MIT-SCREEN-SAVER
    [   892.511] (II) Loading extension XFree86-VidModeExtension
    [   892.511] (II) Loading extension XFree86-DGA
    [   892.511] (II) Loading extension DPMS
    [   892.511] (II) Loading extension XVideo
    [   892.511] (II) Loading extension XVideo-MotionCompensation
    [   892.511] (II) Loading extension X-Resource
    [   892.511] (II) LoadModule: "dbe"
    [   892.513] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [   892.513] (II) Module dbe: vendor="X.Org Foundation"
    [   892.513]    compiled for 1.11.4, module version = 1.0.0
    [   892.513]    Module class: X.Org Server Extension
    [   892.514]    ABI class: X.Org Server Extension, version 6.0
    [   892.514] (II) Loading extension DOUBLE-BUFFER
    [   892.514] (II) LoadModule: "glx"
    [   892.515] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [   892.516] (II) Module glx: vendor="X.Org Foundation"
    [   892.516]    compiled for 1.11.4, module version = 1.0.0
    [   892.516]    ABI class: X.Org Server Extension, version 6.0
    [   892.516] (==) AIGLX enabled
    [   892.516] (II) Loading extension GLX
    [   892.516] (II) LoadModule: "record"
    [   892.518] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [   892.518] (II) Module record: vendor="X.Org Foundation"
    [   892.518]    compiled for 1.11.4, module version = 1.13.0
    [   892.518]    Module class: X.Org Server Extension
    [   892.519]    ABI class: X.Org Server Extension, version 6.0
    [   892.519] (II) Loading extension RECORD
    [   892.519] (II) LoadModule: "dri"
    [   892.520] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [   892.521] (II) Module dri: vendor="X.Org Foundation"
    [   892.521]    compiled for 1.11.4, module version = 1.0.0
    [   892.521]    ABI class: X.Org Server Extension, version 6.0
    [   892.521] (II) Loading extension XFree86-DRI
    [   892.521] (II) LoadModule: "dri2"
    [   892.523] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [   892.524] (II) Module dri2: vendor="X.Org Foundation"
    [   892.524]    compiled for 1.11.4, module version = 1.2.0
    [   892.524]    ABI class: X.Org Server Extension, version 6.0
    [   892.524] (II) Loading extension DRI2
    [   892.524] (II) LoadModule: "r128"
    [   892.525] (II) Loading /usr/lib/xorg/modules/drivers/r128_drv.so
    [   892.525] (II) Module r128: vendor="X.Org Foundation"
    [   892.525]    compiled for 1.11.0, module version = 6.8.1
    [   892.525]    Module class: X.Org Video Driver
    [   892.525]    ABI class: X.Org Video Driver, version 11.0
    [   892.525] (II) R128: Driver for ATI Rage 128 chipsets:
            ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility
M3 LF (AGP),
            ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility
M4 ML (AGP),
            ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB (PCI/AGP),
            ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI),
            ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP),
            ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH (PCI/AGP),
            ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ (PCI/AGP),
            ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL (PCI/AGP),
            ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN (PCI/AGP),
            ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI),
            ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI),
            ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT (PCI/AGP),
            ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV (PCI/AGP),
            ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX (PCI/AGP),
            ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
            ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
            ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
            ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP),
            ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP),
            ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
            ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP),
            ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP),
            ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?),
            ATI Rage 128 Pro ULTRA TU (AGP?)
    [   892.527] (--) using VT number 5

    [   892.545] (II) Loading /usr/lib/xorg/modules/drivers/r128_drv.so
    [   892.546] (II) R128(0): PCI bus 0 card 16 func 0
    [   892.546] (II) R128(0): Creating default Display subsection in
Screen section
            "Default Screen Section" for depth/fbbpp 24/32
    [   892.546] (==) R128(0): Depth 24, (--) framebuffer bpp 32
    [   892.546] (II) R128(0): Pixel depth = 24 bits stored in 4 bytes
(32 bpp pixmaps)
    [   892.546] (==) R128(0): Default visual is TrueColor
    [   892.546] (**) R128(0): Option "UseFBDev" "false"
    [   892.546] (II) R128(0): VGAAccess option set to FALSE, VGA
module load skipped
    [   892.546] (==) R128(0): RGB weight 888
    [   892.546] (II) R128(0): Using 8 bits per RGB (8 bit DAC)
    [   892.546] (II) Loading sub module "int10"
    [   892.546] (II) LoadModule: "int10"
    [   892.547] (II) Loading /usr/lib/xorg/modules/libint10.so
    [   892.552] (II) Module int10: vendor="X.Org Foundation"
    [   892.552]    compiled for 1.11.4, module version = 1.0.0
    [   892.552]    ABI class: X.Org Video Driver, version 11.0
    [   892.552] (II) R128(0): initializing int10
    [   892.554]
    Backtrace:
    [   892.555] 0: /usr/bin/X (xorg_backtrace+0x58) [0x20962348]
    [   892.555] 1: /usr/bin/X (0x207c0000+0x1a6650) [0x20966650]
    [   892.555] 2: (vdso) (__kernel_sigtramp_rt32+0x0) [0x100370]
    [   892.555] 3: /usr/lib/xorg/modules/libint10.so
(xf86ExtendedInitInt10+0x264) [0x1fedc4ec]
    [   892.555] 4: /usr/lib/xorg/modules/libint10.so
(xf86InitInt10+0x28) [0x1fed9e0c]
    [   892.555] 5: /usr/lib/xorg/modules/drivers/r128_drv.so
(0x1ff1d000+0xd970) [0x1ff2a970]
    [   892.555] 6: /usr/bin/X (InitOutput+0x86c) [0x20854f04]
    [   892.556] 7: /usr/bin/X (0x207c0000+0x3b92c) [0x207fb92c]
    [   892.557] 8: /lib/powerpc-linux-gnu/libc.so.6
(0x2027d000+0x1f7ec) [0x2029c7ec]
    [   892.557] 9: /lib/powerpc-linux-gnu/libc.so.6
(0x2027d000+0x1f9b0) [0x2029c9b0]
    [   892.557] Bus error at address 0x4815f000
    [   892.557]
    Fatal server error:
    [   892.557] Caught signal 7 (Bus error). Server aborting
    [   892.557]
    [   892.557]
    Please consult the The X.Org Foundation support
             at http://wiki.x.org
     for help.
    [   892.558] Please also check the log file at
"/var/log/Xorg.0.log" for additional information.
    [   892.558]
    [   892.589] Server terminated with error (1). Closing log file.
--------------------------------------------------------------------------------

The problem is int10 routine, which does "executing real mode init x86
code via the vbios". This is nonsense with OpenFirmware Rage 128 card.



Reply to: