inittable and login problem

Rob Landley rob at landley.net
Mon Jul 31 18:37:01 UTC 2006


On Wednesday 26 July 2006 1:05 pm, Lei Sun wrote:
> Hi:
>    My inittab contain following line
> 
> tty1::respawn:/sbin/getty 38400 tty1
> tty2::respawn:/sbin/getty 38400 tty2
> 
> # Put a getty on the serial port
> ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
> 
> when i boot up, it keep poping up
> "bumper, cannot open /dev/tty1"
> "bumper, cannot open /dev/tty2"

Do you have a /dev/tty1 or /dev/tty2?

> I was using serial console on a MPC8260ADS board, if I comment out
> those 2 tty line, I can get login prompt, but after I typed in user
> name, the password prompt came out(prepended with a wide space), but
> it won't accept any thing I typed in, and after 60 seconds, login
> expired.

What are the permissions on /dev/ttyS0?

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list