From owner-freebsd-current@FreeBSD.ORG Sun Nov 4 11:32:08 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF503E52 for ; Sun, 4 Nov 2012 11:32:08 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 30C2D8FC0A for ; Sun, 4 Nov 2012 11:32:07 +0000 (UTC) Received: (qmail 39000 invoked from network); 4 Nov 2012 13:07:57 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 4 Nov 2012 13:07:57 -0000 Message-ID: <50965236.6040009@freebsd.org> Date: Sun, 04 Nov 2012 12:32:06 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Manfred Antar Subject: Re: weird network problems on current since 10/28/2012 References: <201211031740.qA3HeqVX001622@pozo.com> <201211040113.qA41DfLn001577@pozo.com> In-Reply-To: <201211040113.qA41DfLn001577@pozo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 11:32:09 -0000 On 04.11.2012 02:13, Manfred Antar wrote: > At 03:29 PM 11/3/2012, Adrian Chadd wrote: >> On 3 November 2012 10:40, Manfred Antar wrote: >>> i have problem connecting to freebsd box on local network since last sunday. >>> the last kernel that works: >>> FreeBSD 10.0-CURRENT #0: Sun Oct 28 12:14:38 PDT 2012 >>> anything after that, sometimes i can connect, other times just hangs. >>> any network connection hangs ===== pop httpd ssh etc etc. >>> anyone have any ideas ? >>> i can checkout different sources and see if i can locate the changes that cause this. >> >> Please do! >> >> >> >> adrian > > OK > Here is what I found doing : > setenv CVSROOT /usr/home/ncvs > > cvs co -D"October 28, 2012 12:14:38 PDT" sys > > A kernel from that time works fine. > > doing: > > cvs up -D"October 28, 2012 13:14:38 PDT" sys 1 hour later > the following files were changed: > sys/netinet/tcp_input.c > sys/netinet/tcp_timer.c > sys/netinet/tcp_var.h > > Building a kernel from these new files is when the problem starts. Can you please provide one or more tcpdump from a failing kernel? Also please enable sysctl net.inet.tcp.logdebug=1 and capture LOG_DEBUG output from syslogd. That may give some important information as well. -- Andre