[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Kernel Headers?
- From: Dale Satterfield <dales dsq950 com>
- To: redhat-install-list redhat com
- Subject: Kernel Headers?
- Date: Sun, 1 Dec 2002 12:29:39 -0800
I have installed Redhat 8.0 professional, which installs a 2.4.18-14
kernel version. The file linux/module.h includes linux/version.h. This
file says its version is 2.4.9-9. This is NOT consistent with the
version of kernel that actually gets installed. Shouldn't it ????????
Installing the kernel source package does not resolve this. The glibc
header package was installed and did nothing to this. Going on to the
redhat network and looking at the 8.0 channel, there is NO
kernel-headers package available.
I am trying to go through the examples of the book Linux device
drivers, second edition. So I would like a standard install to not
cause all sorts of version and header not found problems before I even
get to writing the driver I want to do. In those examples he also
includes a file $(KERNELDIR)/.config. The period before the config is
not a typo on my part. I have searched for this file and it doesn't
exist.
So, commenting out the include, and using a make file with KERNELDIR
defined as /usr/src/linux-2.4, I can get the module to compile, but
insmod says that loading the module will "taint" the kernel.
It loads and prints the Hello world message to the log, and I can
remove it and nothing appears to break, but should I have some other
package with the right headers in /usr/src/linux?
Note that I also eventually went to the redhat network and upgraded my
kernel to 2.4.18-18.8.0smp, and got the sources for it. Nothing
changed with respect to /usr/src/linux and the 2.4.9 crap.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]