Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-03-02, 04:49 PM   #1
rakerzZz
Guest
 
Posts: n/a
Default Debian 3.0 / NVidia 2960

I've recently installed Debian 3.0 and I'm now trying ot get the 3d Accellerated NVidia drivers to install. I downloaded the tarballs, extracted them, and when I try to "make" inside the NVIDIA_kernel folder, I get a "nv.c:22: linux/modversions.h: No such file or directory" message. Before when I got this, I tried installing the kernel sources. This fixed this error, but brought up another. (I reinstalled last night.) I'm wondering if there is a way to get this to work hopefully without recompiling my kernel. Thanks in advance for help.
  Reply With Quote
Old 08-03-02, 04:54 PM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

Find out what kernel version you are using, using: uname -r.

Then download the kernel headers: apt-get install kernel-headers-(kernel version)

Then in the end make a symlink /usr/src/linux pointing to /usr/src/kernel-headers-(kernel-version) after that compile the module and it will work fine.
Thunderbird is offline   Reply With Quote
Old 08-03-02, 06:29 PM   #3
rakerzZz
Guest
 
Posts: n/a
Default

Im using kernel 2.4.18 I installed the kernel source. Is the kernel source different then the kernel headers?
  Reply With Quote
Old 08-03-02, 06:59 PM   #4
vforge37
Guest
 
Posts: n/a
Default Yep, big difference

The kernel source package is the linux kernel sources for your distribution, AND the precompiled binaries for your kernel


What this does is that when you go to compile a linux hardware driver, it uses those binaries to correctly build your driver for your specific kernel.

The headers on the other hand are just a collection of *.h files that are also needed to compile drivers. Those header files give information to the compiler when compiling your binaries.

So yeah, make sure you have both installed on your system, and that the package version of both the kernel sources and headers are the same as your kernel version.
  Reply With Quote
Old 08-03-02, 09:47 PM   #5
rakerzZz
Guest
 
Posts: n/a
Default

I'm getting the same error now as I did last time (after I recompiled my kernel last time). I installed the headers, and it found the file it was missing before. But now I get:

----------

depmod: *** Unresolved symbols in /lib/modules/2.2.18-bf2.4/kernel/drivers/video/NVdriver

make: *** [package-install] Error 1

-----------

  Reply With Quote
Old 08-04-02, 01:51 AM   #6
vforge37
Guest
 
Posts: n/a
Default

Quote:
Originally posted by rakerzZz
depmod: *** Unresolved symbols in /lib/modules/2.2.18-bf2.4/kernel/drivers/video/NVdriver

Wooooo... hold on a second... you seem to have another kernel (2.2.18-bf2.4) running. Are you sure you're running 2.4.18 here? check to see in lilo.conf if you're booting into a 2.4.18 image, and not an old 2.2.18 kernel.

The Nvidia drivers are built using the 2.4.18 headers and sources, but then you're trying to install them to the running kernel, which is a much older series.

I think that what's happening is that you are running a 2.2.18 kernel, but you've got the kernel-sources and headers for a 2.4.x kernel, so it's not building properly.

Check out your lilo.conf file, and post it if necessary, to find out which kernel you're running!

- Fred
  Reply With Quote
Old 08-04-02, 02:33 AM   #7
rakerzZz
Guest
 
Posts: n/a
Default

er, no... sorry, I made a typo.

I'm positive I'm running 2.4.18 (the bf version)
  Reply With Quote
Old 08-04-02, 03:40 AM   #8
rakerzZz
Guest
 
Posts: n/a
Default

Ok, I finally got it! Thank you all for trying to help!
  Reply With Quote

Old 08-04-02, 11:18 PM   #9
vforge37
Guest
 
Posts: n/a
Default Just out of curiosity...

Could you let us all know how you fixed it... it could help any one else searching for answers on this forum .

Thanks and Good Luck,

Fred Hernandez
  Reply With Quote
Old 08-08-02, 01:00 AM   #10
rakerzZz
Guest
 
Posts: n/a
Default

I installed the kernel headers for my kernel (apt-get install kernel-headers-2.4.18-bf2.4) and then made a symlink to them in /usr/src (ln -s /usr/src/kernel-headers-2.4.18-bf2.4 /usr/src/linux)
  Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Showcases GPU Breakthroughs at IBC 2012 News Archived News Items 0 09-07-12 11:10 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 09:49 AM
nvidea drivers on 2.4.18 Debian (3.0 woody) thor NVIDIA Linux 2 08-20-02 03:51 PM
NVIDIA 2960 Drivers & RH 7.3 W/2.4.18-5 XASCompuGuy NVIDIA Linux 6 08-02-02 12:53 PM

All times are GMT -5. The time now is 08:18 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.