[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:07512] RE: カーネル再構築
-
From:Masahiko ANIYAN Norita
-
Date:Tue, 31 Oct 2000 09:05:03 +0900
- Subject: [plamo:07512] RE: カーネル再構築
- From: Masahiko ANIYAN Norita <ani@xxxxxxxxxxxxxx>
- Date: Tue, 31 Oct 2000 09:05:03 +0900
- Posted: Tue, 31 Oct 2000 09:04:48 +0900 (JST)
"ko lp" <tpe5kesjit@hotmail.com>さんが
[plamo:07509] カーネル再構築で
Mon, 30 Oct 2000 23:32:43 +0900に
書かれたものが引用元です。
のりたです、落ち着きましょうね。
kernel-sourceのversionは?
tpe5kesjit> カーネル再構築の仕方
tpe5kesjit> 1.# cd /usr/src/linux
tpe5kesjit>
tpe5kesjit> 2.# make menuconfig
tpe5kesjit>
tpe5kesjit> Network device support --->
tpe5kesjit> Ethernet (10 or 100Mbit) --->
tpe5kesjit> [*] Ethernet (10 or 100Mbit)
tpe5kesjit> [*] EISA, VLB, PCI and on board controllers
tpe5kesjit> [*] VIA Rhine support <--(M から *
tpe5kesjit> に)
tpe5kesjit> (ここを M
tpe5kesjit> にしても
tpe5kesjit> 似た感
tpe5kesjit> じになる )
tpe5kesjit>
tpe5kesjit> 3.# make dep;make clean;make
tpe5kesjit>
tpe5kesjit> ここでいくつか Warning と出てくる。
tpe5kesjit> 4.# make modules
tpe5kesjit> 5.# rm -rf /lib/modules/`uname -r`/*
tpe5kesjit> 6.# make modules_install
tpe5kesjit> 7.# depmod -a 2.2.16
ここでdepmodしてもだめですよ、古いkernelのままだから
tpe5kesjit>
tpe5kesjit> ここで"...unresolved symbol(S)" といくつも出てくるので
当然こうなります。
tpe5kesjit> 下記の事を試そうとするが、
tpe5kesjit>
tpe5kesjit> # modprobe loop <--Can't locate modules loop と出てきて次に進
tpe5kesjit> めない。
tpe5kesjit> # mv /lib/modules/2.2.x /lib/modules/2.2.x.old (2.2.xはカーネルの
tpe5kesjit> バージョン)
tpe5kesjit> # make modules_install
tpe5kesjit> # depmod -av
tpe5kesjit>
tpe5kesjit> 8.# lsmod とするが via-rhine ドライバ が 表示されない。
rebootしてからやらないと
tpe5kesjit> 13.viエディタで(のりたさんの記事参照)
tpe5kesjit> /boot/grub/menu.lst
tpe5kesjit>
tpe5kesjit> timeout 3
tpe5kesjit> default 0
tpe5kesjit> # Entry 0
tpe5kesjit> title Linux-2.4.0-test9
tpe5kesjit> kernel /boot/vmlinuz-2.4.0-test9 root=/dev/hda2 read-only
tpe5kesjit> こうする。
さっき/boot/vmlinuz としておいたなら ここも/boot/vmlinuz にしないと見つけられませんけど
大丈夫?
1、kernel-sourceは2.2.16ですか、2.4.0-test9ですか。
2、2.4.0-test9の場合modutilsもversionを上げないとだめですけど
see /usr/src/linux/Documentation/Changes
Masahiko ANIYAN Norita
E-mail: ani@jade.dti.ne.jp (private)
ani@nagoyalinux.org ani@si-linux.org
ani@8914.co.jp (official)
- References
-
- [plamo:07509] カーネル再構築, ko lp
[検索ページ]
[メール一覧]
Plamo ML 公開システム