omg x problem this sucks, PLEASE help!

Status
Not open for further replies.

f15h

In Runtime
Messages
105
I exited X to install the nvidia graphic driver for my ge force 4. Heres the log file. Now when I try to login as my normal user, I get kicked after a little while.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jul 25 17:14:46 2005

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.11/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.11/source S
YSOUT=/lib/modules/2.6.11/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.11/build KBUILD_VERBOSE=1 -C /lib/
modules/2.6.11/source SUBDIRS=/tmp/selfgz6057/NVIDIA-Linux-x86-1.0-7667-pkg1
/usr/src/nv modules
make -C /lib/modules/2.6.11/build \
KBUILD_SRC=/usr/src/linux-2.6.11 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz6057/NVIDIA-Linux-x86-1.0-7667-pkg1/
usr/src/nv" \
-f /usr/src/linux-2.6.11/Makefile modules
/bin/sh: /usr/src/linux-2.6.11/scripts/gcc-version.sh: No such file or direc
tory
mkdir -p /tmp/selfgz6057/NVIDIA-Linux-x86-1.0-7667-pkg1/usr/src/nv/.tmp_vers
ions
make -f /usr/src/linux-2.6.11/scripts/Makefile.build obj=/tmp/selfgz6057/NVI
DIA-Linux-x86-1.0-7667-pkg1/usr/src/nv
make[4]: /usr/src/linux-2.6.11/scripts/Makefile.build: No such file or direc
tory
make[4]: *** No rule to make target `/usr/src/linux-2.6.11/scripts/Makefile.
build'. Stop.
make[3]: *** [_module_/tmp/selfgz6057/NVIDIA-Linux-x86-1.0-7667-pkg1/usr/src
/nv] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.


well guys, thats it. I hope someone can help, because this really sucks.
Do I just need to get a kernel module for this? How can I fix my X kicking me out?
thanks in advance,

f15h
 
Your using an RPM based distro such as Mandrake (Mandriva), Suse etc, correct? You need to first install the correct kernel sources. You can check this by opening a shell and typing "% rpm -qa | grep kernel". You could also open a shell and as root type "uname -r". That will give you the version of the kernel that you are running.

Install the correct kernel source package that matches your kernel. From there you can follow the install steps for the nvidia driver. Remember to edit the appropriate config files after the installation before restarting X.
 
My distro is Knoppix 3.9 - Right now I don't have internet on it, so i'm using windows to get on the web. Will that command work, or will i need to use alien?


I'm confused - are you saying that the installer has the incorrect system kernel files it needs to compile the software for my system?

thanks for bearing with me,

f15h
 
Status
Not open for further replies.
Back
Top Bottom