LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 09-13-2004, 08:46 AM   #1
swinchen
Member
 
Registered: Apr 2004
Location: Maine (USA)
Distribution: Slackware 9.1
Posts: 45

Rep: Reputation: 15
Slackware 10 SMP


Hi All,

I have an SMP machine and would like to recompile the kernel to enable it. Actually that is the only change I want to make to kernel. So can I basically do something like this:


untar the linux kernel source from one of the CD's (Do not use /usr/src/linux because it iw for the kernel headers)

cd to source directory.

make mrproper

make oldconfig

make xconfig

// do the changes

make dep

make bzImage


Does that sound about right? I dont want to have to recompile all the modules or anything.

And how do I handle the initrd/system.map etc.

Thanks,
Sam
 
Old 09-13-2004, 10:17 AM   #2
tmorton
Member
 
Registered: Jan 2003
Location: In front of my computer in Oregon, USA
Distribution: Slackware
Posts: 198

Rep: Reputation: 31
Hi,
What version of the kernel are you using?

Here's what you can do:
untar the kernel source.
Copy the config file from the CD in them kernels/bare.i folder and put it in the Kerenel source directory called .config.

For the 2.6 kernel.
Code:
make oldconfig
make menuconfig
make
For the 2.4 kernel, use:
Code:
make oldconfig
make menuconfig
make deps
make modules
make modules_install
Now, copy the new kernel from arch/i386/boot/bzImage to /boot/kernel-smp

Edit your /etc/lilo.conf to use your new kernel (Make a new entry, and keep the old one incase something goes wrong).

Run the lilo command and reboot!

--
Taj
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10 SMP Error RestricteD Linux - Hardware 1 07-07-2005 08:47 AM
SMP in Slackware 8.0 TotalDefiance Linux - Hardware 1 11-21-2004 10:23 PM
enabling SMP on slackware 10 littleking Slackware 8 08-27-2004 11:30 AM
9.1 Slackware SMP.S? jss Slackware 4 11-30-2003 09:58 AM
SMP on slackware? andy_lee Linux - Hardware 3 01-17-2003 04:22 AM


All times are GMT -5. The time now is 10:03 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration