From owner-freebsd-net@FreeBSD.ORG Sat May 30 13:23:45 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 E4EF3106566B for ; Sat, 30 May 2009 13:23:45 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-fx0-f163.google.com (mail-fx0-f163.google.com [209.85.220.163]) by mx1.freebsd.org (Postfix) with ESMTP id 732DE8FC0A for ; Sat, 30 May 2009 13:23:45 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by fxm7 with SMTP id 7so210948fxm.43 for ; Sat, 30 May 2009 06:23:44 -0700 (PDT) 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:cc:content-type :content-transfer-encoding; bh=ZQkL00iEOeTYKfIitPlJoKk+x5KwnMeiF4+fjgLQC7A=; b=FhNOScmYgLNTlz4inhnl4ebhS0ta+/O/amq8iaDtqaRQ9vxpQ+vY1Pn0UqEs3pmDza y0nxM/qt1sdfxCVTW0c/r3KafZcetwW64gFE1dvY8FEeDhdFH5eqq3AGVbdOuGSY7nOP upPILCuBAlVZB7Ry5PxUIcR2SCNvGihTdd7m8= 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 :cc:content-type:content-transfer-encoding; b=tnM4rr57uRhsAbYdKLgDdwHLnfrviBIsAEZ6TUWG22RqG+G/Mkh5FviCKtwi6EQ9SW ZqWb2liTpPczAB5qBg7MLUHFQur6REHI3imCxGBWsaKjonKLo2uXhZ+WRD9L7YvY1m66 hUjXfPxY/8kIM+Fwk2+lwKJYJ/owv7PWTnWwc= MIME-Version: 1.0 Received: by 10.204.100.10 with SMTP id w10mr3457763bkn.211.1243689824326; Sat, 30 May 2009 06:23:44 -0700 (PDT) In-Reply-To: <4A07D68D.9090006@entel.upc.edu> References: <4A07D68D.9090006@entel.upc.edu> Date: Sat, 30 May 2009 15:23:44 +0200 Message-ID: <3a142e750905300623i2aac1414u9396e07b278157bd@mail.gmail.com> From: "Paul B. Mahol" To: Gustau Perez Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: 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: Sat, 30 May 2009 13:23:46 -0000 On 5/11/09, Gustau Perez wrote: > > 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. Is this mini-pci card? (pciconf -lv) -- Paul