トップ/ Linuxの部屋

Index/ previous/ next


カーネルの再構築

カーネルの再構築を行います。カーネルのバージョンは2.0.35です。

#cd /usr/src/linux
 (カーネルソースのディレクトリに移動)
#make menuconfig
 (メニューを使ったカーネルコンフィギュレーション 詳細)
#make dep; make clean
 (依存関係の更新と実行、中間ファイルの削除)
#make zImage
 (カーネルのコンパイル)
#make modules
 (カーネルモジュールのコンパイル)
#make modules_install
 (カーネルモジュールのインストール)
#make zlilo
 (liloの再設定)
#reboot
 (コンピュータの再起動)

memo: モジュールのコンパイル/インストールをするときは、あらかじめ"/lib/modules/2.0.35/"を削除しておくと起動時のWarningメッセージが減るみたい...。(モジュールが見つからないっていうのね。)


カーネルのコンフィギュレーション

カーネルの設定(version 2.0.35)

Code maturity level options--->
 
Loadable modules support--->
 Enable loadable modules support(Y)
 Kernel daemon support(Y)

General Setup--->
 Networking support(Y)
 PCI bios support(Y)
 System V IPC(Y)
 Kernel support for a.out binaries(M)
 Kernel support for ELF binaries(Y)
 Compile kernel as ELF - if your GCC is ELF-GCC
 Processer type(Pentium)

Floppy,IDE,and other block devices--->
 Normal floppy disk support(M)
 Enhanced IDE/MFM/RLL disk/cdrom/tape support(Y)
 Support removable IDE interfaces(PCMCIA)(Y)
 Loopback device support(M)

Networking options--->
 TCP/IP networking(Y)
 IP: Drop source routed frames(Y)
 IP: Allow large windows (not recommanded if (16Mb of memory)(Y)

SCSI support--->
 SCSI support(Y)
 SCSI disk support(Y)
 SCSI CD-ROM support(Y)

Network device support--->
 Network device support(Y)
 Dummy net driver support(M)
 PPP (point-to-point) support(M)
 Ethernet (10 or 100Mbit)(Y)

ISDN subsystem--->
 
CD-ROM drivers (not for SCSI or IDE/ATAPI drives)--->
 
Filesystems--->
 Minix fs support(M)
 Second extended fs support(Y)
 Native language support (Needed dor FAT and ISO9660)(M)
 ISO9660 cdrom filesystem support(M)
 DOS FAT fd support(M)
 MSDOS fs support(M)
 VFAT (Windows-95) fs support(M)
 /proc filesystem support(M)
 NFS filesystem support(M)
 SMB filesystem support(M)

Character devices--->
 Standard/generic serial support(Y)
 Parallel printer support(M)
 Mouse support (not serial mice)(Y)
 PS/2 mouse (aka "auxiliary device") support(Y)
 Advanced Power Management BIOS support(Y)
 Enable PM at boot time(Y)
 Make CPU idle calls when idle(Y)
 Power off on shutdown(Y)

Sound--->
 Sound caed support(M)
 Sound Blaster (SB, SBPro, SB16, clones) support(Y)
 Generic OPL2/OPL3 FM synthesizer support(Y)
 /dev/dsp and /dev/audio support(Y)
 MIDI interface support(Y)
 FM synthesizer (YM3812/OPL-3) support(Y)
 I/O base for SB Check from manual of the card(220)
 Sound Blaster IRQ Check from manual of the card(5)
 Sound Blaster DNA 0, 1 or 3(1)
 Sound Blaster 16 bit DMA(5)
 MPU401 I/O base of SB16(0388)
 SB MPU401 IRQ(-1)
 Audio DMA buffer size 4096,16384,32768 or 65536(16384)