From owner-freebsd-current Mon Nov 4 21:31:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EBBB37B401; Mon, 4 Nov 2002 21:31:42 -0800 (PST) Received: from pozo.com (pozo.com [216.101.162.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AC4D43E42; Mon, 4 Nov 2002 21:31:41 -0800 (PST) (envelope-from null@pozo.com) Received: from quad.pozo.com (quad.pozo.com [216.101.162.53]) by pozo.com (8.12.6/8.12.6) with ESMTP id gA55VSXV000591 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Mon, 4 Nov 2002 21:31:39 -0800 (PST) (envelope-from null@pozo.com) Message-Id: <5.1.1.6.2.20021104212026.00a77cb0@pozo.com> X-Sender: null@pozo.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Mon, 04 Nov 2002 21:31:28 -0800 To: Kelly Yancey , Giorgos Keramidas From: Manfred Antar Subject: Re: Can't resolve hosts via dns on the command line with latest -current Cc: freebsd-current@FreeBSD.ORG, In-Reply-To: <20021104201842.W51042-200000@gateway.posi.net> References: <20021105031705.GA573@gray.sea.gr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 08:25 PM 11/4/2002 -0800, Kelly Yancey wrote: >On Tue, 5 Nov 2002, Giorgos Keramidas wrote: > >> On 2002-11-04 18:38, Kelly Yancey wrote: >> > Thanks for the info. Are you sure that you only reverted the one delta? >> >> Yes. I just recompiled the kernel from -rHEAD and started logging >> things while I connected to my dialup provider. Apparently lo0 does >> have the 127.0.0.1 address *and* the LOOPBACK flag but somehow fails. >> >> When (near the end of the following log) I back only this change out, >> the problems go away :/ >> > > Thanks for the great trace and your patience. I believe I found the root of >the problem. Could you please try the attached patch? I'm afraid that >if I hadn't gotten thown off this morning be my lo0 lacking a >127.0.0.1 address I probably would have found it much, much sooner >(it's pretty obvious in hindsight). At the very least, I also caught a >couple of pieces of code that are manipulating the socket buffer behind >sballoc() and sbfree()'s back so I've modified them to update the sb_cc >counter directly also. > Let me know if this fixes things for you. Thanks, > > Kelly > >-- >Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} >"Democracy is a device that insures we shall be governed no better than we > deserve." -- George Bernard Shaw This patch fixes a bug I've noticed for the past few days. Connecting to a FreeBSD current box via ssh2 from Win-2000 (local network) It just started happening in the past few days. I could connect but it would take about a minute to connect. Now it's back instant connect with patch Manfred ================================== || null@pozo.com || || Ph. (415) 681-6235 || ================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message