View previous topic :: View next topic |
Author |
Message |
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Sat Jul 30, 2005 5:59 pm Post subject: [X] startx ne marche plus |
|
|
C'est encore moi!
Sur 2 de mes machines, X refuse de démarrer avec startx, de même que gdm.
En root ou en utilisateur c'est la même, donc pas un problème de permissions.
Sur l'une des machines, j'ai ce message:
Code: | 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
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at /var/log/Xorg.0.log for additional information.
XIO: fatal IO error 104 (Connection reset by peer) on X server :0.0
after 0 requests (0 known processed) with 0 events remaining. |
et sur l'autre:
Code: | Elf_RelocateEntry() Unsupported relocation type 4
Elf_RelocateEntry() Unsupported relocation type 4
Elf_RelocateEntry() Unsupported relocation type 4
Elf_RelocateEntry() Unsupported relocation type 4
Elf_RelocateEntry() Unsupported relocation type 9
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
Fatal server error:
Caught signal 11. Server aborting
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information. |
Les premières lignes du début se répètent un grand nombre de fois d'ailleurs.
Je ne sais vraiment pas quoi faire, le modules nvidia se charge bien et je ne vois pas trop où chercher...
Si quelqu'un peut m'aider, car je n'ai rien d'autre d'intéressant dans mon Xorg.0.log.
Apparemment ça semble venirdu module bitmap mais bon.
merci d'avance! |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sat Jul 30, 2005 6:05 pm Post subject: |
|
|
tu as essayé un revdep-rebuild ? _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Sat Jul 30, 2005 6:16 pm Post subject: |
|
|
sireyessire wrote: | tu as essayé un revdep-rebuild ? |
Oui. Sur une des machines tout est propre (je l'ai même lancé 2 fois).
Sur l'autre par contre, le revdep-rebuild couille grave, à chaque fois il me dit: que /usr/bin/gflashplayer et /usr/X11R6/bin/gflashplayer sont "broken".
Donc il réinstalle netscape-flash et si je relance un revdep-rebuild après il recommence à chaque fois, il réinstalle netscape-flash indéfiniment mais ça ne change rien... |
|
Back to top |
|
|
Gaug Guru
Joined: 30 Oct 2003 Posts: 378 Location: Longueuil,Québec,Canada
|
Posted: Sat Jul 30, 2005 6:56 pm Post subject: |
|
|
J'ai déjà eu un problème de libbitmap.a avec xorg a cause de CFLAGS trop agressif dans mon make.conf .La solution que j'ai fais ,changer mes cflags recompiler gcc ,glibc et après xorg. |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Sat Jul 30, 2005 7:52 pm Post subject: |
|
|
Gaug wrote: | J'ai déjà eu un problème de libbitmap.a avec xorg a cause de CFLAGS trop agressif dans mon make.conf .La solution que j'ai fais ,changer mes cflags recompiler gcc ,glibc et après xorg. |
Je peux toujours essayer, mais ça va être super long et les CFLAGS que j'utilise sont assez soft, j'ai déjà eu un système qui marchait très bien avec des CFLAGS beaucoup plus agressives... Ca m'étonnerait carrément que ça vienne de là. |
|
Back to top |
|
|
Gaug Guru
Joined: 30 Oct 2003 Posts: 378 Location: Longueuil,Québec,Canada
|
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Sat Jul 30, 2005 9:28 pm Post subject: |
|
|
J'ai jamais utilisé fpic à vrai dire.
En ce qui concerne les CFLAGS, celles que j'ai sont encore plus soft que ce que je croyais, à savoir:
-02 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer donc sweet quoi!
Merci en tout cas de vous intéresser à mon problème! |
|
Back to top |
|
|
kopp Advocate
Joined: 09 Apr 2004 Posts: 2885 Location: Grenoble, France
|
Posted: Sun Jul 31, 2005 7:33 am Post subject: |
|
|
J'ai déjà eu ce problème avec une version antérieure de xorg, qu'il avait fallu patcher!
Jette un oeil sur bugzilla, je vais regarder de mon côté aussi!
cf ici pour mon problème : https://forums.gentoo.org/viewtopic-t-280529-highlight-xorg.html
edit : argh j'arrive plus à retrouver le bug... et comme j'ai eu un problème système j'ai pas mes archives, ni le patch sous la main... :s Peut être qu'en cherchant sur le forum pour un topic de cette époque, tu peux retrouver le numero du bug sur un topic anglais, et legerement modifié le patch pour qu'il corresponde à ta version de xorg !
edit2 : ah si c'est bon il était dans mes backups.... je peux te l'envoyer si tu veux, dis moi où!
edit 3 : en fait il est pas tres long : je le copie ici
Code: | diff -ur xorg-x11-6.8.1.902.orig/xc/config/cf/xf86.tmpl xorg-x11-6.8.1.902/xc/config/cf/xf86.tmpl
--- xorg-x11-6.8.1.902.orig/xc/config/cf/xf86.tmpl 2004-07-31 22:21:33.000000000 +0200
+++ xorg-x11-6.8.1.902/xc/config/cf/xf86.tmpl 2004-07-31 22:50:56.473231288 +0200
@@ -53,15 +53,23 @@
MODULE_GCC_FLAGS1 = -fno-stack-protector
#endif
+#ifndef HasGccPie
+#define HasGccPie NO
+#endif
+
+#if HasGccPie
+MODULE_GCC_FLAGS2 = -fno-pie
+#endif
+
#ifndef HasGccMergeConstants
#define HasGccMergeConstants NO
#endif
#if HasGccMergeConstants && DoLoadableServer && !MakeDllModules
-MODULE_GCC_FLAGS2 = -fno-merge-constants
+MODULE_GCC_FLAGS3 = -fno-merge-constants
#endif
-MODULE_GCC_FLAGS = $(MODULE_GCC_FLAGS1) $(MODULE_GCC_FLAGS2)
+MODULE_GCC_FLAGS = $(MODULE_GCC_FLAGS1) $(MODULE_GCC_FLAGS2) $(MODULE_GCC_FLAGS3)
#if defined(IHaveModules) && MakeDllModules
MODULE_PIC_FLAGS = $(PICFLAGS)
diff -ur xorg-x11-6.7.0-r2.orig/xc/config/cf/xorg.tmpl xorg-x11-6.7.0-r2/xc/config/cf/xorg.tmpl
--- xorg-x11-6.7.0-r2.orig/xc/config/cf/xorg.tmpl 2004-07-31 22:21:33.000000000 +0200
+++ xorg-x11-6.7.0-r2/xc/config/cf/xorg.tmpl 2004-07-31 22:50:10.278253992 +0200
@@ -67,15 +67,23 @@
MODULE_GCC_FLAGS1 = -fno-stack-protector
#endif
+#ifndef HasGccPie
+#define HasGccPie NO
+#endif
+
+#if HasGccPie
+MODULE_GCC_FLAGS2 = -fno-pie
+#endif
+
#ifndef HasGccMergeConstants
#define HasGccMergeConstants NO
#endif
#if HasGccMergeConstants && DoLoadableServer && !MakeDllModules
-MODULE_GCC_FLAGS2 = -fno-merge-constants
+MODULE_GCC_FLAGS3 = -fno-merge-constants
#endif
-MODULE_GCC_FLAGS = $(MODULE_GCC_FLAGS1) $(MODULE_GCC_FLAGS2)
+MODULE_GCC_FLAGS = $(MODULE_GCC_FLAGS1) $(MODULE_GCC_FLAGS2) $(MODULE_GCC_FLAGS3)
#if defined(IHaveModules) && MakeDllModules
MODULE_PIC_FLAGS = $(PICFLAGS)
diff -ur xorg-x11-6.7.0-r2.orig/xc/config/imake/imake.c xorg-x11-6.7.0-r2/xc/config/imake/imake.c
--- xorg-x11-6.7.0-r2.orig/xc/config/imake/imake.c 2004-07-31 22:21:33.000000000 +0200
+++ xorg-x11-6.7.0-r2/xc/config/imake/imake.c 2004-07-31 22:45:59.024450376 +0200
@@ -1034,26 +1034,19 @@
static void
get_stackprotector(FILE *inFile)
{
- FILE *fp;
char *cc;
- char command[1024], buf[1024];
+ char command[1024];
cc = getenv("CC");
if (cc == NULL) {
cc = "cc";
}
- snprintf(command, sizeof(command), "%s -v 2>&1", cc);
- fp = popen(command, "r");
- if (fp == NULL)
- abort();
- while (fgets(buf, sizeof(buf), fp)) {
- if (strstr(buf, "propolice") != NULL) {
+ snprintf(command, sizeof(command), "%s -fno-stack-protector -S -o /dev/null -xc /dev/null > /dev/null 2>&1", cc);
+ if (system(command)==0)
fprintf(inFile, "#define HasGccStackProtector YES\n");
- break;
- }
- }
- if (pclose(fp))
- abort();
+ snprintf(command, sizeof(command), "%s -fno-pie -S -o /dev/null -xc /dev/null > /dev/null 2>&1", cc);
+ if (system(command)==0)
+ fprintf(inFile, "#define HasGccPie YES\n");
}
|
Voilà, il suffit de changer les quelques occurences de xorg-x11-6.8.1-902 ou un truc comme ça pour que ça corresponde à ta version, et ça pourrait résoudre ton problème... |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Mon Aug 08, 2005 6:03 pm Post subject: |
|
|
Merci kopp tu déchires!
Je vais essayer tout ça alors mais par contre je n'ai jamais rien patché...
[n00b]Quelqu'un peut m'expliquer comment on patche xorg?[/n00b]
Edit: Euh je vais peut-être déjà jeter un coup d'oeil dans les wiki et compagnie déjà! lol |
|
Back to top |
|
|
|
|
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
|
|