ifconfig bridge0 does not list bridge data?

Jamie Gritton jamie at FreeBSD.org
Fri Mar 20 07:07:41 PDT 2009


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


More information about the freebsd-current mailing list