我是靠谱客的博主 哭泣月亮,这篇文章主要介绍Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004,现在分享给大家,希望可以做个参考。

在移植Linux系统到arm上时遇到“Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004”的问题,这个问题网上有各种解决办法,但是,都不能够解决我的问题。


我的解决办法是:把根目录里面的lib全部删除,重新再重编译链下面拷贝相应库文件。


解决过程:1、删除rootfs下的lib;

2、在busybox里面选择Build Options->[*] Build BusyBox as a static binary (no shared libs);

3、make;makeinstall

4、把rootfs通过nfs的方式挂载到设备,这样做的好处是不用每次都烧录文件系统镜像;

5、重启设备可以看到系统可以完全跑起来了,以上4个步骤可以定位到问题出在lib下的库;

6、关闭Build Options->[ ] Build BusyBox as a static binary (no shared libs);

7、make;makeinstall

8、从编译链下重新拷贝库到lib。

最后

以上就是哭泣月亮最近收集整理的关于Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004的全部内容,更多相关Kernel内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(117)

评论列表共有 0 条评论

立即
投稿
返回
顶部