[CentOS] 2.6.22.1 on CentOS 4.5, No tty0?

Hawk Xu hxunix at gmail.com
Thu Jul 12 07:20:29 UTC 2007


Hi!

I compiled 2.6.22.1 kernel on my CentOS 4.5 box, during boot up, rc.sysinit complains
cannot find /dev/tty0 to get keymap (line 294), and I cannot login to the box via ssh,
the passwd authentication do pass, but no console opened, ssh just hangs, and "ps ax"
on the CentOS box shows "sshd at notty".  There are only these ttys:

crw-rw-rw-  1 root root 5, 0 2007-07-12  /dev/tty
crw--w----  1 root tty  4, 1  7月 12 14:49 /dev/tty1
crw-------  1 root root 4, 2  7月 12 14:48 /dev/tty2
crw-------  1 root root 4, 3  7月 12 14:48 /dev/tty3
crw-------  1 root root 4, 4  7月 12 14:48 /dev/tty4
crw-------  1 root root 4, 5  7月 12 14:48 /dev/tty5
crw-------  1 root root 4, 6  7月 12 14:48 /dev/tty6
-rw-r--r--  1 root root    0 2007-07-12  /dev/tty7
-rw-r--r--  1 root root    0 2007-07-12  /dev/tty8

and "ps ax" shows:

  3881 tty1     S+     0:00 ssh localhost
  3882 ?        Ss     0:00 sshd: root at notty


any idea?


Best regards,

hao



More information about the CentOS mailing list