From: Jan Kasprzak <kas@fi.muni.cz>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: jirislaby@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: MOXA I/O errors on 2.6.28+
Date: Sat, 14 Mar 2009 23:41:38 +0100 [thread overview]
Message-ID: <20090314224138.GC3375@fi.muni.cz> (raw)
In-Reply-To: <20090314214230.352d293e@lxorguk.ukuu.org.uk>
Alan Cox wrote:
: On Sat, 14 Mar 2009 22:36:30 +0100
: Jan Kasprzak <kas@fi.muni.cz> wrote:
:
: > I have several servers with MOXA C320 serial boards. Starting with 2.6.28,
: > some ports on MOXA boards sometimes get to a state where open("/dev/ttyMX<n>")
: > returns -EIO. I use the servers with MOXA boards as serial console hubs,
: > and I think the EIO state is caused by the remote getty or the whole remote
: > server being restarted.
:
: Sounds like a refcount bug.
:
: > 2.6.27 is OK, 2.6.28 and 2.6.29-rc8 is faulty. I can git bisect
: > if you want (I have a spare server which I can reboot at will).
:
: Might be useful but let me take a look first, chances are you've provided
: enough information
It is this one:
d450b5a0196b6442cf3f29fc611d9c8daa56b559 tty: kref usage for isicom and moxa.
Reverting this commit on top of 2.6.29-rc8 (and resolving a single conflict
the revert introduces in drivers/char/moxa.c) makes the problem disappear.
-Yenya
--
| Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/ Journal: http://www.fi.muni.cz/~kas/blog/ |
>> If you find yourself arguing with Alan Cox, you’re _probably_ wrong. <<
>> --James Morris in "How and Why You Should Become a Kernel Hacker" <<
next prev parent reply other threads:[~2009-03-14 22:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-14 21:36 MOXA I/O errors on 2.6.28+ Jan Kasprzak
2009-03-14 21:42 ` Alan Cox
2009-03-14 22:41 ` Jan Kasprzak [this message]
2009-03-15 9:31 ` Jiri Slaby
2009-03-15 9:36 ` [PATCH 1/1] Char: moxa, fix refcounting in moxa_poll_port Jiri Slaby
[not found] ` <20090315105530.6f1782be@lxorguk.ukuu.org.uk>
2009-03-15 11:52 ` Jiri Slaby
2009-03-15 9:37 ` Jiri Slaby
2009-03-15 15:25 ` Jan Yenya Kasprzak
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=20090314224138.GC3375@fi.muni.cz \
--to=kas@fi.muni.cz \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=jirislaby@gmail.com \
--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.