LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 08:50 AM   #1
gbowden
Member
 
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1 64bit - multilib
Posts: 148

Rep: Reputation: 28
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, 08:52 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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, 09:15 AM   #3
gbowden
Member
 
Registered: Dec 2003
Location: Spain
Distribution: Slackware 14.1 64bit - multilib
Posts: 148

Original Poster
Rep: Reputation: 28
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, 10:24 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

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



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 05:20 AM
Hyperthread server goes to kernel panic with SMP kernic, boots ok with non SMP kernel abefroman Linux - Kernel 1 09-15-2006 05:43 PM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 07:06 AM
kernel source for 2.6.8-11-amd64-k8-smp sadarax Debian 1 09-21-2005 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:03 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
Open Source Consulting | Domain Registration