From owner-freebsd-current@FreeBSD.ORG Sun Mar 7 05:05:49 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0492F106566C; Sun, 7 Mar 2010 05:05:49 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 51AE98FC17; Sun, 7 Mar 2010 05:05:48 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.4/8.14.4) with ESMTP id o27566UN077782; Sun, 7 Mar 2010 00:06:06 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Weongyo Jeong In-Reply-To: <20100306001656.GS1295@weongyo> References: <1267388668.39569.2410.camel@shumai.marcuscom.com> <20100301233706.GH1295@weongyo> <1267505443.35639.9.camel@shumai.marcuscom.com> <20100303220452.GL1295@weongyo> <4B8EE6B1.6030605@freebsd.org> <20100303231416.GN1295@weongyo> <1267679522.5324.20.camel@shumai.marcuscom.com> <20100305205349.GR1295@weongyo> <4B917B42.1060900@freebsd.org> <20100306001656.GS1295@weongyo> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Y+8pNrll7JNQaHmZYowB" Organization: MarcusCom, Inc. Date: Sun, 07 Mar 2010 00:05:43 -0500 Message-ID: <1267938343.96436.9.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,HELO_NO_DOMAIN autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on creme-brulee.marcuscom.com Cc: current Subject: Re: Problem with new bwn driver on -CURRENT 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: Sun, 07 Mar 2010 05:05:49 -0000 --=-Y+8pNrll7JNQaHmZYowB Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Fri, 2010-03-05 at 16:16 -0800, Weongyo Jeong wrote: > On Fri, Mar 05, 2010 at 04:44:34PM -0500, Joe Marcus Clarke wrote: > > On 3/5/10 3:53 PM, Weongyo Jeong wrote: > > > On Thu, Mar 04, 2010 at 12:12:02AM -0500, Joe Marcus Clarke wrote: > > >> On Wed, 2010-03-03 at 15:14 -0800, Weongyo Jeong wrote: > > >>>> When it occurs again, I will get you the details and the full dmes= g. Do > > >>>> you want a verbose dmesg, or a standard one? > > >>> > > >>> I think a standard one is enough. Thank you. > > >> > > >> Here you go. This is on -CURRENT from about 30 minutes ago. Thanks= for > > >> looking into this. > > >> > > >> http://www.marcuscom.com/downloads/salami.dmesg > > >=20 > > > Thank you for dmesg. It looks using PIO mode is only a way to avoid > > > this problem. > > >=20 > > > I looked sources and problems of other Broadcom wireless driver for L= P > > > PHY users. They also encounters this issue and are trying to solve > > > this but no luck and no perfect patch until now. > > >=20 > > > Recently AFAIK wireless-test git of linux adopted a patch `gracefully > > > convert DMA to PIO mode' to solve it. > > >=20 > > > Additionally some guys tolds some success story when they disabled AC= PI > > > but it looks it's not a perfect solution. > > >=20 > > > IIRC you said PIO worked for association with your AP but no further > > > traffic. However I wonder that this is weird for me because paths of > > > sending management frames and sending data frames are same. Could yo= u > > > please recheck whether PIO mode worked? I'll try to test PIO mode on= my > > > environment again. > >=20 > > I can absolutely confirm PIO mode does NOT work with my card. I tested > > on a clean power-up. The card associates, but does not pass any > > traffic. I do not see the same decryption messages that I do with DMA = mode. >=20 > OK. I'd like to see some verbose message from bwn(4) after applying > attached patch with email. Could you please test with it and show me > dmesg? >=20 > I tested 3 broadcom card whose revisions are 5 and 9 and it looks it's > working. >=20 > I have one LP PHY device, half MiniPCI-E for laptop, but could not test > with this patch because I could not turn on RF; it's connected with > desktop using converter MiniPCI-E to PCI-E though normally it looks > MiniPCI-E devices are turned on using H/W RF switch. Here are two dmesg outputs. Both were taken with this patch. One is with PIO mode, and the other is with (working) DMA mode. The names indicate which is which. http://www.marcuscom.com/downloads/salami_pio.dmesg http://www.marcuscom.com/downloads/salami_dma.dmesg Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Y+8pNrll7JNQaHmZYowB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEABECAAYFAkuTNCYACgkQb2iPiv4Uz4c8KQCgn+DEXTQcyMygA4P40tcuccCe ba0AoKrNiDVO89xtsbHOb740QCHD/Ic2 =xVdq -----END PGP SIGNATURE----- --=-Y+8pNrll7JNQaHmZYowB--