目标环境: Embedded Linux

系统版本: linux-2.6.35.3

GUI版本: QtEmbedded-4.8.5-arm

问题描述:

UBIFS: mounted UBI device 0, volume 0, name "rootfs0"
UBIFS: file system size:   106786816 bytes (104284 KiB, 101 MiB, 841 LEBs)
UBIFS: journal size:       5332992 bytes (5208 KiB, 5 MiB, 42 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  4952683 bytes (4836 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:15.
Freeing init memory: 160KKernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
Backtrace:
[<c0034468>] (dump_backtrace+0x0/0x114) from [<c03cfea0>] (dump_stack+0x18/0x1c)r7:00000013 r6:c0050170 r5:c0028e84 r4:c053f338
[<c03cfe88>] (dump_stack+0x0/0x1c) from [<c03cff1c>] (panic+0x78/0xf4)
[<c03cfea4>] (panic+0x0/0xf4) from [<c00305ec>] (init_post+0xb4/0xdc)r3:00000000 r2:c752c300 r1:c752c400 r0:c0483252
[<c0030538>] (init_post+0x0/0xdc) from [<c00084fc>] (kernel_init+0x12c/0x170)r5:c0028e84 r4:c053e460
[<c00083d0>] (kernel_init+0x0/0x170) from [<c0050170>] (do_exit+0x0/0x6dc)r5:c00083d0 r4:00000000

分析:

对照自带根文件系统, 无 不合理的地方

#sudo tar         // 提升权限重新打包 根文件系统

结果:

重新下载固件, 运行正常

UBIFS: mounted UBI device 0, volume 0, name "rootfs0"
UBIFS: file system size:   106786816 bytes (104284 KiB, 101 MiB, 841 LEBs)
UBIFS: journal size:       5332992 bytes (5208 KiB, 5 MiB, 42 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  4952683 bytes (4836 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:15.
Freeing init memory: 160Kstarting pid 1140, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug events
Setting the hostname to myzr
Mounting filesystems
Generating keys for the ssh server:
Starting the ssh server:
Setting up networking on loopback device:
Setuping the eth0: 192.168.3.104
eth0: Freescale FEC PHY driver [Gen

原因:

部分文件访问需要 root 权限, 普通用户身份打包会遗漏部分文件, 关键文件的缺少导致系统起不来。

根文件系统制作 -- Kernel panic - not syncing相关推荐

  1. arm linux not syncing,Kernel panic - not syncing: No init found(busybox制作根文件

    1. 在正确的位置烧写正确的文件系统映象: (a). 正确的位置 嵌入式开发中,常通过bootloader烧写文件系统映象,假设写在flash的地址A处. 内核启动时,显然要从地址A处读取文件系统,内 ...

  2. linux启动根文件失败报错:进程退出exitcode,Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

    进程退出的 exitcode 错误信息 内核打印 1 Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b 分 ...

  3. 移植最新4.19.8内核至JZ2440——根文件系统制作

    一.准备编译环境和工具 系统:ubuntu16.04 源码:https://busybox.net/下载最新busybox-1.29.3.tar.bz2 二.制作根文件系统 1.解压 tar -xjf ...

  4. Linux-2.6.32.2内核在mini2440上的移植(四)---根文件系统制作(1)

    移植环境(红色粗字体字为修改后内容,蓝色粗体字为特别注意内容) 1,主机环境:VMare下CentOS 5.5 ,1G内存. 2,集成开发环境:Elipse IDE 3,编译编译环境:arm-linu ...

  5. linux开发笔记:Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

    我利用NFS加载虚拟机里的linux中的文件系统,结果板子端出现了以下错误,记得我的另一块板子也是出现了类似的错误 dm9000 dm9000.0: WARNING: no IRQ resource ...

  6. 内核移植出现:Kernel panic - not syncing: No init found.

    今天在升级SDK的时候,升级到kernel时遇到如题所述的问题,花了天时间调通,在这里记录一下. 报错提示:(当时没有记录,错误的提示大概如下) Kernel panic - not syncing: ...

  7. arm linux not syncing,Linux系统启动中途停止,提示Kernel panic - not syncing: Attempted to kill init!...

    严格按照教程上制作了ubifs文件系统.但启动到中途出现如下的错误信息.屏幕上只显示了一个企鹅.就停住了.终端上的信息如下. FAT: utf8 is not a recommended IO cha ...

  8. linux inittab 时间,linux根文件系统制作之inittab启动分析

    之前讲过虚拟文件系统挂载根文件系统之后,会执行用户程序,参见博文: http://blog.chinaunix.net/uid-29401328-id-4909649.html 但只提了一下内核会启动 ...

  9. 嵌入式linux启动根文件系统,嵌入式Linux根文件系统制作和挂载

    嵌入式Linux系统由三部分组成: uboot.kernel.根文件系统, 还是这张老图 这里的根文件系统可以说是包含两个部分: 一个是根,一个是文件系统 那么什么是根呢?哈哈 其实根表示的就是第一个 ...

最新文章

  1. Spring研究笔记------事务探究
  2. Seaborn可视化图像调整图像大小(figure size)方法实战(Adjust the Figure Size)
  3. 【重温经典】张小龙:微信背后的产品观
  4. Windows 8的企业部署之路漫漫兮
  5. 用shell查看关键数据
  6. 所谓中央空调VRV指的是什么
  7. observable java_java源码阅读Observable(观察者模式)
  8. 查看每个用户linux内存,编写shell脚本查看linux当前各用户的cpu和memory消耗比例
  9. 程序员面试金典——11.3元素查找
  10. 【leetcode】数组建树
  11. 面向对象7:package、MVC设计模式、import
  12. 使用Python读取和播放音频文件
  13. 计算机怎么执行程序代码,代码如何运行?
  14. coffe-script
  15. 2021年起重机司机(限桥式起重机)最新解析及起重机司机(限桥式起重机)考试试卷
  16. PWA:安装 Web 应用
  17. Microsoft adCenter Analytics统计与Google Analytics、雅虎统计对比
  18. 微软有趣的人物关系搜索引擎——人立方
  19. 《AppStore审核指南》中文版
  20. C 商人小鑫 SDUT

热门文章

  1. Android加载长图,仿微博长图滚动查看
  2. Video size 视频尺寸和名称
  3. 消息队列——ActiceMQ
  4. Palindrome Pairs
  5. win7安装Scrapy时报错Failed building wheel for Twisted
  6. 前端学习日志(Vue)
  7. 2021年焊工(技师)考试资料及焊工(技师)模拟试题
  8. 关于b站M_Studio的学习笔记
  9. Jetpack Compose 从入门到入门(三)
  10. 图片放大后都是马赛克怎么办?