LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel source for linux-smp-2.6.17.13? (http://www.linuxquestions.org/questions/slackware-14/kernel-source-for-linux-smp-2-6-17-13-a-505561/)

gbowden 11-28-2006 09:50 AM

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

Will it be on the source CD's?

Regards,

Gregory Bowden

Alien Bob 11-28-2006 09:52 AM

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

Eric

gbowden 11-28-2006 10:15 AM

Thanks
 
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 2.6.17.13?

Regards,

Greg

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: http://www.linuxquestions.org/questi...62#post2451662

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

Quote:

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

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

Following Pat's instructions from the README, copy the SMP config file:
cd /usr/src/linux-2.6.17.13
cp /boot/config-generic-smp-2.6.17.13 ./.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 "2.6.17.13"

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 "2.6.17.13-smp"

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 2.6.17.13 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.

Eric


All times are GMT -5. The time now is 09:06 AM.