From owner-freebsd-stable@FreeBSD.ORG Tue Aug 31 10:30:56 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0801210656AA for ; Tue, 31 Aug 2010 10:30:56 +0000 (UTC) (envelope-from amdmiek@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id B96F38FC0C for ; Tue, 31 Aug 2010 10:30:55 +0000 (UTC) Received: by gwj23 with SMTP id 23so2850808gwj.13 for ; Tue, 31 Aug 2010 03:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=pV5NvKCgpMkLQiORT5p56snJe8/8jpXP5DYGEty60aQ=; b=DBBI8f8ZUjXVwfw3ENn0qnMQKaIcjnp/insPRIc5MzRzmSxl5pqFh1Ovxo28Od2l12 ev0mC5c5MJk3R0GDanXV8R6alKUAbNHyPxxf5bEpqbabtsWqVmE1kw2XaQ4FBxNPvN/H vCcwKGOfoNnreR9RJy0kaUVdPnCK74NpveM2s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HtQMDRFNZE7PMEHwkPW/gbkmX+1WOpQboiaGUoaiOS1EPTCaWHzF5rS7tqYF57eH++ 63dotu0Ko+lTkGUJS0hgwd9tDcxRQEZ5aj2k7tIK1N1zs07bpXqU3qqG3F7J9GaMjISC O6qOXWokpDGD5NgJyIemVJcXCDB1dGcuQU+fU= MIME-Version: 1.0 Received: by 10.220.122.203 with SMTP id m11mr3514785vcr.118.1283250654814; Tue, 31 Aug 2010 03:30:54 -0700 (PDT) Received: by 10.220.194.203 with HTTP; Tue, 31 Aug 2010 03:30:54 -0700 (PDT) Date: Tue, 31 Aug 2010 14:30:54 +0400 Message-ID: From: Michael BlackHeart To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Broadcom Wireless BCM4312 Rev.02 (BCM4310 UART) troubles X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 10:30:56 -0000 Hello I've got a problem with Broadcomm Wireless. I have notebook HP Compaq 6720s with BCM4312. I disassemblied book and saw there plugable Wireless Module but I'm lazy to do it again to werify it's ID. Windows XP drivers works fine and says that is's PCI\VEN_14E4&DEV_4312&SUBSYS_1371103C&REV_02\4&29E2C51B&0&00E1 MEMORY E4000000 - E4003FFF IRQ 17 I've tried : FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 And noting as i386 8.1 release. Now I'm running: FreeBSD 8.1-STABLE FreeBSD 8.1-STABLE #0 r211991: Mon Aug 30 14:58:34 MSD 2010 root@:/usr/obj/usr/src/sys/GENERIC amd64 With no driver attached "pciconf -l -cvb" says: none1@pci0:16:0:0: class=0x028000 card=0x1371103c chip=0x431214e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4310 UART (Wireless Ethernet Adapter)' class = network bar [10] = type Memory, range 64, base 0xe4000000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 09[58] = vendor (length 120) cap 05[e8] = MSI supports 1 message, 64 bit cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) Clean install, trying bwi driver first cd /usr/ports/net/bwi-firmware-kmod && make install clean && rehash kldload bwi_ucode_v3 cd /usr/sys/src/modules/bwi make all obj depend install clean kldload if_bwi Aug 18 12:19:58 kernel: bwi0: mem 0xe4000000-0xe4003fff irq 17 at device 0.0 on pci16 Aug 18 12:19:58 kernel: bwi0: [ITHREAD] Aug 18 12:19:58 kernel: bwi0: BBP: id 0x4311, rev 0x2, pkg 0 Aug 18 12:19:58 kernel: bwi0: MAC rev 13 is not supported Aug 18 12:19:58 kernel: bwi0: no MAC was found Aug 18 12:19:58 kernel: device_attach: bwi0 attach returned 6 pciconf -l -cvb says: bwi0@pci0:16:0:0: class=0x028000 card=0x1371103c chip=0x431214e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4310 UART (Wireless Ethernet Adapter)' class = network cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 09[58] = vendor (length 120) cap 05[e8] = MSI supports 1 message, 64 bit cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) now rebooting 'cos even after kldunloading if_bwi module it's still lists in pciconfand trying bwn cd /usr/ports/net/bwn-firmware-kmod && make install clean && rehash kldload bwn_v4_ucode.ko kldload if_bwn pciconf -l -cvb says: siba_bwn0: mem 0xe4000000-0xe4003fff irq 17 at device 0.0 on pci16 siba_bwn0: unsupported coreid (USB 1.1 Host) bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4311 rev 13) PHY (analog 4 type 2 rev 9) RADIO (manuf 0x17f ver 0x2050 rev 2) bwn0: DMA (64 bits) bwn0: Using 1 MSI messages bwn0: [FILTER] siba_bwn0@pci0:16:0:0: class=0x028000 card=0x1371103c chip=0x431214e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4310 UART (Wireless Ethernet Adapter)' class = network bar [10] = type Memory, range 64, base 0xe4000000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 09[58] = vendor (length 120) cap 05[e8] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) ifconfig bwn0 up scan bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) ifconfig: unable to get scan results bwn0: status of RF switch is changed to OFF book have a switch to turn on/off all radio and it's always on. also when i'm switching it FreeBSD says nothing Also I tried acpi_hp - no sense And i didn't find any apropriate in sysctl Moving next - ndis I've tried couple of drivers With WinXP that running on drivers v. VERSION: 7.10 REV: B from sp41680 And OS goes to kernel panic just when I kldloaded it. No dump, sorry, but I don't think that it matters a thing Another one - VERSION: 6.10 REV: A from sp34152 works a bit better It converts and loads without panic but in debug: kldload bcmwl564_sys.ko ndis0: mem 0xe4000000-0xe4003fff irq 17 at device 0. 0 on pci16 ndis0: [ITHREAD] ndis0: NDIS API version: 5.1 fpudna in kernel mode! pciconf -lcvb says: ndis0@pci0:16:0:0: class=0x028000 card=0x1371103c chip=0x431214e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4310 UART (Wireless Ethernet Adapter)' class = network bar [10] = type Memory, range 64, base 0xe4000000, size 16384, enabled cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 09[58] = vendor (length 120) cap 05[e8] = MSI supports 1 message, 64 bit cap 10[d0] = PCI-Express 1 endpoint max data 128(128) link x1(x1) ifconfig says: ndis0: flags=8802 metric 0 mtu 2290 ether 00:21:00:43:56:0e media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier and everything doesn't work again. I think this as all info I can get, huh. I've got only two questions: 1)Is there a way to determine what exactly microcode uses Windows Driver (There's no info in devmgmgt.msc or I just don't get that it's info I'm looking for) 2)Have u got any advices to me how to get it all working?