免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2680 | 回复: 3
打印 上一主题 下一主题

哪位嵌入式高手帮我解决问题啊!急 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-26 21:36 |只看该作者 |倒序浏览
5可用积分
我编译了2.6.27.24的内核,ramdisk的size选的是20M,制作的ramdisk.image是16M,最后在挂在ramdisk时出现如下问题!
RAMDISK: Compressed image found at block 0
RAMDISK: ran out of compressed data
invalid compressed format (err=1)
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 160K
EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #2049: : rec_len is smaller than minimal - offset=2048, inode=0, rec_len=0, name_len=0
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
哪位大侠帮帮小弟吧!
谢谢了!!

论坛徽章:
0
2 [报告]
发表于 2009-06-27 01:40 |只看该作者
2.6.27支持initramfs,用cpio格式的ramdisk。
你用cpio的试试看。

论坛徽章:
0
3 [报告]
发表于 2009-06-27 15:39 |只看该作者
ramdisk 格式不对

论坛徽章:
0
4 [报告]
发表于 2009-06-27 16:04 |只看该作者

回复 #1 sqb123 的帖子

把启动参数贴出来看看。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP