根文件系统制作 -- Kernel panic - not syncing
来源:互联网 发布:名越seo 编辑:程序博客网 时间:2024/06/05 10:06
目标环境: 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: lzoUBIFS: 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: lzoUBIFS: 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 udevdSynthesizing initial hotplug eventsSetting the hostname to myzrMounting filesystemsGenerating 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 权限, 普通用户身份打包会遗漏部分文件, 关键文件的缺少导致系统起不来。
0 0
- 根文件系统制作 -- Kernel panic - not syncing
- yaffs2 文件系统:Kernel panic - not syncing: Attempted to kill init!
- resolve - "KERNEL PANIC - NOT SYNCING"
- 解决kernel panic - not syncing
- Kernel Panic – not syncing
- 文件系统制作 kernel panic
- 移植linux内核到s3c6410(根文件系统加载失败问题解决:Kernel panic - not syncing: VFS: Unable to mount root fs)
- linux加载rootfs 根文件系统 kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
- kernel panic - not syncing: no init found
- 对于ARM加载文件系统出现 Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: No init found. yaffs2文件系统挂上找不到init
- 对于ARM加载文件系统出现 Kernel panic - not syncing: Attempted to kill init!
- 启动文件系统Kernel panic - not syncing: Attempted to kill init! 报错
- 文件系统编译过程中遇到问题,解决过程Kernel panic - not syncing: Attempted to kill init!
- initramfs系统制作时,编译内核出现错误Kernel panic - not syncing: Attempted to kill init
- 挂载NFS根文件系统时出现Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
- Kernel panic - not syncing: Attempted to kill init!
- Kernel panic - not syncing: Aiee, killing interrupt handle 死锁问题
- 如何将eclipse导出的doc文档转换为chm格式
- 最简单的基于FFmpeg的推流器(以推送RTMP为例)
- ubuntu15.04安装jdk1.8.0_45和tomcat8
- 准确率、召回率、F1
- hadoop2.0报错“There appears to be a gap in the edit log”
- 根文件系统制作 -- Kernel panic - not syncing
- SpringMVC——form标签的使用
- Python Windows下文件读写与二进制读写的区别
- 解决CPU/ABI No system images installed for this targe
- 分析ReentrantLock之lock
- Java学习篇-------为什么Java称之为:面向对象 ???
- C++入门经典 笔记(第二章)程序的组成部分
- IsWow64并不能用来检测是否是Windows 32bit系统还是64bit系统
- Hibernate连接MySql遇到的几个问题