From nobody@FreeBSD.org  Wed Apr  9 14:29:16 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 835E81065671
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Apr 2008 14:29:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 732EF8FC26
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Apr 2008 14:29:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m39ESwga076232
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 9 Apr 2008 14:28:58 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m39ESwOi076231;
	Wed, 9 Apr 2008 14:28:58 GMT
	(envelope-from nobody)
Message-Id: <200804091428.m39ESwOi076231@www.freebsd.org>
Date: Wed, 9 Apr 2008 14:28:58 GMT
From: Rick Sprague <sprague@msu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Intel wireless, iwi driver, fails after 3 - 4 hours of use"firmware stuck in state 4"
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         122597
>Category:       kern
>Synopsis:       [iwi] Intel iwi fails after 3 - 4 hours of use"firmware stuck in state 4"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    thompsa
>State:          analyzed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 09 14:30:00 UTC 2008
>Closed-Date:    
>Last-Modified:  Thu Apr 10 16:42:56 UTC 2008
>Originator:     Rick Sprague
>Release:        FreeBSD 7 Stable
>Organization:
>Environment:
FreeBSD inspiron_iwi0.sprague.com 7.0-STABLE FreeBSD 7.0-STABLE #28: Tue Apr  8 16:32:22 EDT 2008     root@inspiron_iwi0.sprague.com:/usr/obj/usr/src/sys/INSPIRON  i386
>Description:
I've not had this problem under 6.x or WinXP.  I've seen other posts in newsgroups concerning this issue w/ no resolution other than "somebody should send a PR".

Typically it will take 4 hours and then I get the following:

Apr  9 01:56:12 inspiron_iwi0 kernel: iwi0: firmware stuck in state 4, resetting

Sometimes, it will only take 2.5-3 hours under heavy use.  I just don't know what triggers the failure.  I've been hobbling along w/ "netif restart"s

rc.conf:
-------
hostname=inspiron_iwi0.sprague.com
ifconfig_iwi0="WPA DHCP"
ifconfig_iwi0_alias0="inet 192.168.1.8 netmask 255.255.255.0"
ifconfig_iwi0_alias1="inet 10.0.2.15 netmask 255.255.255.0"
>How-To-Repeat:
Failure occurs after ~4 hours use, to 2.5-3hr under heavy use.
>Fix:


>Release-Note:
>Audit-Trail:

From: Andrew Thompson <thompsa@FreeBSD.org>
To: bug-followup@FreeBSD.org, sprague@msu.edu
Cc:  
Subject: Re: kern/122597: Intel wireless, iwi driver, fails after 3 - 4
	hours of use"firmware stuck in state 4"
Date: Thu, 10 Apr 2008 06:08:06 +1200

 > >Description:
 > Typically it will take 4 hours and then I get the following:
 > 
 > Apr  9 01:56:12 inspiron_iwi0 kernel: iwi0: firmware stuck in state 4, resetting
 
 Can you please try 'ifconfig iwi0 -bgscan' and see if the problem goes
 away.
 
 
 cheers,
 Andrew
State-Changed-From-To: open->feedback 
State-Changed-By: vwe 
State-Changed-When: Wed Apr 9 19:08:38 UTC 2008 
State-Changed-Why:  

Note that submitter has been asked for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122597 
State-Changed-From-To: feedback->analyzed 
State-Changed-By: thompsa 
State-Changed-When: Thu Apr 10 16:41:18 UTC 2008 
State-Changed-Why:  
Rick has reported that -bgscan removes the problem, grabbing PR. 


Responsible-Changed-From-To: freebsd-bugs->thompsa 
Responsible-Changed-By: thompsa 
Responsible-Changed-When: Thu Apr 10 16:41:18 UTC 2008 
Responsible-Changed-Why:  
Rick has reported that -bgscan removes the problem, grabbing PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=122597 
>Unformatted:
