From owner-freebsd-stable@FreeBSD.ORG Thu Feb 12 04:16:19 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 BAA2A106566B for ; Thu, 12 Feb 2009 04:16:19 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from mail-qy0-f14.google.com (mail-qy0-f14.google.com [209.85.221.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD218FC20 for ; Thu, 12 Feb 2009 04:16:19 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by qyk7 with SMTP id 7so957386qyk.19 for ; Wed, 11 Feb 2009 20:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=Jmyl5r4mDOQgymX7mJcKWOTo8fU74mcigWPj27rjDEc=; b=J3sFHoB15/6SSoBbvzOejHTCPE9lp6LX9xnvd/bAUrzKKIFEMBK1Rk6RSehYvEjmXt BK4BVaBEEi5TlBNqQJkCZrsX+NqlnWNeiy83JthP/arF7JCUIMBOCYWLOlV6jwjHaLcf a1au/HJLYF/WgqFE50RVfA19BKI2I7eB3Drkw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=RZLAXAiiMK+HS9L1459ylLxNgoqwhxb4MWkMDlUycDKbyjM0f06W4mdrzP0HulZ7IX s4oNc/ageB98udnJe1WfdzJY919MMG8wV0l3Jk2mdD5IknIaO3ynkLCwEV3fbaqo8Q3S 4xGbOX2GOcsuC20ropVnjgOYRBOLOswRBKfKY= Received: by 10.224.46.14 with SMTP id h14mr383486qaf.182.1234410417159; Wed, 11 Feb 2009 19:46:57 -0800 (PST) Received: from ?10.0.3.231? (pool-70-111-172-146.nwrk.east.verizon.net [70.111.172.146]) by mx.google.com with ESMTPS id 30sm7141938yxk.32.2009.02.11.19.46.55 (version=SSLv3 cipher=RC4-MD5); Wed, 11 Feb 2009 19:46:56 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Sam Leffler In-Reply-To: <49935AA5.4010408@errno.com> References: <49665E35.1050301@errno.com> <4993368A.5040306@laverenz.de> <49935AA5.4010408@errno.com> Content-Type: text/plain Date: Wed, 11 Feb 2009 22:46:34 -0500 Message-Id: <1234410394.1482.16.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit 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: Thu, 12 Feb 2009 04:16:20 -0000 On Wed, 2009-02-11 at 15:09 -0800, Sam Leffler wrote: > 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. Patch applied cleanly and works for ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212 Atheros AR5212 802.11abg wireless' class = network subclass = ethernet ath0: mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 on pci3 ath0: mac 10.3 phy 6.1 radio 10.2 My -STABLE is of February 5, 2009 about 7AM EST. I build wireless stuff as modules and load them manually. If it is of any value, I am using WPA-PSK. If there is any particular testing that I can perform, or any additional information that I can provide, please, let me know and I will be happy to oblige. Thank you very much for your work. -- Alexandre "Sunny" Kovalenko