From owner-freebsd-current@FreeBSD.ORG Wed Mar 3 22:04:52 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 9AE9B106566B for ; Wed, 3 Mar 2010 22:04:52 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from mail-ew0-f228.google.com (mail-ew0-f228.google.com [209.85.219.228]) by mx1.freebsd.org (Postfix) with ESMTP id 2639F8FC14 for ; Wed, 3 Mar 2010 22:04:51 +0000 (UTC) Received: by ewy28 with SMTP id 28so1383663ewy.13 for ; Wed, 03 Mar 2010 14:04:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=r2zzpWKCw3hhrUFDRcgxV5CCbc99Yhgzl06v6ULnJHg=; b=UaoCCMLrWRt18zQipG85ZTj8Vj1XM7ABZb4J6w52mEtZcMwk4biLtnRUqmnJv0ER4V XppQAz34cIa6KLTLAN/7zbCEqEn8xAEQP6JfXckMjmV/J7Dhm0aeBNAQQ8TJaRHZIsg5 YbatQ2tRmUqFP5/2xPnf6ATONdM1wEVFw16LQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=oaT1hayyRhXz+CypgfdNsdyVc50h+DtbttIB7AjpKhvAsjUafwlUIj9eNm+4ecw1Xz ncA4iCebt/jx5oK7VpdvNSucsL2uAiS+jqXl8YD10oOCy40cksVSlJbsb8K60cxmgpuH FL82jpGkZeK7R4lXrVqj60fe2unWg05dHhSQA= Received: by 10.213.48.74 with SMTP id q10mr44324ebf.0.1267653891186; Wed, 03 Mar 2010 14:04:51 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 23sm17287765eya.26.2010.03.03.14.04.49 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Mar 2010 14:04:50 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Wed, 3 Mar 2010 14:04:52 -0800 From: Weongyo Jeong Date: Wed, 3 Mar 2010 14:04:52 -0800 To: Joe Marcus Clarke Message-ID: <20100303220452.GL1295@weongyo> Mail-Followup-To: Joe Marcus Clarke , current References: <1267388668.39569.2410.camel@shumai.marcuscom.com> <20100301233706.GH1295@weongyo> <1267505443.35639.9.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1267505443.35639.9.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: current Subject: Re: Problem with new bwn driver on -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong 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:04:52 -0000 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! > > > > > > Once it is attached, however, I can > > > pass traffic just fine, but I get a large number of these messages on > > > the console, and the traffic rate is not what it was with the NDIS > > > driver: > > > > Could you please elaborate the traffic rate? You mean the traffic rate > > is lower or higher than NDIS driver? > > The throughput with the if_bwn driver is less than with the ndis driver. > It associates at 11g (36 Mbps), but the RTT is longer. This is > noticeable with apps like VNC. The redraw is noticeably slower (line by > line) than it was ndis. Low throughput apps like SSH work more or less > the same. > > > > > > > > > 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 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? regards, Weongyo Jeong