Bug 16097

Summary: arp problem on loopback i/f when using DHCP and running X sessions.
Product: Base System Reporter: adam <adam>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-STABLE   
Hardware: Any   
OS: Any   

Description adam 2000-01-13 11:30:01 UTC
When starting Gnome with the installed /usr/X11R6/lib/X11/xinit/xinitrc
for XFree86-3.3.6, but with 

panel &
gmc &
exec gnome-wm

as the last three lines instead of the twm nonsense.
Am using DHCP for NIC configuration.
Get plenty of these

Jan 12 18:04:14 adampc /kernel: arplookup 127.0.0.1 failed: could not allocate llinfo
Jan 12 18:04:14 adampc /kernel: arpresolve: can't allocate llinfo for 127.0.0.1rt

and performance is hurt. Takes a while to start anything.

Fix: 

In /etc/rc.conf

ifconfig_xl0="DHCP"
network_interfaces="lo0 xl0"
How-To-Repeat: In /etc/rc.conf

ifconfig_xl0="DHCP"
network_interfaces="xl0 lo0"

Boot and do startx
Comment 1 ru freebsd_committer freebsd_triage 2000-01-13 11:57:26 UTC
On Thu, Jan 13, 2000 at 03:21:09AM -0800, adam@worldsport.com wrote:
> 
> Am using DHCP for NIC configuration.
> Get plenty of these
> 
> Jan 12 18:04:14 adampc /kernel: arplookup 127.0.0.1 failed: could not allocate llinfo
> Jan 12 18:04:14 adampc /kernel: arpresolve: can't allocate llinfo for 127.0.0.1rt
> 
> and performance is hurt. Takes a while to start anything.
> 
There was a bug in /sbin/dhclient-script, which caused that bug.
See PR misc/15183 and PR conf/14098.
This has been fixed in the middle of December.

Make sure you have the latest /sbin/dhclient-script.
Does the following command produce the same output for you?

# ident /sbin/dhclient-script
/sbin/dhclient-script:
     $FreeBSD: src/contrib/isc-dhcp/client/scripts/freebsd,v 1.1.1.2.2.7 1999/12/12 01:17:30 obrien Exp $
     $interface: $

-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		FreeBSD committer,
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
Comment 2 ru freebsd_committer freebsd_triage 2000-01-13 12:01:46 UTC
State Changed
From-To: open->feedback

Awaiting feedback from originator. 
Comment 3 ru freebsd_committer freebsd_triage 2000-01-20 16:29:11 UTC
State Changed
From-To: feedback->closed

On Wed, Jan 19, 2000 at 11:42:06AM +0000, Adam Shaun Nealis wrote: 
> Ruslan Ermilov wrote: 
> > 
> > Well, can I close this PR? 
> Sorry, yes you can. 
> 
> I thought I e-mailed you last week. 
> 
> I did a make installworld from a recent CVSUP, and 
> somehow I didn't get the new dhcpclient script. 
> 
> Very sorry. 
> 
> Regards, 
> Adam.