iceblood 发表于 2003-6-1 16:37:24

我来问问Rh9的内核问题`

我在想,RH到底让不让我编译内核?
我装RH8用他们自己提供的内核编译模块从来没成功过,现在用RH9一样不成功。
到是我用RH8的时候下了一个内核编译模块一点问题都没有。还把内核升级了一下。

Dragonfly 发表于 2003-6-1 21:59:18

most of the time, i compile the kernel from rh9 and it also failed. but i know for certain configuration, it is ok.

if u want to do serious kernel programming, i suggest you to use a vanilla kernel.

YaoFei 发表于 2003-6-2 15:00:35

cd /usr/src/linux-2.xxxx

make mrproper

cp configs/kernel-2.xxx-i686.config .config

make oldconfig/ make menuconfig / make xconfig


make dep ; make clean ; make install ; make modules ; make modules_install

Dragonfly 发表于 2003-6-2 21:21:34

yes, the .config from rh is ok. but guys always want to customize it.
:-D:-D:-D

YaoFei 发表于 2003-6-2 22:28:46

make mrproper 这一步很重要。不做他就不可能编译下去

拷贝了RH的config 以后,就可以用make menuconfig或者 make xconfig 修改了。不过一般情况下除了打开NTFS以外值得修改的地方不多。

Dragonfly 发表于 2003-6-2 22:40:09

that depends on what kind of machine is used.

iceblood 发表于 2003-6-7 19:00:45

刚才试了一下make mrproper,不就是我平时用的make clean嘛,我编译的时候,make bzImage没问题,就是编译模块通不过。

YaoFei 发表于 2003-6-7 19:33:57

make mrproper 主要是一些和体系结构有关的路径初始化。

Dragonfly 发表于 2003-6-9 10:39:46

iceblood, u are wrong, there are difference as YaoFei said. u can read Makefile to know it.
页: [1]
查看完整版本: 我来问问Rh9的内核问题`