主题 : “通过NFS启动系统”中的问题(2)已解决:Kernel panic - not syncing: No init found. 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 10191
精华: 0
发帖: 9
金钱: 85 两
威望: 38 点
综合积分: 18 分
注册时间: 2009-10-27
最后登录: 2010-04-21
楼主  发表于: 2009-10-28 20:20

 “通过NFS启动系统”中的问题(2)已解决:Kernel panic - not syncing: No init found.

描述:应该出现的正确结果
图片:
描述:实际发生的错误(见红色部分)
图片:
在解决了上次的《mount_devfs_fs(): unable to mount devfs, err: -2》错误以后,又出现了新的错误《Kernel panic - not syncing: No init found.  Try passing init= option to kernel》。
错误信息如下:
NET: Registered protocol family 1
NET: Registered protocol family 17
enable_irq(51) unbalanced from c0170b30
IP-Config: Complete:
      device=eth0, addr=192.168.2.230, mask=255.255.255.0, gw=192.168.2.167,
     host=MINI2440, domain=, nis-domain=arm9.net,
     bootserver=192.168.2.167, rootserver=192.168.2.167, rootpath=
Looking up port of RPC 100003/2 on 192.168.2.167
Looking up port of RPC 100005/1 on 192.168.2.167
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing init memory: 144K
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

敢问个位大侠,这样的问题该如何解决。(在此先谢谢上次帮我解决问题的大侠)
[ 此帖被lixuzhena在2009-10-29 08:44重新编辑 ]
级别: 新手上路
UID: 10191
精华: 0
发帖: 9
金钱: 85 两
威望: 38 点
综合积分: 18 分
注册时间: 2009-10-27
最后登录: 2010-04-21
1楼  发表于: 2009-10-28 20:46

 Re:“通过NFS启动系统”中的问题(2)(已解决)

问题已解决。请参考:
http://www.aiothome.com/bbs/read.php?tid-1771-keyword-Kernel%7Cpanic%7C-%7Cnot%7Csyncing%3A%7CNo%7Cinit%7Cfound.html

解决方法:
param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.24:/opt/FriendlyARM/QQ2440/root_nfs ip=192.168.1.70:192.168.1.24:192.168.1.24:255.255.255.0:fighter:eth0:off"
改为:
param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.24:/opt/FriendlyARM/mini2440/root_nfs/root_nfs ip=192.168.1.70:192.168.1.24:192.168.1.24:255.255.255.0:fighter:eth0:off"
(1。因为是mini2440板,自然要把QQ2440改为mini2440
2。/root_nfs 改为/root_nfs/root_nfs,有类似错误的朋友可看一下你的linux主机上的文件,你会发现路径应该是/opt/FriendlyARM/mini2440/root_nfs/root_nfs)
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2009-10-28 23:58
很好,有总结才会有进步。这两个问题都是初学者很容易犯的错误。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."