+ -
当前位置:首页 → 问答吧 → 请教嵌入式系统中根文件系统的一些问题

请教嵌入式系统中根文件系统的一些问题

时间:2005-09-02

来源:互联网

为arm9系列的开发板创建了一个根文件系统,用的是randisk,用buxybox静态编译了各种命令,使用的是linux-2.4.19-rmk7内核,建立了dev/proc/tmp/等目录,dev下也建立个各种设备文件,在用minicom加载uboot,启动时,系统出险以下问题
crc error<6>Freeing initrd memory: 5859K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
EXT2-fs error (device ramdisk(1,0)): ext2_check_page: bad entry in directory #2: inode out of bound1mount_devfs_fs(): unable to mount devfs, err: -2
Freeing init memory: 52K
Warning: unable to open an initial console.
Kernel panic: No init found.  Try passing init= option to kernel.

有时候则出现
crc error<6>Freeing initrd memory: 5859K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 52K
attempt to access beyond end of device
01:00: rw=0, want=8397046, limit=15360
attempt to access beyond end of device
01:00: rw=0, want=8397046, limit=15360
attempt to access beyond end of device
01:00: rw=0, want=8397046, limit=15360
attempt to access beyond end of device
01:00: rw=0, want=8397046, limit=15360
Kernel panic: No init found.  Try passing init= option to kernel.
请教高手,是哪里出险了问题,请说的详细一点      

作者: ljhdove   发布时间: 2005-09-02

启动时,指定root=/dev/ram0参数看看      

作者: AIKO_sex   发布时间: 2005-09-05

但是我用一个开发板配套而来的根文件系统时,系统是可以启动的,是不是根文件系统的原因      

作者: ljhdove   发布时间: 2005-09-07