All of lore.kernel.org
 help / color / mirror / Atom feed
From: Reto Baettig <baettig@scs.ch>
To: Konstantin Boldyshev <konst@linuxassembly.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: serial console broken in 2.4.4?
Date: Mon, 14 May 2001 09:06:45 +0200	[thread overview]
Message-ID: <3AFF8405.D2F5F74F@scs.ch> (raw)
In-Reply-To: <Pine.LNX.4.33L.0105111659530.536-100000@alpha.linuxassembly.org>

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/

      reply	other threads:[~2001-05-14  7:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-11 13:13 serial console broken in 2.4.4? Konstantin Boldyshev
2001-05-14  7:06 ` Reto Baettig [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AFF8405.D2F5F74F@scs.ch \
    --to=baettig@scs.ch \
    --cc=konst@linuxassembly.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.