From owner-freebsd-net@FreeBSD.ORG Mon May 11 07:43:16 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E7EB106567A for ; Mon, 11 May 2009 07:43:16 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from violet.upc.es (violet.upc.es [147.83.2.51]) by mx1.freebsd.org (Postfix) with ESMTP id 8FF308FC17 for ; Mon, 11 May 2009 07:43:15 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from hamilton.upcnetadm.upcnet.es (hamilton.upcnetadm.upcnet.es [147.83.2.240]) by violet.upc.es (8.14.1/8.13.1) with ESMTP id n4B7h2sE031302 for ; Mon, 11 May 2009 09:43:04 +0200 Received: from [147.83.40.234] ([147.83.40.234]) by hamilton.upcnetadm.upcnet.es (Lotus Domino Release 5.0.12) with ESMTP id 2009051109431288:44793 ; Mon, 11 May 2009 09:43:12 +0200 Message-ID: <4A07D68D.9090006@entel.upc.edu> Date: Mon, 11 May 2009 09:41:01 +0200 From: =?ISO-8859-1?Q?Gustau_P=E9rez?= User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: freebsd-net@freebsd.org X-Enigmail-Version: 0.95.7 X-MIMETrack: Itemize by SMTP Server on hamilton/UPC(Release 5.0.12 |February 13, 2003) at 11/05/2009 09:43:13, Serialize by Router on hamilton/UPC(Release 5.0.12 |February 13, 2003) at 11/05/2009 09:43:13, Serialize complete at 11/05/2009 09:43:13 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (violet.upc.es [147.83.2.51]); Mon, 11 May 2009 09:43:04 +0200 (CEST) Subject: Problem/freezes with if_bwi and firmware X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2009 07:43:16 -0000 Hi, I'm using a Broadcom BCM4312 with i386 FreeBSD-8.0 updated May 08 2009. Ports up to date. Using net/bwi-firmware-kmod. Loading first bwi_v3_ucode and then if_bwi. When starting the supplicant, it associates fine and it works for a period of time. From time to time I start to lose signal, I'm my log I can see the following message : May 11 08:42:51 gusiport kernel: bwi0: firmware rev 0x0127, patch level 0x000e May 11 08:42:51 gusiport kernel: bwi0: bwi_intr: intr PHY TX error Many of those messages per second. This is the first problem with if_bwi. It forces me to restart by hand the wlan1 device associated to bwi0. And here comes the freeze (the second problem I encountered). If I try restarting like this : /etc/rc.d/netif stop wlan1 && /etc/rc.d/netif start wlan1 it works (until the PHY TX error appears againg). If I try like : /etc/rc.d/netif restart or if I try : /etc/rc.d/netif stop bwi0 the machine freezes. If i try to kldunload the module while in use (if there's a wlan device created) the machine freezes too. It can be unloaded only if there is not any wlan associated to the bwi device.