手机版
你好,游客 登录 注册
背景:
阅读新闻

Arm2410的Linux系统移植——vivi、内核、根文件系统的

[日期:2010-06-14] 来源:Linux社区  作者:Linux [字体:大 中 小]

2.转载。我遇到过问题1和3,也是从网上搜到的这些解答。    

    问题1, 使用jffs2文件系统:

  JFFS2 error: (1) jffs2_build_inode_pass1: child dir "fon

     ts" (ino #13) of dir ino #4 appears to be a hard link

  VFS: Mounted root (jffs2 filesystem).

  Freeing unused kernel memory: 304k freed

  Warning: unable to open an initial console.

  Failed to execute /Linuxrc. Attempting defaults...

  Kernel panic - not syncing: No init found. Try passing init= option to kernel.

  原因: flash没有erase彻底.

  问题2, 使用cramfs时出错:

  VFS: Mounted root (cramfs filesystem) readonly.

  Freeing unused kernel memory: 304k freed

  Error -3 while decompressing!

  804878c4(1884)->81200000(16384)

  Failed to execute /Linuxrc. Attempting defaults...

  Kernel panic - not syncing: No init found. Try passing init= option to kernel.

  原因: 没有仔细看 mkfs.cramfs 的手册, 需要指定-b参数, 大小与PAGE_SIZE一样 (查看.config文件 CONFIG_PAGE_SIZE_16KB=y).

  问题3 :

  Kernel panic - not syncing: Attempted to kill init!

  原因: 应该是/etc/fstab 之类的文件没有或者是修改但是有错误,查看修改后重新编译再试试吧。

linux
相关资讯       Linux 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款