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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Rep:
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.
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
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322
Rep:
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
uname -r
These should give you the same version number. If not, that is your problem. Change the symbolic link to point to your kernel sources (I can't remember the command line switches for that...anyone else?), and then recompile the module.
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
make clean
make modules
make modules_install
this should recompile your modules and recopy them to the appropriate directory. Now try to load the module (use modprobe instead of insmod).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.