Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-05 Thread Giorgos Keramidas
On 2002-11-04 20:25, Kelly Yancey <[EMAIL PROTECTED]> wrote: > Let me know if this fixes things for you. Thanks, Yes, the patch fixed things for me. Thanks :))) %%% Index: kern/uipc_socket.c === RCS file: /home/ncvs/src/sys/kern/

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Doug Barton
Kelly Yancey wrote: > Thanks for the great trace and your patience. I believe I found the root of > the problem. Could you please try the attached patch? Works for me, thanks. Doug To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-04 Thread Manfred Antar
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 <[EMAIL PROTECTED]> wrote: >> > Thanks for the info. Are you sure that you only reverted the one delta? >> >> Yes. I just recompiled the kernel from -rHEAD and sta

Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-04 Thread Hidetoshi Shimokawa
At Tue, 5 Nov 2002 03:12:05 +0200, Giorgos Keramidas wrote: > The curious thing is that Sendmail or ssh fail to look up hostnames, > while running host(1) works. I don't know if this is of any help, but > if you need more data about the local setup let me know. host(or dig, nslookup) doesn't use

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Kelly Yancey
On Tue, 5 Nov 2002, Giorgos Keramidas wrote: > On 2002-11-04 18:38, Kelly Yancey <[EMAIL PROTECTED]> 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 pr

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Kelly Yancey
On Mon, 4 Nov 2002, David O'Brien wrote: > On Mon, Nov 04, 2002 at 05:47:39PM -0800, Kelly Yancey wrote: > > > A better question is why you are fixing a non-critical, over-1-year-old > > > bug in networking code this close to the release??? Networking is our > > > bread and butter, and changes to

Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-04 Thread Giorgos Keramidas
On 2002-11-04 18:38, Kelly Yancey <[EMAIL PROTECTED]> 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

Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-04 Thread David O'Brien
On Mon, Nov 04, 2002 at 05:47:39PM -0800, Kelly Yancey wrote: > > A better question is why you are fixing a non-critical, over-1-year-old > > bug in networking code this close to the release??? Networking is our > > bread and butter, and changes to it can be tricky. A known non-critical > > bug t

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Kelly Yancey
On Tue, 5 Nov 2002, Giorgos Keramidas wrote: > On 2002-11-04 10:45, Kelly Yancey <[EMAIL PROTECTED]> wrote: > > On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > > > True. I had been seeing problems with network connections the last > > > days, and was already in the process of backing out changes o

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Kelly Yancey
On Mon, 4 Nov 2002, David O'Brien wrote: > On Mon, Nov 04, 2002 at 10:45:42AM -0800, Kelly Yancey wrote: > > On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > > > > > On 2002-11-04 01:16, Hidetoshi Shimokawa <[EMAIL PROTECTED]> wrote: > > > > I have the same problem and reverting rev. 1.134 of > > >

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Kelly Yancey
On Mon, 4 Nov 2002, Terry Lambert wrote: > Kelly Yancey wrote: > > It doesn't matter. It isn't just DNS lookups, mountd fails to run too > > because it cannot connect to portmap via localhost. Oddly, in both cases > > sendto() is returning with errno = 49 (EADDRNOTAVAIL). I've tracked it down

Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-04 Thread Giorgos Keramidas
On 2002-11-04 10:45, Kelly Yancey <[EMAIL PROTECTED]> wrote: > On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > > True. I had been seeing problems with network connections the last > > days, and was already in the process of backing out changes one by one > > when I saw this. Reverting 1.134 fixes

Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-04 Thread David O'Brien
On Mon, Nov 04, 2002 at 10:45:42AM -0800, Kelly Yancey wrote: > On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > > > On 2002-11-04 01:16, Hidetoshi Shimokawa <[EMAIL PROTECTED]> wrote: > > > I have the same problem and reverting rev. 1.134 of > > > /sys/kern/uipc_socket.c fixes the problem. > > > Th

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Terry Lambert
Kelly Yancey wrote: > It doesn't matter. It isn't just DNS lookups, mountd fails to run too > because it cannot connect to portmap via localhost. Oddly, in both cases > sendto() is returning with errno = 49 (EADDRNOTAVAIL). I've tracked it down > to this code in sys/netinet/ip_output.c: > >

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Kelly Yancey
On Mon, 4 Nov 2002, Terry Lambert wrote: > Kelly Yancey wrote: > > I suspect something in lib/libc/net/res_send.c is using special knowledge of > > the contents of the socket buffer so calculate the real amount of data that > > can be read (which this patch does automatically). I'm looking into

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Terry Lambert
Kelly Yancey wrote: > I suspect something in lib/libc/net/res_send.c is using special knowledge of > the contents of the socket buffer so calculate the real amount of data that > can be read (which this patch does automatically). I'm looking into it. ...To ensure that the read does not block, a

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Kelly Yancey
On Sun, 3 Nov 2002, Doug Barton wrote: > On Mon, 4 Nov 2002, Hidetoshi Shimokawa wrote: > > > I have the same problem and reverting rev. 1.134 of > > /sys/kern/uipc_socket.c fixes the problem. > > Confirmed here too, thanks for the tip. I had looked over the recent > commits to /etc/lib/*, but non

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Kelly Yancey
On Mon, 4 Nov 2002, Hidetoshi Shimokawa wrote: > I have the same problem and reverting rev. 1.134 of > /sys/kern/uipc_socket.c fixes the problem. > The change might have something wrong with a loopback interface. > > /\ Hidetoshi Shimokawa > \/ [EMAIL PROTECTED] > PGP public key: http://www.sat.t

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-04 Thread Kelly Yancey
On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > On 2002-11-04 01:16, Hidetoshi Shimokawa <[EMAIL PROTECTED]> wrote: > > I have the same problem and reverting rev. 1.134 of > > /sys/kern/uipc_socket.c fixes the problem. > > The change might have something wrong with a loopback interface. > > True.

Re: Can't resolve hosts via dns on the command line with latest-current

2002-11-03 Thread Doug Barton
On Mon, 4 Nov 2002, Hidetoshi Shimokawa wrote: > I have the same problem and reverting rev. 1.134 of > /sys/kern/uipc_socket.c fixes the problem. Confirmed here too, thanks for the tip. I had looked over the recent commits to /etc/lib/*, but none of them looked guilty. Doug To Unsubscribe: sen

Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-03 Thread Giorgos Keramidas
On 2002-11-04 01:16, Hidetoshi Shimokawa <[EMAIL PROTECTED]> wrote: > I have the same problem and reverting rev. 1.134 of > /sys/kern/uipc_socket.c fixes the problem. > The change might have something wrong with a loopback interface. True. I had been seeing problems with network connections the l

Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-03 Thread Peter Wemm
Doug Barton wrote: > Howdy, > > With -current built from sources updated at around 8pm PST, I can't > resolve hosts on the command line if /etc/resolv.conf points to a name > server running on the local host. The local name server itself is > working fine, and I can reach any host in /etc/hosts as

Re: Can't resolve hosts via dns on the command line with latest -current

2002-11-03 Thread Hidetoshi Shimokawa
I have the same problem and reverting rev. 1.134 of /sys/kern/uipc_socket.c fixes the problem. The change might have something wrong with a loopback interface. /\ Hidetoshi Shimokawa \/ [EMAIL PROTECTED] PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html Index: uipc_socket.c =

Can't resolve hosts via dns on the command line with latest -current

2002-11-03 Thread Doug Barton
Howdy, With -current built from sources updated at around 8pm PST, I can't resolve hosts on the command line if /etc/resolv.conf points to a name server running on the local host. The local name server itself is working fine, and I can reach any host in /etc/hosts as well. ktrace /sbin/ping hub.f