Unable to login console after the system starts

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to login console after the system starts

ソリューションへジャンプ
3,734件の閲覧回数
liquanduan
Contributor III

I use default configurations to bitbake a rootfs files for i.mxSolo target board.

bitbake image-core-base

when i download it to the target device, and power on, the system seems run well but no login console.

I try to press "Enter" but no any response on the screen.

I can text "setenv" or "printenv" command during the u-boot step but no in kernel period.

So the hardware of UART might be well.

 

 

Here are some informations from console, full infos attached in the end:

 

......

kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk3p2): using internal journal
EXT3-fs (mmcblk3p2): recovery complete
EXT3-fs (mmcblk3p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 296K (808ec000 - 80936000)
INIT: version 2.88 booting
Starting udev
udevd[172]: starting version 3.1.5
random: udevd urandom read with 18 bits of entropy available
bootlogd: cannot allocate pseudo tty: No such file or directory
Mon Jun 26 06:13:15 UTC 2017

 

//message printing stopped here for a while and then print next line info:

random: nonblocking pool is initialized

It seems system is not crashed but working.

 

What's the problem?Anyone can give me helps? Thanks!

Original Attachment has been moved to: tty_unable_to_login.txt.zip

ラベル(3)
0 件の賞賛
1 解決策
3,334件の閲覧回数
liquanduan
Contributor III

Problem solved! Because "hwclock -w" command execute failed while bootmisc.sh running, and it blocked the process. Configure the RTC Driver the target board in the kernel or disable the RTC function can fix it!

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
3,334件の閲覧回数
1182614726
Contributor III

Hello Liquan Duan

now my board log has the same problem with you, but i have check the RTC module is loaded normally, and after the log "random: udevd urandom read with 18 bits of entropy available", it still stops for 2 seconds, do you know what's wrong with my software?thank you very much

0 件の賞賛
3,334件の閲覧回数
liquanduan
Contributor III

可以尝试修改一下rootfs里面的默认启动项或服务;之间我的是因为RTC的服务一直没有加载起来问题,你的板子可能是其它问题导致启动项一直没有成功加载完;/etc/rc*.d/ (*是运行等级,有多个文件夹,包括rcS)里面的S开头的文件,尝试关闭或删除一些 再试试。

0 件の賞賛
3,335件の閲覧回数
liquanduan
Contributor III

Problem solved! Because "hwclock -w" command execute failed while bootmisc.sh running, and it blocked the process. Configure the RTC Driver the target board in the kernel or disable the RTC function can fix it!

0 件の賞賛
3,334件の閲覧回数
b36401
NXP Employee
NXP Employee

Thanx for letting know it.

Have a great day,
Victor

0 件の賞賛