Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 compiled downloaded and compiled kernel 2.6.13.1 off of kernel.org, and it compiled without any errors. I needed to compile this kernel to optimize my system and to get the joystick functional. I went through the correct nvidia package installation, and it returned no errors during the installation (I have done this many times before). When I boot, I get a FAIL error saying something about "not being able to load the nvidia.ko driver because it cannot find it." I've gone through many different steps, but it's difficult to find out the exact problem, since the developers did away the the boot logger on FC4.
I'm guessing the following:
-1- The kernel needs to be patched with the patch that's available ( I don't know how to do that).
-2- During the boot, it (what is "it"?) looks in the wrong location or for the old driver.
-3- The nvidia package isn't configured for the 2.6.13.1 kernel
Does anybody have some suggestions and/or advice? I'm not that good at compiling kernels, and I'm very proud that I've actually successfully compiled one - Just need to get the nvidia driver working now.
If it reports the module not found, confirm that the module is not in:
/lib/modules/2.6.13.1/kernel/drivers/video/
If it is not in the directory, then the nvidia build failed. Check /var/log/nvidia-installer.log for errors during the build process, and verify the the build was for the correct kernel.
Last edited by macemoneta; 09-18-2005 at 01:38 PM.
Did you install the nvidia module while running the 2.6.13 kernel? Per the documentaiton, the Nvidia installer by default will build itself against the kernel source found at /lib/modules/`uname -r`/kernel/. This means that you either have to be running the 2.6.13 kernel when you run the installer, OR you must override the kernel version with a switch when you run the installer. Don't remember the switch off the top of my header, but ./NVIDIA-INSTALLER --help will help you find the correct switch.
sh NVIDIA-Linux-x86-1.0-7667-pkg1.run -a -n -K -k 2.6.13.1
Just in case, I did another install from the kernel to apply for. However, I wonder if I need to *undo* everything the installer did, before I re-install using the kernel I want. It did require me to delete the nvidia.ko driver before re-installing. What do you guys think?
I'm still banking on one of the three:
-1- The kernel needs to be patched with the patch that's available ( I don't know how to do that).
-2- During the boot, it (what is "it"?) looks in the wrong location or for the old driver.
-3- The nvidia package isn't configured for the 2.6.13.1 kernel
Keep coming!
Thanks,
moomoomilk
Last edited by MooMooMilk; 09-18-2005 at 02:54 PM.
Hi, I know those instructions work because I performed the same without any errors using the 2.6.13.2 kernel and the Nvidia driver worked correctly - first time on boot. No patches needed. I used the 7667 driver.
The thing in those instructions is that it assumes you will use the SAME Nvidia driver installer for both kernels (the one you are currently running and the one you are compiling.)
Are you using the same nvidia driver? or trying a new one?
Try just re-installing the Nvidia driver like you normally would. Just boot into runlevel 3 (or use <ctrl><alt><f1> or f2,f3,f4). And run the installer. The other thing you can do is decompress the Nvidia installer and install the module that way. But in order to do that you must be booted into the NEW kernel you just compiled and be at the text login.
Curious, did you try 'modinfo -F vermagic' for the nvidia module before you booted into your new kernel?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.