内核编译升级3.2.7 Make install 出错,请指教
本帖最后由 lapertem44 于 2012-02-23 14:56 编辑Hi 你们好吗,
遇到内核升级的问题恳请大家帮忙。谢谢喽~~~
我现在在CentOS下编译升级3.2.7内核
目前已经做了
make mrproper
make menuconfig
make clean
make bzImage
make modules
make modules_install
都没有问题
在做make install的时候# make install
sh /home/laperte/src/linux-3.2.7/arch/x86/boot/install.sh 3.2.7 arch/x86/boot/bzImage \
System.map "/boot"
ERROR: modinfo: could not find module ip_tables
ERROR: modinfo: could not find module nf_conntrack
ERROR: modinfo: could not find module vmware_balloon在网上查了一些相关问题,可能物理环境不一样,错误都不同,请问这个要如何解决,多谢了。 贴一个相关的有用的链接
http://www.frozentux.net/iptables-tutorial/cn/iptables-tutorial-cn-1.1.19.html#WHERETOGET
1. 序言
1.1. 为什么要写这个指南
我发现目前所有的HOWTO都缺乏Linux 2.4.x 内核中的Iptables和Netfilter 函数的信息,于是我试图回 答一些问题,比如状态匹配。我会用插图和例子 rc.firewall.txt 加以说明,此处的例子可以在你的/etc/rc.d/使用。最初这篇文章是以HOWTO文 档的形式书写的,因为许多人只接受HOWTO文档。 再放一个有用的
# make menuconfig#在菜单模式下选择需要编译的内核模块
找到以下选中选项并选中networking support → networking options → network packet filtering framework(netfilter)
(1).Core netfilter configuration
勾中”Netfilter connection tracking support” -m state相关模块是依赖它的,不选则没有。
将netbios name service protocal support(new) 编译成模块,不然后面升级iptables后启动时会出错
勾中“Netfilter Xtables support (required for ip_tables)”
(2).IP: Netfilter Configuration
将 “IPv4 connection tracking support (require for NAT)” 编译成模块。
勾中IP tables support (required for filtering/masq/NAT) 。
将 “Full NAT” 下的 “MASQUERADE target support” 和 “REDIRECT target support” 编译成模块
-------------------------------
虽然错误还是存在,但我重启之后,再uname -r
内核已显示为新更新的3.2.7
顶起同问啊:'(:'(:'(
页:
[1]