Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg having trouble loading modules after emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
gareth_w_j
n00b
n00b


Joined: 03 Mar 2005
Posts: 20
Location: Champaign,IL

PostPosted: Wed Jun 08, 2005 3:48 pm    Post subject: Xorg having trouble loading modules after emerge Reply with quote

I wanted to update my sustem to take advantage of some new USE flags, so
last night i did:
emerge --update --deep --newuse world

here is a list of things that were recompiled from /var/log/emerge.log (or whatever the exact file name is):
it's probably worth mentioning that i only did a Stage 2 install because, as i recall, there was some library
or another that refused to compile.
1) gcc
2) glibc
3) glib
4) xorg-x11
5) pkgconfig
6) make
7) arts (associated with KDE, i think)
8) gnupg
9) baselayout
10) coreutils

looking at the log file that Xorg generates seems to indicate that Xorg >may< be trying to load a library
twice and as a result is finding conflicting symbols ... but I really have no idea. i'm not an expert at this.
anyway, i looked through /etc/X11 to see if there was a way to change Xorg's behaviour to avoid loading
this module ... just to get X running again. no luck, and the man pages didn't really help to explain what
was going on either.

here is the Xorg log file:

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.11-gentoo-r9 i686 [ELF]
Current Operating System: Linux squid 2.6.11-gentoo-r9 #1 Sun Jun 5 13:04:33 UTC 2005 i686
Build Date: 08 June 2005
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 Jun 8 09:14:39 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(WW) The directory "/usr/share/fonts/CID/" does not exist.
Entry deleted from font path.
(**) FontPath set to "/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/"
(**) RgbPath set to "/usr/lib/X11/rgb"
(**) ModulePath set to "/usr/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib/modules/fonts/libbitmap.a
Duplicate symbol __i686.get_pc_thunk.bx in /usr/lib/modules/fonts/libbitmap.a:bitmapmod.o
Also defined in /usr/lib/modules/fonts/libbitmap.a

Fatal server error:
Module load failure
_________________
Gareth Jones
Back to top
View user's profile Send private message
Flammie
Retired Dev
Retired Dev


Joined: 02 Jun 2003
Posts: 633
Location: Dublin, Ireland

PostPosted: Wed Jun 08, 2005 6:45 pm    Post subject: Re: Xorg having trouble loading modules after emerge Reply with quote

gareth_w_j wrote:
Duplicate symbol __i686.get_pc_thunk.bx in /usr/lib/modules/fonts/libbitmap.a:bitmapmod.o
Also defined in /usr/lib/modules/fonts/libbitmap.a


I'm quite sure this is result of a bug with some of the hardened stuff and X.org? What were your new use flags?
Back to top
View user's profile Send private message
gareth_w_j
n00b
n00b


Joined: 03 Mar 2005
Posts: 20
Location: Champaign,IL

PostPosted: Wed Jun 08, 2005 7:30 pm    Post subject: Xorg troubles --> USE flags Reply with quote

here are my USE flags: (hardened was one of the flags I enabled)

USE="-gtk -gnome -ftp -icq X qt kde ssl hardened crypt pam usb acpi cdr dvd alsa xine opengl openal sse perl f77 oss nvidia mozilla"

if the problem is a bug in the "hardened" code for Xorg, I should be able to fix the problem by adding:
x11-base/xorg-x11 -hardened

to my /etc/portage/package.use to disable the 'hardened' flag specifically for Xorg. thanks, I'll try that.
_________________
Gareth Jones
Back to top
View user's profile Send private message
gareth_w_j
n00b
n00b


Joined: 03 Mar 2005
Posts: 20
Location: Champaign,IL

PostPosted: Thu Jun 09, 2005 9:20 pm    Post subject: Solved Reply with quote

First let me say thanks to the guy who answered my post. It turns out that this is a very well know problem.
It is discussed on the documentation section of the Gentoo web page. A fix for the problem is also
discussed.
_________________
Gareth Jones
Back to top
View user's profile Send private message
Kaboosh
Apprentice
Apprentice


Joined: 10 Jun 2004
Posts: 162
Location: Edmonton, AB - Canada

PostPosted: Mon Jun 27, 2005 9:36 pm    Post subject: Re: Xorg having trouble loading modules after emerge Reply with quote

Flammie wrote:
gareth_w_j wrote:
Duplicate symbol __i686.get_pc_thunk.bx in /usr/lib/modules/fonts/libbitmap.a:bitmapmod.o
Also defined in /usr/lib/modules/fonts/libbitmap.a


I'm quite sure this is result of a bug with some of the hardened stuff and X.org? What were your new use flags?


The recommendation in this bug report is to add a USE=dlloader flag when emerging x11-base/xorg-x11.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sat Jul 09, 2005 8:48 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic-t-266674.html
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum