Re: serial console on > 2.4.14

Eric W. Biederman (ebiederm@xmission.com)
23 Dec 2001 12:37:43 -0700


Andreas Gietl <a.gietl@e-admin.de> writes:

> 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.

You almost certainly have an init that is clearing cread. There are patched
versions that have this problem fixed. Apparently cread actually being implemented
in the kernel serial drivers is new, and only started appearing since 2.4.2.

Eric
-
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/