LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-26-2010, 07:51 PM   #1
Zigmutt
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
Question 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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Unable to determine your tty name" Alexvader Slackware 11 05-24-2011 04:20 PM
[SOLVED] shell command to determine which v/tty I'm on right now? (i.e. VT1, VT2 ... ) GrapefruiTgirl Linux - General 24 08-05-2010 05:36 PM
How to determine USB port tty value coondog52 Linux - Hardware 14 06-29-2009 05:18 PM
ibook G4 - Debian Lenny - Network Manager - ppc BoydRice Debian 2 11-24-2008 08:13 AM
Lenny on ibook g4 ppc- sound, display oddities mkoco Debian 5 05-24-2008 12:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration