Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2006 18:48:23 +0200
From:      =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org>
To:        Sam Leffler <sam@errno.com>
Cc:        Don Wilde <Don@silver-lynx.com>, freebsd-mobile@freebsd.org
Subject:   Re: Problem (maybe a solution) loading iwi firmware: firmware_get: failed to load firmware image iwi_bss
Message-ID:  <44CA3FD7.9040506@locolomo.org>
In-Reply-To: <44CA36FF.9070404@errno.com>
References:  <44C8D7FE.4080108@locolomo.org>	<eefa2c8b0607271007w1cd17408q4a08d2a63169d1f5@mail.gmail.com>	<44C905D3.4040208@locolomo.org>	<200607271739.48433.jhb@freebsd.org>	<44CA2CA1.3040801@locolomo.org> <44CA36FF.9070404@errno.com>

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

[-- Attachment #1 --]
Sam Leffler wrote:
> Erik Nrgaard wrote:
>> The new_iwi has not been backported to -stable yet. I tried to use just
>> the iwi-firmware-kmod port, disabling dhcp on that interface and
>> configuring manually, loading modules in order: firmware, iwi_bss and
>> if_iwi.
> 
> Either you've mis-typed the above or you are incorrect.

Sorry, I think I misunderstood it. I thought the objective of the
new_iwi was to get everything in base thus depreciating the installation
of net/iwi-firmware-kmod.

>> Still, I can not get it working, output from dmesg:
>>
>>
>>   iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xb0107000-0xb0107fff irq 10
>>      at device 10.0 on pci6
>>   iwi0: Ethernet address: 00:16:6f:93:c9:75
>>
>> This appears fine after I load if_iwi no further errors. But then
>> configuring with
>>
>>   # ifconfig iwi0 10.35.4.64/24 ssid MYAP mode 11g channel 6
>>
>> The following error appears:
>>
>>   Interrupt storm detected on "irq5:"; throttling interrupt source
>>   iwi0: timeout waiting for iwi_bss firmware initialization to complete
>>   iwi0: could not load boot firmware iwi_bss
>>   firmware_get: failed to load firmware image iwi_bss
>>   iwi0: could not load firmware
>>
>> I do get the interface configured but with "no carrier". I unload and
>> reload if_iwi and configure again:
>>
>>   iwi0: detached
>>   iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xb0107000-0xb0107fff irq 10
>>      at  device 10.0 on pci6
>>   iwi0: Ethernet address: 00:16:6f:93:c9:75
>>   firmware_get: failed to load firmware image iwi_bss
>>   iwi0: could not load firmware
>>
>> Note the interupt storm when the module is first loaded, but not the
>> second time.
>>
>> Why on irq 5 when the iwi0 is on irq 10? Looking at my devices, lspci -v
>> output below, there is an USB controler on irq 5 _and_ 10. Could some
>> with the iwi problems some how propagate?
>>
>> As seen below the bus is ICH6 based.
>>
>> Any hints? Thanks, Erik
> 
> Figure out why you are not loading firmware properly.  The firmware is
> packaged as normal loadable modules you can actually pre-load them using
> kldload.  Check things loaded normally with kdlstat and/or check the
> console log msgs.  My guess is you are not loading the correct firmware
> modules.  I think there's a debugging knob/sysctl for firmware(9) but
> can't remember it off hand.

First, the iwi_bss module is not loaded automatically if none of the
modules firmware, iwi_bss and if_iwi are present,

  # kldload if_iwi

will load firmware, but not iwi_bss. It does not change anything
manually loading firmware and/or iwi_bss before if_iwi or loading
iwi_bss after, manually configuring iwi0 with ifconfig always causes the
error:

  firmware_get: failed to load firmware image iwi_bss
  iwi0: could not load firmware

I am wondering if this could be caused by the ICH6 bus? I have other
problems with the bus, usb does not work although the devices are
registered and as mentioned there seem to be a conflict of irq's.

I can't find a firmware debug knob, but setting debug.iwi=1 just adds
two lines to the dmesg:

iwi_newstate: INIT -> INIT flags 0x0
iwi0: timeout waiting for iwi_bss firmware initialization to complete
iwi0: could not load boot firmware iwi_bss
iwi_newstate: INIT -> INIT flags 0x0

Thanks, Erik
-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9

[-- Attachment #2 --]
0	*H
010	+0	*H
00נ	UO0
	*H
010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U00
060420131650Z
070420131650Z0b10	UES10U
LocoLomo.Org10U
Erik Norgaard1$0"	*H
	norgaard@locolomo.org0"0
	*H
0
>NPLGMK	$^ha~	Xם-`Y^P
oœtƥ*\.e_!2\j]m)B>v+z2VfDѝR}Tc&E/#_.9DŽ9÷(3	?ԝWu%)vŅͯTr)FA+(R6ƶw
{9zP_Q^zpk/jXMYn0j0U00U0Uiy,]ñtb?i0U#0Àa&WtЕna=⥡010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0 U0norgaard@locolomo.org08U10/0-+)'http://www.daemonsecurity.com/ca/ds.crl0
	*H
ǟ@&<mWc4LS@G4['s5\\VN^`I
&>"@>"[xq89`@sG;LP]ƜTT|sGٶ2Ҋctx?'ҭ$0r;2#ba"%$B
p%rԆU
ì>!73ȁg6_I.2Ġ!AaAmF
G'bךuf>-dxqq09#XOSk+FuyTvr+p!!}n.6NH'5+9`CVĩ;7RߔRKIpv&S@P`;%eƓxCuiL	Cb
Y,)x:3ѓGjRe
EtPҰk<
c\;9pT9/K̩ LHzMMuʔ(dkskj<ds08PxZ
NWC00נ	UO0
	*H
010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U00
060420131650Z
070420131650Z0b10	UES10U
LocoLomo.Org10U
Erik Norgaard1$0"	*H
	norgaard@locolomo.org0"0
	*H
0
>NPLGMK	$^ha~	Xם-`Y^P
oœtƥ*\.e_!2\j]m)B>v+z2VfDѝR}Tc&E/#_.9DŽ9÷(3	?ԝWu%)vŅͯTr)FA+(R6ƶw
{9zP_Q^zpk/jXMYn0j0U00U0Uiy,]ñtb?i0U#0Àa&WtЕna=⥡010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0 U0norgaard@locolomo.org08U10/0-+)'http://www.daemonsecurity.com/ca/ds.crl0
	*H
ǟ@&<mWc4LS@G4['s5\\VN^`I
&>"@>"[xq89`@sG;LP]ƜTT|sGٶ2Ҋctx?'ҭ$0r;2#ba"%$B
p%rԆU
ì>!73ȁg6_I.2Ġ!AaAmF
G'bךuf>-dxqq09#XOSk+FuyTvr+p!!}n.6NH'5+9`CVĩ;7RߔRKIpv&S@P`;%eƓxCuiL	Cb
Y,)x:3ѓGjRe
EtPҰk<
c\;9pT9/K̩ LHzMMuʔ(dkskj<ds08PxZ
NWC100010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0	+)0	*H
	1	*H
0	*H
	1
060728164823Z0#	*H
	1m6
,_["W!570R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0*H
	1010	UES10U
Daemon Security10UCertificate Authority10UCertificate Authority1$0"	*H
	ca@daemonsecurity.com1
0U0	UO0
	*H
?pH6(0T
.߆j>

ƭJ#
f!2dϜ{mk{dW&6oAKeڬ֒t>_ Ût8abf@3k͟`Mh1`5={\MC\*B"ka}ޝ(_"qi,f4~͑
 x;W$;$N٩'jRO:'cHe3AcI1

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