From owner-freebsd-current@FreeBSD.ORG Wed Mar 3 22:46:10 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 EB95C106564A for ; Wed, 3 Mar 2010 22:46:10 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id 8FFD58FC17 for ; Wed, 3 Mar 2010 22:46:10 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o23Mk9wS017683 for ; Wed, 3 Mar 2010 17:46:09 -0500 (EST) Received: from dhcp-64-102-220-55.cisco.com (dhcp-64-102-220-55.cisco.com [64.102.220.55]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o23Mk9u7028304 for ; Wed, 3 Mar 2010 17:46:09 -0500 (EST) Message-ID: <4B8EE6B1.6030605@freebsd.org> Date: Wed, 03 Mar 2010 17:46:09 -0500 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: current References: <1267388668.39569.2410.camel@shumai.marcuscom.com> <20100301233706.GH1295@weongyo> <1267505443.35639.9.camel@shumai.marcuscom.com> <20100303220452.GL1295@weongyo> In-Reply-To: <20100303220452.GL1295@weongyo> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: 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: Wed, 03 Mar 2010 22:46:11 -0000 On 3/3/10 5:04 PM, Weongyo Jeong wrote: > On Mon, Mar 01, 2010 at 11:50:43PM -0500, Joe Marcus Clarke wrote: >> On Mon, 2010-03-01 at 15:37 -0800, Weongyo Jeong wrote: >>> On Sun, Feb 28, 2010 at 03:24:28PM -0500, Joe Marcus Clarke wrote: >>>> 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="YES" in /boot/loader.conf. I also have >>>> bwn_v4_lp_ucode_load="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. >>> >>> This issue is reported by some people and I'm looking codes. >> >> Good to know. > > This issue is solved in r204657. Thank you for reporting! Saw that, thanks! >>>> 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) >>> >>> Patch is attached with email and it'll fix this message. Could you >>> please test with it? >> >> Yes, the patch removes those messages. Thanks! Was this patch committed? I don't recall seeing an svn notice. >> >>> >>> Was it successful to associate with AP? >> >> Yes, in DMA mode. In PIO mode, it associates, but does not pass any >> traffic. After a while, there was a critical DMA error, and the driver >> looped forever trying to communicate with the card. > > Are there any messages from bwn(4) related with DMA error? If yes and > you reproduce DMA error easily could you please show me the full dmesg? When it occurs, it is a fatal DMA error, and this streams on the console until reboot. In order to get the card to work again (with either bwn or ndis), I need to power-cycle the laptop. When it occurs again, I will get you the details and the full dmesg. Do you want a verbose dmesg, or a standard one? Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome