Subject: 'Re: wi woes'
To: None <current-users@netbsd.org>
From: Charlie Root <root@eticomm.net>
List: current-users
Date: 09/13/2003 18:57:25
This email accidently got filtered out by our SPAM filters.
We apologize for this and have attempted to re-send the email.
It may not look pretty, but it is the best we could do.

This email is actually from current-users@netbsd.org
======================================================================


From current-users-owner-illusion+current-users=eticomm.net@netbsd.org Fri Sep 12 16:26:45 2003
	id 19xuV9-000P2Z-00
	for illusion+current-users@eticomm.net; Fri, 12 Sep 2003 16:26:45 -0400
	by relay.eticomm.net with smtp (Exim 3.36 #2)
	id 19xuV9-000P2P-00
	for illusion+current-users@eticomm.net; Fri, 12 Sep 2003 16:26:43 -0400
  by mail.netbsd.org with SMTP; 12 Sep 2003 20:25:19 -0000
	by che.ojctech.com (8.12.8/8.12.8) with ESMTP id h8CKP9Rn012063
	for <current-users@NetBSD.org>; Fri, 12 Sep 2003 15:25:09 -0500
	by che.ojctech.com (8.12.8/8.12.8/Submit) id h8CKP9Ox012061
	for current-users@NetBSD.org; Fri, 12 Sep 2003 15:25:09 -0500
Date: Fri, 12 Sep 2003 15:25:09 -0500
From: David Young <dyoung@pobox.com>
To: current-users@NetBSD.org
Subject: Re: wi woes
Message-ID: <20030912202509.GB4815@che.ojctech.com>
Mail-Followup-To: current-users@NetBSD.org
References: <20030912182103.GA682@diana.nimenees.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030912182103.GA682@diana.nimenees.com>
User-Agent: Mutt/1.4.1i
Sender: current-users-owner@NetBSD.org
	tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT
	autolearn=ham version=2.55

On Fri, Sep 12, 2003 at 01:21:03PM -0500, Eric Haszlakiewicz wrote:
> 
> 	Has anyone else been having problems with a wi0 card periodically
> hanging?  I've got a:
> wi0 at pci2 dev 3 function 0: Intersil Prism2.5 Wireless Lan
> wi0: interrupting at irq 10
> wi0: 802.11 address 00:09:5b:40:b7:de
> wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
> wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.6)
> wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> 
> which gets errors that look (exactly) like this:
> wi0: timeout in wi_seek to 13d/0
> 
> When this happens the card hangs for a while.  Recently (since the
> last reboot, no kernel change (1.6W, Aug 13)), it has stopped with
> the messages, but still hangs.  Running an "ifconfig wi0 down up"
> seems to get it back up faster, but the 'up' part of that ifconfig
> take a while to run (a few seconds, vs instant for e.g. wm0)
> 	I've since updated to 1.6Z, with no change in behavior.

Please send output from 'ifconfig wi0'.

Also, please break into the debugger next time a hang occurs, and send
me the stack trace.

BTW, wi is in need of an overhaul where it does not busy loop while it
waits for commands to complete. Instead it should tsleep() in the top
half, or frob a state variable and return in the bottom half. That will
end the annoying system pauses on PCI/PCMCIA wi and help us to add a
USB front-end to wi.

No fewer than two people have told me that they would do the overhaul
write a USB front-end. I do not remember their names.  Maybe I just
dreamt it. =)

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933