GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
Install Kernel 2.4.20 |
Two IDE controllers (Silicon Image CMD680) were installed delivering disks /dev/hde, /dev/hdg, /dev/hdh, and /dev/hdj.
At the time of installing the CMD680 IDE controller chip kernel 2.4.19 was available as a Debian package but had did not recognise the IDE card on the motherboard. Kernel 2.4.20 fixed this, but was not released nor available for Debian. A kernel was compiled from source and patched up to 2.4.20-pre11. The default .config (i.e., starting from no .config file) was the starting point. Below is recorded the specific configurations added.
# cd /usr/src # wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.19.tar.gz # wget http://www.kernel.org/pub/linux/kernel/v2.4/testing/patch-2.4.20-pre11.gz # tar zxvf linux-2.4.19.tar.gz # cd linux-2.4.19 # gzip -dc ../patch-2.4.20-pre11.gz | patch -p1 -N -F4 # make menuconfig Processor type and features Processor family CONFIG_MPENTIUM4=y General CONFIG_APM=y CONFIG_APM_DO_ENABLE=y CONFIG_APM_CPU_IDLE=y CONFIG_APM_DISPLAY_BLANK=y CONFIG_APM_RTC_IS_GMT=y Block devices RAM disk support CONFIG_BLK_DEV_RAM=y Initial RAM disk (initrd) support CONFIG_BLK_DEV_INITRD=y ATA/IDE/MFM/RLL support IDE, ATA and ATAPI Block devices CONFIG_BLK_DEV_CMD64X=y CONFIG_BLK_DEV_CMD680=y Sound CONFIG_SOUND_ICH=y # make-kpkg clean # make-kpkg --append-to-version -p4 --revision dha01 --initrd kernel_image # cd .. # wajig install kernel-image-2.4.19-p4_dha01_i386.deb |
This works just fine and all standard drivers (CDROM and NFS and EEPRO100) were included by default. The resulting kernel is quite a bit smaller that the kernels supporting lots of hardware (700K initrd cf 2.4MB and 56K modules cf 20MB)!