Re: Problem (maybe a solution) loading iwi firmware: firmware_get: failed to load firmware image iwi_bss
Erik Nørgaard <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Organization | Locolomo.ORG |
| Message-ID | <[email protected]> |
Sam Leffler wrote: > Erik Nørgaard 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
smime.p7s
(application/x-pkcs7-signature, 4 KB) - not displayed