From owner-freebsd-current Tue Feb 25 20:47:38 2003 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id F05A237B401; Tue, 25 Feb 2003 20:47:36 -0800 (PST) Date: Tue, 25 Feb 2003 22:47:36 -0600 From: Juli Mallett To: Sam Leffler Cc: freebsd-current@FreeBSD.ORG Subject: Re: Errors with wireless Message-ID: <20030225224736.A98653@FreeBSD.org> References: <011001c2dd48$f67f31f0$7deba8c0@jsattertop> <266c01c2dd4f$78f4f6f0$52557f42@errno.com> <20030225223409.A97871@FreeBSD.org> <267b01c2dd51$20dc1960$52557f42@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <267b01c2dd51$20dc1960$52557f42@errno.com>; from sam@errno.com on Tue, Feb 25, 2003 at 08:40:02PM -0800 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-Negacore: Yes X-Title: Code Maven Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Sam Leffler [ Data: 2003-02-25 ] [ Subjecte: Re: Errors with wireless ] > > * De: Sam Leffler [ Data: 2003-02-25 ] > > [ Subjecte: Re: Errors with wireless ] > > > > wi0: tx failed, retry limit exceeded > > > > > > If this happens again show the output of sysctl hw.wi. > > > > I get those constantly when doing e.g. an interactive FTP session. > > > > (jmallett@luna:~)10% sysctl hw.wi > > hw.wi.txerate: -1 > > hw.wi.debug: 0 > > > > Should I be tuning txerate or something? > > I blew it. The default setting of -1 was supposed to disable all tx error > messages (a la the old driver) but instead caused all messages to be printed > (no rate limiting). It looks like you need to do something like: > > sysctl hw.wi.txerate=999999 > > to disable the error messages or set it to some other value N to get no more > than N messages/second printed. I'll fix the code to set the default to a > large number. Making it 2^31-1 seems to have no effect. My kernel is about 14 days old, maybe it was debörken in that time? Feb 25 22:40:32 luna sudo: jmallett : TTY=ttyp7 ; PWD=/usr/people/jmallett ; USER=root ; COMMAND=/sbin/sysctl hw.wi.txerate=2147483647 Feb 26 04:41:58 luna kernel: wi0: tx failed, retry limit exceeded Feb 26 04:42:13 luna last message repeated 9 times (jmallett@luna:~)18% sysctl hw.wi.txerate hw.wi.txerate: 2147483647 Soo... I tried your value: Feb 25 22:44:49 luna sudo: jmallett : TTY=ttyp7 ; PWD=/usr/people/jmallett ; USER=root ; COMMAND=/sbin/sysctl hw.wi.txerate=999999 Feb 26 04:45:00 luna kernel: wi0: tx failed, retry limit exceeded And then that's that. I'm confused? Thanx, juli. -- Juli Mallett - AIM: BSDFlata -- IRC: juli on EFnet OpenDarwin, Mono, FreeBSD Developer - ircd-hybrid Developer, EFnet addict FreeBSD on MIPS-Anything on FreeBSD - Never trust an ELF, COFF or Mach-O! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message