• «
  • 1
  • 2
  • »
  • Pages: 2/2     Go
主题 : 自己重新配置编译的内核 , android 2.2  内核成功挂载NFS根文件系统,但是出现not syncing 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
10楼  发表于: 2011-12-03 23:12

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

请kasim 大侠帮忙看看,找找方向
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
11楼  发表于: 2011-12-04 09:01

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

Android init里的debug日志是由定义在system/core/init/init.h里的

#define ERROR(x...)   log_write(3, "<3>init: " x)
#define NOTICE(x...)  log_write(5, "<5>init: " x)
#define INFO(x...)    log_write(6, "<6>init: " x)

这几个宏实现的,你可以根据你的实际情况加以利用输出你要的信息。
"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."
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
12楼  发表于: 2011-12-04 10:04

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

我也在狗狗上搜到一往篇文章,关于修改日志级别
http://groups.google.com/group/android-porting/browse_thread/thread/d5478137f49c703e
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
13楼  发表于: 2011-12-04 10:19

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

日志级别调到6,起动时就多出两行信息,也没有显示任何错误
Freeing init memory: 124K
init: reading config file
init: device init
Kernel panic - not syncing: Attempted to kill init!
  • «
  • 1
  • 2
  • »
  • Pages: 2/2     Go