From owner-freebsd-questions@FreeBSD.ORG Thu May 22 08:13:44 2008 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 EEE501065679 for ; Thu, 22 May 2008 08:13:44 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 611858FC3B for ; Thu, 22 May 2008 08:13:44 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m4M8DKJ1029126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 May 2008 09:13:21 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <48352B35.5040709@unsane.co.uk> Date: Thu, 22 May 2008 09:13:41 +0100 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= References: <1bd550a00805201417n3ed9f7f8p9ac8524051635985@mail.gmail.com> <4833DE5B.5070803@unsane.co.uk> <1bd550a00805211431k1d9d5674v747d49d6c661c232@mail.gmail.com> <4834A036.4020809@unsane.co.uk> <1bd550a00805220011n56344761q753dc18a2e40adaf@mail.gmail.com> In-Reply-To: <1bd550a00805220011n56344761q753dc18a2e40adaf@mail.gmail.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: FreeBSD Mailing List Subject: Re: ipw2200 freebsd 7 firmware problem 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: Thu, 22 May 2008 08:13:45 -0000 Fernando Apesteguía wrote: > On 5/22/08, Vince Hoffman wrote: >> Fernando Apesteguía wrote: >>> On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman >> wrote: >>>> Fernando Apesteguía wrote: >>>> >>>>> Hi all, >>>>> >>>>> I have an ipw2200 bg. I can't make it work under FreeBSD 7 on AMD64. >>>>> >>>>> This is the output of pciconf -lv >>>>> >>>>> none0@pci0:0:5:0: class=0x028000 card=0x27028086 chip=0x42208086 >>>>> rev=0x05 hdr=0x00 >>>>> vendor = 'Intel Corporation' >>>>> device = 'MPCI3B driverIntel PRO/Wireless 2200BG' >>>>> class = network >>>>> >>>>> dmesg shows the following: >>>>> >>>>> pci0: at device 5.0 (no driver attached) >>>>> >>>>> I tried to instal the iwi-firmware from ports: >>>>> >>>>> >>>> Have you read the manpage for iwi? >>>> >>> No, I tried with iwi-firmware and iwicontrol and none of them existed. >>> >>> >>>> no ports are needed the firmware is now in the base system, Just add the >>>> entries as specified in this snippet from man iwi >>>> >>> So... shouldn't this port be removed? >>> >>> >> I'm pretty sure that things changed between 6.x and 7.x, I'd imagine the >> port is needed for <7.x >> >>>> Alternatively, to load the driver as a module at boot time, place the >>>> following lines in loader.conf(5): >>>> >>>> if_iwi_load="YES" >>>> wlan_load="YES" >>>> firmware_load="YES" >>>> >>>> In both cases, place the following lines in loader.conf(5) to load >> the >>>> firmware modules: >>>> >>>> iwi_bss_load="YES" >>>> iwi_ibss_load="YES" >>>> iwi_monitor_load="YES" >>>> >>>> and >>>> >>>> This driver requires firmware to be loaded before it will work. For >>>> the loaded firmware to work the license at >>>> /usr/share/doc/legal/intel_iwi/LICENSE must be >> agreed to and the >>>> follow-ing line be added to loader.conf(5): >>>> >>>> legal.intel_iwi.license_ack=1 >>>> >>>> >>> I'll try it. But AFAIK, I have to recompile the kernel cause the >>> "device iwi" line is missing. >>> >>> Am i right? >>> >>> >> I think they should all be loadable as modules if they arent in generic. >> >> To try without rebooting I believe the commands you want are: >> kenv legal.intel_iwi.license_ack=1 >> kldload if_iwi >> kldload wlan >> kldload firmware >> kldload iwi_bss >> kldload iwi_ibss >> kldload iwi_monitor >> >> However, I just had a look in my /boot/kernel for the if_iwi module and its >> not there so you may be correct. (I'm a touch supprised as the do exist on >> my i386 box) > > The same on my machine. The line is not in GENERIC and that modules > don't exist. I will recompile my module as soon as I have some spare > time. > Thanks for your help. > In theory you should be able to just cd /usr/src/sys/modules/iwi make && make install cd /usr/src/sys/modules/iwifw make && make install without rebuilding the entire kernel. I'm just puzzled why they dont build by default. Vince > Best Regards > >> >> regards, >> Vince >> >>