LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Compiling kernel sources that come with Slackware (https://www.linuxquestions.org/questions/slackware-14/compiling-kernel-sources-that-come-with-slackware-802745/)

NULL Pointer 04-18-2010 05:26 PM

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?

mRgOBLIN 04-18-2010 06:47 PM

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.

cellodude 04-18-2010 07:05 PM

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

NULL Pointer 04-19-2010 09:35 PM

Excellent. Thanks.


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