Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2005 19:17:51 GMT
From:      Axel Gonzalez <loox@e-shell.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/88496: iwi0: fatal error - have to reboot
Message-ID:  <200511041917.jA4JHpvW045875@www.freebsd.org>
Resent-Message-ID: <200511041920.jA4JKGah098323@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88496
>Category:       kern
>Synopsis:       iwi0: fatal error - have to reboot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 04 19:20:15 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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