Lenny on PPC - unable to determine your TTY name
I'm attempting to install Lenny on a PowerPC device (routerboard 600). I've got the board to Boot but cannot login on the serial console.
Message is below - this shows up regardless of the username
[ 1.901624] Freeing unused kernel memory: 228k init
INIT: version 2.86 booting
INIT: Entering runlevel: 2
(none) login:
Debian GNU/Linux 5.0 (none) console
(none) login: root
Unable to determine your tty name.
(none) login: admin
Unable to determine your tty name.
.config shows that kernel was compiled with console support
root@lamp:~/rb600# grep console linux-2.6.28.2-rb600-airwire1.config
CONFIG_CMDLINE="console=ttyS0,115200"
/etc/inittab
# The default runlevel.
id:2:initdefault:
T0:23:respawn:/sbin/getty -L console 115200 vt100
/etc/fstab
root@lamp:/media/cf/etc# cat fstab
proc /proc proc default 0 0
/dev/sdb2 / ext3 notail 0 0
/etc/securetty
root@lamp:/media/cf/etc# head securetty
# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
console
# Standard serial ports
ttyS0
ttyS1
root@lamp:/media/cf/dev# ls -la console
crw--w--w- 1 root root 5, 1 Aug 26 15:17 console
root@lamp:/media/cf/dev#
If I try changing
/etc/inittab
T0:23:respawn:/sbin/getty -L console 115200 vt100
To Be :
S0:23:respawn:/sbin/getty -L ttyS0 115200 vt100
Then I get nothing on Serial in/output following 'Entering Runlevel: 2' - which tells me that's wrong - I also see 'respawning to fast' which tells me that getty is dieing because it doesn't like ttyS0.
But I DON'T see any respawn errors when I use the first inittab above, so I think getty's working there OK, but I have no idea why it can't get my tty name....
I thought that maybe I need to add console=ttyS0 to the Kernel Parameters but that didn't seem to work either.
Outta ideas - looking for clues
Thanks,
Z
|