Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2009 07:07:05 -0600
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        FreeBSD Current <freebsd-current@FreeBSD.org>
Cc:        Sam Leffler <sam@FreeBSD.org>, "Bjoern A. Zeeb" <bz@FreeBSD.org>, Stefan Bethke <stb@lassitu.de>, Andrew Thompson <thompsa@FreeBSD.org>
Subject:   Re: ifconfig bridge0 does not list bridge data?
Message-ID:  <49C394F9.5070909@FreeBSD.org>
In-Reply-To: <49C2CA50.8000406@FreeBSD.org>
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> <49C2CA50.8000406@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I wrote:
> 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.

This has been resolved with a kernel fix in patch r190151.  With the latest
kernel build, bridges should again work with the new ifconfig.

- Jamie



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