On Fri, Apr 24, 2009 at 5:10 PM, Daniel Underwood <[email protected]> wrote: > They should be, yes. I would try loading the modules (kldload) just to > be sure. If loading the modules doesn't fix things, then it's safe to > assume they were compiled in kernel. (But then again, I'm certainly > not an expert in this area.)
I can't load the modules because they don't exist as modules. However, the wireless card is detected, so the driver should be in-kernel (in opposition to loading the GENERIC kernel which lacks the iwi driver and my NIC is not shown by ifconfig). The debug.iwi=1 doesn't help much. It just says it can't load the firmware, but it doesn't give any clues about the reason. Any ideas? PS: jut out of curiosity, where is the firmware in the filesystem? Is it also compiled in-kernel? Thanks in advance. > > On Fri, Apr 24, 2009 at 11:04 AM, Fernando Apesteguía > <[email protected]> wrote: >> On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood <[email protected]> >> wrote: >>> Also, when you enter kldstat, do you see these? >>> >>> iwi_bss.ko >>> iwi_ibss.ko >>> iwi_monitor.ko >>> if_iwi.ko >> >> No. Shouldn't they be in-kerne? >> >> I compiled my own kernel with the settings I posted in my previous >> mail, including device firmware, iwi, wlan, etc. >> >> Cheers >>> >>> On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía >>> <[email protected]> wrote: >>>> 2009/4/23 Daniel Underwood <[email protected]>: >>>>> [SOLVED] >>>>> >>>>> Thanks for the help, folks. It works fine now. >>>> >>>> I wasn't that lucky :) >>>> >>>> I'm using FreeBSD 7.1-RELEASE-p4 #12 >>>> This is my loader.conf configuration: >>>> >>>> legal.intel_iwi.license_ack=1 >>>> iwi_bss_load="YES" >>>> iwi_ibss_load="YES" >>>> iwi_monitor_load="YES" >>>> >>>> And in my kernel config I have: >>>> >>>> device pci >>>> >>>> device wlan # 802.11 support >>>> device wlan_wep # 802.11 WEP support >>>> device wlan_ccmp # 802.11 CCMP support >>>> device wlan_tkip # 802.11 TKIP support >>>> device wlan_amrr # AMRR transmit rate control algorithm >>>> device wlan_scan_ap # 802.11 AP mode scanning >>>> device wlan_scan_sta # 802.11 STA mode scanning >>>> >>>> device iwi # For Intel Pro Wireless 2200bg >>>> >>>> device firmware # firmware assist module >>>> >>>> This is the output of ifconfig: >>>> >>>> iwi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 >>>> ether 00:0e:35:fd:aa:0f >>>> media: IEEE 802.11 Wireless Ethernet autoselect >>>> status: no carrier >>>> ssid "" channel 1 (2412 Mhz 11b) >>>> authmode OPEN privacy OFF bmiss 10 scanvalid 60 bgscan >>>> bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 >>>> bintval 0 >>>> >>>> After seting debug.iwi=1 this is what I get when I try to bring the >>>> interface up: >>>> >>>> $ ifconfig iwi0 up >>>> >>>> iwi_newstate: INIT -> INIT flags 0x0 >>>> enter FW state 1 >>>> firmware_get: failed to load firmware image iwi_bss >>>> iwi0: could not load firmware >>>> exit FW state 1 >>>> iwi_newstate: INIT -> INIT flags 0x0 >>>> >>>> Any ideas? >>>> >>>> Thanks in advance. >>>> >>>>> >>>>> 2009/4/22 Daniel Underwood <[email protected]>: >>>>>> Thanks Patrick. After updating my /boot/loader.conf, it now contains: >>>>>> >>>>>> legal.intel_iwi.license_ack=1 >>>>>> iwi_bss_load="YES" >>>>>> iwi_ibss_load="YES" >>>>>> iwi_monitor_load="YES" >>>>>> wlan_scan_ap_load="YES" >>>>>> wlan_scan_sta_load="YES" >>>>>> wlan_wep_load="YES" >>>>>> wlan_tkip_load="YES" >>>>>> wlan_ccmp_load="YES" >>>>>> >>>>>> I no longer receive the error message about failing to load the >>>>>> firmware. However, when I enter "ifconfig iwi0 up scan", I receive the >>>>>> following in the xconsole: >>>>>> >>>>>> iwi0: firmware stuck in state4, resetting >>>>>> >>>>>> Any idea what that means, or what state4 is? (Sorry, I'm very new to >>>>>> FreeBSD.) >>>>>> >>>>>> Thanks, >>>>>> Daniel >>>>>> >>>>>> 2009/4/22 Patrick Lamaizière <[email protected]>: >>>>>>> Le Wed, 22 Apr 2009 17:04:41 -0400, >>>>>>> Daniel Underwood <[email protected]>: >>>>>>> >>>>>>>> After re-reading man iwi, I noticed that it says: >>>>>>>> >>>>>>>> "This driver requires firmware to be loaded before it will work. You >>>>>>>> need to obtain iwicontrol(8) from the IWI web page listed below to >>>>>>>> accomplish loading the firmware before ifconfig(8) will work." >>>>>>>> >>>>>>>> I'm going to look into this. Sounds like this may be the problem. Do >>>>>>>> you think so? >>>>>>> >>>>>>> No, before FreeBSD 7 you needed to download the firmware. >>>>>>> There is a port in /usr/ports/net/iwi-firmware but it is only for >>>>>>> FreeBSD < 7 >>>>>>> >>>>>>> You don't need anything on FreeBSD 7.x and you it seems you are not >>>>>>> using the right manual page for 7.1: >>>>>>> http://www.freebsd.org/cgi/man.cgi?query=iwi&manpath=FreeBSD+7.1-RELEASE&format=html >>>>>>> >>>>>>> Regards. >>>>>>> >>>>>> >>>>> _______________________________________________ >>>>> [email protected] mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to >>>>> "[email protected]" >>>>> >>>> >>> >> > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[email protected]"
