Compiling Linux kernel 2.6.8 for the TravelMate 312T

Download Debian package and config file from www.rigacci.org (look for the notebook flavour).

Use GCC 3.x because 4.0 has still some problems, see Usare un compilatore alternativo in this article.

Install the package module-init-tool to manage 2.6.x kernel modules, the modutils package is only for 2.2.x and 2.4.x series.

The Acer TravelMate 312T features a Mobile Pentium MMX processor. With kernel 2.4.18 I used CONFIG_M586MMX=y with no problems. As from kernel 2.4.25 I started experiencing some locks and kernel panics, that seems to be disappeared when I ricompiled with CONFIG_M586=y (Pentium Classic). So far I go…

To avoid initrd

CONFIG_IDE=y               (ide)
CONFIG_BLK_DEV_IDE=y       (ide-mod)
CONFIG_BLK_DEV_IDEDISK=y   (ide-disk)
CONFIG_BLK_DEV_PIIX=y
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_EXT2_FS=y           (ext2)
CONFIG_EXT3_FS=y           (ext3)

We want some drivers as built-in

CONFIG_INPUT_PCSPKR=y    (pcspkr)
CONFIG_INPUT_MOUSEDEV=y  (mousedev)
CONFIG_MOUSE_PS2=y       (psmouse)
CONFIG_RTC=y             (rtc)
CONFIG_APM=Y             (apm)
CONFIG_APM_RTC_IS_GMT=y
CONFIG_UNIX=y            (unix)
CONFIG_PACKET=y          (af_packet)
CONFIG_PPP=Y

To obtain a bit smaller kernel

CONFIG_X86_EMU486 is not set
CONFIG_SMP is not set
CONFIG_MATH_EMULATION is not set
CONFIG_EISA is not set
CONFIG_MCA is not set
CONFIG_SCx200 is not set
CONFIG_SOUND_OSS=n