linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* console not responding on walnut 405gp
@ 2003-04-29 21:35 Darin.Johnson
  2003-04-29 21:49 ` Brian Kuschak
  0 siblings, 1 reply; 2+ messages in thread
From: Darin.Johnson @ 2003-04-29 21:35 UTC (permalink / raw)
  To: linuxppc-embedded


After booting up on a walnut 405gp board, the console prints
the shell prompt, but does not respond to input.  This works
ok when I used an older hardhat 1.2 release, but is failing
when I try to use something newer.  I can telnet in to the
system, and can send output to /dev/console or /dev/ttyS0,
and I can even open up a shell on /dev/ttyS1.  Thus the uart
code appears to be correct.  Terminal flow control is turned
off.  Other hints from the mail archives didn't provide any
leads.

The relevant line from inittab is
   /bin/sh < /dev/console > /dev/console 2> /dev/console

This problem occurs with kernel 2.4.21-pre6 (via
linuxppc-2.4-devel) and 2.4.20-2002-12-04 (from ftp.denx.de).

Darin Johnson

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: console not responding on walnut 405gp
  2003-04-29 21:35 console not responding on walnut 405gp Darin.Johnson
@ 2003-04-29 21:49 ` Brian Kuschak
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Kuschak @ 2003-04-29 21:49 UTC (permalink / raw)
  To: Darin.Johnson, linuxppc-embedded


Darin,

/sbin/init may need to be patched and rebuilt.  CREAD
flag is required for linux kernels > 2.4.3.

Regards,
Brian

--- init.c.old     Sat Jan 13 02:45:33 2001
+++ init.c         Sat Mar  8 11:45:20 2003
@@ -684,7 +684,7 @@
                (void) tcgetattr(fd, &tty);

                tty.c_cflag &=
CBAUD|CBAUDEX|CSIZE|CSTOPB|PARENB|PARODD;
-               tty.c_cflag |= HUPCL|CLOCAL;
+               tty.c_cflag |= HUPCL|CLOCAL|CREAD;

                tty.c_cc[VINTR]  = 3;   /* ctrl('c')
*/
                tty.c_cc[VQUIT]  = 28;  /* ctrl('\\')
*/


--- Darin.Johnson@nokia.com wrote:
>
> After booting up on a walnut 405gp board, the
> console prints
> the shell prompt, but does not respond to input.
> This works
> ok when I used an older hardhat 1.2 release, but is
> failing
> when I try to use something newer.  I can telnet in
> to the
> system, and can send output to /dev/console or
> /dev/ttyS0,
> and I can even open up a shell on /dev/ttyS1.  Thus
> the uart
> code appears to be correct.  Terminal flow control
> is turned
> off.  Other hints from the mail archives didn't
> provide any
> leads.
>
> The relevant line from inittab is
>    /bin/sh < /dev/console > /dev/console 2>
> /dev/console
>
> This problem occurs with kernel 2.4.21-pre6 (via
> linuxppc-2.4-devel) and 2.4.20-2002-12-04 (from
> ftp.denx.de).
>
> Darin Johnson
>
>


The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-29 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-29 21:35 console not responding on walnut 405gp Darin.Johnson
2003-04-29 21:49 ` Brian Kuschak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).