Kernel panic

1.

Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!

原因:修改bootargs在后面加上

androidboot.console=ttyS0 init=/init lcdid=1 lpj=750000

linux核心启动后最后一个动作,就是从根文档系统找出init服务,并且执行init服务。linux核心会依照下面的顺序,寻找init服务。
1. 先找 /sbin 下是否有init服务
2. /etc/init
3. /bin/init
4. 如果都找不到,就执行 /bin/sh
这个过程中,只要某一个步骤找到init服务,linux核心就会去执行该目录中的init。
如果到最后核心还是找不到init服务,linux核心会显示“kernel panic - not syncing : Attempted to kill init ! ”的错误信息,然后终止启动工作,linux核心再悄悄的死去。内核和其它文件版本之间不是很匹配

 

2.

VFS: Cannot open root device "nfsroot" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00           13312 mtdblock0 (driver?)
1f01            2560 mtdblock1 (driver?)
1f02             320 mtdblock2 (driver?)
1f03              64 mtdblock3 (driver?)
1f04              64 mtdblock4 (driver?)
1f05              64 mtdblock5 (driver?)
1f06             512 mtdblock6 (driver?)
1f07            4608 mtdblock7 (driver?)
1f08            4608 mtdblock8 (driver?)
1f09            8192 mtdblock9 (driver?)
1f0a            5632 mtdblock10 (driver?)
1f0b          262144 mtdblock11 (driver?)
1f0c            2048 mtdblock12 (driver?)
1f0d            4096 mtdblock13 (driver?)
1f0e          524288 mtdblock14 (driver?)
1f0f          131072 mtdblock15 (driver?)
1f10         1149952 mtdblock16 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

 

原因:可能是没有内核没有编译支持nfs.

 

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值