From: "Nathan Smith" <ndansmith@gmail.com>
To: gentoo-bsd@lists.gentoo.org
Subject: Re: [gentoo-bsd] TCP (FTP) problem - some sites - while emerging
Date: Fri, 20 Apr 2007 11:28:40 -0700 [thread overview]
Message-ID: <b49843710704201128m7546360fs89e57797e90a7bab@mail.gmail.com> (raw)
In-Reply-To: <4628C3B4.6070809@gentoo.org>
On 4/20/07, Timothy Redaelli <drizzt@gentoo.org> wrote:
> Can you try to recompile the kernel with gcc 4 but with -O0?
> cd /usr/src/sys/i386/compile/GENERIC ; COPTFLAGS=-O0 make
I can confirm that compiling with gcc-4 and COPTFLAGS=-O0 produces a
working kernel (i.e. no malformed tcp packets). This was after I
found that the gcc41 patch is also not causing the problem. After
getting a working kernel with gcc-4 I went back and used the default
COPTFLAGS again and it broke again. So I think this gives us a fair
amount of certainty that the problem is caused by gcc-4 optimizations.
As to the reason why some FreeBSD users experience this and other do
not, I am not sure. The symptoms (broken TCP traffic to some sites)
depend entirely upon the sites you are connecting to and how your
connections are routed. So it is possible that somebody could have
this problem by not realize it.
However, using tcpdump I can tell that some machines apparently do not
experience this problem, so it may be processor-specific (which makes
sense given that it is an optimization problem). I use a Pentium M.
What are other people using that have been affected by the problem?
--
Nathan Smith
ndansmith@gmail.com
--
gentoo-bsd@gentoo.org mailing list
next prev parent reply other threads:[~2007-04-20 18:29 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-18 19:13 [gentoo-bsd] TCP (FTP) problem - some sites - while emerging Joe Peterson
2007-04-18 20:04 ` Ignacio Arqué-Latour
2007-04-18 20:28 ` Joe Peterson
2007-04-19 6:27 ` Justin Wyer
2007-04-19 12:25 ` Joe Peterson
2007-04-19 14:32 ` Camille Huot
2007-04-19 22:50 ` Nathan Smith
2007-04-20 13:44 ` Timothy Redaelli
2007-04-20 18:28 ` Nathan Smith [this message]
2007-04-20 18:43 ` Joe Peterson
2007-04-20 22:59 ` Camille Huot
2007-04-22 15:52 ` Peter Weller
2007-04-23 4:41 ` Nicholas Steicke
2007-04-23 2:05 ` Joe Peterson
2007-04-23 5:29 ` Joe Peterson
2007-04-24 0:02 ` Nathan Smith
2007-04-25 3:30 ` Joe Peterson
2007-04-25 9:12 ` Camille Huot
2007-05-02 3:53 ` [gentoo-bsd] News on TCP checksum bug: CHOST="i686-gentoo-freebsd6.2" works! Joe Peterson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b49843710704201128m7546360fs89e57797e90a7bab@mail.gmail.com \
--to=ndansmith@gmail.com \
--cc=gentoo-bsd@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox