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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-05-02, 11:08 PM   #1
Prodigy
Guest
 
Posts: n/a
Default Debian + Nvidia drivers, bad compilation

Sorry to bring this thread up again, but I still haven't found the soluton to the problem.

I've had Nvidia's drivers working flawlessly in other distro's (except Suse),
and I just tried installing them in Libranet (Debian). I downloaded the tarballs, and
tried compiling them, but "make" gives an error that
"nv.c:22: linux/modversions.h: No such file or directory". I've donwloaded
the kernel-headers, and installed those, and then copied the linux dir into
/usr/src but now it gives an error that it can't find NVdriver.
GLX seems to install fine, but I still need to have the kernel installed.
Anyone know what's wrong, or had the same problem, have fixed this,
or is there a different driver to download?

Thanks in advance!


Vlado
  Reply With Quote
Old 08-05-02, 11:30 PM   #2
mtrr
Registered User
 
Join Date: Jul 2002
Location: Germany
Posts: 234
Send a message via ICQ to mtrr
Default

you have to _configure_ you kernel at least once

I'll check if I still have a detailed debian procedure.

CU
mtrr is offline   Reply With Quote
Old 08-05-02, 11:55 PM   #3
Prodigy
Guest
 
Posts: n/a
Default awesome!

Very awesome! Thanks very much


Vlado
  Reply With Quote
Old 08-06-02, 11:23 AM   #4
mtrr
Registered User
 
Join Date: Jul 2002
Location: Germany
Posts: 234
Send a message via ICQ to mtrr
Default

found it, it's from a post in the past (very poetic )

if you don't use xfs from sgi, forget about that specific patch.

btw: worked for me

HTH
mtrr is offline   Reply With Quote
Old 08-06-02, 12:20 PM   #5
Prodigy
Guest
 
Posts: n/a
Default hey

I don't quite understand what needs to be done though lol. Please post the link to the previous post or whatever if they explained in detail how to compile it

Once again, thanks for the reply
  Reply With Quote
Old 08-06-02, 12:54 PM   #6
mtrr
Registered User
 
Join Date: Jul 2002
Location: Germany
Posts: 234
Send a message via ICQ to mtrr
Default

argh, fat fingers!

found that some months ago on the old forum, here you go:


get the kernel source and make your own kernel.
apt-get install kernel-source-2.4.18 kernel-package nvidia-kernel-src nvidia-glx-src kernel-patch-xfs

cd /usr/src
tar xvjf kernel-source-2.4.18.tar.bz2
tar xvzf nvidia-kernel-src.tar.gz
ln -s kernel-source-2.4.18 linux

cd linux
cp /boot/config-2.4.18-bf?? .config (to get the same conf as your running kernel)

export PATCH_THE_KERNEL=YES (to apply the XFS patch during make-kpkg)
make-kpkg --config=xconfig --revision=custom.1 kernel_image (--config is optional)
make-kpkg modules_image

cd ../nvidia-glx-version
dpkg-buildpackage -us -uc

dpkg -i packages generated in /usr/src

update lilo or grub and reboot

as you see kernel compilation is easy with debian as it is integrated with package management.

read /usr/doc/nvidia-*-src/README.Debian



-----------

can't remember the original poster
mtrr is offline   Reply With Quote
Old 08-06-02, 12:59 PM   #7
Prodigy
Guest
 
Posts: n/a
Default awesome!

Hooray!

Once again, thanks for the quick reply! I'll get to recompiling the kernel right away, so I'll post back any results/screwups


Vlado
  Reply With Quote
Old 08-06-02, 02:22 PM   #8
Prodigy
Guest
 
Posts: n/a
Default trouble

Hmm...everything went by smoothly, but I don't know how to update grub. I've looked thru the man file and the info file, but it all looks like a bunch of gibberish to me. Is there a single command that I can just execute in order to automatically update?
  Reply With Quote

Old 08-06-02, 02:27 PM   #9
mtrr
Registered User
 
Join Date: Jul 2002
Location: Germany
Posts: 234
Send a message via ICQ to mtrr
Default

is grub your boot-loader? if yes, then you're lucky.
way more comfortable than lilo

cheers

ps: seems that my ICQ-client is feeling better now....shall we give it another shot?

Last edited by mtrr; 08-06-02 at 02:29 PM.
mtrr is offline   Reply With Quote
Old 08-06-02, 03:13 PM   #10
Prodigy
Guest
 
Posts: n/a
Default yep

Sounds good, Just look my number undr my profile. I would suggest using GnomeICU or KXicq. I've had crap and nothing else from Licq, for some damn reason half the messages never got thru, but with Gnomeicu, and kxicq they both had no problems :P

If you're at work or whatever right now and can't use icq, then post the grub re-configuration here.

thanks once more
  Reply With Quote
Old 08-07-02, 09:53 PM   #11
raistlinneo
Guest
 
Posts: n/a
Default

Hey mtrr, I was having the same problem, and i tried doing what you said in the above post, but it wont install the new kernel, no matter what i do. even if i put it in lilo manually, it says its too big. am i doing something wrong?
  Reply With Quote
Old 08-14-02, 06:39 PM   #12
Prodigy
Guest
 
Posts: n/a
Default

Hey again mtrr, I've done a clean re-install of the system since my kernel compilation killed my sound and network modules, so I'd like to know whether the instructions above will include them as well, or if it'll just recompile the kernel with the nvidia modules?


Vlado
  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
New Nvidia GeForce 310.54 Beta Drivers are Now Available News Archived News Items 0 11-12-12 07:20 PM
vdpau issues with openSUSE 12.2 x86_64 and nvidia 304.43 drivers frispete NVIDIA Linux 0 09-29-12 05:41 PM
NVIDIA Drivers Receive Windows 8 Certification News Archived News Items 0 06-01-12 06:30 AM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 09:49 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 10:31 PM

All times are GMT -5. The time now is 12:53 PM.


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