From: "David S. Miller" <davem@redhat.com>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH] SunSAB console problems in 2.6.x
Date: Thu, 26 Aug 2004 20:19:46 +0000 [thread overview]
Message-ID: <20040826131946.35ae3d97.davem@redhat.com> (raw)
In-Reply-To: <20040825233247.237c1fb1.davem@redhat.com>
On Thu, 26 Aug 2004 13:01:36 -0400
Ben Collins <bcollins@debian.org> wrote:
> > I'm supposed to be asleep right now, and I won't be back in front of the
> > E450 until about midnight Central Time. I'll boot 2.6.6 then and post
> > the results. Would it help to try any of the 2.6.7 release candidates?
> > It grinds out kernels fairly fast...:)
>
> Yeah, if you can narrow down when this problem started, that would be
> the easiest way to pinpoint the problem.
I was under the impression that this sunsab kernel log output
problem had always been present. Anyways, if you can find
a 2.6.x where it worked, that would be great :)
Ben, to answer your question, the difference in output for
the console vs. userland is mainly in the setup of the chip.
In particular the initialization of the line.
The big clue is that once userland starts up, and thus opens
the serial line, the output gets sane. My theory was therefore
that chip init had everything to do with the garbled output.
The actual console character writing code is identical between
2.4.x and 2.6.x in the SAB driver so I really do not think
that is to blame.
Instead, I noticed that hw flow control settings were not being
made in the SAB chip for console init, whereas in 2.4.x they were.
Then I also noticed a hack added to the SunZILOG 2.6.x driver
console code which explicitly set the RTS/DTR properly, and thus
I added it to sunsab.c too in hopes that was the problem.
To wit, two questions for people seeing this problem:
1) Did it work find in some previous 2.6.x version, and if so
which one?
2) Once userland starts up, the userland messages print out fine
but are kernel messages still garbled?
Thanks.
next prev parent reply other threads:[~2004-08-26 20:19 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-26 6:32 [PATCH] SunSAB console problems in 2.6.x David S. Miller
2004-08-26 8:31 ` Ralph Mitchell
2004-08-26 13:23 ` Ben Collins
2004-08-26 17:01 ` Ben Collins
2004-08-26 18:05 ` Ralph Mitchell
2004-08-26 20:19 ` David S. Miller [this message]
2004-08-27 0:43 ` Joshua Kwan
2004-08-27 1:10 ` David S. Miller
2004-08-27 10:30 ` Ralph Mitchell
2004-08-27 19:19 ` David S. Miller
2004-08-27 22:29 ` David S. Miller
2004-08-27 23:24 ` Joshua Kwan
2004-08-27 23:24 ` David S. Miller
2004-08-27 23:25 ` David S. Miller
2004-08-27 23:34 ` C.Newport
2004-08-27 23:39 ` David S. Miller
2004-08-28 0:01 ` Joshua Kwan
2004-08-28 0:04 ` David S. Miller
2004-08-28 7:06 ` Ralph Mitchell
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=20040826131946.35ae3d97.davem@redhat.com \
--to=davem@redhat.com \
--cc=sparclinux@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.