android busybox:not found 问题和sh:can't access tty; job con

php中文网
发布: 2016-06-07 15:30:47
原创
2369人浏览过

线索一 : 引用老外的一段话: Job control will be turned off since your shell can not obtain a controlling terminal. This typically happens when you run your shell on /dev/console. The kernel will not provide a controlling terminal on the /

线索一 :
引用老外的一段话:
Job control will be turned off since your shell can not obtain a controlling terminal. This typically happens when you run your shell on /dev/console. The kernel will not provide a controlling terminal on the /dev/console device. Your should run your shell on a normal tty such as tty1 or ttyS0 and everything will work perfectly. If you REALLY want your shell to run on /dev/console, then you can hack your kernel (if you are into that sortof thing) by changing drivers/char/tty_io.c to change the lines where it sets "noctty = 1;" to instead set it to "0". I recommend you instead run your shell on a real console...
 
线索二:
还是老外的:
Add androidboot.console=ttySn to your kernel commandline, where n is  
the number of your console serial port.

The regular console= is  
needed by the kernel, and the androidboot.console= probably sets some  
property used by the usermode components.  It might be possible to use  
setprop in init.rc to accomplish the same thing, but I'd have to check  
the sources.

现象:触摸屏上是一张左上角为鸭嘴兽的图像,触摸屏上还有显示字母:android,然后就不动了,请教了一位同事,同事说android还没有启动起来,让看下logcat ,结果logcat 也不能看,启动logcat时显示:
unable to open log device "/dev/log/main"……
查看/sys/kernel/logger这个目录,
因为网友说有一个日志开关:
echo 1 > /sys/kernel/logger/log_main/enable
发现根本没有这个目录,
然后看启动信息,从其他网友的资料看到正常android启动时kernel启动信息里应该有这几行:
logger: created 64K log 'log_main'
logger: created 64K log 'log_events'
logger: created 64K log 'log_radio'
OK,我的启动信息里没有这几行,看来这个内核没有编译进去 log 支持,他**的,难道要我重新编译内核?

 
相关标签:
最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号