Date: Fri, 24 Apr 2009 17:35:54 +0200 From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com> To: Daniel Underwood <djuatdelta@gmail.com> Cc: =?ISO-8859-1?Q?Patrick_Lamaizi=E8re?= <patfbsd@davenulle.org>, freebsd-questions@freebsd.org Subject: Re: FreeBSD and Intel PRO/Wireless 2200BG Message-ID: <1bd550a00904240835q6412ba13yf603fd1574f3cf8c@mail.gmail.com> In-Reply-To: <b6c05a470904240810r772f0cbele5df53e49a7652b1@mail.gmail.com> References: <b6c05a470904221204v23093c9di9cd38e826046d969@mail.gmail.com> <20090422225551.1cf1b52f@baby-jane.lamaiziere.net> <b6c05a470904221404h7c80263cl3ce20d41f3c81b5b@mail.gmail.com> <20090422234110.254367fa@baby-jane.lamaiziere.net> <b6c05a470904221515o3e5b3aaanc14898b2adf305a9@mail.gmail.com> <b6c05a470904221654i43d3540cya0a84ccfd81344bf@mail.gmail.com> <1bd550a00904231420m27f0e187kb8267c70056cf900@mail.gmail.com> <b6c05a470904231655g4015f457wc2cd8e29fec45456@mail.gmail.com> <1bd550a00904240804g5c95c21tdb3cb13841b030a3@mail.gmail.com> <b6c05a470904240810r772f0cbele5df53e49a7652b1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 24, 2009 at 5:10 PM, Daniel Underwood <djuatdelta@gmail.com> wr= ote: > 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=3D1 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=EDa > <fernando.apesteguia@gmail.com> wrote: >> On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood <djuatdelta@gmail.com>= 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=EDa >>> <fernando.apesteguia@gmail.com> wrote: >>>> 2009/4/23 Daniel Underwood <djuatdelta@gmail.com>: >>>>> [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=3D1 >>>> iwi_bss_load=3D"YES" >>>> iwi_ibss_load=3D"YES" >>>> iwi_monitor_load=3D"YES" >>>> >>>> And in my kernel config I have: >>>> >>>> device =A0 =A0 =A0 =A0 =A0pci >>>> >>>> device =A0 =A0 =A0 =A0 =A0wlan =A0 =A0 =A0 =A0 =A0 =A0# 802.11 support >>>> device =A0 =A0 =A0 =A0 =A0wlan_wep =A0 =A0 =A0 =A0# 802.11 WEP support >>>> device =A0 =A0 =A0 =A0 =A0wlan_ccmp =A0 =A0 =A0 # 802.11 CCMP support >>>> device =A0 =A0 =A0 =A0 =A0wlan_tkip =A0 =A0 =A0 # 802.11 TKIP support >>>> device =A0 =A0 =A0 =A0 =A0wlan_amrr =A0 =A0 =A0 # AMRR transmit rate c= ontrol algorithm >>>> device =A0 =A0 =A0 =A0 =A0wlan_scan_ap =A0 =A0# 802.11 AP mode scannin= g >>>> device =A0 =A0 =A0 =A0 =A0wlan_scan_sta =A0 # 802.11 STA mode scanning >>>> >>>> device =A0 =A0 =A0 =A0 =A0iwi =A0 =A0 =A0 =A0 =A0 =A0 # For Intel Pro = Wireless 2200bg >>>> >>>> device =A0 =A0 =A0 =A0 =A0firmware =A0 =A0 =A0 =A0# firmware assist mo= dule >>>> >>>> This is the output of ifconfig: >>>> >>>> iwi0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 >>>> =A0 =A0 =A0 =A0ether 00:0e:35:fd:aa:0f >>>> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect >>>> =A0 =A0 =A0 =A0status: no carrier >>>> =A0 =A0 =A0 =A0ssid "" channel 1 (2412 Mhz 11b) >>>> =A0 =A0 =A0 =A0authmode OPEN privacy OFF bmiss 10 scanvalid 60 bgscan >>>> =A0 =A0 =A0 =A0bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate= 11b 1 bintval 0 >>>> >>>> After seting debug.iwi=3D1 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 <djuatdelta@gmail.com>: >>>>>> Thanks Patrick. =A0After updating my /boot/loader.conf, it now conta= ins: >>>>>> >>>>>> legal.intel_iwi.license_ack=3D1 >>>>>> iwi_bss_load=3D"YES" >>>>>> iwi_ibss_load=3D"YES" >>>>>> iwi_monitor_load=3D"YES" >>>>>> wlan_scan_ap_load=3D"YES" >>>>>> wlan_scan_sta_load=3D"YES" >>>>>> wlan_wep_load=3D"YES" >>>>>> wlan_tkip_load=3D"YES" >>>>>> wlan_ccmp_load=3D"YES" >>>>>> >>>>>> I no longer receive the error message about failing to load the >>>>>> firmware. However, when I enter "ifconfig iwi0 up scan", I receive t= he >>>>>> following in the xconsole: >>>>>> >>>>>> iwi0: firmware stuck in state4, resetting >>>>>> >>>>>> Any idea what that means, or what state4 is? =A0(Sorry, I'm very new= to FreeBSD.) >>>>>> >>>>>> Thanks, >>>>>> Daniel >>>>>> >>>>>> 2009/4/22 Patrick Lamaizi=E8re <patfbsd@davenulle.org>: >>>>>>> Le Wed, 22 Apr 2009 17:04:41 -0400, >>>>>>> Daniel Underwood <djuatdelta@gmail.com>: >>>>>>> >>>>>>>> After re-reading man iwi, I noticed that it says: >>>>>>>> >>>>>>>> "This driver requires firmware to be loaded before it will work. Y= ou >>>>>>>> need to obtain iwicontrol(8) =A0from the IWI web page listed below= to >>>>>>>> accomplish loading the firmware before ifconfig(8) =A0will 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=3Diwi&manpath=3DFreeBSD+7.= 1-RELEASE&format=3Dhtml >>>>>>> >>>>>>> Regards. >>>>>>> >>>>>> >>>>> _______________________________________________ >>>>> freebsd-questions@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb= sd.org" >>>>> >>>> >>> >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1bd550a00904240835q6412ba13yf603fd1574f3cf8c>