Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2003 22:47:36 -0600
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Sam Leffler <sam@errno.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Errors with wireless
Message-ID:  <20030225224736.A98653@FreeBSD.org>
In-Reply-To: <267b01c2dd51$20dc1960$52557f42@errno.com>; from sam@errno.com on Tue, Feb 25, 2003 at 08:40:02PM -0800
References:  <011001c2dd48$f67f31f0$7deba8c0@jsattertop> <266c01c2dd4f$78f4f6f0$52557f42@errno.com> <20030225223409.A97871@FreeBSD.org> <267b01c2dd51$20dc1960$52557f42@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: Sam Leffler <sam@errno.com> [ Data: 2003-02-25 ]
	[ Subjecte: Re: Errors with wireless ]
> > * De: Sam Leffler <sam@errno.com> [ 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 <jmallett@FreeBSD.org> - 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030225224736.A98653>