From owner-freebsd-current@FreeBSD.ORG Wed Aug 31 11:54:55 2005 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 74EAC16A41F; Wed, 31 Aug 2005 11:54:55 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98BD043D48; Wed, 31 Aug 2005 11:54:52 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.3/8.13.3) with ESMTP id j7VBsnWG015635; Wed, 31 Aug 2005 15:54:49 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.3/8.13.3/Submit) id j7VBsnYd015630; Wed, 31 Aug 2005 15:54:49 +0400 (MSD) (envelope-from yar) Date: Wed, 31 Aug 2005 15:54:48 +0400 From: Yar Tikhiy To: Gavin Atkinson Message-ID: <20050831115448.GB13201@comp.chem.msu.su> References: <1125422629.30555.27.camel@buffy.york.ac.uk> <200508301414.15449.jkim@FreeBSD.org> <20050830202721.K57336@ury.york.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050830202721.K57336@ury.york.ac.uk> User-Agent: Mutt/1.5.9i Cc: freebsd-current@freebsd.org, Jung-uk Kim Subject: Re: 6.0-BETA3 bge0 and vlans 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: Wed, 31 Aug 2005 11:54:55 -0000 On Tue, Aug 30, 2005 at 08:30:24PM +0100, Gavin Atkinson wrote: > On Tue, 30 Aug 2005, Jung-uk Kim wrote: > >On Tuesday 30 August 2005 01:23 pm, Gavin Atkinson wrote: > >>Hi, > >> > >>I'm having no success setting vlans up on a bge interface. Can anyone > >>confirm they work? I've got no problems using them on fxp interfaces, > >>so I'm pretty sure it's not user error... Everything looks good but I > >>can get no packets through the vlan interface (the parent interface > >>works as expected). Can anyone actually confirm that vlans work with > >>bge cards? My card is a BCM5704 (vend=0x14e4, prod=0x1648, rev=0x03) > > > >It was discussed here but I don't think any actions were taken > >actually. Follow the thread: > > > >http://docs.freebsd.org/cgi/mid.cgi?9256D57F598E6C41B288AA7DB94F29C902DFB963 This seems a different problem to me. Can't tell if it still exists. Perhaps it has to do with doing promiscuous mode (tcpdump) and hardware tagging on bge0 at once. We saw this problem on em(4) already. Alas, my test machine with bge(4) will stay down for quite a while. > Ah yes. After sending that, I did a bit more googling. The patch > contained in > http://lists.freebsd.org/pipermail/freebsd-net/2005-April/006932.html > fixes the problem for me... Keep in mind that that patch hides the problem instead of fixing it. The problem was fixed in CURRENT yesterday by glebius@. If you would like to stay with 6.0-BETA3 for now, please apply the following patch to /sys/net/if_vlan.c: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net/if_vlan.c.diff?r1=1.81&r2=1.82 Than you'll be able to use the unpatched if_bge.c. -- Yar