is if_bridge broken?

Christian Brueffer brueffer at FreeBSD.org
Sat Aug 12 07:18:35 UTC 2006


On Sat, Aug 12, 2006 at 09:58:08AM +0300, keramida at FreeBSD.org wrote:
> I am trying to run QEMU on a fairly recent snapshot of HEAD, but it failed with:
> 
>     # DISPLAY=:0 qemu -win2k-hack -hda windows.img -boot c -net nic -net tap
>     bridge0: creating bridge interface
>     ifconfig: SIOCIFCREATE2: Invalid argument
>     /etc/qemu-ifup: ERROR: bridge0: failed to create
>     /etc/qemu-ifup: could not launch network script
>     Could not initialize device 'tap'
>     #
> 
> At about the same time, `ifconfig bridge0 create' fails with:
> 
> Aug 12 09:36:58 gothmog kernel: KLD if_bridge.ko: depends on bridgestp - not available
> Aug 12 09:36:58 gothmog giorgos: /etc/qemu-ifup: ERROR: bridge0: failed to create
> Aug 12 09:37:17 gothmog kernel: KLD if_bridge.ko: depends on bridgestp - not available
> Aug 12 09:48:25 gothmog kernel: KLD if_bridge.ko: depends on bridgestp - not available
> Aug 12 09:48:49 gothmog kernel: KLD if_bridge.ko: depends on bridgestp - not available
> 
> It appears to have been caused by src/sys/net/if.h revision 1.261:
> 
>     date: 2006/07/09 06:04:00;  author: sam;  state: Exp;  lines: +6 -3
>     Revise network interface cloning to take an optional opaque
>     parameter that can specify configuration parameters:
>     o rev cloner api's to add optional parameter block
>     o add SIOCCREATE2 that accepts parameter data
>     o rev vlan support to use new api (maintain old code)
>     
>     Reviewed by:    arch@
> 
> Any idea how if_bridge can be fixed again?
> 

Have you tried loading the bridgestp module as suggested?  Is has been
split out of if_bridge recently and exists in my CURRENT system.

- Christian

-- 
Christian Brueffer	chris at unixpages.org	brueffer at FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060812/80437ee8/attachment.pgp


More information about the freebsd-current mailing list