Paul Fulghum <[email protected]> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]