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