LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-18-2010, 05:26 PM   #1
NULL Pointer
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
Compiling kernel sources that come with Slackware


I want to compile a kernel to add a few options that are not enabled in the huge-smp-2.6.29.6 that comes with slackware. specifically, i want to add TASK_DELAY_ACCT and TASK_IO_ACCOUNTING so that I can use iotop.

I just want to add those 2 options to the new kernel, everything else I'd like to keep the way it is as the system has been running just fine. Will running 'make menuconfig' in /usr/src/linux default to the options that are used in the stock kernel?
 
Old 04-18-2010, 06:47 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 229Reputation: 229Reputation: 229
if you copy the /boot/config (should be a symlink to your running kernel config) to /usr/src/linux/.config then run "make oldconfig"

After that you can run "make menuconfig" and proceed as normal.
 
1 members found this post helpful.
Old 04-18-2010, 07:05 PM   #3
cellodude
LQ Newbie
 
Registered: Jul 2009
Location: Malaysia
Distribution: Slackware 14.1 (3.10.17)
Posts: 14

Rep: Reputation: 0
Just an FYI. Another way to get the config of the running kernel is to do

zcat /proc/config.gz > /usr/src/linux/.config

Regards,

DL
 
1 members found this post helpful.
Old 04-19-2010, 09:35 PM   #4
NULL Pointer
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

Excellent. Thanks.
 
  


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
Compiling Kernel Module with multiple sources steve_austin Programming 4 03-26-2009 12:11 PM
updating kernel using yum and compiling it`s sources Ruald Linux - Newbie 3 05-01-2006 05:22 PM
compiling kernel sources joshknape Mandriva 17 09-16-2005 08:33 PM
Compiling kernel from vanilla sources - suse 9.2 lukas_svoboda SUSE / openSUSE 11 03-26-2005 07:18 AM
compiling slackware from sources kkmic Slackware 1 07-12-2004 08:01 AM

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

All times are GMT -5. The time now is 07:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration