LinuxSir.cn,穿越时空的Linuxsir!

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

2.6.12.2内核的kernel panic问题

[复制链接]
发表于 2005-7-19 23:13:44 | 显示全部楼层 |阅读模式
mounting root filesystem
mount: error 6 mounting ext3
pivotroot" pivot_root(/sysroot,/sysroot/initrd) failed:2
umount /initrd/proc failed:2
kernel panic - not syncing: No init found.


看起来象是ext3 没有mount上 为什么回出这样的问题呢?
是那个配置文件我改的不对么?
发表于 2005-7-20 00:29:21 | 显示全部楼层
Setting of your initrd is incorrect.
回复 支持 反对

使用道具 举报

发表于 2005-7-20 09:29:06 | 显示全部楼层
同上,估计是mkinitrd 参数加错了
回复 支持 反对

使用道具 举报

发表于 2005-7-20 17:31:19 | 显示全部楼层
嗯,把ext3编入内核(built-in),不用initrd也行的。
回复 支持 反对

使用道具 举报

发表于 2005-7-21 01:40:48 | 显示全部楼层
根檔案系統最好編譯進核心
回复 支持 反对

使用道具 举报

发表于 2005-7-21 06:31:12 | 显示全部楼层
mounting root filesystem
mount: error 6 mounting ext3
pivotroot" pivot_root(/sysroot,/sysroot/initrd) failed:2
umount /initrd/proc failed:2
kernel panic - not syncing: No init found.
It looks the system is trying to mount the pivot_root in the initrd. The actual root filesystem is not yet seen by the system.

However, for unknown reasons, this initrd defines an ext3 filesystem type but the ext3 module is not available or not compiled in kernel.

As suggested by ailantian, "估计是mkinitrd 参数加错了".
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-21 12:30:23 | 显示全部楼层
谢谢 楼上的几位。
我现在猜测也是我的ext3没有编译到内核中,
内核是1个星期前编译的,忘记了。

再试试看。把ext3的moudle 加上看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-21 21:17:21 | 显示全部楼层
问题依然....
initrd 是在什么地方定制了需要ext3支持呢?
支持ext3的module 是那个文件呢?
回复 支持 反对

使用道具 举报

发表于 2005-7-22 11:30:38 | 显示全部楼层
ext3沒有編譯到内核中
回复 支持 反对

使用道具 举报

发表于 2005-7-22 23:08:51 | 显示全部楼层
ext3必须编译进内核中,默认是编译成模块。
/和/boot所在分区(更确切地讲是启动内核用到的所有文件所在的分区)的文件格式必须被编译进内核,否则内核无法启动。
回复 支持 反对

使用道具 举报

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

本版积分规则

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