LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1514|回复: 3

使用mdev,登录失败问题

[复制链接]
发表于 2007-10-26 11:04:02 | 显示全部楼层 |阅读模式
linux kernel 2.6.20
busybox1.7.2
cpu为arm ( at91rm9200 )
使用mdev,inittab内容如下:

# This is run first except when booting in single-user mode.
::sysinit:/etc/rc.sh

# /bin/sh invocations on selected ttys
#
# Must be first 'respawn' entries to avoid ^C problem
# Start a shell on the console
#::respawn:-/bin/sh
# Start an "askfirst" shell on /dev/ttyS1
#ttyS1::askfirst:-/bin/sh
#::respawn:/sbin/getty -L -i 115200 ttyS0
::respawn:/sbin/getty  115200 ttyS0

出现登录提示后,输入正确的用户名密码出现以下错误:

(none) login: root

process '/sbin/getty  115200 ttyS0' (pid 709) exited. Scheduling it for restart.
starting pid 710, tty '': '/sbin/getty'

My linux for at91rm9200

(none) login:


如果输入错误的用户名密码则出现如下提示:

(none) login: ww
Password:
Login incorrect
(none) login:

这个问题困扰偶好久了,请大家帮忙支招啊!
发表于 2007-10-26 18:00:46 | 显示全部楼层
最笨的办法, 查一下这个信息是哪里打出来的.  
看源代码吧.

办法太笨,不要:beat 我.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-27 18:18:52 | 显示全部楼层
我感觉是shell出了问题,但不能肯定,也不知如何查,期待高手现身...
回复 支持 反对

使用道具 举报

发表于 2007-10-28 10:26:10 | 显示全部楼层
不要丢掉让自己成为高手的机会.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表