Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291825 - x11-base/xorg-server1.7.1 does not work with x11-drivers/xf86-video-neomagic-1.2.4
Summary: x11-base/xorg-server1.7.1 does not work with x11-drivers/xf86-video-neomagic-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://cgit.freedesktop.org/xorg/driv...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-04 11:16 UTC by tangram
Modified: 2009-11-07 14:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
neomagic's driver build log (build.log,20.13 KB, text/plain)
2009-11-04 18:24 UTC, tangram
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tangram 2009-11-04 11:16:09 UTC
After update to xorg-server-1.7.1 attempting to start X-server on ThinkPad 600E ends with black frozen screen and full server hang ( no keyboard input is possible) nothing, only turn off switch alone works ;)).
Xorg.0.log looks like suddenly cutted 
but xdm.log has the answer:
"/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers/neomagic_drv.so: undefined symbol: xf86UDelay".

Both files below:
// xdm.log
{
X.Org X Server 1.7.1
Release Date: 2009-10-23
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-gentoo-r3 i686
Current Operating System: Linux karaktikus 2.6.31-gentoo-r4 #1 Sat Oct 31 09:17:35 CET 2009 i686
Kernel command line: root=/dev/hda7 video=neofb:internal,external softlevel=startxdm
Build Date: 30 October 2009  09:21:59PM

Current version of pixman: 0.16.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
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: Sat Oct 31 09:51:06 2009
(==) Using config file: "/etc/X11/xorg.conf"
/usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers/neomagic_drv.so: undefined symbol: xf86UDelay
xdm error (pid 1015): server unexpectedly died
xdm error (pid 1015): Server for display :0 can't be started, session disabled
}

// Xorg.0.log - short form
{
X.Org X Server 1.7.1
Release Date: 2009-10-23
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-gentoo-r3 i686
Current Operating System: Linux karaktikus 2.6.31-gentoo-r4 #1 Sat Oct 31 09:17:35 CET 2009 i686
Kernel command line: root=/dev/hda7 video=neofb:internal,external softlevel=startxdm
Build Date: 30 October 2009  09:21:59PM

Current version of pixman: 0.16.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
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: Sat Oct 31 09:51:06 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "AllowEmptyInput" "off"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/terminus/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/,
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1/,

... and so on, till

(**) NEOMAGIC(0):  Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(II) NEOMAGIC(0): Modeline "320x240"x72.8   15.75  320 332 352 416  240 244 246 260 doublescan -hsync -vsync (37.9 kHz)
(**) NEOMAGIC(0):  Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) NEOMAGIC(0): Modeline "320x240"x60.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz)
(**) NEOMAGIC(0): Display dimensions: (340, 270) mm
(**) NEOMAGIC(0): DPI set to (95, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.7.1, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/lib/xorg/modules/libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
        compiled for 1.7.1, module version = 1.2.1
        ABI class: X.Org Video Driver, version 6.0
}
Comment 1 tangram 2009-11-04 11:19:12 UTC
Similar error was reported on RedHut's bug list:

https://bugzilla.redhat.com/show_bug.cgi?id=523800
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-11-04 15:37:17 UTC
Did you rebuild xf86-video-neomagic after the update to 1.7.1?

Could you rebuild it again like so :

  FEATURES="keepwork" emerge -1 xf86-video-neomagic

and attach the saved build.log here? (it should be in /var/tmp/portage/...)

Thanks
Comment 3 tangram 2009-11-04 18:24:55 UTC
Created attachment 209247 [details]
neomagic's driver build log
Comment 4 tangram 2009-11-04 18:27:07 UTC
(In reply to comment #2)
Yes, I did.
I rebuild my x11-drivers every time when I upgrade xorg-server.

Yes, please, above my build.log
Comment 5 tangram 2009-11-05 12:14:52 UTC
I "checked" both drivers with objdump command and I noticed that:
vesa_drv.so( which I currently use) does not contain xf86UDelay symbol 
but neomagic_drv.so does.

objdump -T neomagic_drv.so | grep -i xf86UDelay
00000000      D  *UND*  00000000              xf86UDelay

Comment 6 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-11-07 07:44:05 UTC
This seems to be fixed in trunk

commit 4e2afb88212582df60bca3ec8c447965a5a66fd5
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Oct 26 15:43:50 2009 -0400

   s/xf86UDelay/usleep/g
Comment 7 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-11-07 14:38:05 UTC
Patch added to tree, w/o a bump, thanks for reporting.