Convert the kernel source to no-smp
Posted: 2012-07-29 Filed under: system | Tags: kernel, no-smp, slackware Leave a commentBack 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!