LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Slackware 9.1 w/ 2.6.2 kernel & nvidia drivers - need assistance (https://www.linuxquestions.org/questions/linux-hardware-18/slackware-9-1-w-2-6-2-kernel-and-nvidia-drivers-need-assistance-144655/)

r_jensen11 02-10-2004 08:45 PM

Slackware 9.1 w/ 2.6.2 kernel & nvidia drivers - need assistance
 
When I try installing with nvidia's installer, I get this error, and cannot proceed:

/lib/modules/2.6.2/build/include/linux/modversions.h

I looked through mz 2.4.22 directories to see if the file existed for that version, and it doesn't, so I can't copy it over. I tried 2.6.1 before I thought perhaps 2.6.2 might fix the problem. If anyoune can help, it'd be greatly appreciated.

DrOzz 02-10-2004 08:49 PM

http://www.nvnews.net/vbulletin/show...t=kernel+2.6.1

go to that link above, and scroll to post 4 in that thread ...
download and install them drivers ...
i had the exact same problem, and these worked like a charm ...

BUT, before you go ahead with that, check and see if you compiled that option into your kernel that is also specified in that thread ..

r_jensen11 02-10-2004 09:12 PM

Drozz, are you talking about this post:?

http://www.sh.nu/download/nvidia/linux-2.6/

If not, try this:

1. Shut down your X and do

2. CC="gcc32" sh <NV driver.run> --add-this-kernel
(this will create the package based on your kernel). Now do

3. CC="gcc32" sh <NV driver-custom.run>
(it should install the driver, but I'm not 100% sure it will heh)

If you are, I tried the --add-this-kernel (Don't really know what to do with that command, if it's for --add * or what, I don't believe --add was a working flag, and I tried changing the paths to the kernels, but that didn't work)

I flipped through that thread, and now I'm reconfiguring my kernel with Y for module versioning. I really hope this solves the problem, because if it doesn't, I don't know what I'll end up doing.

Oh, I'm trying to use *blah*1.run if that helps at all....

DrOzz 02-10-2004 09:20 PM

i don't need to try anything, i already figured it out a while ago ;-)

i was telling you i had the problem, and i told you to look at that stuff i linked for you could figure it out :p

r_jensen11 02-10-2004 09:29 PM

could somebody please tell me, an idiot, what I should do for replacement of --add-this-kernel ? do I just go --linux-2.6.2? Or --2.6.2 ?

apepost 02-11-2004 09:05 AM

--add-this-kernel only means --add-this-kernel so you should write --add-this-kernel.

Howewer i don't think doing so will help

vinay_s_s 02-11-2004 09:35 AM

http://www.minion.de

This is the solution for all nvidia 2.6 problems !!!

r_jensen11 02-11-2004 05:30 PM

Okay, I did the second part for minion since I didn't install the drivers before, and here's my log:

Code:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Feb 11 17:20:38 2004

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    : false
  no questions            : false
  silent                  : false
  XFree86 install prefix  : /usr/X11R6
  OpenGL install prefix  : /usr
  Installer install prefix: /usr
  kernel source path      : (not specified)
  kernel install path    : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

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.2/build'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
  executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
  executing: 'cd ./usr/src/nv; make nvidia.ko SYSSRC=/lib/modules/2.6.2/build'
  ...
  make: *** No rule to make target `nvidia.ko'.  Stop.
-> 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.

Is there some nvidia driver that I'm supposed to install when I configure my kernel or what? I found one for apg, perhaps I'll try that. If anyone could shed some light, I'd be very happy.

r_jensen11 02-11-2004 07:40 PM

I got it! Here's what I did, in case anyone else comes across the same problem:

I followed section 2 for installing via minion's website, until it gave the last command, and then I did the following:

#CC="gcc32" sh NVIDIA-Linux-x86-1.0-5328-pkg1/nvidia-installer --add-this-kernel
#NVIDIA-Linux-x86-1.0-5328-pkg1/nvidia-installer

Ahh, it's nice having a screen saver for things like the rotating stairs, where it goes 15fps instead of 1.5fps....


All times are GMT -5. The time now is 09:10 AM.