"iwi0: fatal error" on boot

Johannes Hofmann johannes.hofmann at gmx.de
Tue Mar 3 03:15:17 PST 2009

Sepherosa Ziehau <sepherosa at gmail.com> wrote:
> On Mon, Mar 2, 2009 at 6:20 AM, Johannes Hofmann
> <johannes.hofmann at gmx.de> wrote:
>> Sepherosa Ziehau <sepherosa at gmail.com> wrote:
>>> On Sat, Feb 28, 2009 at 4:46 PM, Johannes Hofmann
>>> <johannes.hofmann at gmx.de> wrote:
>>>> Sepherosa Ziehau <sepherosa at gmail.com> wrote:
>>>>> On Fri, Feb 27, 2009 at 10:18 PM, Johannes Hofmann
>>>>> <johannes.hofmann at gmx.de> wrote:
>>>>>> Hi,
>>>>>> I'm using the iwi driver with wpa successfully on my Thinkpad T42p for
>>>>>> quite while now with WPA enabled.
>>>>>> During but I'm always seeing:
>>>>>> iwi0: fatal error
>>>>>> iwi0: wake firmware monitor
>>>>>> iwi0: reset firmware
>>>>>> And then things work fine. Is this expected?
>>>>>> Also in some cases (about 1 of 50 boots) the iwi0 device seems to
>>>>>> hang (no network traffic going through. A reboot helps.
>>>>>> All this is not urgent of course, but I thought I should mention it.
>>>>>> Are there any plans to update the iwi driver? I could try to help.
>>>>> I wanted to rewrite it for a long time, but never find enough time
>>>>> after I whacked ipw(4) :P
>>>>> Would you be interested? :)
>>>> Interested yes, but it seems that you have rewritten iwl from scratch.
>>>> I could try to port something over from another BSD, but a complete
>>>> rewrite is a bit too much for me I guess :)
>>> OK :).  You could take a look at FreeBSD's iwi.  They did a great job
>>> to improve the driver's state.
>> I converted iwi to use the firmware(9) API and adapted it to the
>> layout of newer firmware versions in the hope that this would fix the
>> problem:
>> http://leaf.dragonflybsd.org/~hofmann/iwi_firmware.diff
> Thank you!
> Committed:
> 114b4cbc1ec44562d67779db3dad73467fd291f9

Cool! Here is a small update to the iwi man page (taken from iwl(4)).
Not sure whether, when, and how we should remove iwicontrol.


diff --git a/share/man/man4/iwi.4 b/share/man/man4/iwi.4
index c21a26f..765203d 100644
--- a/share/man/man4/iwi.4
+++ b/share/man/man4/iwi.4
@@ -51,13 +51,20 @@ By default, the
 driver configures the adapter for BSS operation (aka infrastructure mode).
 This mode requires the use of an access point.
-In addition IBSS operation (aka adhoc mode) is also supported. This mode requires
-special ibss firmware. See
-.Xr iwicontrol 8
-for more details on how to load firmware.
 For more (general) information on configuring this device, see
 .Xr ifconfig 8 .
+The firmware for the adapter is not shipped with
+and must be obtained separately.
+An archive with firmware files that are known to work can be found at:
+.Bd -literal -offset indent
+The firmware files have to reside in
+.Pa /etc/firmware/iwi/2200/3.0
+and will be loaded when the interface is brought up.
 Refer to the
@@ -81,7 +88,6 @@ The driver will reset the hardware. This should not happen.
 .Xr wi 4 ,
 .Xr wlan 4 ,
 .Xr ifconfig 8 ,
-.Xr iwicontrol 8 ,
 .Xr wpa_supplicant 8
 .An -nosplit

More information about the Bugs mailing list