LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-10-2004, 08:45 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
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.
 
Old 02-10-2004, 08:49 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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 ..
 
Old 02-10-2004, 09:12 PM   #3
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
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....
 
Old 02-10-2004, 09:20 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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
 
Old 02-10-2004, 09:29 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
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 ?
 
Old 02-11-2004, 09:05 AM   #6
apepost
Member
 
Registered: Oct 2003
Distribution: Fedora core 4
Posts: 113

Rep: Reputation: 15
--add-this-kernel only means --add-this-kernel so you should write --add-this-kernel.

Howewer i don't think doing so will help
 
Old 02-11-2004, 09:35 AM   #7
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
http://www.minion.de

This is the solution for all nvidia 2.6 problems !!!
 
Old 02-11-2004, 05:30 PM   #8
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
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.
 
Old 02-11-2004, 07:40 PM   #9
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
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....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.6.2 Linux NVIDIA hacked drivers (43.xx) Slackware 9.1 problems Dark Carnival Linux - Hardware 3 02-11-2004 01:04 PM
Kernel 2.6.1 & NVIDIA drivers mrt198 Linux - Hardware 0 02-08-2004 12:34 PM
NVIDIA drivers & kernel 2.6.1 [slack9.1] darklogik_org Slackware 4 01-25-2004 12:17 PM
nVIDIA drivers for linux & Slackware 9 zeppelin Slackware 7 07-22-2003 02:29 AM
To all Mandrake8.2 users who need assistance on installing NVIDIA drivers neo77777 Linux - Distributions 0 07-21-2002 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration