QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 528|回复: 1

升级内核2.6.6出问题了!

[复制链接]
发表于 2004-6-9 08:26:51 | 显示全部楼层 |阅读模式
内核升级安装版人气不够旺,贴来这里试试看.
我的系统是Fedora1
我下载了2.6.6的内核,参考了
http://www.linuxsir.org/bbs/showthread.php?s=a02951bb469509d8bce28dc0b8b0b5d9&threadid=113208
升级了module-init-tools-3.0.tar.gz
mkinitrd程序
把压缩文件解压放到/tmp/linux-2.6.6下 (这个不会有影响吧??我看过公社了的一篇介绍http://www.linuxfans.org/nuke/modules.php?name= Forums&file=viewtopic&t=40011
所以就随便放在那里了)

make mrproper
make gconfig
make
make install
执行make没有错误
执行make install后出现以下错误:
---------------------------------------------------------
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /tmp/linux-2.6.6/arch/i386/boot/install.sh 2.6.6 arch/i386/boot/bzImage System.map ""
WARNING: Couldn't open directory /lib/modules/2.6.6: No such file or directory
FATAL: Could not open /lib/modules/2.6.6/modules.dep.temp for writing: No such file or directory
/lib/modules/2.6.6 is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
---------------------------------------------------------

然后我试用以下命令
make modules_install
发现有把模块文件copy到/lib/modules/2.6.6下,之后执行
make install
出现如下的错误:
--------------------------------------------------------------------
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /tmp/linux-2.6.6/arch/i386/boot/install.sh 2.6.6 arch/i386/boot/bzImage System.map ""
/dev/mapper/control: open failed: No such file or directory
Is device-mapper driver missing from kernel?
Command failed
-----------------------------------------------------------------------
我找过,在/dev中不存在mapper目录.
不知道我哪里犯了错误?
发表于 2004-6-9 19:22:04 | 显示全部楼层
我升级过 2.6.6

make menuconfig( or xconfig)
make
make modules_install
make install

一定要先做 Module
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-16 21:31 , Processed in 0.067095 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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