Marketplace:

Buy cheap domains and domain transfer service with free domain hosting features
Affordable domain name hosting and webhosting for small business
Register cheap domain name by cheap-domainregistrar.com 

 

   

Install Kernel 2.4.20

next up previous contents index

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)!


Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " The most horrifying thing about Unix is that, no matter how many times you hit yourself over the head with it, you never quite manage to lose consciousness. It just goes on and on.   "  

Tuesday 7 February 2012 18:28:13 1328639293