lkml.org 
[lkml]   [2001]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: serial console on > 2.4.14
Date
On Sunday 23 December 2001 15:23, Russell King wrote:

This is what stty gives

speed 38400 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^X; eof = ^D; eol = <undefiniert>;
eol2 = <undefiniert>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase =
^W; lnext = ^V;
flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff -iuclc -ixany -imaxbel
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
-echoprt -echoctl -echoke


But if forgot to say that after the startup completed and agetty starts the
console the input works again. It just does not work during the startup. It
works before the startup to go into the bios and it works after the startup.


> On Sun, Dec 23, 2001 at 03:06:58PM +0100, Andreas Gietl wrote:
> > I compiled all kernels with the same configuration with serial
> > console-option enabled. With 2.4.14 everything is just fine: I see the
> > kernel-output and can type in things during startup esp. do a fsck. With
> > 2.4.16 and 2.4.17 i SEE everything but no input is accepted.
>
> From what I've deduced, there are a number of SysVinit implementations out
> there that incorrectly clear the terminals CREAD flag.
>
> [-]cread
> allow input to be received
>
> Obviously if it is cleared, then you'll see your behaviour. If you can log
> into the box some other way, please check the settings using:
>
> stty -aF /dev/ttyS0

--
e-admin internet gmbh
Andreas Gietl
Roter-Brach-Weg 124a
tel +49 941 3810884
fax +49 941 3810891
mobil +49 171 6070008
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site