早教吧 育儿知识 作业答案 考试题库 百科 知识分享

关于Linux2.6.30.4移植YAFFS2文件系统中出现的问题:yaffs:devis32505858nameis"mtdblock2"yaffs:passedflags""yaffs:AttemptingMTDmounton31.2,"mtdblock2"yaffs:autoselectingyaffs2block318isbadblock1196isbadblock2010isbady

题目详情
关于Linux2.6.30.4移植YAFFS2文件系统中出现的问题:
yaffs:dev is 32505858 name is "mtdblock2"
yaffs:passed flags ""
yaffs:Attempting MTD mount on 31.2,"mtdblock2"
yaffs:auto selecting yaffs2
block 318 is bad
block 1196 is bad
block 2010 is bad
yaffs_read_super:isCheckpointed 0
VFS:Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory:176K
Kernel panic - not syncing:Attempted to kill init!
Backtrace:
[] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
r7:c381a000 r6:c0377600 r5:00000004 r4:00000004
[] (dump_stack+0x0/0x1c) from [] (panic+0x4c/0x124)
[] (panic+0x0/0x124) from [] (do_exit+0x520/0x620)
r3:c0356758 r2:c381de10 r1:c381dce4 r0:c0306e54
[] (do_exit+0x0/0x620) from [] (do_group_exit+0x44/0xc4)
[] (do_group_exit+0x0/0xc4) from [] (get_signal_to_deliver+0
x198/0x350)
r5:00000004 r4:c381c000
[] (get_signal_to_deliver+0x0/0x350) from [] (do_signal+0x5c
/0x4b0)
[] (do_signal+0x0/0x4b0) from [] (do_notify_resume+0x30/0x34
)
[] (do_notify_resume+0x0/0x34) from [] (work_pending+0x1c/0x
20)
编译内核的时候老是出现这样的提示,在网上找了好长时间也没有结果
▼优质解答
答案和解析
从你的信息看出,内核识别到了yaffs文件系统,而且也mount上了,开始运行init守护进程时出现了不同步而被内核杀掉,导致Kernel panic.
出现这种问题只根据你的这些也说不清什么原因.最好再仔细按照标准的步骤重新配置编译内核.