QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 976|回复: 8

我来问问Rh9的内核问题`

[复制链接]
发表于 2003-6-1 16:37:24 | 显示全部楼层 |阅读模式
我在想,RH到底让不让我编译内核?
我装RH8用他们自己提供的内核编译模块从来没成功过,现在用RH9一样不成功。
到是我用RH8的时候下了一个内核编译模块一点问题都没有。还把内核升级了一下。
发表于 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.
回复

使用道具 举报

发表于 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
回复

使用道具 举报

发表于 2003-6-2 21:21:34 | 显示全部楼层
yes, the .config from rh is ok. but guys always want to customize it.
    
回复

使用道具 举报

发表于 2003-6-2 22:28:46 | 显示全部楼层
make mrproper 这一步很重要。不做他就不可能编译下去

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

使用道具 举报

发表于 2003-6-2 22:40:09 | 显示全部楼层
that depends on what kind of machine is used.
回复

使用道具 举报

 楼主| 发表于 2003-6-7 19:00:45 | 显示全部楼层
刚才试了一下make mrproper,不就是我平时用的make clean嘛,我编译的时候,make bzImage没问题,就是编译模块通不过。
回复

使用道具 举报

发表于 2003-6-7 19:33:57 | 显示全部楼层
make mrproper 主要是一些和体系结构有关的路径初始化。
回复

使用道具 举报

发表于 2003-6-9 10:39:46 | 显示全部楼层
iceblood, u are wrong, there are difference as YaoFei said. u can read Makefile to know it.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-19 18:49 , Processed in 0.072102 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表