Gentoo Archives: gentoo-bsd

From: Nicholas Steicke <nicholas.steicke@××××××××××.net>
To: gentoo-bsd@l.g.o
Subject: Re: [gentoo-bsd] TCP (FTP) problem - some sites - while emerging
Date: Mon, 23 Apr 2007 04:42:14
Message-Id: 462C38F3.5020900@narthollis.net
In Reply to: Re: [gentoo-bsd] TCP (FTP) problem - some sites - while emerging by Nathan Smith
1 Nathan Smith wrote:
2 > On 4/20/07, Timothy Redaelli <drizzt@g.o> wrote:
3 >> Can you try to recompile the kernel with gcc 4 but with -O0?
4 >> cd /usr/src/sys/i386/compile/GENERIC ; COPTFLAGS=-O0 make
5 >
6 > I can confirm that compiling with gcc-4 and COPTFLAGS=-O0 produces a
7 > working kernel (i.e. no malformed tcp packets). This was after I
8 > found that the gcc41 patch is also not causing the problem. After
9 > getting a working kernel with gcc-4 I went back and used the default
10 > COPTFLAGS again and it broke again. So I think this gives us a fair
11 > amount of certainty that the problem is caused by gcc-4 optimizations.
12 >
13 > As to the reason why some FreeBSD users experience this and other do
14 > not, I am not sure. The symptoms (broken TCP traffic to some sites)
15 > depend entirely upon the sites you are connecting to and how your
16 > connections are routed. So it is possible that somebody could have
17 > this problem by not realize it.
18 >
19 > However, using tcpdump I can tell that some machines apparently do not
20 > experience this problem, so it may be processor-specific (which makes
21 > sense given that it is an optimization problem). I use a Pentium M.
22 > What are other people using that have been affected by the problem?
23 >
24
25 Hey, i had this issue on a Celeron something (the one prior to the
26 coppermine series).
27
28 After reading a bug on the FreeBSD site (
29 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/34756 ) i worked out i
30 could connect to anything with an ip matching
31 [1-209].[1-209].[1-209].[1-209] (ie. if any section of an ip was >=210,
32 it would time out) - i tried compiling with '-O0' however the kernel
33 still didnt work, even after doing 2x 'emerge -e system' (after much
34 pain getting all the packages onto the box) -- any help getting gfbsd
35 working would be great!
36
37 --
38 --------------------------------
39 Email: narthollis@××××××××××.net
40 --
41 gentoo-bsd@g.o mailing list