Date: Sat, 12 Aug 2006 22:08:49 +1200 From: Andrew Thompson <thompsa@freebsd.org> To: Giorgos Keramidas <keramida@ceid.upatras.gr> Cc: sam@FreeBSD.org, freebsd-current@FreeBSD.org, Christian Brueffer <brueffer@FreeBSD.org> Subject: Re: is if_bridge broken? Message-ID: <20060812100849.GC38775@heff.fud.org.nz> In-Reply-To: <20060812073123.GA9233@gothmog.pc> References: <86zmeafnjz.fsf@gothmog.pc> <20060812071830.GA1755@haakonia.hitnet.RWTH-Aachen.DE> <20060812073123.GA9233@gothmog.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 12, 2006 at 10:31:24AM +0300, Giorgos Keramidas wrote: > On 2006-08-12 09:18, Christian Brueffer <brueffer@FreeBSD.org> wrote: > >On Sat, Aug 12, 2006 at 09:58:08AM +0300, keramida@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 > >> > > Have you tried loading the bridgestp module as suggested? Is has been > > split out of if_bridge recently and exists in my CURRENT system. > > Yes :-( > > It doesn't make a lot of difference: > It seems I forgot the module version, this should hopefully fix it. Index: bridgestp.c =================================================================== RCS file: /home/ncvs/src/sys/net/bridgestp.c,v retrieving revision 1.18 diff -u -p -r1.18 bridgestp.c --- bridgestp.c 2 Aug 2006 02:51:42 -0000 1.18 +++ bridgestp.c 12 Aug 2006 10:06:58 -0000 @@ -929,6 +929,7 @@ static moduledata_t bstp_mod = { }; DECLARE_MODULE(bridgestp, bstp_mod, SI_SUB_PSEUDO, SI_ORDER_ANY); +MODULE_VERSION(bridgestp, 1); void bstp_attach(struct bstp_state *bs, bstp_state_cb_t state_callback)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060812100849.GC38775>