From owner-freebsd-current@FreeBSD.ORG Tue Jan 1 20:42:58 2013 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 AFDA222D; Tue, 1 Jan 2013 20:42:58 +0000 (UTC) (envelope-from null@pozo.com) Received: from pozo.com (pozo.com [216.101.162.50]) by mx1.freebsd.org (Postfix) with ESMTP id 751498FC0A; Tue, 1 Jan 2013 20:42:58 +0000 (UTC) Received: from T61p.pozo.com (t61p.pozo.com [192.168.0.4]) (authenticated bits=0) by pozo.com (8.14.6/8.14.6) with ESMTP id r01Kgq6E001548 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NOT); Tue, 1 Jan 2013 12:42:53 -0800 (PST) (envelope-from null@pozo.com) Message-Id: <201301012042.r01Kgq6E001548@pozo.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 01 Jan 2013 12:42:47 -0800 To: Gleb Smirnoff From: Manfred Antar Subject: Re: loopback interface broken on current In-Reply-To: <20130101194803.GB25661@glebius.int.ru> References: <201212271705.qBRH5VHU006208@pozo.com> <20130101102255.GA25661@FreeBSD.org> <201301011040.r01Ae37A043153@pozo.com> <20130101194803.GB25661@glebius.int.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,MISSING_MID autolearn=no version=3.3.2, No X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on pozo.com X-pozocom-MailScanner-Information: Please contact the ISP for more information X-pozocom-MailScanner-ID: r01Kgq6E001548 X-pozocom-MailScanner: Found to be clean X-pozocom-MailScanner-From: null@pozo.com Cc: 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: Tue, 01 Jan 2013 20:42:58 -0000 At 11:48 AM 1/1/2013, Gleb Smirnoff wrote: >On Tue, Jan 01, 2013 at 02:39:58AM -0800, Manfred Antar wrote: >M> >On Thu, Dec 27, 2012 at 09:05:26AM -0800, Manfred Antar wrote: >M> >M> For the past few days the loopback interface 127.0.0.1 is broken on current. >M> >M> The last good kernel that works for me is r244662: Mon Dec 24 06:43:07 PST 2012 >M> >M> Here are some of the errors from current today: >M> > >M> >Can you please track this down to the specific revision that made the >M> >regression? The timeframe is samll, so binary search probably won't >M> >take long time. >M> Hi >M> I'm not sure how to do this :( >M> I just switched from CVS to SVN 2 weeks ago. >M> I still have a current CVS tree on my machine. >M> I guess i can try to check out a /usr/src/sys from the 25 on and see what changes were made. >M> I'm just learning SVN so not sure how to do it with that. > >With SVN you don't need to care about dates, you just go through the >sequential list of revisions. So you just seek between r244662 and the >most recent revision tht didn't work for you. On first step you >divide the bad revision (let it be 244768) and good one r244662: > >(244662 + 244768)/2 = 244715 > >Ok, it is 244715. Let's take it and test: > >svn up -r 244715 > >If it is fine, you check the one in the middle between 244715and >244768. Otherwise you chek in between 244715 and 244662. And so on... > >-- >Totus tuus, Glebius. OK I tracked it down to revision 244678 244677 works the files involved are: (src)5012}svn up -r 244678 Updating '.': U sys/netinet/in.c U sys/netinet6/in6.c Updated to revision 244678 It seems like the ip6 for localhost is configured but ip4 isn't: Setting hostname: pozo.com. ifa_del_loopback_route: deletion failed: 3 ifconfig: ioctl (SIOCAIFADDR): File exists bge0: link state changed to DOWN ifa_del_loopback_route: deletion failed: 3 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 nd6 options=21 From 244677: Setting hostname: pozo.com. Starting Network: lo0 bge0. lo0: flags=8049 metric 0 mtu 16384 options=600003 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 nd6 options=21 Manfred ======================== || null@pozo.com || || Ph. (415) 681-6235 || ======================== -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.