免费注册 查看新帖 |

Chinaunix

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

启动时解压ramdisk报oops [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-02-25 11:42 |只看该作者 |倒序浏览
Linux启动的时候,偶尔会在解压ramdisk时出以下错误导致无法启动,但又不是每次都会出现,这是什么原因啊,还望高手帮助分析一下。


RAMDISK: Compressed image found at block 0
Unable to handle kernel paging request at virtual address 00001041
pgd = c0004000
[00001041] *pgd=00000000
Internal error: Oops: 801 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.22 #45)
PC is at huft_build+0x368/0x5f0
LR is at 0xc3d89e08
pc : [<c0009e8c>]    lr : [<c3d89e08>]    psr: 20000013
sp : c030bdf8  ip : c3d89e00  fp : c030be9c
r10: 00000009  r9 : 00000000  r8 : 000001ef
r7 : 00000001  r6 : 00000000  r5 : c3d8c800  r4 : 00000001
r3 : c030be68  r2 : 00001041  r1 : c3d89e08  r0 : c0300911
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 0005317f  Table: 20004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc030a260)
Stack: (0xc030bdf8 to 0xc030c000)
bde0:                                                       00000010 c030be68
be00: 000fa000 00000003 c3d8ccd4 00000200 c3d8c828 0000001d 00000009 c01cbe54
be20: 00000101 0000001c 00000001 0000000a c3d89e08 c3d8cd04 c3d8c844 c3d8cd08
be40: c3d8c848 c3d8c844 00000003 c3d8c828 fffffff7 00000000 0000000c 00000002
be60: c3d8cc30 00000000 c0300911 c3d89e08 c0009694 00000007 c01cbe92 00000039
be80: c0252e8c 00000114 00000132 c1320800 c030befc c030bea0 c000a604 c0009b34
bea0: c01cbe92 c3d89e24 c030bec4 c030beb8 c0075630 0000000b 0000003f 0000001e
bec0: 00000006 00000009 c13251c0 c0366008 c0252e8c 00000003 c0252e8c 00000006
bee0: 00000000 c001d990 00000001 0000000c c030bf4c c030bf00 c000af94 c000a124
bf00: c020a504 00000000 c030bf6c 00000080 c00217c0 5c2d2f7c 00000000 00100000
bf20: c001e928 00100000 c001e928 00000000 c030a000 c001d990 00000000 c001e000
bf40: c030bf6c c030bf50 c000b7d0 c000a890 c001e874 c001e868 00100000 c0252e88
bf60: c030bf8c c030bf70 c0009454 c000b7a0 c030bf8c c030bf80 c0252e60 00000000
bf80: c030bff4 c030bf90 c0008a80 c000939c 00000000 00000000 00000000 00000000
bfa0: 00000000 c030bfb0 c0021e64 c0033c40 00000000 00000000 c0008870 c0039820
bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
bfe0: 00000000 00000000 00000000 c030bff8 c0039820 c0008880 0000000e 00002580
Backtrace:
[<c0009b24>] (huft_build+0x0/0x5f0) from [<c000a604>] (inflate_dynamic+0x4f0/0x5dc)
[<c000a114>] (inflate_dynamic+0x0/0x5dc) from [<c000af94>] (rd_load_image+0x714/0xe3
[<c000a880>] (rd_load_image+0x0/0xe3 from [<c000b7d0>] (initrd_load+0x40/0x2f
[<c000b790>] (initrd_load+0x0/0x2f from [<c0009454>] (prepare_namespace+0xc8/0x14c)
r5:c0252e88 r4:00100000
[<c000938c>] (prepare_namespace+0x0/0x14c) from [<c0008a80>] (kernel_init+0x210/0x26c)
r5:00000000 r4:c0252e60
[<c0008870>] (kernel_init+0x0/0x26c) from [<c0039820>] (do_exit+0x0/0x7c4)
Code: e51b30a0 e0822181 e54ba033 e8930003 (e8820003)
Kernel panic - not syncing: Attempted to kill init!

论坛徽章:
0
2 [报告]
发表于 2010-02-25 12:44 |只看该作者
查查错误号吧……

论坛徽章:
0
3 [报告]
发表于 2010-02-25 15:31 |只看该作者
出现这种情况时ramdisk用的是压缩后的镜像,我换成未经压缩的ramdisk镜像,到目前为止测了多次还都没有出现过这个问题,不知道这是什么原因呢?内核是2.6.22的。

论坛徽章:
0
4 [报告]
发表于 2010-03-02 13:28 |只看该作者
是不是大小超过限制了!另外你的启动参数是怎么设置的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP