From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from <gentoo-bsd+bounces-71-garchives=archives.gentoo.org@gentoo.org>) id 1HexrA-00025O-Je for garchives@archives.gentoo.org; Fri, 20 Apr 2007 18:29:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3KIShA5003022; Fri, 20 Apr 2007 18:28:43 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l3KISgfx003017 for <gentoo-bsd@lists.gentoo.org>; Fri, 20 Apr 2007 18:28:42 GMT Received: by wr-out-0506.google.com with SMTP id 60so937993wri for <gentoo-bsd@lists.gentoo.org>; Fri, 20 Apr 2007 11:28:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=g/uEwI7gSVenV0AlAuyPpdWf7R5EYxyNQWhIdubNRvooE5VvFMsShhHPCl+vkm1g/0y+z2sJu9O690Lvd3M3OXxdDT8gJkg/YMJFs022QHcz6QYX4v14bXN/rRH0v4OJb4XycLPwKsdDqwfl+5rNuvJWyQygi0VN76fQfyPJf3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OULtSaHzQaIc3Gj/xSnJTitWYEsQDuG9xEvmG2Qp7w8oGj8zk4miasRk43TrJsWeTVJ1LQgfyeqlzZlWQY+FRf54dW9OOF+QbtY+l5PshHErGM9cScnexVVz2Tk1a2In+pk3ljNPrcAIUGXUDniWXCQyl2SS+0jLIF++6K5ThfI= Received: by 10.115.32.1 with SMTP id k1mr1357586waj.1177093721090; Fri, 20 Apr 2007 11:28:41 -0700 (PDT) Received: by 10.114.191.17 with HTTP; Fri, 20 Apr 2007 11:28:40 -0700 (PDT) Message-ID: <b49843710704201128m7546360fs89e57797e90a7bab@mail.gmail.com> Date: Fri, 20 Apr 2007 11:28:40 -0700 From: "Nathan Smith" <ndansmith@gmail.com> To: gentoo-bsd@lists.gentoo.org Subject: Re: [gentoo-bsd] TCP (FTP) problem - some sites - while emerging In-Reply-To: <4628C3B4.6070809@gentoo.org> Precedence: bulk List-Post: <mailto:gentoo-bsd@lists.gentoo.org> List-Help: <mailto:gentoo-bsd+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-bsd+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-bsd+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-bsd.gentoo.org> X-BeenThere: gentoo-bsd@gentoo.org Reply-to: gentoo-bsd@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46266DDB.9050701@skyrush.com> <df0e36580704181304m21e572b7p96fe07208055da86@mail.gmail.com> <46267F77.5050405@skyrush.com> <ada997910704182327y6705f0e3i110dfe767fa54aae@mail.gmail.com> <46275F9D.6060906@skyrush.com> <ad6153720704190732k59438b0fvba4d0bbac470ea56@mail.gmail.com> <b49843710704191550y507b5d27n5392ae9def5200ac@mail.gmail.com> <4628C3B4.6070809@gentoo.org> X-Archives-Salt: 59462150-05e0-4888-ac6f-46c346f7b793 X-Archives-Hash: e2c9fb522000d87b303acf843a03c773 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