zoukankan      html  css  js  c++  java
  • 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]

  • 相关阅读:
    使用 typeScript 规范代码
    图片 剪切 上传
    hybrid
    resful
    区块链
    前端数据采集 埋点 追踪用户系列行为
    kafka生产消息的速度跟什么有关?
    引用:实际数据库需求变化及演变
    HBase学习
    使用scala开发spark入门总结
  • 原文地址:https://www.cnblogs.com/cute/p/2093650.html
Copyright © 2011-2022 走看看