From owner-freebsd-current@FreeBSD.ORG Thu Mar 19 23:06:21 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6284106568C; Thu, 19 Mar 2009 23:06:21 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from gritton.org (gritton.org [161.58.222.4]) by mx1.freebsd.org (Postfix) with ESMTP id 668688FC19; Thu, 19 Mar 2009 23:06:21 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.13.6.20060614/8.13.6) with ESMTP id n2JMgTmJ041481; Thu, 19 Mar 2009 16:42:29 -0600 (MDT) Message-ID: <49C2CA50.8000406@FreeBSD.org> Date: Thu, 19 Mar 2009 16:42:24 -0600 From: Jamie Gritton User-Agent: Thunderbird 2.0.0.19 (X11/20090109) MIME-Version: 1.0 To: FreeBSD Current References: <4C8BEF98-B6EF-4B26-9649-F0666A837230@lassitu.de> <20090318225422.GC79077@citylink.fud.org.nz> <49C17DDB.5030800@freebsd.org> <2F12B7AC-BCB3-4E2D-AFD9-C59E6C8A7BA4@lassitu.de> <20090319072312.S67075@maildrop.int.zabbadoz.net> In-Reply-To: <20090319072312.S67075@maildrop.int.zabbadoz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/9142/Thu Mar 19 14:19:47 2009 on gritton.org X-Virus-Status: Clean Cc: "Bjoern A. Zeeb" , Andrew Thompson , Stefan Bethke , Sam Leffler Subject: Re: ifconfig bridge0 does not list bridge data? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 23:06:23 -0000 Bjoern A. Zeeb wrote: > On Thu, 19 Mar 2009, Stefan Bethke wrote: >>>> This means that one of the BRDGGCACHE, BRDGGTO or BRDGPARAM ioctls has >>>> failed so bridge_status() in sbin/ifconfig/ifbridge.c exits early (the >>>> function that prints the info you are missing). Is it possible your >>>> sources are out of sync? If you look at it with kdump then the actual >>>> ioctl these are wrapped in is called SIOCGDRVSPEC >>>> >>>> >>> Try backing out r189864. >> >> That appears to be the culprit. I've just rebuilt ifconfig, and >> without this change, it displays the bridge info. > > Heh. ok. I had tested that as well with a few setups but obviously not > enough. I'll look into this. A fix for this is forthcoming, probably to the kernel and not to ifconfig. In the meantime, backing out r189864 will work fine. - Jamie