ep_server setup
カーネルの再構築
○目的
カーネルをリコンフィグすることで quota を使用できるようにする.
○ソースの取得
http://dennou-h.ees.hokudai.ac.jp/arch-large1/cc-env/Linux/debian/dists/potato/main/binary-i386/devel/kernel-source-2.2.9_2.2.9-2.deb
◯準備
以下のパッケージをインストール
make
makedev
dpkg-dev
debmake
kernel-package
gcc
libc6-dev
binutils
bin86
make
gawk
gzip
shellutils
grep
○ソースの展開
# dpkg -i kernel-source-2.2.9_2.2.9-2.deb
# cd /usr/src/
# tar xvzf kernel-source-2.2.9.tar.gz
# ln -s kernel-source-2.2.1 linux
# cd linux
○カーネルの再構築
# make xconfig (もしくは make menuconfig)
以下において変更されたものだけを書く.
何も書かれていない場合は default のままを意味する.
・Code maturity level options
・Processor type and features
PPro/6x86MX processor family
n Symmetric multi-processing support
・Loadable module support
・General setup
・Plug and Play
・Block devices
・Networking Option
・SCSI support
・SCSI low-level drivers (# make menuconfig の場合は SCSI support 内にある)
y Adaptec AIC7xxx support
n NCR53C8xx SCSI support
・Network device support
y 3c590/3c900 series (592/595/587) "vortex/Boomerang" support
n EtherExpressPro/100 support
n EISA, VLB, PCI and on board controllers
・Amateur Radio support
・ISDN subsystem
・CD-ROM drivers (not for SCSI or IDE/ATAPI drivers)
・Character devices
・mice (# make menuconfig の場合は Character devices の内にある)
n C&T 82C710 mouse port support
y PS/2 mouse (aka "auxiliary device") support
・Watchdog kards
y Enhanced Real Time Clock Support
・Video for Linux
・Joystick support
・Ftape the floppy tape device driver
・Filesystems
y Quota support
y DOS FAT fs support
y MSDOS fs support
y VFAT fs(windows 95) support
y Microsoft Joliet CDROM extensions
y Minix fs support
・Network file Systems
n NFS filesystem support
・Partition Types
・Native Language support
・Console drivers
・Sound
・Additional low level sound drivers
・Kernel hacking
セーブする.
sutore configuration file を選択し,ファイル名を適当に指定する.
○コンパイル
パッケージ化する
# make-kpkg clean
# meke-kpkg --revision=red2.2.9 kernel-image
kernel-image-2.2.9_red.1.0_i386.deb が /usr/src/ に生成される.
configuration file の不備で若干の質問を受けるが,
デフォルトのままにする.
○インストール
# dpkg -i kernel-image-2.2.9_red.1.0_i386.deb
◯再起動
# reboot
○参考文献
・柳原良亮 他 共著
Debian GNU/Linux 一歩進んだフリー Linux システム,
ソフトバンク ISBN=4-7973-0754-4
・Linux SMP FAQ
http://www.irisa.fr/prive/dmentre/smp-faq/
LAST MODIFIED
1999 Sep.13
杉山耕一朗
sugiyama@gfd-dennou.org