The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: drivers/char/rocket.c: somewhat broken since 2.6.16
Date: Thu, 25 May 2006 13:34:01 +0400	[thread overview]
Message-ID: <44757A09.8060603@tls.msk.ru> (raw)

We've an old 8-port ISA rocketport card, which worked for several
years now.  And with 2.6.16, it behaves.. strangely.

After some [random] amount of work, some random port of the card
starts to show delayed receiving of incoming characters.  Ie, I
turn off/on the modem, connect to the port, hit AT<cr> - nothing
happens.  I hit one more <cr> and see first 'A' from the modem.  I
hit another <cr>, and see the 'T' from the modem... After hitting
some key several more times, I finally see the whole modem response
(echoing of the command - AT<cr>, followed by OK<cr>).  Ie, incoming
(from the modem) chars are displayed only when something goes TO the
modem.

Once the port is turned into this "mode", it just stays here.  I tried
to re-load rocket.ko module - it helps.  But some more time and it
switches into this strange mode again.  Some more time/work, and
another port switches to this mode.. etc.

2.6.15 behaves correctly, at least I'm unable to reproduce the problem
on this kernel.  2.6.16 shows it on a regular basis.

The only real changes to rocket.c during 2.6.16 development cycle was
the following two patches:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=33f0f88f1c51ae5c2d593d26960c760ea154c2e2
from Alan Cox, titled "[PATCH] TTY layer buffering revamp", and

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1989e20cc1e7491232795f9dac9b745e4329dfd8
from Michal Ostrowski, titled "[PATCH] Fix RocketPort driver",
with (as it seems to be from the diff) is a fix for the first
patch.

I'm trying to use rocket.c from 2.6.15 on a 2.6.16 kernel now,
let's see what will happen...  But the thing is, the problem
is difficult to reproduce (sometimes it switches to this crazy
mode very soon, sometimes it works for a week or so - I can't
so far see what can be used to trigger the switch) so.. ugh... ;)

Thanks.

/mjt

             reply	other threads:[~2006-05-25  9:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25  9:34 Michael Tokarev [this message]
2006-05-25 11:18 ` drivers/char/rocket.c: somewhat broken since 2.6.16 Alan Cox

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=44757A09.8060603@tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox