LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Driver NVidia (https://www.linuxquestions.org/questions/linux-newbie-8/driver-nvidia-264608/)

Harp00 12-09-2004 04:19 PM

Driver NVidia
 
I am using Slackware 10 and kernel 2.6.9.
Trying to install NVidia driver i get this error:
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer command line option.
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.

I installed the driver using 2.6.7 without any problem but now i can not, and i have to load "nv" driver.

Thank you in advance.

comprookie2000 12-09-2004 04:22 PM

Is /usr/src/linux pointing to 2.6.9

Harp00 12-09-2004 04:30 PM

OOPS, no!
Sorry! :eek:

egag 12-09-2004 05:08 PM

quote---------
Is /usr/src/linux pointing to 2.6.9
-----------quote

i don't think that link is used to locate the sources.
2 weeks ago i installed nvidia-drivers on my pc, with a 2.6.9 kernel. the kernel-sources are in my home-dir, and " /usr/src/linux " still points to the old kernel.

the nvidia driver did install with no problems.

i think the link " /lib/modules/2.6.9/build " or the link " /lib/modules/2.6.9/source" is used.

egag

urka58 12-09-2004 05:10 PM

Nvidia driver 6111 doesn't compile properly with 2.6.9 kernel. I'd suggest you move to the latest 6629 version.
It is not necessary you link "linux" to the kernel sources. Just check your
/lib/modules/2.6.9/build is pointing to the kernel sources of the kernel you have loaded.
Hope this helps
Ciao

Harp00 12-10-2004 11:41 AM

Ok, i made all the links and here they are:

root@Hell:~# ls -l /usr/include/{asm,asm-generic,linux}
lrwxr-xr-x 1 root root 32 Dec 2 10:50 /usr/include/asm -> /usr/src/linux-2.6.9/include/asm
lrwxr-xr-x 1 root root 40 Nov 24 17:07 /usr/include/asm-generic -> /usr/src/linux-2.6.9/include/asm-generic
lrwxr-xr-x 1 root root 34 Dec 10 18:17 /usr/include/linux -> /usr/src/linux-2.6.9/include/linux
root@Hell:~# ls -l /usr/src/linux
lrwxr-xr-x 1 root root 11 Dec 10 18:21 /usr/src/linux -> linux-2.6.9
root@Hell:~#

I am getting the same error.:confused:

I am trying to install the last Nvidia driver: NVIDIA-Linux-x86-1.0-6629-pkg1.run

P.S. Iforgot this link:
ls -l /lib/modules/2.6.9/build
lrwxrwxrwx 1 root root 20 Nov 1 17:58 /lib/modules/2.6.9/build -> /usr/src/linux-2.6.9/

jeffreybluml 12-10-2004 11:57 AM

################Quote##################

P.S. Iforgot this link:
ls -l /lib/modules/2.6.9/build
lrwxrwxrwx 1 root root 20 Nov 1 17:58 /lib/modules/2.6.9/build -> /usr/src/linux-2.6.9/

######################################

Perhaps this link should point to /usr/src/linux-2.6.9/build

rather than just /usr/src/linux-2.69

Just a thought...


All times are GMT -5. The time now is 03:06 AM.