After upgrading my gentoo-sources package to 2.6.14 and reemerging nvidia-kernel, my X server fails to start here is the log : (II) NVIDIA X Driver 1.0-6629 Wed Nov 3 13:14:07 PST 2004 (II) NVIDIA Unified Driver for all NVIDIA GPUs (II) Primary Device is: PCI 01:00:0 (--) Assigning device section with no busID to primary device (--) Chipset NVIDIA GPU found (II) resource ranges after xf86ClaimFixedResources() call: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0xdfffbd00 - 0xdfffbdff (0x100) MX[B] [6] -1 0 0xdfffbe00 - 0xdfffbeff (0x100) MX[B] [7] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O [8] -1 0 0xdfef0000 - 0xdfefffff (0x10000) MX[B](B) [9] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B) [10] -1 0 0xde000000 - 0xdeffffff (0x1000000) MX[B](B) [11] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [12] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [13] -1 0 0x0000c000 - 0x0000c0ff (0x100) IX[B] [14] -1 0 0x0000c400 - 0x0000c4ff (0x100) IX[B] [15] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B] [16] -1 0 0x0000d000 - 0x0000d01f (0x20) IX[B] [17] -1 0 0x0000cc00 - 0x0000cc1f (0x20) IX[B] [18] -1 0 0x0000c800 - 0x0000c81f (0x20) IX[B] [19] -1 0 0x0000fc00 - 0x0000fc0f (0x10) IX[B] [20] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX[B] [21] -1 0 0x0000dc00 - 0x0000dc0f (0x10) IX[B] [22] -1 0 0x0000e000 - 0x0000e003 (0x4) IX[B] [23] -1 0 0x0000e400 - 0x0000e407 (0x8) IX[B] [24] -1 0 0x0000e800 - 0x0000e803 (0x4) IX[B] [25] -1 0 0x0000ec00 - 0x0000ec07 (0x8) IX[B] (II) resource ranges after probing: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0xdfffbd00 - 0xdfffbdff (0x100) MX[B] [6] -1 0 0xdfffbe00 - 0xdfffbeff (0x100) MX[B] [7] -1 0 0xe0000000 - 0xdfffffff (0x0) MX[B]O [8] -1 0 0xdfef0000 - 0xdfefffff (0x10000) MX[B](B) [9] -1 0 0xd0000000 - 0xd7ffffff (0x8000000) MX[B](B) [10] -1 0 0xde000000 - 0xdeffffff (0x1000000) MX[B](B) [11] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] [12] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] [13] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] [14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [16] -1 0 0x0000c000 - 0x0000c0ff (0x100) IX[B] [17] -1 0 0x0000c400 - 0x0000c4ff (0x100) IX[B] [18] -1 0 0x0000d400 - 0x0000d41f (0x20) IX[B] [19] -1 0 0x0000d000 - 0x0000d01f (0x20) IX[B] [20] -1 0 0x0000cc00 - 0x0000cc1f (0x20) IX[B] [21] -1 0 0x0000c800 - 0x0000c81f (0x20) IX[B] [22] -1 0 0x0000fc00 - 0x0000fc0f (0x10) IX[B] [23] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX[B] [24] -1 0 0x0000dc00 - 0x0000dc0f (0x10) IX[B] [25] -1 0 0x0000e000 - 0x0000e003 (0x4) IX[B] [26] -1 0 0x0000e400 - 0x0000e407 (0x8) IX[B] [27] -1 0 0x0000e800 - 0x0000e803 (0x4) IX[B] [28] -1 0 0x0000ec00 - 0x0000ec07 (0x8) IX[B] [29] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] [30] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] (II) Setting vga for screen 0. (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 (==) NVIDIA(0): RGB weight 888 (==) NVIDIA(0): Default visual is TrueColor (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) (--) NVIDIA(0): Linear framebuffer at 0xD0000000 (--) NVIDIA(0): MMIO registers at 0xDE000000 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! (EE) NVIDIA(0): *** Aborting *** (II) UnloadModule: "nvidia" Note that i have a "legacy GPU" (GeForce GTS) so i can't upgrade my driver to a more recent one. The module is correctly loaded in the kernel. (nvidia 3463612 0 - Live 0xf15c5000) Here is my emerge info Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 AMD Sempron(tm) 2200+ Gentoo Base System version 1.12.0_pre12 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 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="fr en" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aac aalib alsa apm arts audiofile avi berkdb bidi bitmap-fonts bl bzip2 cdr crypt cups curl dga dts dv dvb dvd dvdread eds emacs emboss encode esd ethereal exif expat fam ffmpeg foomaticdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 ithread java jpeg lcms libg++ libwww mad matroska mikmod mmx mmxext mng motif mp3 mpeg mysql ncurses ncursesw network nls nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png ppds python qt quicktime readline real ruby scanner sdl spell sse sse2 ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs xanim xine xinerama xml xml2 xmms xv xvid xvmc zlib linguas_fr linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY Here is my kernel version : Linux version 2.6.14-gentoo-r5 (root@bartaba) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 PREEMPT Wed Jan 4 21:57:24 CET 2006
(In reply to comment #0) > Note that i have a "legacy GPU" (GeForce GTS) so i can't upgrade my driver to a > more recent one. Bad luck then... *** This bug has been marked as a duplicate of 113466 ***
The driver is correctly loaded into the kernel but xorg fails to initialize the driver. this is not the same bug as 113466 (binary incompatibility). I also tried the new stable ebuild (1.0.6629-r5) it does not solve my issue.
*** This bug has been marked as a duplicate of 113466 ***
Not paying attention. Sorry.
Load the module and show me the last output of dmesg and lsmod.
dmesg : NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-6629 Wed Nov 3 13:12:51 PST 2004 lsmod : Module Size Used by nvidia 3463676 0 snd_pcm_oss 49120 0 snd_mixer_oss 16960 1 snd_pcm_oss snd_seq_dummy 2820 0 snd_seq_oss 34176 0 snd_seq_midi_event 6080 1 snd_seq_oss snd_seq 50704 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_via82xx 23828 0 snd_ac97_codec 93216 1 snd_via82xx snd_ac97_bus 1856 1 snd_ac97_codec snd_pcm 83080 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec snd_timer 22212 2 snd_seq,snd_pcm snd_page_alloc 8456 2 snd_via82xx,snd_pcm snd_mpu401_uart 6336 1 snd_via82xx snd_rawmidi 21216 1 snd_mpu401_uart snd_seq_device 7116 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi snd 50020 12 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
I have found what was going wrong ! nvidia devices was missing in /dev I had to recreate them with this shell script : for i in 0 1 2 3 4 5 6 7; do node="/dev/nvidia$i" rm -f $node mknod $node c 195 $i || echo "mknod \"$node\"" chmod 0660 $node || echo "chmod \"$node\"" chown :users $node || echo "chown \"$node\"" done node="/dev/nvidiactl" rm -f $node mknod $node c 195 255 || echo "mknod \"$node\"" chmod 0666 $node || echo "chmod \"$node\"" Why did they disappear ?