From owner-freebsd-net@FreeBSD.ORG Sat Jan 30 00:13:52 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FF03106568B for ; Sat, 30 Jan 2010 00:13:52 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id D67798FC14 for ; Sat, 30 Jan 2010 00:13:51 +0000 (UTC) Received: by ewy3 with SMTP id 3so42984ewy.13 for ; Fri, 29 Jan 2010 16:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=cTd8sulznk2769lTT5zNJyOT9SxRR/0dLeYliyL93do=; b=wWlam0sJ5wMr5I9atx+eyNSks1GbrzIuLpMFc6DsMm5pHCkYKyiTIXYE3LBYJJ7ksN PxgYReSq3py6vMTaTDm0xOJVhsaWAFb099xaZTiJedUq7jtpEJAYFYu0rMqXWT3YQOqa zLiUEh/n2lQYLZcetnTqSYAFbnHQpiZo4hbMA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=uZRwwnlLtIzAM7T3v1xYXXZU06Mgj3fW6pE7VIW5wavfF1ldzNqeG8eWESfarGczER OOn/Nt2YJzOkkExk/TH/AyQYSi4NXL5zQYmaIdTk96Xo1mn6f7MMy93p9mfQFHtMyWpX k6MnFzL2+wmxZDItqcWp4/ZNbJr4M9MLRmbtI= MIME-Version: 1.0 Received: by 10.216.178.70 with SMTP id e48mr241025wem.0.1264810430826; Fri, 29 Jan 2010 16:13:50 -0800 (PST) In-Reply-To: <20100129235911.GA67110@mr-happy.com> References: <201001291920.o0TJKAw9005498@freefall.freebsd.org> <2a41acea1001291447n5852f5b4h193d3ad6dff9faac@mail.gmail.com> <20100129235911.GA67110@mr-happy.com> Date: Fri, 29 Jan 2010 16:13:50 -0800 Message-ID: <2a41acea1001291613h41efc00cjd72d4516d9ccec6f@mail.gmail.com> From: Jack Vogel To: Jeff Blank Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Net Subject: Re: kern/141646: [em] em(4) + lagg(4) + vlan(4) generates ISL-tagged frames instead of 802.1q-tagged frames X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2010 00:13:52 -0000 Fix is just checked into HEAD, its sort of a workaround, but really a pretty acceptable one. Let me know if it works for you. Jack On Fri, Jan 29, 2010 at 3:59 PM, Jeff Blank wrote: > On Fri, Jan 29, 2010 at 02:47:39PM -0800, Jack Vogel wrote: > > What's with the encrypted messages entered in this bug suddenly? > > Just base64-encoded plain text--it appears GNATS is not base64-aware. > To summarize (I received a copy directly), Mr. Anishchuk is > experiencing the same problem and suggested a workaround (also posted > to the list previously) involving "ifconfig_emN='-vlanhwtag up'" in > rc.conf. He also seemed to think it was twice-Q-tagged frames rather > than ISL-tagged frames, which does not match my packet captures. > > > An important update - I have root caused this. Turns out its kinda > > interesting. > > The reason there is a problem is due to the stacked pseudo devices, since > > the vlan device is on lagg, and not directly on em, the em driver is not > > getting > > the "event" of the vlan attachment, and thus the vlan hw filter routine > is > > never > > run, that routine sets a CRITICAL bit in the control register which > > differentiates > > between ISL and 802 tags... and thus our failure :( > > The question now is what to do about this, I am thinking about this > now.... > > Interesting indeed. I look forward to a fix (and have alternate > interfaces and -vlanhwtag in the mean time). > > thanks, > Jeff >