Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
I have a very terrible problem. I have an Athlon XP processor and an Asus A7N266 MB with GForce AGP integrated card. I have installed NVIDIA drivers, and they work beautifully.
PROBLEM :
I have recently compiled a custom minimal kernel for my system, and tried to use the nvidia drivers. But I didn't know how to do it, and when the system booted in the custom kernel, it said that it does not recognize the AGP card, and selected the generic GForce card. So, I installed the NVIDIA drivers for this kernel. It informed me that a previous installation was found and it has uninstalled it. Now, the XWindow work in the custom kernel, but not in the default kernel. HOW can we make both the kernels use the same drivers, or atleast how to make both the kernels work with X???
if you have different kernels, it is pretty inprobable, that a module (that is compiled against one of the kernels) will work for both. in some cases it will, in other it wont.
if you have problems with AGP, you obviously forgot to compile (or load) the appropriate kernel module. remake your kernel to support agpgart as a module, so your kernelimage will still be minimal but you still have full functionality. anyway, compile everything as a module and your kernel just gets smaller and smaller :-)
I don't think you guys get my problem. The drivers work fine for the kernel they are installed, but how to install the drivers such that it works for both the default kernel and the custom-built kernel??
If I install it on the cutom kernel, then it uninstalls from the default kernel and vice versa. What do I have to do to install it on both the kernels???
How different are your kernels? Are these 2 separate versions, or the same version with other options enabled?
If the kernel is the same version there is only 1 module library for kernel modules (just like your nvidia driver is a kernel module too) and that is /lib/modules/<kernelversion>/kernel/drivers/video/ in this case the driver is installed for "both" kernels. if it doesnt work, it is, just as I said above, because the driver was built against a kernel that is not fully -say- compatible to the other kernel. so ONE driver it will never work with 2 different kernels.
if you have 2 different kernel versions, then you have to install the drivers for both kernel versions separately: this is done by installing the driver for the first kernel, then reboot and install the driver for the custom kernel. but this only works if the kernels have differrent version!!!
you may also try to define yourself a different driver path for both kernels, but i am not sure that will ever work.
Both the kernels have different versions, and so I thought that when I install it separately, they will work fine. But the problem is that when I install the driver for the custom kernel, it says that it already found a previous install in so and so, and it will uninstall the previous install. How to turn this off???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.