From owner-freebsd-current@FreeBSD.ORG Tue Mar 2 04:50:40 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 A0C8A106566B; Tue, 2 Mar 2010 04:50:40 +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 3B73E8FC15; Tue, 2 Mar 2010 04:50:40 +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 o224ox11018179; Mon, 1 Mar 2010 23:51:00 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Weongyo Jeong In-Reply-To: <20100301233706.GH1295@weongyo> References: <1267388668.39569.2410.camel@shumai.marcuscom.com> <20100301233706.GH1295@weongyo> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-NA3Clkjvs8aaslrGKIiu" Organization: MarcusCom, Inc. Date: Mon, 01 Mar 2010 23:50:43 -0500 Message-ID: <1267505443.35639.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: Tue, 02 Mar 2010 04:50:40 -0000 --=-NA3Clkjvs8aaslrGKIiu Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable On Mon, 2010-03-01 at 15:37 -0800, Weongyo Jeong wrote: > On Sun, Feb 28, 2010 at 03:24:28PM -0500, Joe Marcus Clarke wrote: > > I was extremely pleased to see this driver, so I could get off of the > > flaky NDIS version. I have a Dell Vostra 2510 with a LP bwn mini-PCI > > card. I have set if_bwn_load=3D"YES" in /boot/loader.conf. I also hav= e > > bwn_v4_lp_ucode_load=3D"YES" set. > >=20 > > The firmware and driver loads. However, if_bwn doesn't attach to the > > card. Once the OS is fully booted, I kldunload if_bwn, then reload it, > > and the driver attaches just fine. >=20 > This issue is reported by some people and I'm looking codes. Good to know. >=20 > > Once it is attached, however, I can > > pass traffic just fine, but I get a large number of these messages on > > the console, and the traffic rate is not what it was with the NDIS > > driver: >=20 > Could you please elaborate the traffic rate? You mean the traffic rate > is lower or higher than NDIS driver? The throughput with the if_bwn driver is less than with the ndis driver. It associates at 11g (36 Mbps), but the RTT is longer. This is noticeable with apps like VNC. The redraw is noticeably slower (line by line) than it was ndis. Low throughput apps like SSH work more or less the same. >=20 > >=20 > > bwn0: out of bounds of the square-root table (-770884) > > bwn0: out of bounds of the square-root table (-225625) > > bwn0: out of bounds of the square-root table (-240100) >=20 > Patch is attached with email and it'll fix this message. Could you > please test with it? Yes, the patch removes those messages. Thanks! >=20 > Was it successful to associate with AP? Yes, in DMA mode. In PIO mode, it associates, but does not pass any traffic. After a while, there was a critical DMA error, and the driver looped forever trying to communicate with the card. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-NA3Clkjvs8aaslrGKIiu 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) iEYEABECAAYFAkuMmSAACgkQb2iPiv4Uz4clLwCbB8lPvR6gs34J4qzchd/L/luT Kr0AoJjpXZQ2lhHBvD97aQDQdURfoL+M =JepB -----END PGP SIGNATURE----- --=-NA3Clkjvs8aaslrGKIiu--