Re: ifconfig bridge0 does not list bridge data?

From: Jamie Gritton <jamie_at_FreeBSD.org>
Date: Fri, 20 Mar 2009 07:07:05 -0600
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
Received on Fri Mar 20 2009 - 13:07:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC