From owner-freebsd-stable@FreeBSD.ORG Fri Feb 27 05:33:20 2009 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 E4589106564A for ; Fri, 27 Feb 2009 05:33:20 +0000 (UTC) (envelope-from n-butcher=freebsd-stable=freebsd.org=mmporwnv@fusiongol.com) Received: from smtp12.dentaku.gol.com (smtp12.dentaku.gol.com [203.216.5.74]) by mx1.freebsd.org (Postfix) with ESMTP id B26188FC14 for ; Fri, 27 Feb 2009 05:33:20 +0000 (UTC) (envelope-from n-butcher=freebsd-stable=freebsd.org=mmporwnv@fusiongol.com) Received: from pat.gol.co.jp ([203.216.1.191] helo=[172.16.1.151]) by smtp12.dentaku.gol.com with esmtpsa (Dentaku) id 1LcvLZ-0007Vx-Nl; Fri, 27 Feb 2009 14:33:17 +0900 Message-ID: <49A77B1D.70801@fusiongol.com> Date: Fri, 27 Feb 2009 14:33:17 +0900 From: Nathan Butcher User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Weongyo Jeong References: <49A61894.5040804@fusiongol.com> <20090226045340.GC70144@weongyo.cdnetworks.kr> <49A74A21.1050109@freebsd.org> <20090227035532.GC72273@weongyo.cdnetworks.kr> In-Reply-To: <20090227035532.GC72273@weongyo.cdnetworks.kr> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com Cc: Sam Leffler , freebsd-stable@freebsd.org Subject: Re: ural driver stalls under FreeBSD7.1 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: Fri, 27 Feb 2009 05:33:21 -0000 Weongyo Jeong wrote: > On Thu, Feb 26, 2009 at 06:04:17PM -0800, Sam Leffler wrote: >> Bengt Ahlgren wrote: >>> Weongyo Jeong writes: >>> >>>> On Thu, Feb 26, 2009 at 01:20:36PM +0900, Nathan Butcher wrote: >>>> >>>>> I have a Buffalo WLI-U2-KG54-AI wireless USB adaptor. >>>>> It has been malfunctioning for quite a while under FreeBSD7.0 and 7.1 >>>>> >>>>> Typically, It works for a while until eventually it stalls data >>>>> transfers completely. It always seems to do this after an unspecified >>>>> amount of time. >>>>> >>>>> I know the hardware isn't at fault because the device works fine under >>>>> Linux. >>>>> >>>> Could you please check that `ifconfig -bgscan' disabling the >>>> background scan helps your symptom? >>> The above sounds like the same problem as this: >>> >>> http://lists.freebsd.org/pipermail/freebsd-mobile/2009-February/011376.html >>> http://lists.freebsd.org/pipermail/freebsd-mobile/2009-February/011343.html >>> >>> The problem is in the background scanning logic in sys/net80211. >> I don't see how you come to this conclusion. ural is a totally >> different driver than ath and so far as I can recall you never found the >> cause for your problem w/ ath. Most of the usb wireless drivers do a >> haphazard job of synchronizing async tasks like bg scan with the >> foreground tx/rx processing. This can lead to firmware and/or usb >> issues. ath does not have these issues but I am aware of at least one >> problem w/ bg scanning in ath under RELENG_7 (that is not present in HEAD). > > I agree with sam because I saw some cases like stalls during background > scanning that most of them I think it's caused by H/W miss-operation or > miss-configuration by mistakes of driver. I'll do some testing without the bgscan and report back. (haven't had time recently)