From owner-freebsd-questions@FreeBSD.ORG Fri Apr 24 15:35:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9859A106566C for ; Fri, 24 Apr 2009 15:35:56 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8188FC20 for ; Fri, 24 Apr 2009 15:35:55 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by ey-out-2122.google.com with SMTP id 9so263426eyd.7 for ; Fri, 24 Apr 2009 08:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3jsCwxcnuEyzKzSNC93LivWFvCIFV2jaiH2ToGxdzXI=; b=D/evQJEzwcg+eM7TtsXZzQWqOIgls/rvYTRVzDIAIgYCmlB7o+k+NIiS056Ukxlwl3 31CmFrhDzhuRxLxT6/gIrE1Da8FoKOk/1nhbxsAp+55kRwLc/yFwWp58dwBt8jYc6kzl 5p7K5iDBFx3uoube6z6/p2Q6+ZHeCIab9WzJ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=s/l4nGMOmnCq/VM/0UQSLjQE+gnhzEvQ7Rh69X0dJejzik+f2r+C2QJuoTEvyzlyVp sC1vau3uFU+hZRLLA4Up2yYQg3d3lUCbCuondyGcPKmn9aTnA+yVKSIJ3BcbNxeQXIge V5+FqZ2we2bQ9MADWHnasQX7u/tiiC37w4lwQ= MIME-Version: 1.0 Received: by 10.210.128.5 with SMTP id a5mr2477187ebd.76.1240587355010; Fri, 24 Apr 2009 08:35:55 -0700 (PDT) In-Reply-To: References: <20090422225551.1cf1b52f@baby-jane.lamaiziere.net> <20090422234110.254367fa@baby-jane.lamaiziere.net> <1bd550a00904231420m27f0e187kb8267c70056cf900@mail.gmail.com> <1bd550a00904240804g5c95c21tdb3cb13841b030a3@mail.gmail.com> Date: Fri, 24 Apr 2009 17:35:54 +0200 Message-ID: <1bd550a00904240835q6412ba13yf603fd1574f3cf8c@mail.gmail.com> From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Daniel Underwood Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Patrick_Lamaizi=E8re?= , freebsd-questions@freebsd.org Subject: Re: FreeBSD and Intel PRO/Wireless 2200BG X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2009 15:35:57 -0000 On Fri, Apr 24, 2009 at 5:10 PM, Daniel Underwood 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 > wrote: >> On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood = 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 >>> wrote: >>>> 2009/4/23 Daniel Underwood : >>>>> [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 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 : >>>>>> 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 : >>>>>>> Le Wed, 22 Apr 2009 17:04:41 -0400, >>>>>>> Daniel Underwood : >>>>>>> >>>>>>>> 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" >>>>> >>>> >>> >> >