Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Nov 2002 21:31:28 -0800
From:      Manfred Antar <null@pozo.com>
To:        Kelly Yancey <kbyanc@posi.net>, Giorgos Keramidas <keramida@FreeBSD.ORG>
Cc:        freebsd-current@FreeBSD.ORG, <kbyanc@FreeBSD.ORG>
Subject:   Re: Can't resolve hosts via dns on the command line with latest -current
Message-ID:  <5.1.1.6.2.20021104212026.00a77cb0@pozo.com>
In-Reply-To: <20021104201842.W51042-200000@gateway.posi.net>
References:  <20021105031705.GA573@gray.sea.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kbyanc@posi.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.2.20021104212026.00a77cb0>