From owner-freebsd-mobile Fri Mar 15 4:32: 8 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from shikima.mine.nu (pc1-card4-0-cust77.cdf.cable.ntl.com [62.252.49.77]) by hub.freebsd.org (Postfix) with ESMTP id 35E9037B419 for ; Fri, 15 Mar 2002 04:32:02 -0800 (PST) Received: from rasputin by shikima.mine.nu with local (Exim 3.35 #1) id 16lqro-0005SM-00; Fri, 15 Mar 2002 12:31:28 +0000 Date: Fri, 15 Mar 2002 12:31:28 +0000 From: Rasputin To: Brooks Davis Cc: mobile@freebsd.org Subject: Re: patch for Lucent command timeouts Message-ID: <20020315123128.A20934@shikima.mine.nu> Reply-To: Rasputin References: <20020313113313.B11290@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020313113313.B11290@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Wed, Mar 13, 2002 at 11:33:13AM -0800 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Brooks Davis [020313 19:37]: > The following patch attempts to address the timeouts people have been > seeing in after my recent MFC of Linksys support. Does two things, > first it doens't report timeouts of the INQUIRE command on non-Prism2 > cards. All the reports I saw were for Lucent cards so I left the > diagnostic in for others. Second, it drasticly reduces the timeout from > 500ms to 10ms. 10ms is a long time for a device and should not be > noticable to the user where 500ms was. Please test and see if this > solves your problems. Also, if Linksys WMP11 users could test this > patch to be sure it doesn't break their configuration, that would be > greatly appreciated. > > -- Brooks > > Index: if_wi.c > =================================================================== > RCS file: /usr/cvs/src/sys/dev/wi/if_wi.c,v Better than it was, but I still get a lot: rasputin@shikima rasputin]$dmesg|grep 'wi0: timeout in wi_cmd 11'|wc -l 226 rasputin@shikima rasputin]$uptime 12:27PM up 3:48, 1 user, load averages: 0.01, 0.02, 0.00 That's a fair amount of noise generated - the daily root emails are massive :) Can I just chec kwith people - has anyone got a broken card? Mine works just as fast as it ever did, it's not broken or anything - it's just the fact that the diagnostic output fogs up logging of other events I have a problem with. If only the Lucent cards are affected, would it make sense to put a special-case workaround for them? Or are other non Prisms affected? Should also point out that this is a Lucent Orinoco silver card on an ISA PCMCIA adapter - possibly that's related? -- All syllogisms have three parts, therefore this is not a syllogism. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message