视频1 视频21 视频41 视频61 视频文章1 视频文章21 视频文章41 视频文章61 推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37 推荐39 推荐41 推荐43 推荐45 推荐47 推荐49 关键词1 关键词101 关键词201 关键词301 关键词401 关键词501 关键词601 关键词701 关键词801 关键词901 关键词1001 关键词1101 关键词1201 关键词1301 关键词1401 关键词1501 关键词1601 关键词1701 关键词1801 关键词1901 视频扩展1 视频扩展6 视频扩展11 视频扩展16 文章1 文章201 文章401 文章601 文章801 文章1001 资讯1 资讯501 资讯1001 资讯1501 标签1 标签501 标签1001 关键词1 关键词501 关键词1001 关键词1501 专题2001
androidbusybox:notfound问题和sh:can'taccesstty;jobcon
2020-11-09 07:30:59 责编:小采
文档

线索一 : 引用老外的一段话: 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 K log 'log_main'
logger: created K log 'log_events'
logger: created K log 'log_radio'
OK,我的启动信息里没有这几行,看来这个内核没有编译进去 log 支持,他**的,难道要我重新编译内核?

下载本文
显示全文
专题