Building It

As migShm is a patch to openMosix, which is a patch to the vanilla Linux kernel, building the migShm kernel requires us first to patch the vanilla Linux kernel, First the openMosix patch, as described in the openMosix HOWTO patch utility:

patch -Np1 < openMosix-2.4.21-1
then the migShm patch.
patch -p1< patch-Migshm-2.4.21.diff
Next to the openMosix parameters we off course need to enable some more features in the kernel.
Shared memory migration support (Experimental) (CONFIG_SHM) [N/y/?] (NEW) y
  flush() support for consistency (CONFIG_SHM_FLUSH) [N/y/?] (NEW) y
  Kernel Debug messages (CONFIG_SHM_DEBUG) [N/y/?] (NEW) y
While compiling the kernel I only ran into some problems with SCSI modules, Disabling these modules solved these problems for now.

I actually also built the migShm kernel RPM's that are available on http://howto.ipng.be/openMosix-Migshm-rpm/

The freshly compiled kernel boots, but does it work also ? ;)