From owner-freebsd-current@FreeBSD.ORG Sun Feb 28 19:45:41 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 E3DE41065672 for ; Sun, 28 Feb 2010 19:45:41 +0000 (UTC) (envelope-from miki.bsd@gmail.com) Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mx1.freebsd.org (Postfix) with ESMTP id 7736A8FC1F for ; Sun, 28 Feb 2010 19:45:40 +0000 (UTC) Received: by fxm23 with SMTP id 23so68044fxm.3 for ; Sun, 28 Feb 2010 11:45:33 -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:content-type; bh=v55WmYOARGC/QsZI+EymmffiUXAlHL/9fo6hPHYpWpE=; b=c/ibGp+tTIioGWA5IsV7xdIsrJrbfqZQrSLpVNiNrkJdmnGMfkZacOCrJE/zeWng8O sxOBvpfJ7mcVprBI2w2f7msXKYMuGoKq/bRk+Ti2JkDSKOGGdjyh37RwF/ycuatqSBCk AFBhFksrSdPkUQWOhriPo53M0I9VtEee0x2S0= 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 :content-type; b=m/ZXHRVHsJhcgTtiy36gLhQo2O7dbjVpZ3EQtJyzSOl2RbxO5Zzn1yxrOBLPDThiNp hrtWCo0P1R9ytLLobP3MTjR4vFjO2FQ66zNIEQLugjDAEAc+KQxSB5cUQba7G45nXUHk aoXIlBcKfMjtibZuL7fp6QTVW13fHX3PUY5x8= MIME-Version: 1.0 Received: by 10.239.182.65 with SMTP id p1mr346836hbg.157.1267386333018; Sun, 28 Feb 2010 11:45:33 -0800 (PST) In-Reply-To: <20100226005115.GP14937@weongyo> References: <20091223035331.GA1293@weongyo> <4b31cb29.9413f30a.5f4a.ffff8382@mx.google.com> <20100226005115.GP14937@weongyo> Date: Sun, 28 Feb 2010 20:45:32 +0100 Message-ID: <261c29701002281145v357d86edl822f032e6e09a7fc@mail.gmail.com> From: Miki To: Weongyo Jeong , current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver 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 19:45:42 -0000 Hi, Thanks for the work ! I have some problems here when I try to create a wlan interface : bwn_v4_ucode5: could not load firmware image, error 2 bwn0: the fw file(bwn_v4_ucode5) not found I have installed bwn-firmware-kmod from ports but the only files I have in /boot/modules are bwn_v4_lp_ucode.ko and bwn_v4_ucode.ko. So I tried to copy bwn_v4_ucode to bwn_v4_ucode5 and it seems to work : wlan0 is created, I can associate to an open Access Point and obtain a DHCP lease. But if I try to do some network IO (browsing the web) the interface hang (I cannot obtain a lease anymore). I'm running : FreeBSD acheron.homeunix.org 9.0-CURRENT FreeBSD 9.0-CURRENT #3 r204476M: Sun Feb 28 20:27:03 CET 2010 miki@acheron.homeunix.org:/usr/obj/usr/src/sys/ACHERON amd64 kernel and world are in sync. pciconf -lcv output : siba_bwn0@pci0:4:0:0: class=0x028000 card=0x70011799 chip=0x432014e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' device = '802.11b/g Wireless LAN Controller (BCM4309)' class = network verbose dmesg output : siba_bwn0: mem 0xfe6fe000-0xfe6fffff irq 16 at device 0.0 on pci4 siba_bwn0: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xfe6fe000 bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4306 rev 5) PHY (analog 2 type 2 rev 2) RADIO (manuf 0x17f ver 0x2050 rev 2) bwn0: DMA (30 bits) bwn0: [MPSAFE] bwn0: [FILTER] bwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps bwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps dmesg output when I create a wlan interface : wlan0: bpf attached wlan0: Ethernet address: 00:11:50:16:c4:47 bwn0: need multicast update callback last message repeated 2 times firmware: 'bwn_v4_ucode5' version 0: 22384 bytes loaded at 0xffffffff80c40800 firmware: 'bwn_v4_ucode11' version 0: 29864 bytes loaded at 0xffffffff80c45f70 firmware: 'bwn_v4_ucode13' version 0: 32232 bytes loaded at 0xffffffff80c4d418 firmware: 'bwn_v4_ucode14' version 0: 31384 bytes loaded at 0xffffffff80c55200 firmware: 'bwn_v4_ucode15' version 0: 30488 bytes loaded at 0xffffffff80c5cc98 firmware: 'bwn_v4_pcm5' version 0: 1320 bytes loaded at 0xffffffff80c643b0 firmware: 'bwn_v4_a0g1initvals5' version 0: 1840 bytes loaded at 0xffffffff80c648d8 firmware: 'bwn_v4_a0g0initvals5' version 0: 1840 bytes loaded at 0xffffffff80c65008 firmware: 'bwn_v4_b0g0initvals5' version 0: 1840 bytes loaded at 0xffffffff80c65738 firmware: 'bwn_v4_b0g0initvals13' version 0: 2080 bytes loaded at 0xffffffff80c65e68 firmware: 'bwn_v4_a0g1bsinitvals5' version 0: 158 bytes loaded at 0xffffffff80c66688 firmware: 'bwn_v4_a0g0bsinitvals5' version 0: 158 bytes loaded at 0xffffffff80c66726 firmware: 'bwn_v4_b0g0bsinitvals5' version 0: 158 bytes loaded at 0xffffffff80c667c4 firmware: 'bwn_v4_lp0initvals13' version 0: 3618 bytes loaded at 0xffffffff80c66862 firmware: 'bwn_v4_lp0initvals14' version 0: 2064 bytes loaded at 0xffffffff80c67684 firmware: 'bwn_v4_lp0initvals15' version 0: 2052 bytes loaded at 0xffffffff80c67e94 firmware: 'bwn_v4_lp0bsinitvals13' version 0: 158 bytes loaded at 0xffffffff80c68698 firmware: 'bwn_v4_lp0bsinitvals14' version 0: 158 bytes loaded at 0xffffffff80c68736 firmware: 'bwn_v4_lp0bsinitvals15' version 0: 158 bytes loaded at 0xffffffff80c687d4 firmware: 'bwn_v4_n0bsinitvals11' version 0: 158 bytes loaded at 0xffffffff80c68872 bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost Feb 28 19:57:19 acheron kernel: wlan0: link state changed to UP Feb 28 19:57:19 acheron kernel: bwn0: need multicast update callback Feb 28 19:57:19 acheron last message repeated 2 times Feb 28 19:57:19 acheron dhclient: New IP Address (wlan0): 192.168.2.36 Feb 28 19:57:19 acheron dhclient: New Subnet Mask (wlan0): 255.255.255.0 Feb 28 19:57:19 acheron dhclient: New Broadcast Address (wlan0): 192.168.2.255 Feb 28 19:57:19 acheron dhclient: New Routers (wlan0): 192.168.2.1