skyBuilders.com > Products > Network > How To Compile Kernel

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.

  1. Download latest tarball for 2.4.19 kernel from ftp.tux.org into /usr/src/linux-2.4.19 directory. Unzip. Untar.
  2. Download routes-2.4.19-8.diff patches from Julian Anastasov.
  3. Run /usr/src/linux # patch -p1 -b < routes-2.4.19-8.diff
  4. make clean (deletes object files, etc. from last compile)
  5. make mrproper (deletes .config file, among other things)
  6. startx
  7. make xconfig (saves result to /usr/src/linux-2.4.19/.config)
  8. load or edit skyPipes Kernel Configuration Settings into xconfig (edit as necessary, save, and save as config-2.4.19-skyPipes0.version#)
  9. make dep (gets needed include files. etc.)
  10. make bzImage 2>compile_errs.txt
  11. make clean (optional)
  12. cp arch/i386/boot/bzImage /boot/vm-linuz-2.4.19
  13. rename bzImage /boot/vm-linuz-2.4.19/bzImage.img (why?)
  14. Check that System.map is in the same folder (check time stamp)
  15. make install
  16. make modules_install
  17. new-kernel-pkg --install --mkinitrd --depmod (breaks if no modules)
  18. grep compile_errs.txt for err
  19. check GRUB file

skyPipes Kernel Configuration Settings

skyPipes References


Edit  |  workFlow  |  Subscribe
Language: fr  | it  | de  | es  | pt  | ar  | he  | da  | nl  | zh  | ja  | ko  | none 
Author: bobdoyle
skyCalendar

This Version:
Archived at: https://www.skybuilders.com/Products/Network/HowToKernel.20020911220510.html
Next Version:

Requests
 Version: 1357 | Series: 30445 

Search: Site | Web | Groups