QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1407|回复: 9

怎样patch内核。

[复制链接]
发表于 2003-6-5 17:30:13 | 显示全部楼层 |阅读模式
我想往2.4.20内核加入supermount,并下载了相关的*.patch文件。但我不知道怎样才能把patch加入内核?看了公社里的“Linux初学者Patch使用指南”还是不太懂。
各位能不能给个详悉的介绍。
我的系统是mdk9.0。
发表于 2003-6-5 17:38:24 | 显示全部楼层
mdk的内核不是已经打上这个补丁了吗?
回复

使用道具 举报

发表于 2003-6-5 21:47:22 | 显示全部楼层
hehe, can llc introduce what patches mdk and rh kernel already patch?
回复

使用道具 举报

 楼主| 发表于 2003-6-5 21:54:09 | 显示全部楼层
mdk9.0's patch only applyed on the kernel 2.4.19-mdk. so i have to patch 2.4.20 myself.
回复

使用道具 举报

发表于 2003-6-5 22:40:59 | 显示全部楼层
o, hehe, ic
回复

使用道具 举报

 楼主| 发表于 2003-6-6 23:29:16 | 显示全部楼层
and the next?
please continue
回复

使用道具 举报

发表于 2003-6-7 00:14:29 | 显示全部楼层
pls tell me what u did and why u think it failed in more detail.
回复

使用道具 举报

 楼主| 发表于 2003-6-9 13:14:37 | 显示全部楼层
patch成功了,而且在menuconfig中也有supermount的选项,但在编译内核时,提示supermount_i.h,中有错误,有两个宏没有找到定义。我对照了mdk字带的2.4.19的源代码,发现的确有一些不一样。看来这个问题不是一下子就能完全解决的。等忙过这一段,我在好好研究一下。多谢Dragonfly的指教。
回复

使用道具 举报

 楼主| 发表于 2003-6-9 13:15:31 | 显示全部楼层
最近要忙考试了,等过了这一段,再向各位讨教。
谢谢
回复

使用道具 举报

发表于 2003-6-9 22:02:06 | 显示全部楼层
welcome, good luck u exam
回复

使用道具 举报

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

本版积分规则

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

© 2021 Powered by Discuz! X3.5.

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