From: ebiederm@xmission.com (Eric W. Biederman)
To: "Robert J.Dunlop" <rjd@xyzzy.clara.co.uk>
Cc: Barry Wu <wqb123@yahoo.com>, linux-kernel@vger.kernel.org
Subject: Re: about serial console problem
Date: 25 Jul 2001 02:52:06 -0600 [thread overview]
Message-ID: <m1r8v5gzm1.fsf@frodo.biederman.org> (raw)
In-Reply-To: <20010723065212.31153.qmail@web13901.mail.yahoo.com> <m17kwyhyuz.fsf@frodo.biederman.org> <20010724232909.A27546@xyzzy.clara.co.uk>
In-Reply-To: <20010724232909.A27546@xyzzy.clara.co.uk>
"Robert J.Dunlop" <rjd@xyzzy.clara.co.uk> writes:
> Hi,
>
> On Tue, Jul 24, Eric W. Biederman wrote:
> > Barry Wu <wqb123@yahoo.com> writes:
> >
> > > I am porting linux 2.4.3 to our mipsel evaluation
> > > board. Now I meet a problem. Because I use edown
> > > to download the linux kernel to evaluation board.
> > > I update the serial baud rate to 115200.
> > > I use serial 0 as our console, and I can use
> > > printk to print debug messages on serial port.
> > > But after kernel call /sbin/init, I can not
> > > see "INIT ... ..." messages on serial port.
> > > I suppose perhaps I make some mistakes. But when
> > > I use 2.2.12 kernel, it ok.
> > > If someone knows, please help me. Thanks!
> >
> > It's a bug in init. INIT clears the CREAD flag which means all reads
> > to the console will be dropped. Why it /sbin/init works before 2.4.3
> > is a mystery.
>
> Perhaps because most of the serial drivers didn't implement CREAD (or
> rather !CREAD) until then.
Hmm. When I looked it appeared CREAD should have worked in 2.4.2 but I do
know /sbin/init didn't have a problem with that one.
> Actually more and more have been implementing
> it as we go through 2.4.x, depends when your particular driver got caught.
Do you know the history on how/why ~CREAD support started showing in
in the linux kernels. I'd like to understand what is going on.
Eric
next prev parent reply other threads:[~2001-07-25 8:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-23 6:52 about serial console problem Barry Wu
2001-07-24 20:10 ` Eric W. Biederman
2001-07-24 22:29 ` Robert J.Dunlop
2001-07-25 8:52 ` Eric W. Biederman [this message]
2001-07-25 11:12 ` Robert J.Dunlop
-- strict thread matches above, loose matches on Subject: below --
2001-07-23 6:51 Barry Wu
2001-07-23 7:11 ` Keith Owens
2001-07-23 14:29 ` Marc Karasek
2001-07-23 19:56 ` Dave Airlie
2001-07-23 19:56 ` Dave Airlie
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=m1r8v5gzm1.fsf@frodo.biederman.org \
--to=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rjd@xyzzy.clara.co.uk \
--cc=wqb123@yahoo.com \
/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.