Welcome to the Linux Foundation Forum!
Invalid module format
in Installation
I have googled this and found a thousand answers, but none of them seem to answer my problem.
I have been using the distro kernels (Mandriva), but needed to install a current kernel directly from kernel.org.
When doing a modprobe on some modules I get this error.
This error usually means that one thing is using a different version, but I can't find where that is happening.
I have a lot of kernels installed, but while the distro kernels don't give me that error, any kernel I install from source from Kernel.org, I get the error on a few modules.
Wayne Sallee
[email protected]
0
Comments
I'm a kernel noob, so, what I'm telling you is just an assumption of what you did wrong. Maybe check out the steps you took to build the kernel, and see if you left something out.
It makes no differeence whether I use the old config, or a fresh config.
The problem is that when an attempt to install the module is made, that I get the error.
Wayne Sallee
[email protected]
Wayne Sallee
[email protected]
now to give you what you need, to get the modules used in the stock mandriva kernel installed in a new vanilla kernel you can do the following:
#Boot into a stock kernel
# copy the running kernel config into the new kernel directory
zcat /proc/config.gz>/usr/src/linux-??????/
cd /usr/src/linux-??????
# Run the configure command to customize the kernel
# Run the make and install commands to build the kernel and output the necessary files
Wayne Sallee
[email protected]
Now for the step I gave you, they came from a guide that I have used many times to build a stock kernel in slackware, I hope that they can help you. http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding
And here are two guide to build a kernel on Mandriva.
http://wiki.mandriva.com/en/Docs/Howto/Mandriva_Kernels
http://www.howtoforge.com/kernel_compilation_mandriva
Wayne Sallee
[email protected]
It's almost 2 years later, and I still have the same issues. I've started reading http://www.tldp.org/HOWTO/Module-HOWTO/index.html . I have not gotten very far yet.
Wayne Sallee
[email protected]
My mind is on too many things these days.
Wayne Sallee
[email protected]