lkml.org 
[lkml]   [2001]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: serial console broken in 2.4.4?
This is not a real patch but it works fine for me:

--- drivers/char/serial.c.orig Thu May 3 09:29:00 2001
+++ drivers/char/serial.c Thu May 3 09:29:34 2001
@@ -1764,8 +1764,8 @@
/*
* !!! ignore all characters if CREAD is not set
*/
- if ((cflag & CREAD) == 0)
- info->ignore_status_mask |= UART_LSR_DR;
+// if ((cflag & CREAD) == 0)
+// info->ignore_status_mask |= UART_LSR_DR;
save_flags(flags); cli();
if (uart_config[info->state->type].flags & UART_STARTECH) {
serial_outp(info, UART_LCR, 0xBF);
This stuff got changed between 2.4.3 and 2.4.4 but I don't know why and
it broke my serial console. Please let me know when you know the "real"
fix for this problem.

Reto

Konstantin Boldyshev wrote:
>
> Hello,
>
> I have noticed strange serial console behaviour in 2.4.4.
> I have system with gettys on ttyS0 and tty1.
> When I boot with usual console (set to tty1), getty on ttyS0 works.
> When I boot with console set to ttyS0 ("console=ttyS0,9600n8"),
> getty on ttyS0 doesnot respond on input (although ps shows it running);
> all kernel messages are showed on ttyS0, but it seems that _input_ is
> disallowed/broken. Things were okay somewhere around (AFAIR) 2.4.0pre..
> Is this a known 2.4 bug? Any patch to fix this?
>
> --
> Regards,
> Konstantin
>
> -
> 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/
-
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 12:52    [W:0.031 / U:3.100 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site