LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 758|回复: 3

FC4重新编译内核失败

[复制链接]
发表于 2006-1-29 14:12:38 | 显示全部楼层 |阅读模式
网上好多文章都老了,内核已经在/usr/src/kernels/2.6.11-1.1369_FC4-i686目录下了

而且还教删什么linux的符号连接,现在根本没有了.

[root@host src]# ls
kernels redhat

下面是我的错误:

[root@host 2.6.11-1.1369_FC4-i686]# make mrproper
fs/hostfs/Makefile:11: arch/um/scripts/Makefile.rules: 没有那个文件或目录
make[2]: *** 没有规则可以创建目标“arch/um/scripts/Makefile.rules”。 停止。
make[1]: *** [fs/hostfs] 错误 2
make: *** [_clean_fs] 错误 2


[root@host 2.6.11-1.1369_FC4-i686]# make xconfig
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] 错误 1
make: *** [xconfig] 错误 2


请教大家,如何重新编译,谢谢了. FC4 2.6.11.1
发表于 2006-1-29 15:40:13 | 显示全部楼层
我内核编译成功了,可是最后用新内核启动的时候,引导到switchroot的时候失败,晕,我用的是最新版本的 2.6.14.4
回复 支持 反对

使用道具 举报

发表于 2006-1-29 16:16:51 | 显示全部楼层
能不能吧引导出错的信息copy下来看看?
回复 支持 反对

使用道具 举报

发表于 2006-1-30 15:25:56 | 显示全部楼层
在启动新内核的时候,启动到

loading jdb.ko module
jod: disagrees about version of symbol struct_modules
insmod error : inserting '/lib/jdb.ko' : -1 Invaild module format
ERROR: /bin/insmod exited abnormally with valuepid 346)

loading ext3.ko module
(同样错误,提示信息如上) (pid 347)

switching to newroot
ERROR opening /dev/console !!!!:2
.
.
.
switchroot :mount failed :22

kernel panic -not syncing :Attempted to kill init !

去掉原来编译的遗留的东西,重新编译后,问题依旧
启用备份的老的内核,一切正常....
回复 支持 反对

使用道具 举报

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

本版积分规则

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