From owner-freebsd-current@FreeBSD.ORG Sat Aug 12 07:18:35 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F1D716A4DD; Sat, 12 Aug 2006 07:18:35 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8601843D49; Sat, 12 Aug 2006 07:18:33 +0000 (GMT) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0J3V00D1YIYVN6@ms-dienst.rz.rwth-aachen.de>; Sat, 12 Aug 2006 09:18:32 +0200 (MEST) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Sat, 12 Aug 2006 09:18:31 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.7/8.13.1/1) with ESMTP id k7C7IV9S019968; Sat, 12 Aug 2006 09:18:31 +0200 Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1GBnlP-0006uH-7l; Sat, 12 Aug 2006 09:18:31 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id E09913F41B; Sat, 12 Aug 2006 09:18:30 +0200 (CEST) Date: Sat, 12 Aug 2006 09:18:30 +0200 From: Christian Brueffer In-reply-to: <86zmeafnjz.fsf@gothmog.pc> To: keramida@FreeBSD.org, Giorgos Keramidas Message-id: <20060812071830.GA1755@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary=WIyZ46R2i8wDzkSu; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <86zmeafnjz.fsf@gothmog.pc> Cc: freebsd-current@FreeBSD.org, sam@FreeBSD.org Subject: Re: is if_bridge broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Aug 2006 07:18:35 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 faile= d with: >=20 > # DISPLAY=3D:0 qemu -win2k-hack -hda windows.img -boot c -net nic -ne= t 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' > # >=20 > At about the same time, `ifconfig bridge0 create' fails with: >=20 > 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 t= o 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 >=20 > It appears to have been caused by src/sys/net/if.h revision 1.261: >=20 > 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) > =20 > Reviewed by: arch@ >=20 > Any idea how if_bridge can be fixed again? >=20 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 --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE3YDGbHYXjKDtmC0RApAOAJ9/68q0iTH+lB6DTGclpGXRDP+q1QCfSxSD v5RTZ6qPJtOjx6TqstTrrbo= =34ru -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--