Convert the kernel source to no-smp

Back in the days of Slackware 12.2 I used the generic nosmp kernel with my old laptop. I used the patch from /extra/linux-2.6.27.7-nosmp-sdk/ to switch the kernel source from SMP to non-SMP. All went well until the kernel was upgraded with the rest to 2.6.27.31 and the patch stopped working. Therefore I googled around and solved the problem by using the .config file of the running generic nosmp kernel.

Since my old laptop is still in use, I will post this here just in case as a future reference:

cd /usr/src/linux-2.6.27.31
make clean
make mrproper
cd /lib/modules/2.6.27.31
ln -s /usr/src/linux-2.6.27.31 build
cd /usr/src/linux-2.6.27.31
make mrproper
cp /boot/config-generic-2.6.27.31 .config
make oldconfig
make prepare
make scripts

REBOOT!



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s