Gentoo Archives: gentoo-bsd

From: Joe Peterson <joe@×××××××.com>
To: gentoo-bsd@l.g.o
Subject: Re: [gentoo-bsd] TCP (FTP) problem - some sites - while emerging
Date: Mon, 23 Apr 2007 05:29:49
Message-Id: 462C442D.4060101@skyrush.com
In Reply to: Re: [gentoo-bsd] TCP (FTP) problem - some sites - while emerging by Nathan Smith
1 BTW, I have recompiled the kernel (did not remove any patches - left the
2 source as-is) under gcc-3, and my TCP problem is gone.
3
4 -Joe
5
6
7 Nathan Smith wrote:
8 > On 4/19/07, Camille Huot <cam@g.o> wrote:
9 >> 2007/4/19, Joe Peterson <joe@×××××××.com>:
10 >>> A reliable test
11 >>> case I found is trying to FTP to ftp.astron.com - never works.
12 >>>
13 >> I'm experiencing the exact same problem. tcpdump show bad checksums like
14 >> Nathan, ftp ftp.astron.com doesn't work.
15 >>
16 >> My nic is:
17 >> em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port
18 >> 0xcc00-0xcc3f mem 0xdfde0000-0xdfdfffff irq 18 at device 2.0 on pci1
19 >> em0: Ethernet address: 00:11:09:35:c3:81
20 >>
21 >> Using a vanilla FreeBSD 6.2 kernel on Gentoo/FreeBSD, networking is working.
22 >> On #gentoo-bsd we're trying to find the origin
23 >> of the issue.
24 >> --
25 >> Camille Huot
26 >
27 > Victory!
28 >
29 > Here is how I compiled a Gentoo/FreeBSD kernel which does not produce
30 > broken tcp packets:
31 >
32 > 1. I emerged =sys-devel/gcc-3*.
33 > 2. Used gcc-config to set gcc-3 as the system compiler
34 > 3. Edited the freebsd-sources ebuild to remove the gcc41 patch.
35 > 4. Emerged freebsd-sources
36 > 5. Compiled the kernel and rebooted to find I could make normal TCP
37 > connections to anyone, anywhere.
38 >
39 > So gcc-4.1 seems to be the culprit here. I will check FreeBSD's
40 > archives to see if this has come up, but I wonder if they have moved
41 > to gcc4 yet anyway. So, give what I posted above a try an let me know
42 > how it worked for you.
43 >
44 --
45 gentoo-bsd@g.o mailing list

Replies

Subject Author
Re: [gentoo-bsd] TCP (FTP) problem - some sites - while emerging Nathan Smith <ndansmith@×××××.com>