From owner-freebsd-current@FreeBSD.ORG Sun Feb 28 20:24:24 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 39AAE106566C for ; Sun, 28 Feb 2010 20:24:24 +0000 (UTC) (envelope-from marcus@FreeBSD.org) 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 CB1808FC12 for ; Sun, 28 Feb 2010 20:24:23 +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 o1SKOgqI000670; Sun, 28 Feb 2010 15:24:42 -0500 (EST) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: current Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-RwwlWdo/W104LUaPNA/d" Organization: FreeBSD, Inc. Date: Sun, 28 Feb 2010 15:24:28 -0500 Message-ID: <1267388668.39569.2410.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: weongyo.jeong@gmail.com Subject: 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, 28 Feb 2010 20:24:24 -0000 --=-RwwlWdo/W104LUaPNA/d Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable 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 have bwn_v4_lp_ucode_load=3D"YES" set. 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. 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: 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) When I boot with verbose mode, I only see the siba driver attach to the card: siba_bwn0: mem 0xf4000000-0xf4003fff = irq 19 at device 0.0 on pci6 My pciconf output is: siba_bwn0@pci0:6:0:0: class=3D0x028000 card=3D0x000b1028 chip=3D0x431514e= 4 rev=3D0x01 hdr=3D0x00 vendor =3D 'Broadcom Corporation' device =3D 'Broadcom Wireless b/g (BCM4315/BCM22062000)' class =3D network When the driver does attach, I see: bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf = 0x17f bwn0: DMA (64 bits) bwn0: MSI count : 1 siba_bwn0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 258 to local APIC 1 vector 54 siba_bwn0: using IRQ 258 for MSI bwn0: Using 1 MSI messages bwn0: [MPSAFE] bwn0: [FILTER] bwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps bwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbp= s 36M bps 48Mbps 54Mbps wlan0: bpf attached wlan0: bpf attached Am I missing anything to get this to attach at boot time? Thanks. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-RwwlWdo/W104LUaPNA/d 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) iEYEABECAAYFAkuK0PoACgkQb2iPiv4Uz4dnGACfexAbL4bdPqUfyosyvfmyJ3vg L1gAn3H+pIsHvYKaIk0jDuIg/EoVNUqn =LYly -----END PGP SIGNATURE----- --=-RwwlWdo/W104LUaPNA/d--