Correct /etc/gettydefs for a Serial Console

Grant Erickson erick205 at
Wed Apr 4 01:58:29 EST 2001

I am trying to debug two issues with the look and feel of a serial console
on a IBM PowerPC 405GP Walnut board.

Issue 1)

	- After the first few lines of text spew out for user-space
	  process kick-off, the end-of-line characters get translated

	  INIT: Entering runlevel: 3
	  The system is coming up.
	  Network daemons: portmap.
	  NIS domain: borg-nis
	  NIS daemons: ypbind.

	  Linux (walnut)

	  walnut console login: .
                                  NFS daemons: automount.
                                                         Internet daemons: ine
             Log daemons: syslogd klogd.
                                        RPC daemons: rstatd rusersd.
                                                                    Other dae

	I suspect that the problem is with my /etc/gettydefs file:

	  #    Line settings and hunt sequences for TTY ports used by getty.

	  # <speed># <init flags> # <final flags> #<login string>#<next-speed>

	  # Serial Console entry
	  console# B9600 CLOCAL # B9600 SANE TAB3 CLOCAL #\r\n\n at S console login: #console

	Does anyone have a more reasonable /etc/gettydefs. I suspect I
	might need ONLCR?

Issue 2)

	- The console prompt from getty comes up before the daemons
	  executed by the scripts in /etc/rc.d/rc3.d are finished (see
	  above example). I suspect that there's a possible problem in my

	  #    System V init run level process control file

	  # Default run level

	  # System initialization.

	  # System console
	  co:123:respawn:/sbin/getty console console

	  l0:0:wait:/etc/rc.d/rc 0
	  l1:1:wait:/etc/rc.d/rc 1
	  l2:2:wait:/etc/rc.d/rc 2
	  l3:3:wait:/etc/rc.d/rc 3
	  l4:4:wait:/etc/rc.d/rc 4
	  l5:5:wait:/etc/rc.d/rc 5
	  l6:6:wait:/etc/rc.d/rc 6

Any ideas?


Grant Erickson

 Grant Erickson                       University of Minnesota Alumni
  o mail:erick205 at                                 1996 BSEE
  o                          1998 MSEE

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list