kernel 2.4.20

download and install kernel sources. ie:

> apt-get install kernel-source-2.4.19

configure the kernel:

> apt-get install libncurses-dev gcc make
> ldconfig
> make menuconfig

kernel configuration options:
  • prompt for development and/or incomplete code/drivers
  • select athlon/duron/K7 processor
  • set /dev/cpu/*/msr
  • set /dev/cpu/*/cpuid
  • select SMP support
  • set High Memory support to 4GB
  • set HIGHMEM I/O support
  • MTRR support
  • Symmetric multi-proccessing support
  • disabled ISA bus support
  • disabled hot-pluggable devices
  • disabled plug and play
  • enabled per partition statistics in /proc/partitions
  • disabled SCSI support
  • ethernet driver: 3com 590/3c900 vortex/boomerang
  • disabled mouse support
  • disabled Direct Rendering Manager
  • disabled Intel 440LX/BX/GX AGP support
  • disabled Intel I810/I815/I830M AGP support
  • disabled all AGP GLX X support options
  • enabled quota support
  • enabled EXT3 support
  • disabled NFS filesystem support
  • disabled NFS server support
  • disabled sound card support
  • disabled USB support
  • enabled kernel debugging
  • enabled Check for stack overflows
  • enabled Magic SysRq key
  • disable loadable module support
  • support for ext3 filesystem. see tune2fs to add journal to ext2
  • enable serial
  • enable serial console
make and install the kernel:

> make dep; make clean; make bzImage; make modules; make modules install > cp arch/i360/boot/bzImage /boot/vmlinuz-2.4.20
> cp System.map /boot/System.map.2.4.20