DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just installed the amd64 version of debian and i cant seem to be able to install the nvidia drivers. I got them from nvidia with wget then i tried to install them and it continuously fails with an error involving nvidia.ko any ideas?
Originally posted by pafinator11 I just installed the amd64 version of debian and i cant seem to be able to install the nvidia drivers. I got them from nvidia with wget then i tried to install them and it continuously fails with an error involving nvidia.ko any ideas?
The nvidia installer installs the modules under /usr/X11R6/lib64/ instead of /usr/X11R6/lib like Debian X expects to find them. You may want to use the --uninstall option with the installer you got from the nvidia website to uninstall it then follow this guide I used (well mostly I always compile my own kernel & headers just to have the entire source tree if needed) from the debian-amd64@lists.debian.org mailing list.
Code:
Debian amd64 nvidia howto
===================
Make sure the following are in /etc/apt/sources.list:
deb http://amd64.debian.net/debian-amd64 stable main non-free contrib
deb http://amd64.debian.net/debian-amd64 unstable main non-free contrib
Make sure you've got all the kernel sources - all these are needed as
they have symbolic links in them.
$ apt-get install kernel-kbuild-2.6-3
kernel-headers-2.6.8-11-amd64-generic kernel-headers-2.6.8-11
nvidia-kernel-source nvidia-kernel-common
Get the module assistant:
$ apt-get module-assistant
Set up the appropriate kernel sources ready for the module assistant:
$ m-a -i prepare
Build the kernel module:
$ m-a a-i -i -t -f nvidia-kernel
Now get the other packages needed for getting the nvidia drivers working:
$ apt-get install nvidia-glx nvidia-glx-dev
If you haven't got xfree86 installed, install it:
$ apt-get install xserver-xfree86
Otherwise, reconfigure it:
$ dpkg-reconfigure xserver-xfree86
Select 'nvidia' for the driver when prompted. Enter whatever you want
for the card name, and just press 'return' for the Bus Identifier and
for amount of RAM.
All other options depend on what you want. Best bet is to select
'simple' for the monitor configuration!
Edit: You may want to comment out the unstable line that you put in your sources.list after you install the nvidia related stuff to prevent upgrading all your packages to it.
Just for everyone's reference, I had removed Debian AMD64 from my hard drive before but I have it once again and this time i successfully got the Drivers working. After you install the headers and source for your kernel then you must use the following argument with the installer -k $(uname -r) and it should work perfectly. If your confused, it should look something like this:
I have also a problem with the nvidia driver.
The strange think that I have is that I can install it temporally. If I use the debian way like above described or the nvidia installer everything works well. But after a reboot the xserver can not start.
I have a customized kernel. I had to remove the rivafb modul and added support for smp (dualcore).
The think that I could figure out was that the nvidea.ko is located under /lib/modules/2.6.15/nvidia/nvidia.ko
and also under /lib/modules/2.6.15/kernel/driver/video/nvidia.ko
I have a geforce gt6600 pci express card.
the kernel image and the is under /usr/src/
and I have also a symlink to it called linux....
the things I have seen in /var/log/messages which I think could be the root of the problem are
Feb 14 19:17:55 eckzahn kernel: nvidia: module license 'NVIDIA' taints kernel.
Feb 14 19:17:55 eckzahn kernel: nvidia: Unknown symbol register_ioctl32_conversion
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.