From owner-freebsd-current@FreeBSD.ORG Thu Aug 21 08:07:39 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3FFA16A4BF for ; Thu, 21 Aug 2003 08:07:39 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 228AA43FDF for ; Thu, 21 Aug 2003 08:07:39 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange.errno.com (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id h7LF7X7N033471 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 21 Aug 2003 08:07:36 -0700 (PDT) (envelope-from sam@errno.com) Date: Thu, 21 Aug 2003 08:07:34 -0700 From: Sam Leffler To: Martin Jessa , FreeBSD-CURRENT Message-ID: <40139056.1061453254@melange.errno.com> In-Reply-To: <20030821125155.333f32fa.yazzy@yazzy.org> References: <20030821125155.333f32fa.yazzy@yazzy.org> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Ath driver still buggy. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 21 Aug 2003 15:07:40 -0000 > Me and a couple of my friends work on small freebsd version for embedded > systems. We all noticed that our wifi cards with atheros chip have > problems with the ath driver. The system keeps on spitting out following > messages before the link, that is already very slow dies: > > ath_rate_ctl: 54M -> 48M (0 ok, 3 err, 3 retr) > ath_rate_ctl: 48M -> 36M (0 ok, 1 err, 1 retr) > ath_rate_ctl: 36M -> 24M (0 ok, 1 err, 1 retr) > ath_rate_ctl: 24M -> 36M (11 ok, 0 err, 0 retr) > ath_rate_ctl: 36M -> 48M (23 ok, 0 err, 0 retr) > ath_rate_ctl: 48M -> 36M (0 ok, 2 err, 2 retr) > ath_rate_ctl: 36M -> 24M (3 ok, 7 err, 7 retr) > ath_rate_ctl: 24M -> 18M (0 ok, 1 err, 1 retr) > > And ping requests end up with following message: > ping: sendto: No buffer space available > > This was tested running 11a and 11g with PCMCIA and mini-PCI cards. > > hw.ath.hal.version: 0.9.5.2 > ath0: mem 0x88010000-0x8801ffff irq 11 at device 0.0 on > cardbus1 FreeBSD 5.1-CURRENT #0: Wed Aug 20 16:59:24 CEST 2003 > > Any solution for that Sam? I can remember you mentioned you have fix for > that a couple of weeks ago and that you will submit it in a week time or > so. I have seen the problem but have been unable to resolve it. Grab a copy of /usr/src/tools/tools/ath/athstats and use it to look at the statistics kept by the driver when this happens. They may give a hint but unfortunately I think it's a problem with the anti-noise-immunity (ANI) code in the HAL and I have no time right now to dig into that. Sam