[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Kernel headers problem



Thanks for the help. I did this then built the module. When trying to load it I got the message that I was running 2.4.18-18-8.0smp and the module was built for 2.4.18-18-8.0. So I modified the Makefile and changed the line from EXTRAVERSION = -18.8.0 to -18.8.0smp, and did the make oldconfig and then make dep. Now the module loads but I still get a message about "tainting" the kernel. Just what does "tainting" the kernel mean?

Should I not have put the smp at the end of the extraversion string?

On Monday, December 2, 2002, at 08:42 AM, Jim Hayward wrote:

On Mon, 2002-12-02 at 07:30, Dale Satterfield wrote:

One item that no seems to refer to in my posts that I would like
addressed, is that I used to be able to get a CD distributin from
Redhat, and the installed headers matched the installed kernel.
 Everything from the default install was at the same level. That no
longer seems to be the case. Is this not a rational expectation ?


Before (several Red Hat releases ago. I don't recall the exact version
that this changed) /usr/include/linux and /usr/include/asm were symlinks
to the kernel source. When it was this way you were compiling every
program against whatever kernel source you happened to have installed.
This was incorrect. This is why the glibc-kernheaders package was
added. These are the kernel headers that glibc is compiled against. Now
any program you compile uses these headers. However kernel modules must
be built against the kernel source. This is the reason for
/lib/modules/<kernel-version>/build symlink was added.


I haven't tried remaking the mdoule yet as the makeile died. Do you have
any more suggestions of how to fix this? Thanks for the help.



Oops, I forgot something. :-P


After you copy the kernel config: make oldconfig
Then you can do: make dep

Regards,
	Jim H




_______________________________________________ Redhat-install-list mailing list Redhat-install-list redhat com https://listman.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request redhat com Subject: unsubscribe






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]