Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 16:09:19 -0800 (PST)
From:      ambrisko@whistle.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   conf/14913: Fix for "arplookup 127.0.0.1 failed: could not allocate llinfo"
Message-ID:  <19991116000919.046E214E34@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         14913
>Category:       conf
>Synopsis:       Fix for "arplookup 127.0.0.1 failed: could not allocate llinfo"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 15 16:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Doug ambrisko
>Release:        Current
>Organization:
Whistle
>Environment:
FreeBSD ibmpc.whistle.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Mon Nov 15 15:42:33 PST 1999     root@ibmpc.whistle.com:/usr/src/sys/compile/IBMPC  i386
>Description:
When using dhcp to configure ethernet devices and not specifying
"network_interfaces" so it defaults to "auto", rc.network using
ifconfig -l to get the list of ethernet devices since fxp0 is < lo0.
dhclient is run on fxp0 before lo0 is instantiated.  So making the 
route of fxp0 to 127.0.0.1 makes things go screwy and you get the
following messages and break amd.

arpresolve: can't allocate llinfo for 127.0.0.1rt
arplookup 127.0.0.1 failed: could not allocate llinfo
>How-To-Repeat:

>Fix:
*** rc.network	Sun Sep 19 14:32:42 1999
--- /etc/rc.network	Mon Nov 15 15:59:17 1999
***************
*** 73,79 ****
  	#
  	case ${network_interfaces} in
  	[Aa][Uu][Tt][Oo])
! 		network_interfaces="`ifconfig -l`"
  		;;
  	esac
  
--- 73,80 ----
  	#
  	case ${network_interfaces} in
  	[Aa][Uu][Tt][Oo])
! 		#setup lo0 first or things break
! 		network_interfaces="lo0 `ifconfig -l | sed 's/lo0//`"
  		;;
  	esac
  


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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