The HyperNews Linux KHG Discussion Pages

More: Building an SMP kernel

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

  1. Get the latest 2.0.x kernel sources from I recommend waiting for 2.0.31, which should be out soon (as of this writing) and fixes some deadlocks in SMP.
  2. Unpack it in /usr/src
  3. Edit the Makefile and uncomment the SMP = 1 line near the top.
  4. make config and choose your configuration.
  5. make clean; make dep
  6. make zImage; make modules
  7. Move the kernel into place, make modules_install
  8. 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.