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.
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 RH9.0 in a PIII 900MHz machine with a kernel 2.4.22.
I am installing a module for toshiba satellite 3000 laptop to read the CPU state and temperature.
That module it is " tonetosh3k-0.1" which produce the files
I did it onetime after compiled the kernel and it worked fine with the CPU speedstep control. One day, I donīt know why the speedstep feature disappeared (with the file /proc/toshiba3k/cpu ).
So I tied to recompile the module but the compiler give me several error with the first one which is refered to modversions.h which doesnī t find:
gcc -D__KERNEL__ -O2 -Wall -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -fno-common -DCONFIG_TOSH3k_SPEEDSTEP -I/lib/modules/`uname -r`/build/include -D_LINUX -DMODULE -DMODVERSIONS -include /lib/modules/`uname -r`/build/include/linux/modversions.h -DTOSH3k_VERSION='"0.1.1 Wed Aug 7 15:04:20 CEST 2002"' -c -o tosh3k.o tosh3k.c
<command line>:137890687:2952: /lib/modules/2.4.22martino25aug2003/build/include/linux/modversions.h: No such file or directory
In file included from /lib/modules/2.4.22martino25aug2003/build/include/linux/config.h:4,
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
Should modversions.h be present?
It is possible it was erased by strange suddenly shudtown of the system (I donīt know why I that)?