>데이터 베이스 >MySQL 튜토리얼 >android busybox:not found 问题和sh:can't access tty; job con

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

WBOY
WBOY원래의
2016-06-07 15:30:471917검색

线索一 : 引用老外的一段话: 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 支持,他**的,难道要我重新编译内核?

 
성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.