Problem with kernel
Hi everybody!!
I am new under Linux. I had 1 problem to insert modules in the kernel with the command insmod: insmod:error inserting /lib/modules/2.6.4-52default/dsr//linkcache.ko > : -1 Unknown symbol in module Someone tells me that there are probably a number of causes for this problem. The most likely is that I have compiled the kernel module against kernel source code that does not match my running kernel. Hence the "Unknown symbol" message. Since I just begin with Linux, I don't know the different steps to do in order to resolve my problem following the above advices. Thank you in advance. Pierre |
Hello
You can try upgrading your kernel and compile the option you need into the kernel, not as a module. |
Kernel problem
Thank you for your help but I am a newbie and I dont know how to make this:
-Choice of the kernel version -Compile the option I need into the kernel Thank you in advance. |
Hello
If you don't need a particullar version of the kernel, you can safely go for the latest one which is 2.6.12.3. Try downloading it from http://www.kernel.org. If you know exactly which option you need just say Y instead of M when you get there. More details can be found at http://www.kickino.org/kernel-projec...rade_howto.pdf and in the README which you will find after unpacking the kernel tarball. |
The thing which you are compiling as a module when you run
make menuconfig Just change it into a "*" which would compile it into the kernel ./thanks ilaiy |
Problem kernel
Hello,
I want to upgrade my kernel with the version 2.6.12.3 but in menuconfig i dont know what option to choose in order to compile my new kernel with the module wanted |
Which driver do you want to include?
|
problem kernel
In fact, some people tells me I ave to compile a new kernel with the module in order to avoid this error when i want to set up a routing algorithm:
insmod:error inserting /lib/modules/2.6.4-52default/dsr//linkcache.ko > : -1 Unknown symbol in module |
You can try compiling it into the kernel, but if you absolutely have to use a module just check it as a module and try to load it after your kernel has compiled. (The error may happen beacause you have an old kernel)
|
The problem is likely becuase you compiled the module using old kernel sources. Is this a module you downloaded from the internet?
If so, make sure the symbolic link usr/src/linux points to the directory with the current kernel sources. run Code:
ls -l /usr/src/linux If you didn't download this module from the internet, but it was instead compiled with your kernel (or came with your distro install) do the same version check, and if they are the same do Code:
cd /usr/src/linux Code:
modprobe linkcache |
All times are GMT -5. The time now is 01:27 PM. |