当前位置: 代码迷 >> 驱动开发 >> 内核启动的时候遇到的有关问题 望指导
  详细解决方案

内核启动的时候遇到的有关问题 望指导

热度:395   发布时间:2016-04-28 11:23:44.0
内核启动的时候遇到的问题 望指导
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)
Please append a correct "root=" boot option; here are the available partitions:
1f00 2048 mtdblock0 (driver?)
1f01 2048 mtdblock1 (driver?)
1f02 61440 mtdblock2 (driver?)
1f03 2112 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)


MTD BLOCK的驱动在内核配置的时候已经选上
bootarg=noinitrd init=/linuxrc console=ttySAC0,115200 root=/dev/mtdblock2 rootfstype=yaffs mem=64M



请教下这是内核的问题还是我的根文件系统错误


------解决方案--------------------
不太会,帮顶,建议从你自己的改动开始查起,也就是 根文件系统
------解决方案--------------------
文件系统不正确呢

VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)
应该是

rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock

yaffs: dev is 32505861 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
  相关解决方案