From owner-freebsd-stable@FreeBSD.ORG Wed Feb 11 23:09:26 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 985681065679 for ; Wed, 11 Feb 2009 23:09:26 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6BF638FC08 for ; Wed, 11 Feb 2009 23:09:26 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n1BN9PqC037424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Feb 2009 15:09:25 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <49935AA5.4010408@errno.com> Date: Wed, 11 Feb 2009 15:09:25 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Bengt Ahlgren References: <49665E35.1050301@errno.com> <4993368A.5040306@laverenz.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: stable@freebsd.org, Uwe Laverenz Subject: Re: CFT: ath hal src switchover 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: Wed, 11 Feb 2009 23:09:27 -0000 Bengt Ahlgren wrote: > Uwe Laverenz writes: > > >> Sam Leffler schrieb: >> >> >>> those changes. To do this you must have an up to date RELENG_7 code >>> base and then apply this patch: >>> >>> http://people.freebsd.org/~sam/ath_hal-releng7.patch >>> >>> Then rebuild your kernel. There should be no changes to user apps. >>> >> I tested this on a Thinkpad R51 / RELENG_7 / Atheros 5212 and I see no >> problems with the patch. It builds and runs fine and doesn't seem to >> do anything harmful. :) >> >> I have a problem with this machine though (with or without your >> patch): the wireless connection seems to be stalled every few >> minutes. If I try to send some traffic over ath0 or make wpa_cli >> reconnect it comes back for another few minutes. >> >> The only cure for now seems to be "ifconfig ath0 -bgscan". >> > > That sounds like it can be the same symptoms as I described on the > freebsd-mobile list earlier this week: > > http://lists.freebsd.org/pipermail/freebsd-mobile/2009-February/011343.html > > What clockrate do you run at? On my system (Thinkpad X40, Atheros > 5212) the problem does not occur at kern.hz=1000, but it is present at > kern.hz=100. > > Tomorrow evening I will investigate this further including testing if > "ifconfig ath0 -bgscan" makes a difference for me. > There are many many changes to the ath driver in head that are not in stable. If I can get confidence in the hal backport I can try to bring back some of those. But I need to do things in the proper order; I can't backmerge a bunch of stuff, find something is broken, and then have to bisect changes. So people need to help get the hal code in place first. Sam