LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-28-2006, 09:50 AM   #1
gbowden
Member
 
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1 64bit - multilib
Posts: 146

Rep: Reputation: 27
Question 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
 
Old 11-28-2006, 09:52 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,384

Rep: Reputation: Disabled
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
 
Old 11-28-2006, 10:15 AM   #3
gbowden
Member
 
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1 64bit - multilib
Posts: 146

Original Poster
Rep: Reputation: 27
Red face 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
 
Old 11-28-2006, 11:24 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,384

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Location of kernel source files in 2.6.17-5mdv #1 SMP wyleu Mandriva 3 11-23-2006 06:20 AM
Hyperthread server goes to kernel panic with SMP kernic, boots ok with non SMP kernel abefroman Linux - Kernel 1 09-15-2006 06:43 PM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 08:06 AM
kernel source for 2.6.8-11-amd64-k8-smp sadarax Debian 1 09-21-2005 05:04 PM


All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration