From: Kouji Toriatama <toriatama@inter7.jp>
To: paulkf@microgate.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: PPP with PCMCIA modem stalls on 2.6.10 or later
Date: Fri, 17 Feb 2006 01:09:19 +0900 (JST) [thread overview]
Message-ID: <20060217.010919.121148551.toriatama@inter7.jp> (raw)
In-Reply-To: <1140019368.3119.12.camel@amdx2.microgate.com>
Paul Fulghum <paulkf@microgate.com> wrote:
> Try the following patch, and report the syslog output.
>
> This may be lost receive data due to full flip buffer.
> 2.6.9 would try processing rx data in the ISR if the
> flip buffer was full. This violated locking requirements
> and was changed to only process rx data in scheduled work.
> This can slow the processing of data.
I have tried your patch. The following is a part of syslog
output.
------------------------------------------------------------------
Feb 16 23:52:40 moka kernel: receive_chars:flip full:low_latency=0
Feb 16 23:52:40 moka kernel: receive_chars:flip full:discard char
------------------------------------------------------------------
I have got this pair of two lines many times while running the
wget command.
> Also try using the setserial utility to set
> the 'low_latency' option for the device. That should
> operate the same as 2.6.9 (which can be dangerous).
With 'low_latency' option in 2.6.15 with your patch, the problem
did not occur and no output from syslog.
> The improved flip buffering code in 2.6.16-rc3
> should also prevent any loss of data. If possible,
> try 2.6.16-rc3.
I have tried 2.6.16-rc3. With or without 'low_latency' option,
the problem did not occur. It seems to work fine! I will use
2.6.16-rc3 or later.
If you have any additional plan to pin down this problem, I will
try your patch.
Thank you for your help,
Kouji Toriatama
next prev parent reply other threads:[~2006-02-16 16:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-13 14:16 PPP with PCMCIA modem stalls on 2.6.10 or later Kouji Toriatama
2006-02-13 20:51 ` Paul Fulghum
2006-02-14 15:57 ` Kouji Toriatama
2006-02-14 17:12 ` Paul Fulghum
2006-02-15 13:11 ` Kouji Toriatama
2006-02-15 16:02 ` Paul Fulghum
2006-02-16 16:09 ` Kouji Toriatama [this message]
2006-02-16 16:24 ` Paul Fulghum
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=20060217.010919.121148551.toriatama@inter7.jp \
--to=toriatama@inter7.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=paulkf@microgate.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.