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- to switch the kernel source from SMP to non-SMP. All went well until the kernel was upgraded with the rest to 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-
make clean
make mrproper
cd /lib/modules/
ln -s /usr/src/linux- build
cd /usr/src/linux-
make mrproper
cp /boot/config-generic- .config
make oldconfig
make prepare
make scripts


Leave a Reply

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

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

Facebook photo

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

Connecting to %s