Help answer threads with 0 replies.
Go Back > Linux Answers > Applications / GUI / Multimedia
User Name


By Maladjez at 2007-03-26 17:53
Note: orders are marked with ''. I used the kernel version implemented in my OpenSuse 10.2 distribution. You'll have to change the directory names to your kernel.

1. Kernel Configuration

Login as root on the (bash) shell.

First "clone" the config file of the kernel in use to make clear that the system will keep working with this original kernel:

'zcat /proc/config.gz > .config'

then a new kernel directory has to be created:

'cd /usr/src'
'mv linux- linux-'
'cd linux-'

Next the kernel configuration has to be changed via
'make xconfig' (or 'make menueconfig')

Change the PEEMPT and SMP settings:

Processor type and features --->
Preemption Mode (Complete Preemption (Real-Time)) --->
(x) No Forced Preemption (Server)
( ) Voluntary Kernel Preemption (Desktop)
( ) Preemptible Kernel (Low-Latency Desktop)
( ) Complete Preemption (Real-Time)

[ ] Symmetric multi-processing support

Keep the other settings as they are ...

First "save" ant then "Exit" die GUI.

2. Compile and install the new kernel

Now the kernel with the new settings will be compiled and the modules installed:

'make && make modules_install'

This can take a while with this cloned kernel (ca. 35 bis 45min.).

When finished, copy the kernel (see later) to /boot (we use the name defined above). Der original kernel won't be touched, so don't panic! If the boot fails, the old kernel ist still there and can be used in case of trouble with the new kernel.

'cp arch/i386/boot/bzImage /boot/vmlinuz-'
'cp /boot/'

A initrd is also needed:

'cd /boot'
'mkinitrd -k vmlinuz- -i initrd-'

3. Manipulating the bootloader

At least a setting is added to the bootloader, here GRUB:

'vi /boot/grub/menu.lst', oder (bash) or open the file with kwrite under KDE.

We'll have to copy and edit the area of the old kernel to the new kernel und initrd:

###New kernel cloned from the original kernel, new name: linux-
title openSUSE 10.2 -- nopreemptsmp
root (hd0,3)
kernel /boot/vmlinuz- root=/dev/sda2 vga=0x317 resume=/dev/sda2 splash=silent showopts
initrd /boot/initrd--

Note: customize this to your system and do not copy&paste it without control!

4. End

With YAST (if you use OpenSuse) you may start with this new kernel as "Default", ant then:

pray & boot :-))

used source:
(with own adjustments to our needs)

5. Author

This HowTo was made by Maladjez. It can be used for free, but the author grants no warranty. You can use it on your own risk.

Please do not modify this without my permission!

by kiri on Wed, 2007-03-28 08:57
i dont this you are giveing a apt configuration !


All times are GMT -5. The time now is 01:26 PM.

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