linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Guy M. Streeter" <streeter@redhat.com>
To: linuxppc-embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: spurious serial console hangup in 2.4.23-pre2 and later
Date: 02 Oct 2003 14:26:18 -0500	[thread overview]
Message-ID: <1065122778.1035.20.camel@jarjar.hsv.redhat.com> (raw)


I'm using a board with a GT-64260 implementing the serial console. In
kernels later than 2.4.23-pre1, the console hangs in the middle of the
login procedure.
I have placed debug printks in the driver's open, close and hangup
routines, and I find two differences in the newer kernels:

1. Early in init (possibly after exec of the init app) there is one more
call to the driver's close routine than I see with the older kernel.
This difference may be OK, since it doesn't bring the use count down to
zero.

2. During login, after agetty has read the username but before login has
prompted for the password, there occurs a call to the driver's hangup
routine. This doesn't happen with the earlier kernel, and it results in
the driver returning -EIO for all subsequent requests.

I can't find any differences between pre1 and pre2 that obviously affect
this. I have noticed that adding the ac4 patch set to a 2.4.22 kernel
causes the same scenario.
Could someone clue me about changes that could make this happen, and
what to do to fix it?

thanks,
--Guy


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

                 reply	other threads:[~2003-10-02 19:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1065122778.1035.20.camel@jarjar.hsv.redhat.com \
    --to=streeter@redhat.com \
    --cc=linuxppc-embedded@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).