GGGO 发表于 2004-6-9 08:26:51

升级内核2.6.6出问题了!

内核升级安装版人气不够旺,贴来这里试试看. :twisted:
我的系统是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: `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: *** Error 1
make: *** Error 2
---------------------------------------------------------

然后我试用以下命令
make modules_install
发现有把模块文件copy到/lib/modules/2.6.6下,之后执行
make install
出现如下的错误:
--------------------------------------------------------------------
make: `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目录.
不知道我哪里犯了错误?

yang97e 发表于 2004-6-9 19:22:04

我升级过 2.6.6

make menuconfig( or xconfig)
make
make modules_install
make install

一定要先做 Module
页: [1]
查看完整版本: 升级内核2.6.6出问题了!