-   Slackware (
-   -   Kernel source for linux-smp- (

gbowden 11-28-2006 09:50 AM

Kernel source for linux-smp-
Does anyone know where I can find the source for the linux-smp- kernel in the /extra folder on the DVD?

Will it be on the source CD's?


Gregory Bowden

Alien Bob 11-28-2006 09:52 AM

The kernel source is the same as for the kernel - to be found in /extra/source/linux-


gbowden 11-28-2006 10:15 AM

I thought it would be the same source just different .config files.

The problem i'm having is compiling the dazuko kernel module for Clam AV.

The module compiles correctly but when insterting it using modprobe it says unrecognised kernel module format.

I'm not at my Linux box now but that's the gist of the problem.

Has anyone sucessfully compiled dazuko for



Alien Bob 11-28-2006 11:24 AM

Please try if the following post helps you configuring your kernel sources correctly for the SMP kernel you're running:

I will quote the relevant text from that post, for those using search engines:


Originally Posted by agx
I will assume that you have the kernel and modules installed.
Boot into your system.

Log in as root, and install the source package from /extra.

Following Pat's instructions from the README, copy the SMP config file:
cd /usr/src/linux-
cp /boot/config-generic-smp- ./.config

Again following Pat's instructions, re-configure the source for SMP:
make oldconfig

Now, just for laughs, take a look at include/linux/version.h:
cat include/linux/version.h

Notice the first line:
#define UTS_RELEASE ""

That's wrong - it needs updating:
make include/linux/version.h

The output of that last command should be:
CHK include/linux/version.h
UPD include/linux/version.h

Look what happened:
cat include/linux/version.h

Notice the first line:
#define UTS_RELEASE ""

Now that the release version string is correct, the nvidia installer will work. Your module actually compiled OK, it just wouldn't load because of the errant UTS_RELEASE string.

EDIT: You don't need the headers installed. The headers are irrelevant, as the NVidia installer doesn't use them - since it's building a kernel module, it uses the kernel's source code directly. As others here have mentioned, it's a very good idea to keep the 2.4.33 headers in place unless you really know what you're doing.


All times are GMT -5. The time now is 07:18 PM.