The skyPipes Linux Kernel
The kernel is the foundation for skyWalls, skyPipes, skyMonitors, skyTunnels, and skyRoutes (policy-based and cost-based routing).
It is built on Linux kernel release 2.4.19 with Julian Anastasov's patches to allow static routes and alternative routes.
The build sequence includes the following steps.
- Download latest tarball for 2.4.19 kernel (linux-2.4.19.tar.bz2) from ftp.tux.org into /usr/src/linux-2.4.19 directory. Unbzip2. Untar (tar -xvf linux-2.4.19.tar).
- Download routes-2.4.19-8.diff patches from Julian Anastasov.
- Run /usr/src/linux # patch -p1 -b < routes-2.4.19-8.diff
- make clean (deletes object files, etc. from last compile)
- make mrproper (deletes .config file, among other things)
- startx
- make xconfig (saves result to /usr/src/linux-2.4.19/.config)
- load or edit skyPipes Kernel Configuration Settings into xconfig (edit as necessary, save, and save as config-2.4.19-skyPipes0.version#)
It is also prudent to copy this file to the /boot/ partition for documetnation purposes.
- make dep (gets needed include files. etc.)
- make bzImage 2>compile_errs.txt
- make clean (optional)
- copy (implicitly renaming) bzImage /boot/vm-linuz-2.4.19/bzImage.img (why?). Also check the timestamp on the file, ensuring that it is fresh.
cp /usr/src/linux-2.4.19/arch/i386/boot/bzImage /boot/vm-linuz-2.4.19
- Do a similar thing with the System.map as with the bzImage file
cp /usr/src/linux-2.4.19/System.map /boot/System.map-2.4.19
- make install
- make modules_install
- new-kernel-pkg --install --mkinitrd --depmod (breaks if no modules)
- grep compile_errs.txt for err
- check GRUB file
skyPipes Kernel Configuration Settings
skyPipes References