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

Bug#686152: xorg server 1.12.3: xf86UnloadSubModule() hangs



Package: xorg-server
Source: xorg-server
Severity: serious
Tags: wheezy



Machine: Dell PowerEdge 3250
Processor: 2x Itanium Madison 1.5GHz 6M
Memory: 4G
Graphics: build-in ATI Rage XL
01:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD]
nee ATI Rage XL [1002:4752] (rev 27)
	Subsystem: Intel Corporation Device [8086:3404]



Hello,

I tried wheezy and experienced that the xorg server hangs upon startup. The screen is blank; switching to another console isn't possible.
The Xorg.0.log file reads:

[   157.058]
X.Org X Server 1.12.3
Release Date: 2012-07-09
[   157.059] X Protocol Version 11, Revision 0
[   157.059] Build Operating System: Linux 2.6.26-2-itanium ia64 Debian
[ 157.059] Current Operating System: Linux itanic 3.2.0-3-mckinley #1 SMP Sat Aug 18 20:50:43 UTC 2012 ia64 [ 157.059] Kernel command line: BOOT_IMAGE=scsi0:/EFI/debian/vmlinuz root=/dev/sdb5 nofb ro
[   157.059] Build Date: 24 August 2012  10:10:04PM
[   157.059] xorg-server 2:1.12.3-1 (Julien Cristau <jcristau@debian.org>)
[   157.059] Current version of pixman: 0.26.0
[   157.059] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 157.059] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 157.060] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 25 01:02:25 2012
[   157.069] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   157.080] (==) No Layout section.  Using the first Screen section.
[   157.080] (==) No screen section available. Using defaults.
[   157.080] (**) |-->Screen "Default Screen Section" (0)
[   157.080] (**) |   |-->Monitor "<default monitor>"
[   157.080] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   157.081] (==) Automatically adding devices
[   157.081] (==) Automatically enabling devices
[ 157.121] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   157.121] 	Entry deleted from font path.
[   157.121] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   157.121] 	Entry deleted from font path.
[   157.121] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   157.121] 	Entry deleted from font path.
[   157.121] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[   157.121] 	Entry deleted from font path.
[   157.121] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   157.121] 	Entry deleted from font path.
[   157.121] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   157.121] 	Entry deleted from font path.
[ 157.121] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[   157.121] 	Entry deleted from font path.
[   157.121] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
[   157.121] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 157.121] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   157.121] (II) Loader magic: 0x20000008004321b0
[   157.122] (II) Module ABI versions:
[   157.122] 	X.Org ANSI C Emulation: 0.4
[   157.122] 	X.Org Video Driver: 12.0
[   157.122] 	X.Org XInput driver : 16.0
[   157.122] 	X.Org Server Extension : 6.0
[ 157.123] (--) PCI:*(0:1:1:0) 1002:4752:8086:3404 rev 39, Mem @ 0xfb000000/16777216, 0xfaff0000/4096, I/O @ 0x0000cc00/256, BIOS @ 0x????????/131072
[   157.123] (II) Open ACPI successful (/var/run/acpid.socket)
[   157.123] (II) LoadModule: "extmod"
[   157.128] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[   157.129] (II) Module extmod: vendor="X.Org Foundation"
[   157.129] 	compiled for 1.12.3, module version = 1.0.0
[   157.129] 	Module class: X.Org Server Extension
[   157.129] 	ABI class: X.Org Server Extension, version 6.0
[   157.129] (II) Loading extension SELinux
[   157.129] (II) Loading extension MIT-SCREEN-SAVER
[   157.129] (II) Loading extension XFree86-VidModeExtension
[   157.129] (II) Loading extension XFree86-DGA
[   157.129] (II) Loading extension DPMS
[   157.129] (II) Loading extension XVideo
[   157.129] (II) Loading extension XVideo-MotionCompensation
[   157.129] (II) Loading extension X-Resource
[   157.129] (II) LoadModule: "dbe"
[   157.129] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[   157.129] (II) Module dbe: vendor="X.Org Foundation"
[   157.129] 	compiled for 1.12.3, module version = 1.0.0
[   157.129] 	Module class: X.Org Server Extension
[   157.129] 	ABI class: X.Org Server Extension, version 6.0
[   157.129] (II) Loading extension DOUBLE-BUFFER
[   157.129] (II) LoadModule: "glx"
[   157.130] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   157.130] (II) Module glx: vendor="X.Org Foundation"
[   157.130] 	compiled for 1.12.3, module version = 1.0.0
[   157.130] 	ABI class: X.Org Server Extension, version 6.0
[   157.130] (==) AIGLX enabled
[   157.130] (II) Loading extension GLX
[   157.130] (II) LoadModule: "record"
[   157.130] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[   157.130] (II) Module record: vendor="X.Org Foundation"
[   157.131] 	compiled for 1.12.3, module version = 1.13.0
[   157.131] 	Module class: X.Org Server Extension
[   157.131] 	ABI class: X.Org Server Extension, version 6.0
[   157.131] (II) Loading extension RECORD
[   157.131] (II) LoadModule: "dri"
[   157.131] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[   157.143] (II) Module dri: vendor="X.Org Foundation"
[   157.143] 	compiled for 1.12.3, module version = 1.0.0
[   157.143] 	ABI class: X.Org Server Extension, version 6.0
[   157.143] (II) Loading extension XFree86-DRI
[   157.143] (II) LoadModule: "dri2"
[   157.143] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[   157.143] (II) Module dri2: vendor="X.Org Foundation"
[   157.143] 	compiled for 1.12.3, module version = 1.2.0
[   157.143] 	ABI class: X.Org Server Extension, version 6.0
[   157.143] (II) Loading extension DRI2
[   157.143] (==) Matched ati as autoconfigured driver 0
[   157.143] (==) Matched fbdev as autoconfigured driver 1
[   157.143] (==) Assigned the driver to the xf86ConfigLayout
[   157.143] (II) LoadModule: "ati"
[   157.144] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[   157.151] (II) Module ati: vendor="X.Org Foundation"
[   157.151] 	compiled for 1.12.1.902, module version = 6.14.4
[   157.151] 	Module class: X.Org Video Driver
[   157.151] 	ABI class: X.Org Video Driver, version 12.0
[   157.151] (II) LoadModule: "mach64"
[   157.151] (II) Loading /usr/lib/xorg/modules/drivers/mach64_drv.so
[   157.151] (II) Module mach64: vendor="X.Org Foundation"
[   157.151] 	compiled for 1.12.3, module version = 6.9.1
[   157.151] 	Module class: X.Org Video Driver
[   157.151] 	ABI class: X.Org Video Driver, version 12.0
[   157.151] (II) LoadModule: "fbdev"
[   157.152] (WW) Warning, couldn't open module fbdev
[   157.152] (II) UnloadModule: "fbdev"
[   157.152] (II) Unloading fbdev
[   157.152] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   157.152] (II) MACH64: Driver for ATI Mach64 chipsets
[   157.152] (--) using VT number 7

[ 157.155] (II) MACH64(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   157.155] (==) MACH64(0): Depth 24, (--) framebuffer bpp 32
[   157.155] (==) MACH64(0): Using XAA acceleration architecture
[   157.155] (II) MACH64: Mach64 in slot 1:1:0 detected.
[   157.155] (II) Loading sub module "int10"
[   157.155] (II) LoadModule: "int10"
[   157.155] (II) Loading /usr/lib/xorg/modules/libint10.so
[   157.155] (II) Module int10: vendor="X.Org Foundation"
[   157.155] 	compiled for 1.12.3, module version = 1.0.0
[   157.155] 	ABI class: X.Org Video Driver, version 12.0
[   157.156] (WW) MACH64(0): Unable to retrieve all of segment 0x0C0000.
[   157.156] (II) Loading sub module "ddc"
[   157.156] (II) LoadModule: "ddc"
[   157.156] (II) Module "ddc" already built-in
[   157.156] (II) Loading sub module "vbe"
[   157.156] (II) LoadModule: "vbe"
[   157.156] (II) Loading /usr/lib/xorg/modules/libvbe.so
[   157.156] (II) Module vbe: vendor="X.Org Foundation"
[   157.156] 	compiled for 1.12.3, module version = 1.1.0
[   157.156] 	ABI class: X.Org Video Driver, version 12.0
[   157.156] (II) MACH64(0): VESA BIOS not detected
[   157.156] (II) UnloadSubModule: "vbe"
[   157.156] (II) Unloading vbe
[   157.157] (II) UnloadSubModule: "int10"
[   157.157] (II) Unloading int10
[   157.157] (II) UnloadSubModule: "cë"
[   157.157] (II) Unloading cë


I could figure out that the problem is in the xf86UnloadSubModule() function in hw/xfree86/common/xf86Helper.c of xorg-server-core 1.12.3:

void
xf86UnloadSubModule(pointer mod)
{
    UnloadSubModule(mod);
}

Earlier the function read in hw/xfree86/common/xf86Helper.c of xorg-server-core 1.11.4:

void
xf86UnloadSubModule(pointer mod)
{
    /*
     * This is disabled for now.  The loader isn't smart enough yet to undo
     * relocations.
     */
#if 0
    UnloadSubModule(mod);
#endif
}

Conclusion: UnloadSubModule() was and is still buggy.
I commented out UnloadSubModule(mod) tentative in 1.12.3, the X server started successful after that.

So the solution would be either comment out UnloadSubModule() or fix it...

Kind regards
Stephan Schreiber


Reply to: