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

Bug#472839: xserver-xorg-core: Segfault with tdfx on Sparc



Package: xserver-xorg-core
Version: 2:1.4.99.901-2
Severity: important

When I tÂry to start Xorg from the 2:1.4.99.901-2 packag on my Ultra Sparc 60,
I get a segfault. I've just one Banshee PCI card.

0000:00:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module
0000:00:01.0 Bridge: Sun Microsystems Computer Corp. EBUS (rev 01)
0000:00:01.1 Ethernet controller: Sun Microsystems Computer Corp. Happy Meal (rev 01)
0000:00:02.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:02.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:02.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
0000:00:03.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
0000:00:03.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14)
0000:00:04.0 RAID bus controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 01)
0000:00:05.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03)
0001:00:00.0 Host bridge: Sun Microsystems Computer Corp. Psycho PCI Bus Module
0001:80:01.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)

Note:
Because of #472823, I need to bypass the PCI bus scan by add
Driver    "tdfx" in my xorg.conf
Because of #472837, I need to do to a modprobe tdfx first


(gdb) run
Starting program: /usr/bin/Xorg
[Thread debugging using libthread_db enabled]
[New process 13424]

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.99.901 (1.5.0 RC 1)
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.99.901-2)
Current Operating System: Linux gloria 2.6.22-3-sparc64-smp #1 SMP Mon Nov 12 12:48:41 UTC 2007 sparc64
Build Date: 23 March 2008  02:04:09AM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 26 20:01:55 2008
(==) Using config file: "/etc/X11/xorg.conf"
[New Thread -134846800 (LWP 13424)]
[tcsetpgrp failed in terminal_inferior: Operation not permitted]
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -134846800 (LWP 13424)]
0xf78ce020 in inl (port=33624092) at /usr/include/xorg/compiler.h:627
warning: Source file is more recent than executable.
627             __asm__ __volatile__("lda [%1] %2, %0"
(gdb) bt full
#0  0xf78a2020 in inl (port=33624092) at /usr/include/xorg/compiler.h:627
        ret = 0
#1  0xf78a2000 in TDFXReadChipLongPIO (pTDFX=0x1e9fa0, chip=0, addr=28) at ../../src/tdfx_io.c:64
No locals.
#2  0xf78a2090 in TDFXReadLongPIO (pTDFX=0x1e9fa0, addr=28) at ../../src/tdfx_io.c:72
No locals.
#3  0xf789b05c in TDFXCountRam (pScrn=0x1e9b28) at ../../src/tdfx_driver.c:590
        partSize = 660464
        banks = 6
        dramInit0_strap = 1640512
        dramInit1 = 5
        miscInit1 = 4287238616
        nChips = 5
        dramInit1_strap = 6
        pTDFX = (TDFXPtr) 0x1e9fa0
        vmemSize = 0
        vmemType = 0
#4  0xf789c97c in TDFXPreInit (pScrn=0x1e9b28, flags=0) at ../../src/tdfx_driver.c:1109
        pTDFX = (TDFXPtr) 0x1e9fa0
        clockRanges = (ClockRangePtr) 0x1e4268
        pMon = (xf86MonPtr) 0x0
        i = 1
        from = X_PROBED
        flags24 = 11
        defaultWeight = {red = 0, green = 0, blue = 0}
        match = (struct pci_device *) 0x1e4268
        availableMem = 2005440
#5  0x000722cc in InitOutput (pScreenInfo=0x1db1e8, argc=1, argv=0xff8a14a4) at ../../../../hw/xfree86/common/xf86Init.c:749
        configured_device = <value optimized out>
        i = 0
        j = 0
        k = <value optimized out>
        modulelist = (char **) 0x0
        optionlist = (pointer *) 0x1e4878
        layout = <value optimized out>
        screenpix24 = <value optimized out>
        pix24 = <value optimized out>
        pix24From = <value optimized out>
        autoconfig = <value optimized out>
#6  0x00039918 in main (argc=1, argv=0xff8a14a4, envp=0xff8a14ac) at ../../dix/main.c:358
        i = <value optimized out>
        error = -134756368
        alwaysCheckForInput = {0, 1}
(gdb)

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Mar 26 16:46 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1669488 Mar 23 04:01 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
0000:00:05.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo Banshee (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1094 Mar 26 19:49 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver 		"tdfx"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 7380 Mar 26 20:08 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:
(WW) Failed to open protocol names file /etc/X11/xserver/protocol.txt
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.99.901 (1.5.0 RC 1)
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.99.901-2)
Current Operating System: Linux gloria 2.6.22-3-sparc64-smp #1 SMP Mon Nov 12 12:48:41 UTC 2007 sparc64
Build Date: 23 March 2008  02:04:09AM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 26 20:08:08 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
	Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(==) |-->Input Device "Configured Mouse"
(==) |-->Input Device "Generic Keyboard"
(==) The core pointer device wasn't specified explicitly in the layout.
	Using the first mouse device.
(==) The core keyboard device wasn't specified explicitly in the layout.
	Using the first keyboard device.
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(==) 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,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x1b3958
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.3
	X.Org Video Driver: 4.0
	X.Org XInput driver : 2.0
	X.Org Server Extension : 1.0
	X.Org Font Renderer : 0.5
(II) Loader running on linux
(--) using VT number 1

(--) PCI:*(0@0:5:0) 3Dfx Interactive, Inc. Voodoo Banshee rev 3, Mem @ 0x000001ff/-2113929216, 0x000001ff/-2080374784, I/O @ 0x000001fe/33624064
(II) System resource ranges:
	[0] -1	1	0x7fffffff - 0x7fffffff (0x1) MX[B]
	[1] -1	1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x7fffffff - 0x7fffffff (0x1) MX[B]
	[5] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[6] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[7] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[8] -1	1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[9] -1	1	0x00000000 - 0x00000000 (0x1) IX[B]
	[10] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[11] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"

(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.4.99.901, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.0
(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 XFree86-DGA
(II) Loading extension DPMS
(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: "dbe"

(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.4.99.901, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"

(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
(II) LoadModule: "freetype"

(II) Loading /usr/lib/xorg/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 1.4.99.901, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "record"

(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.4.99.901, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.0
(II) Loading extension RECORD
(II) LoadModule: "dri"

(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "tdfx"

(II) Loading /usr/lib/xorg/modules/drivers//tdfx_drv.so
(II) Module tdfx: vendor="X.Org Foundation"
	compiled for 1.4.99.901, module version = 1.4.0
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 4.0
(II) LoadModule: "mouse"

(WW) Warning, couldn't open module mouse
(II) UnloadModule: "mouse"
(EE) Failed to load module "mouse" (module does not exist, 0)
(II) LoadModule: "kbd"

(WW) Warning, couldn't open module kbd
(II) UnloadModule: "kbd"
(EE) Failed to load module "kbd" (module does not exist, 0)
(II) TDFX: Driver for 3dfx Banshee/Voodoo3 chipsets: 3dfx Banshee,
	3dfx Voodoo3, 3dfx Voodoo5
(II) Primary Device is: PCI 00@00:05:0
(II) TDFX(0): PIO base = 0x2011000
(II) resource ranges after probing:
	[0] -1	1	0x7fffffff - 0x7fffffff (0x1) MX[B]
	[1] -1	1	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	1	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	1	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x7fffffff - 0x7fffffff (0x1) MX[B]
	[5] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[6] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[7] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[8] -1	1	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[9] -1	1	0x00000000 - 0x00000000 (0x1) IX[B]
	[10] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[11] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"

(II) Loading /usr/lib/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
	compiled for 1.4.99.901, module version = 0.1.0
	ABI class: X.Org Video Driver, version 4.0
(II) TDFX(0): Creating default Display subsection in Screen section
	"Default Screen" for depth/fbbpp 16/16
(==) TDFX(0): Depth 16, (--) framebuffer bpp 16
(==) TDFX(0): RGB weight 565
(==) TDFX(0): Default visual is TrueColor
(--) TDFX(0): Chipset: "3dfx Banshee"
(--) TDFX(0): Linear framebuffer at 0x84000000
(--) TDFX(0): MMIO registers at addr 0x82000000
(--) TDFX(0): PIO registers at addr 0x2011000


-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-3-sparc64-smp
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages xserver-xorg-core depends on:
ii  libc6               2.7-6                GNU C Library: Shared libraries
ii  libdbus-1-3         1.1.20-1             simple interprocess messaging syst
ii  libfontenc1         1:1.0.4-2            X11 font encoding library
ii  libgcc1             1:4.3.0~rc2-1        GCC support library
ii  libhal1             0.5.10+git20080301-1 Hardware Abstraction Layer - share
ii  libpciaccess0       0.10-1               Generic PCI access library for X
ii  libpixman-1-0       0.9.6-1              pixel-manipulation library for X a
ii  libssl0.9.8         0.9.8g-7             SSL shared libraries
ii  libxau6             1:1.0.3-2            X11 authorisation library
ii  libxdmcp6           1:1.0.1-2            X11 Display Manager Control Protoc
ii  libxfont1           1:1.3.2-1            X11 font rasterisation library
ii  x11-common          1:7.4~1              X Window System (X.Org) infrastruc
ii  xserver-xorg        1:7.4~1              the X.Org X server

Versions of packages xserver-xorg-core recommends:
ii  xfonts-base                   1:1.0.0-3  standard fonts for X
ii  xkb-data                      0.8-12     X Keyboard Extension (XKB) configu

-- no debconf information



Reply to: