Bug 207373 (windowscaling) - cannot download from itu.int
Summary: cannot download from itu.int
Keywords:
Status: CLOSED NOTABUG
Alias: windowscaling
Product: Fedora
Classification: Fedora
Component: kernel
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John W. Linville
QA Contact: Brian Brock
URL:
Whiteboard:
: 209630 216815 217063 219483 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-20 20:56 UTC by Nerijus Baliūnas
Modified: 2007-11-30 22:11 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-16 22:15:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nerijus Baliūnas 2006-09-20 20:56:45 UTC
Hello,

If I use any kernel above 2.6.16 (2.6.17-1.2187_FC5smp for example), I cannot
download this file (with wget for example) -
http://www.itu.int/plenipotentiary/2006/structure/draft-tmp.doc .
Download is very slow and timeouts, and with a sniffer I see a lot of packets
with  TCP segment of a reassembled PDU. If I boot 2.6.16-1.2122_FC5smp kernel,
file is downloaded OK.
It happens only on some PCs, usually when they are connected to DSL.

Comment 1 Nerijus Baliūnas 2006-10-13 09:42:34 UTC
The same or similar problem is with projects.ivija.com - for example, links
https://projects.ivija.com/ timeouts. But it works if I boot 2.6.16-1.2133_FC5
kernel.

Comment 2 Konrad Rzeszutek 2006-10-13 15:36:27 UTC
What does 'ifconfig <eth> device' tell you for the MTU on each kernel?

Comment 4 John W. Linville 2006-10-13 18:21:28 UTC
Please include the output of running "sysreport"...thanks!

Comment 5 Nerijus Baliūnas 2006-10-13 23:18:49 UTC
MTU:1500. I tried changing (lowering) it, didn't help.


Comment 6 Nerijus Baliūnas 2006-10-13 23:42:00 UTC
sysreport output file was quite large. But I don't think you need it - it
happens on about 5 different PCs in different locations - both 32 and 64 bit,
different network cards (e100 and 3c59x), both new FC5 installations and systems
upgraded from earlier Fedora versions. SELinux is disabled. What matters is
internet connection (equipment - routers etc) - it works on my home PC, which is
connected to 10 mbps LAN, and doesn't work on servers connected to ADSL or T1.

Comment 7 Konrad Rzeszutek 2006-10-16 14:51:20 UTC
Nerijus,

There was a change in the 2.6.17 and later kernels to the TCP stack that
resulted in the problem that TCP packets wouldn't go through certain routers -
which is exactly what you are hitting.  I did see a fix, but I can't recall
where and when I saw it - searching my e-mail archives did not yield anything
either. John, who this bug is assigned to, would probably have a better idea.



Comment 8 Nerijus Baliūnas 2006-10-16 16:32:18 UTC
kernel-2.6.18-1.2200.fc5.i686 still has this problem.

Comment 9 John W. Linville 2006-10-16 18:36:29 UTC
Konrad, comment 7 doesn't "ring any bells" for me.  Comment 8 would seem to 
indicate that this is another issue.

Nerijus, please attach the information I requested in comment 4.  I'm sorry, 
but "works on my home PC...doesn't work on servers connected to ADSL or T1" 
and "lot of packets with  TCP segment of a reassembled PDU" just isn't enough 
information.

Comment 10 Dave Jones 2006-10-16 18:36:31 UTC
A new kernel update has been released (Version: 2.6.18-1.2200.fc5)
based upon a new upstream kernel release.

Please retest against this new kernel, as a large number of patches
go into each upstream release, possibly including changes that
may address this problem.

This bug has been placed in NEEDINFO state.
Due to the large volume of inactive bugs in bugzilla, if this bug is
still in this state in two weeks time, it will be closed.

Should this bug still be relevant after this period, the reporter
can reopen the bug at any time. Any other users on the Cc: list
of this bug can request that the bug be reopened by adding a
comment to the bug.

In the last few updates, some users upgrading from FC4->FC5
have reported that installing a kernel update has left their
systems unbootable. If you have been affected by this problem
please check you only have one version of device-mapper & lvm2
installed.  See bug 207474 for further details.

If this bug is a problem preventing you from installing the
release this version is filed against, please see bug 169613.

If this bug has been fixed, but you are now experiencing a different
problem, please file a separate bug for the new problem.

Thank you.

Comment 11 Nerijus Baliūnas 2006-10-16 19:43:43 UTC
Why another issue? Konrad said "There was a change in the 2.6.17 and later
kernels...", so it doesn't mean it is fixed in 2.6.18. He "did see a fix, but I
can't recall where and when" - so I assume the fix was not applied to 2.6.18,
and as I already told, the problem still exists in 2.6.18-1.2200.fc5.

I can't attach sysreport output, as tar file was more than 500 MB, and I
canceled bzip2'ing after few minutes. I think bz2 file will be too big to attach
here.

I know it isn't enough information, but I believe it's "There was a change in
the 2.6.17 and later kernels to the TCP stack that resulted in the problem that
TCP packets wouldn't go through certain routers - which is exactly what you are
hitting". So either you can reproduce it or send me a fix which I can try (I'll
try to find it in linux-kernel list archives).

Comment 12 Dave Jones 2006-10-16 20:54:14 UTC
John, I think Konrad was referring to the window scaling changes that happened
circa 2.6.17

Comment 13 John W. Linville 2006-10-16 21:10:33 UTC
Thanks for the tip, Dave...

Nerijus, you might try doing this (as root) before connecting to the sites in 
question:

   echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

For a slightly less "ham-handed" approach, you could try this:

   echo 4096 87380 174760 > /proc/sys/net/ipv4/tcp_rmem

Please try those (at least the first one) and post the results here...thanks!

P.S.  Links of interest:

   http://marc.theaimsgroup.com/?l=linux-netdev&m=114478312100641&w=2&gt
   http://kerneltrap.org/node/6723
   http://lwn.net/Articles/92727/ (old, but decent background info)

Comment 14 Dave Jones 2006-10-16 21:22:44 UTC
*** Bug 209630 has been marked as a duplicate of this bug. ***

Comment 15 Nerijus Baliūnas 2006-10-16 21:41:27 UTC
John, both workarounds worked, thanks (I tried them on different servers).
Should I use one of them or will updated kernel be released?

Comment 16 Dave Jones 2006-10-16 22:05:29 UTC
It isn't a kernel bug. It's a sign of a broken router between you and the target
host that can't do window scaling correctly.


Comment 17 Nerijus Baliūnas 2006-10-16 22:17:43 UTC
It is probably worth to add info about this problem to FC6 release notes.

Comment 18 Konrad Rzeszutek 2006-10-17 15:20:00 UTC
Dave amd John,

Thanks for coming to rescue. 

Comment 19 Jarod Wilson 2006-11-22 15:05:21 UTC
*** Bug 216815 has been marked as a duplicate of this bug. ***

Comment 20 Dave Jones 2006-11-24 21:51:46 UTC
*** Bug 217063 has been marked as a duplicate of this bug. ***

Comment 21 Dave Jones 2006-12-19 03:42:15 UTC
*** Bug 219483 has been marked as a duplicate of this bug. ***

Comment 22 Gerwin Krist 2006-12-19 07:06:37 UTC
Oke this work-around does work oke. But saying it's the routers fault it's a
little bit to easy imho. Previous versions in the FC 5 kernels didn't have the
problems. Oh well the workaround works well enough :)


Note You need to log in before you can comment on or make changes to this bug.