From owner-freebsd-bugs@FreeBSD.ORG Sat Oct 2 17:50:25 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E8A016A4D3 for ; Sat, 2 Oct 2004 17:50:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 174E643D1F for ; Sat, 2 Oct 2004 17:50:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i92HoBRe088232 for ; Sat, 2 Oct 2004 17:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i92HoBdp088231; Sat, 2 Oct 2004 17:50:11 GMT (envelope-from gnats) Date: Sat, 2 Oct 2004 17:50:11 GMT Message-Id: <200410021750.i92HoBdp088231@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Brooks Davis Subject: Re: kern/72263: gifconfig output corruption X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brooks Davis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2004 17:50:25 -0000 The following reply was made to PR kern/72263; it has been noted by GNATS. From: Brooks Davis To: Jonas Nagel Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/72263: gifconfig output corruption Date: Sat, 2 Oct 2004 10:47:14 -0700 On Sat, Oct 02, 2004 at 07:10:23PM +0200, Jonas Nagel wrote: > >Description: > When one uses gifconfig -a or ifconfig to display configuration of the gif-tunnel interfaces > it will not be displayed (correctly). gifconfig displays garbage within the output and ifconfig > displays nothing at all. > > Besides that, everything works as designed. > > Also when I use gifconfig gifn delete and then 'sh /etc/rc.network start' again; everything works, > but no info visible, corruption of output stays the same. > > got# gifconfig -a > gif0: flags=8011 mtu 1280 > physical address z¸PÕ --> > gif1: flags=8011 mtu 1280 > physical address z¸PÕ --> This sort of error is usually a symptom of your userland and kernel being out of sync. > got# ifconfig |grep gif > gif0: flags=8011 mtu 1280 > gif1: flags=8011 mtu 1280 > > But the interfaces are configured with valid ip addresses in rc.conf and work correctly. This is the expected output from that command. The configuration lines do not contain the string gif so the grep won't match them... > >How-To-Repeat: > No idea, besides typing gifconfig -a or ifconfig |grep gif > you cannot reproduce this straight away, after a fresh boot, but it seems to happen over the time, > when its already running a while; > --> 6:55PM up 111 days, 32 mins, 1 user, load averages: 0.00, 0.02, 0.19 > > I don't want to boot the firewall, just to see if it works again, because I remember some time ago, > when I configured it first, it displayed all correctly. This sounds like some sort of memory corruption. I don't give us any real chance of being able to fix this problem with so little information. I can't replicate it here. -- Brooks