# 表題 linux kernel 2.6.6 の設定 # # 履歴 2004/06/20 小高正嗣 # 2004/06/20 小高正嗣: Real Time Clock, Watchdog Timer を support. # ■ ハードウェア HITACHI Prius 100F5TVP ■ ソース ftp.ep.sci.hokudai.ac.jp より linux-2.6.6.tar.gz をダウンロード 事前に以下のパッケージをインストールしておく. libncurses5-dev kernel-package ■ カーネルの設定 # cd /usr/src # gunzip linux-2.6.6.tar.gz # tar xvf linux-2.6.6.tar # ln -s linux-2.6.6 linux # cd linux # make xconfig 以下, デフォルトとの変更点のみ記載. ATI RADEON 関連の組み込みをわすれないように注意する. Code matturity level optiuons General Setup Loadable module support Processor type features - Processor family (Pentium-4) - /dev/cpu/microcode support y - /dev/cpu/*/msr support y - /dev/cpu/*/cpuid support y - High Memory Support 4GB Power Management options - Power Management support y - Advanced Powe Mnagement - APM support y Bus options Executable file formats - Kernel support for a.out and ECOFF binaries Device Drivers - Parallel port support y - Block devices - Network block device support n - RAM disk support n - ATA/ATAPI/MFM/RLL support - ATA/ATAPI/MFM/RLL support y - Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support y - Include IDE/ATA-2 DISK support y - Include IDE/ATAPI CDROM suppor y - PCI IDE chipset support y - Generic PCI IDE chipset support y - SCSI device - SCSI device support y - SCSI generic support y - Multi-device support - Fusion MPT support - IEEE 1394 support - IEEE 1394 support y - OHCI-1394 support y - OHCI-DV I/O support y - OHCI-1394 Video support y - I2O device support - Networking support - Nwtworking Options - TCP syncookie support y - Ethernet (10 or 100 Mbit) - 3com cards n - HP 10/100VG PCLAN support n - EISA, VLB, PCI and on board controllers y - PCI NE2000 and clones uspport y - RealTek RTL-8139 PCI Fast Ethernet y - Support for uncommon RTL-8139 rev. K y - Support for older RTL-8129-8130 boards y - Use older RX-reset method y - VIA Rhine support y - PLIP support n - PPP n - SLIP support n - ISDN - Telephony - Input device support - PCI PS/2 keyboard and PS/2 mouse contoroller y - Character devices - Prallel printer support y - Watchdog Cards - Watchdog Timer Support y - ALI M1535 PMU Watchdog Timer y - Enhanced Real TIme Clock support y - /dev/agpgart y - ATI chipset support y - I2C support - I2C device interface y - I2C Algorithms y - I2C Hardware Bus support - ALI 1535 y - ALI 1563 y - ALI 15x3 y - Misc devices - Multimedia support - Graphics support - ATI Radeon display support (Old drivers) y - ATI Radeon display support y - Sound - Sound card support - Advenced Linux Sound Architecture - PCI devices - ALi PCI Audio M5451 y - Intel i810/MX440, SiS 7012; Ali 5455 y - Open Sound System - ESS Maestro, Maestro2, Maestro2E drivers y - ALi 5455 audio support y - USB support - Support for HOST-side USB y - USB device filesystem y - EHCI HCD (USB 2.0) support y - OHCI HCD support y - USB Mass Storage support y - USB Human Interface Dveice support y - /dev/hiddev raw HID device support y - File systems - Ext2 extended attributes - CR-ROM/DVD filesystems - UDF file sustem support y - DOS/FAT/NT Filesystems - Network file sustems - NFS file sustem support n - Native language support - Japanese charsets y - Profileing support - Kernel hacking - Security options - Library routines exit する前に設定をファイルに保存. ファイル名は kernel-conf_2004-06-20.txt. ■ modutils のインストール woody へ 2.6 カーネルへ入れ換える場合には, modutils をアップグレー ドする. 詳細は http://japan.linux.com/kernel/03/08/31/1054251.shtml を参照. ftp.ep.sci.hokudai.ac.jp より, modutils_2.4.26-1.dsc modutils_2.4.26-1.diff.gz modutils_2.4.26.orig.tar.gz をダウンロードし, $ dpkg-source -x modutils_2.4.26-1.dsc を実行する. 展開されたソースツリー (modutils-2.4.26) へ移動し, $ dpkg-buildpackage -r fakeroot を行う. パッケージ作成後, これまので modutils コマンドのバックアップを取る # cd /sbin # cp -p insmod insmod.old # ln -s insmod.old lsmod.old # ln -s insmod.old rmmod.old # ln -s insmod.old modprobe.old # cp -p depmod depmod.old この後新しい modutils をインストールする. ■ カーネルとモジュールの再構築 # make-kpkg clean # make-kpkg --revision=PCF100F5TVP.1.X kernel_image pcmcia-cs をモジュールとして構築し, インストール # make-kpkg modules_image