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. Unzip (bunzip2 linux-2.4.19.tar.bz2). 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 or
- make menuconfig (saves result to /usr/src/linux-2.4.19/.config)
- load or edit skyPipes Kernel Configuration Settings into xconfig or menuconfig (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 documentation purposes.
- make dep (gets needed include files. etc.)
- make bzImage 2>compile_errs.txt
- grep compile_errs.txt for err
- make clean (optional)
- copy (implicitly renaming) bzImage /boot/vmlinuz-2.4.19-skyPipes0.version#. Also check the timestamp on the file, ensuring that it is fresh.
cp /usr/src/linux-2.4.19/arch/i386/boot/bzImage /boot/vmlinuz-2.4.19-skyPipes0.version#
- 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-skyPipes0.version#
- cd /usr/src/linux-2.4.19
- make modules 2>mod_errs.txt
- grep mod_errs.txt for err
- for Red Hat
- make modules_install
- new-kernel-pkg --install --mkinitrd --depmod 2.4.19-skyPipes0.version#
- otherwise
- make install
- make modules_install
- less /etc/grub.conf (check GRUB or LILO conf file for name of new kernel in first title block)
- reboot, then uname -a (check name of current kernel)
- also check symlinks in the boot partition ls -l /boot
- System.map points to System.map-2.4.19-skyPipes0.version#
- vmlinuz points to vmlinuz-2.4.19-skyPipes0.version#
- module-info points to module-info-2.4.19-skyPipes0.version#
skyPipes Kernel Configuration Settings
skyPipes References