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 have a PC running gentoo with a 2.6.11-gentoo-r6 kernel. It all appears to work as it should and I am now trying to get a DVB card running on it.
I have downloaded a video4linux patch that I understand is necessary for this and have applied it to my kernel sources. The patch appears to go OK - no error messages of any kind.
I then do a make menuconfig and set the options required for my DVB card.
I then make and make install, all of which appears to go OK. Point grub to my new kernel and reboot. I now get the following error messages on all my modules
FATAL: Error inserting <path>cx88xx.ko: Invalid module format
My new kernel is called 2.6.11-gentoo-r6-kraxel1
If I do dmesg I see a message saying -
cx88xx: version magic '2.6.11-gentoo-r6' should be '2.6.11-gentoo-r6-kraxel1'
Now I interpret this as meaning that the new kernel is trying to load modules for the old kernel and not the ones I compiled for the new one - and it doesn't like it.
Can anyone tell me if my interpretation is right and where I go to fix the fact that the modules are being pulled from the wrong directory?
OK, good call syg00, I now can use the driver modules I need. Unfortunately X now fails to start reporting an error in /var/log/Xorg.0.log -
(EE) NVIDIA(0): Failed to Initialize the NVIDIA kernel module.
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(EE) Screens found, but none have a usable configuration.
This works fine with my normal kernel, why should the patched kernel have killed it?
Every time I fix one thing I seem to break something else, its very frustrating :-(
You need to reinstall Nvidia when you use a new version of the kernel - it's not a bad idea to get into a routine of re-emerging Nvidia every time you compile a new kernel. . . so see if that fixes it!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.