View previous topic :: View next topic |
Author |
Message |
EdtheRat Tux's lil' helper
Joined: 17 Sep 2005 Posts: 113 Location: Germany - in the middle of nowhere!
|
Posted: Mon Dec 05, 2005 2:15 pm Post subject: GDM funktoniert nach Umstellung auf neuen GCC....SOLVED! |
|
|
Hallo Leute!
Bin ich bis jetzt das erste/einzige Opfer der Umstellung auf den neuen GCC?
Nach ca. 14-16 Std. Kompilierorgie habe ich das erfolgreich hinter mich gebracht!
Allerdings das starten von Gnome mit GDM crasht: GDM startet normal durch, dann aber nach Anmeldung crasht er mit (Auszug) folgender Fehlermeldung: Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent --gnome-session
(gnome-session:6617) Gtk-Warning **: cannot open display
Nachdem ich den GDM abschalte, kann ich manuell (mit startx) und ohne Probleme X starten. Was wurde hier von der Systemumstellung verbogen?
Folgendes habe ich noch nach dem Update gemacht: Kernel neu kompiliert (damit die Module auch neu übersetzt werden); Module nochmal in der
/etc/modules.autoload.d/kernel-2.6 eingetragen (weil die war Leer auf einmal....?) ,ein env-update && source /etc/profile && revdep-rebuild #nur zur Sicherheit
emerge --info :
Gentoo Base System version 1.6.13
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2600+
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mir.zyrianes.net/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 alsa apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr crypt css cups curl dri dvd dvdr dvdread eds emacs emboss encode esd exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ipv6 jpeg lcms libg++ libwww mad matrox mikmod mjpeg mmx mmxext mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev v4l vcd vorbis xml xml2 xmms xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Vielleicht hat jemand ja ne Idee? _________________ LG
EdtheRat
Last edited by EdtheRat on Tue Dec 06, 2005 11:05 am; edited 1 time in total |
|
Back to top |
|
|
buthus Guru
Joined: 17 May 2005 Posts: 429 Location: Bell, Germany
|
Posted: Mon Dec 05, 2005 7:58 pm Post subject: |
|
|
hi!
ich hatte ein ähnliches problem mit kdm. ich hab dann den kernel neu gebaut (was du ja bereits gemacht hast) und anschließend hab ich den nvidia-treiber neu installiert und jetzt klappt es wieder.
viel glück! |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Mon Dec 05, 2005 8:49 pm Post subject: |
|
|
Der Kernel lädt nur Module die mit dem selben gcc gebaut wurden. Also nach dem umstellen auf gcc-3.4.X musst du den Kernel und die Kernelmodule neu bauen
Code: |
$ cd /usr/src/linux
$ make && make modules modules install
|
(Und natürlich noch das Kernelimage nach /boot kopieren und neu booten).
Da du den Kernel wahrscheinlich erst nach der Umstellung neu gebaut hast, also nach dem "emerge -e world", musst du jetzt auch noch die Kernelmodule neu bauen die durch "emerge" installiert wurden (Die werden nämlich beim Kernelbau gelöscht). Dabei hilft dir dieses Script:
Code: |
grep -l '^dir /lib/modules' /var/db/pkg/*/*/CONTENTS | \
sed -e 's/\/var\/db\/pkg\//=/' -e 's/\/CONTENTS//' -e \
's/^=.*\///' -e 's/-[0-9].*$//' | xargs emerge
|
(Habe ich mal irgendwann hier im Forum gefunden)
Mfg
Sino |
|
Back to top |
|
|
ossi Apprentice
Joined: 11 Apr 2004 Posts: 221 Location: DDR
|
Posted: Mon Dec 05, 2005 9:19 pm Post subject: |
|
|
SinoTech wrote: |
Code: |
grep -l '^dir /lib/modules' /var/db/pkg/*/*/CONTENTS | \
sed -e 's/\/var\/db\/pkg\//=/' -e 's/\/CONTENTS//' -e \
's/^=.*\///' -e 's/-[0-9].*$//' | xargs emerge
|
(Habe ich mal irgendwann hier im Forum gefunden)
|
Oder
Code: | emerge sys-kernel/module-rebuild |
und dann
J. |
|
Back to top |
|
|
EdtheRat Tux's lil' helper
Joined: 17 Sep 2005 Posts: 113 Location: Germany - in the middle of nowhere!
|
Posted: Tue Dec 06, 2005 9:21 am Post subject: |
|
|
Hallo, erstmal vielen Dank an ALLE!
Hier mal erste Ergebnisse:
@Sino Tech: ./modul.sh ->emerge: please tell me what to do. #Ausgabe des Scripts,habe ich irgendwas falsch gemacht?
Usage:
emerge [ options ] [ action ] [ ebuildfile | tbz2file | dependency ] [ ... ]
emerge [ options ] [ action ] < system | world >
emerge < --sync | --metadata | --info >
emerge --resume [ --pretend | --ask | --skipfirst ]
emerge --help [ system | config | sync ]
Options: -[abcCdDefhikKlnoOpPsSuUvV] [--oneshot] [--newuse] [--noconfmem]
[--columns] [--nospinner]
Actions: [ --clean | --depclean | --inject | --prune | --regen | --search | --unmerge ]
For more help try 'emerge --help' or consult the man page.
@ossi: module-rebuild mit den verschiedensten Parametern aufgerufen, ohne Ergebnis; will er explizit wissen (Pfad) wo die neu zu bauenden Module liegen?
Ich bleibe am Ball und probiere noch ein bißchen........
PS: Externe Module nutze ich z.Zt. nicht
Kommentarzeichen bei XSESSION="GNOME" in der /etc/rc.conf entfernen brachte den gewünschten Erfolg, gdm startet wieder durch und anmelden kann ich mich auch wieder. Ich kann mich nicht erinnern das dies vorher nötig gewesen wäre, da ich ja auch noch eine .xinitrc im Heimatverzeichnis habe, welche ja eigentlich vorrangig ausgewertet werden sollte.Allerdings hab ich jetzt wieder nen anderes Problem: Firefox hat meine Bookmarks gekillt, außer den "alten" vom Mozilla, aber das ist wieder ein anderes Thema............ _________________ LG
EdtheRat |
|
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
|
|