The mosix kernel patch applies to the standard kernel sources put out by Linus Torvalds, and may not apply cleanly on Debian kernels.
Make sure you have the package kernel-package
installed. On a Debian system, make-kpkg is used to compile a
kernel. Get the current linux kernel, and cd into its
top-level directory. Then, running the script
/usr/src/kernel-patches/i386/apply/mosix
will make
sure that the kernel version is correct, and that everything
is alright, before applying the patch.
Once the patch is applied, run make menuconfig
to
configure the kernel, and then compile it with
fakeroot make-kpkg -rev=mosix.1.0 kernel_image
This will produce a .deb package of your custom compiled mosix kernel, which can then be installed with
dpkg -i kernel-image-*.deb
Copy this new kernel deb to every machine in the cluster and install it along with the rest of the packages. Reboot, and you will have a mosix system running !