The HyperNews Linux KHG Discussion Pages

## Building an SMP kernel

  Forum: The Linux Kernel Hackers' Guide
  Re: Multiprocessor Linux (Davis Terrell)
  Keywords: SMP multiprocessor
  Date: Wed, 10 Sep 1997 11:03:27 GMT
  From: Michael K. Johnson <johnsonm@redhat.com>

Get the latest 2.0.x kernel sources from ftp.kernel.org. I recommend waiting for 2.0.31, which should be out soon (as of this writing) and fixes some deadlocks in SMP. Unpack it in /usr/src Edit the Makefile and uncomment the SMP = 1 line near the top. `make config` and choose your configuration. `make clean; make dep` `make zImage; make modules` Move the kernel into place, `make modules_install` Run lilo and reboot. Keep a known-working kernel around to revert to Note: You must make new modules for your SMP kernel. Loading modules that are built for a non-SMP kernel into an SMP kernel (and vice versa) breaks systems horribly.