From nobody@FreeBSD.org  Fri Nov  4 19:17:54 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2DC3B16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Nov 2005 19:17:54 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EE4FB43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Nov 2005 19:17:53 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jA4JHp9C045879
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 4 Nov 2005 19:17:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jA4JHpvW045875;
	Fri, 4 Nov 2005 19:17:51 GMT
	(envelope-from nobody)
Message-Id: <200511041917.jA4JHpvW045875@www.freebsd.org>
Date: Fri, 4 Nov 2005 19:17:51 GMT
From: Axel Gonzalez <loox@e-shell.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: iwi0: fatal error - have to reboot
X-Send-Pr-Version: www-2.3

>Number:         88496
>Category:       kern
>Synopsis:       [iwi] iwi0: fatal error - have to reboot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 04 19:20:15 GMT 2005
>Closed-Date:    Sun May 18 17:01:16 UTC 2008
>Last-Modified:  Sun May 18 17:01:16 UTC 2008
>Originator:     Axel Gonzalez
>Release:        FreeBSD 6.0-RC1
>Organization:
>Environment:
FreeBSD moonshadow.e-shell.net 6.0-RC1 FreeBSD 6.0-RC1 #0: Sat Oct 22 03:45:31 CDT 2005     toor@moonshadow.e-shell.net:/usr/obj/usr/src/sys/LXTOSH  i386

>Description:
When normally using the card iwi, sometimes I get on dmesg:

iwi0: fatal error


Since its a critical error, the network card dies, and there is no way to
bring it up.

It only says:

# /usr/local/etc/rc.d/iwi0 start

iwi0: could not allocate firmware DMA memory
iwi0: could not load main firmware


And can't bring the card up again.


Even unloading the kernel module fails:

# kldunload if_iwi
iwi0: detached

# kldload if_iwi
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xe0200000-0xe0200fff irq 22 at device 2.0 on pci2
iwi0: Ethernet address: 00:0e:00:00:00:00 (masked)
iwi0: Please load firmware

# /usr/local/etc/rc.d/iwi0 start

iwi0: could not allocate firmware DMA memory
iwi0: could not load main firmware


ifconfig iwi0 down/up has no effect as well.


The only solution seems to reboot.


This problem seems to be more frecuent when the net is under load.

Since it seems to be a common problem, and the card can get a fatal error
any time, the driver should try to restart the card, and only print a
warning that got a fatal error.


Note: I had similar problems with 5.4, but ifconfig iwi0 down/up worked
to get the card back up, and after several down/up's I got kernel panics
(but I haven't got that far with 6.0).
>How-To-Repeat:
Use the wireless conn, for some time

After the error try to bring the card back up
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: matteo 
State-Changed-When: Sab 17 Mag 2008 10:46:40 UTC 
State-Changed-Why:  
Can you experience this problem on newer FreeBSD versions too? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88496 

From: Axel Gonzalez <loox@e-shell.net>
To: bug-followup@freebsd.org,
 loox@e-shell.net
Cc:  
Subject: Re: kern/88496: [iwi] iwi0: fatal error - have to reboot
Date: Sun, 18 May 2008 11:29:18 -0500

 I was the original reported of the bug, but I haven't had that laptop for over 
 2 years, so I don't know with recent versions, and have no way to know if it 
 works.
 
 Since no one else has posted a follow up, it seems safe to close this bug. If 
 someone else has problems, he/she can submit a new bug.
 
 Sorry to be of no help in this.
State-Changed-From-To: feedback->closed 
State-Changed-By: matteo 
State-Changed-When: Dom 18 Mag 2008 17:00:54 UTC 
State-Changed-Why:  
Submitter said this can be closed. 

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