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!
you have to _configure_ you kernel at least once :(
I'll check if I still have a detailed debian procedure.
Very awesome! Thanks very much :)
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
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 :D
Once again, thanks for the reply :)
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
tar xvjf kernel-source-2.4.18.tar.bz2
tar xvzf nvidia-kernel-src.tar.gz
ln -s kernel-source-2.4.18 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)
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.
can't remember the original poster
Once again, thanks for the quick reply! I'll get to recompiling the kernel right away, so I'll post back any results/screwups :D
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?
is grub your boot-loader? if yes, then you're lucky.
way more comfortable than lilo :)
ps: seems that my ICQ-client is feeling better now....shall we give it another shot?
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 :)
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?
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?
|All times are GMT -5. The time now is 08:33 PM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.