Failed to execute /init

Freeing init memory: 4172K
Failed to execute /init
Failed to execute /sbin/init.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
Backtrace:
[<a0546788>] (dump_backtrace+0x0/0x114) from [<a042ea7c>] (dump_stack+0x18/0x1c)
r7:00000000 r6:00000000 r5:00000000 r4:a08ff730
[<a042ea64>] (dump_stack+0x0/0x1c) from [<a042eacc>] (panic+0x4c/0x11c)
[<a042ea80>] (panic+0x0/0x11c) from [<a0542d58>] (init_post+0xd8/0x100)
r3:00000010 r2:0000000d r1:0000000c r0:a04f2ef3
[<a0542c80>] (init_post+0x0/0x100) from [<a0008498>] (kernel_init+0xe0/0x110)
r5:00000000 r4:a08fe800
[<a00083b8>] (kernel_init+0x0/0x110) from [<a056d878>] (do_exit+0x0/0x5b4)
r5:00000000 r4:00000000

 

ll 发现init和busybox没有执行权限

chmod a+x init 就可以了

 

lib下busybox依赖库是否完全: 主要是libc.so 和链接器  ld-2.15.so  ld-linux.so.3 

arm-marvell-linux-gnueabi-readelf -d bin/busybox

Dynamic section at offset 0xa500c contains 24 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libc.so.6]

 

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值