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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-01-03, 09:25 AM   #1
Mallec
Registered User
 
Join Date: Aug 2003
Posts: 19
Default Debian

Hi Friends!

I installed recently the Debian (bf2.4 flavor) linux in my system. So to install the nvidia driver I, beforehand, installed the kernel-sources package with the command "apt-get install kernel-source-2.4.18". Afther that I noted that the kernel sources was installed in a tar file in the /usr/src directory, so I unpacked it with the "tar -xvjf kernel-source-2.4.18.tar.bz2" command. Then I tried to install the driver using the --kernel-include-path pointing to the /usr/src/kernel-source-2.4.18/include directory but it was unable to install the driver because one file called modversions.h

So, I included the nvidia install log file. Thanks in advance.
Attached Files
File Type: log nvidia-installer.log (2.0 KB, 135 views)
Mallec is offline   Reply With Quote
Old 09-01-03, 10:48 AM   #2
Max3D
Quadro2 Pro
 
Join Date: Jul 2002
Posts: 28
Default

go into that kernel source dir and:
make menuconfig (exit, save changes), then:
make dep,
make clean,
(see if that creates the modversions.h file), if it dont, do a:
make bzImage, that should do it for ya, been using debian here for a few years, seems the nvidia driver installer needs a built kernel everytime cause there is no .debs from nvidia for pre-built kernels.

try

make install SYSINCLUDE=/usr/src/kernel-source-2.4.18/include
from the NVIDIA_kernel... dir also.

Last edited by Max3D; 09-01-03 at 10:53 AM.
Max3D is offline   Reply With Quote
Old 09-01-03, 01:30 PM   #3
Mallec
Registered User
 
Join Date: Aug 2003
Posts: 19
Default kernel headers

It seems that it resolved only part of the problem. Now the installer said that the headers are of another version than that of my system. What I must do now?
Attached Files
File Type: log nvidia-installer.log (4.8 KB, 113 views)
Mallec is offline   Reply With Quote
Old 09-01-03, 02:29 PM   #4
Max3D
Quadro2 Pro
 
Join Date: Jul 2002
Posts: 28
Default

Ok, sorry didnt work out for u first time, I see why now, your kernel sources are not bf like the debian kernel your currently booted up to

do this:

cd /usr/src
ln -s kernel-source-2.4.18 linux
cd linux
make mrproper
vi Makefile

notice at top, should be like this:
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 18
EXTRAVERSION = -bf2.4

save Makefile and exit vi.

make
menuconfig,
dep,
clean,
bzImage.

make install SYSINCLUDE=/usr/src/linux/include
from the NVIDIA_kernel... dir.

this help?
Max3D is offline   Reply With Quote
Old 09-01-03, 03:23 PM   #5
Mallec
Registered User
 
Join Date: Aug 2003
Posts: 19
Default not worked

Not worked. I think it produced the same error.
Attached Files
File Type: log nvidia-installer.log (9.2 KB, 113 views)
Mallec is offline   Reply With Quote
Old 09-01-03, 04:22 PM   #6
Max3D
Quadro2 Pro
 
Join Date: Jul 2002
Posts: 28
Default

ah well, time to build your own kernel then bootup to it before running the nvidia installer again, hope you've done this before and know your hardware?

BTW: leave all AGP OUT of kernel and let the nvidia video drivers take care of that.

some things you should do first

dpkg -l|grep kernel

apt-get remove any kernel header packages as they wont be needed when you build your own.

Last edited by Max3D; 09-01-03 at 04:33 PM.
Max3D is offline   Reply With Quote
Old 09-02-03, 12:35 PM   #7
doughrama
Registered User
 
Join Date: Sep 2003
Posts: 1
Thumbs up resolved

I was having the exact same issue. And was able to fix it last night.

I started out with a cd install woody and imediately upgraded to 2.4.20.

In any case I kernel compile was necessary, but once that was done I was set.

Thanks for keeping such detailed posts. Helped me a lot.
doughrama is offline   Reply With Quote
Old 09-02-03, 05:05 PM   #8
Mallec
Registered User
 
Join Date: Aug 2003
Posts: 19
Default Resolved, but...

I recompiled the kernel using make-kpkg to create a .deb file (It's the only way that I know). So the driver works now. But, after I recompiled the kernel the system doesn't shutdown automatically neither permits to install UnrealTournament 2003 (It ask to put the cdrom, when I put the cd, it mount and umount the device but not go on)
Mallec is offline   Reply With Quote

Old 09-04-03, 05:07 PM   #9
Max3D
Quadro2 Pro
 
Join Date: Jul 2002
Posts: 28
Default Re: Resolved, but...

Quote:
Originally posted by Mallec
after I recompiled the kernel the system doesn't shutdown automatically
This because you do not have standard APM built in kernel and apmd not running as a service, this a good one to have for X also so your monitor can enter some power save modes...etc
Max3D is offline   Reply With Quote
Old 09-04-03, 10:10 PM   #10
Mallec
Registered User
 
Join Date: Aug 2003
Posts: 19
Default apm

So, what I must do?
Mallec is offline   Reply With Quote
Old 09-05-03, 04:11 AM   #11
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

You need to configure your kernel to include support for APM (Advanced Power Management). As an aside, make menuconfig won't configure an unconfigured source tree such that it matches the configuration of the running kernel, it will configure it with the default configuration. The configuration file for the running kernel needs to be used to properly configure unconfigured source trees; Debian GNU/Linux typically installs the configuration file for a given kernel in /boot.
zander is offline   Reply With Quote
Old 09-05-03, 10:52 PM   #12
Mallec
Registered User
 
Join Date: Aug 2003
Posts: 19
Default APM

Well, when I configured the new kernel i put the APM and the running kernel shutsdown perfectly. So, what must be done in this case?
Mallec is offline   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
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
Problems with a GeForce4 MX 440 under Debian Iainuki NVIDIA Linux 1 09-24-02 09:27 PM
Riva TNT 2 - Debian (Woody) chipset problem sindra NVIDIA Linux 4 08-26-02 03:21 AM
nvidea drivers on 2.4.18 Debian (3.0 woody) thor NVIDIA Linux 2 08-20-02 02:51 PM

All times are GMT -5. The time now is 07:42 PM.


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