From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:04:51 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 709991065674 for ; Thu, 22 May 2008 13:04:51 +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 CF39F8FC1D for ; Thu, 22 May 2008 13:04:50 +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 m4MD4Pxv032501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 May 2008 14:04:27 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <48356F6E.9080809@unsane.co.uk> Date: Thu, 22 May 2008 14:04:46 +0100 From: Vince Hoffman User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: peter harrison References: <1bd550a00805201417n3ed9f7f8p9ac8524051635985@mail.gmail.com> <4833DE5B.5070803@unsane.co.uk> <1bd550a00805211431k1d9d5674v747d49d6c661c232@mail.gmail.com> <4834A036.4020809@unsane.co.uk> <1bd550a00805220011n56344761q753dc18a2e40adaf@mail.gmail.com> <48352B35.5040709@unsane.co.uk> <20080522091426.GA39680@desktop.piggybox> In-Reply-To: <20080522091426.GA39680@desktop.piggybox> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: FreeBSD Mailing List , =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= 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 13:04:51 -0000 peter harrison wrote: > Thursday, 22 May 2008 at 9:13:41 +0100, Vince Hoffman said: >> 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: >>>>>> 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. > > I'm running a stock 7.0-STABLE with GENERIC and a default make.conf and I get the iwi modules no problem. I just followed the instructions in the man page and was up and running in 5 minutes. > > Are you running AMD64? the modules are there on my i386 laptop but not my AMD64 server (I dont use iwi on either though.) vince > Peter Harrison > >> >> Vince >> >> >>> Best Regards >>> >>>> regards, >>>> Vince >>>> >>>> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"