y*h 发帖数: 25423 | 1 在CentOS 5上编译2.6.31 kernel,CONFIG_SYSFS_DEPRECATED已经设成了yes,
编译安装没问题,但是启动的时候出现kernel panic:
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to k |
S***w 发帖数: 1014 | 2 你没事编译内核干吗
自己找自己麻烦
【在 y*h 的大作中提到】 : 在CentOS 5上编译2.6.31 kernel,CONFIG_SYSFS_DEPRECATED已经设成了yes, : 编译安装没问题,但是启动的时候出现kernel panic: : setuproot: moving /dev failed: No such file or directory : no fstab.sys, mounting internal defaults : setuproot: error mounting /proc: No such file or directory : setuproot: error mounting /sys: No such file or directory : Switching to new root and running init. : unmounting old /dev : unmounting old /proc : unmounting old /sys
|
y*h 发帖数: 25423 | 3 因为我需要最新的2.6.31 kernel里的一个feature,而RHEL/CentOS的正式发布的
kernel还是2.6.18-128的,所以只能自己编译。
【在 S***w 的大作中提到】 : 你没事编译内核干吗 : 自己找自己麻烦
|
E*V 发帖数: 17544 | 4 你怎么编译的?。config从哪里的?
有没有make oldconfig?
具体说一下,我从来没有遇到你的那些错误信息,
感觉你的config不太对
【在 y*h 的大作中提到】 : 因为我需要最新的2.6.31 kernel里的一个feature,而RHEL/CentOS的正式发布的 : kernel还是2.6.18-128的,所以只能自己编译。
|
j**********p 发帖数: 22 | 5 is it the first error message? if it's the first message, it seems that you
don't have /dev, you don't have CONFIG_PROC_FS, or CONFIG_SYSFS enabled.
This is unlikely unless you disabled all those by yourself.
So I suspect you have some other error messages earlier than that. A common
case is that you don't have the necessary block device driver - basic IDE/
SATA controller(usually ata_piix or ahci for intel motherboard) plus some
upper layer drivers such as md/raid or dm modules if you're using |