From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:50:23 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 AE8B1106566B for ; Thu, 22 May 2008 13:50:23 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 1F4218FC12 for ; Thu, 22 May 2008 13:50:22 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so30916fgb.35 for ; Thu, 22 May 2008 06:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=7HT6aRPa+cuAc94kJTijYjzQ1iKPboc4+XewTq1txWQ=; b=QSMR1TITCizWXwzd/Ah6CvX6Ar3UJOtAlIOZCj1baXgUjcrUTPeTOa9WcbygaGPoqPhFOwzgCpxIkJWZoKMtbSrfmNW5tV8mQc2ryQ0Nq1x86oPo3A8m8qxmaYp1C+BOiWkuFEyPef9tU3JcyyNSpb+3HNRK90C6g3d9EsLuuas= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pcW8BxgcIOTIJKCJnQ29DuLa8Qwmo7UEslAerqA/qqYOFcqwwPBT8thhw5C46kc6fAqG44doSjDblsyYxNMhpCiBCiz7vTWotW+ZZQnpk6AvRVIUiRoQlzjupQskSk54Rj73wVyQvBHndTsUK5Oer9WSlqXQBkvauxL9zXvAiNI= Received: by 10.86.51.2 with SMTP id y2mr61726fgy.52.1211464219607; Thu, 22 May 2008 06:50:19 -0700 (PDT) Received: by 10.86.98.6 with HTTP; Thu, 22 May 2008 06:50:19 -0700 (PDT) Message-ID: <1bd550a00805220650u57f7d0a2p470f763395a37180@mail.gmail.com> Date: Thu, 22 May 2008 15:50:19 +0200 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: "Vince Hoffman" In-Reply-To: <48356F6E.9080809@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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> <48356F6E.9080809@unsane.co.uk> Cc: peter harrison , 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 13:50:23 -0000 On 5/22/08, Vince Hoffman wrote: > peter harrison wrote: > > Thursday, 22 May 2008 at 9:13:41 +0100, Vince Hoffman said: > >> Fernando Apestegu=EDa wrote: > >>> On 5/22/08, Vince Hoffman wrote: > >>>> Fernando Apestegu=EDa 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 exist= ed. > >>>>> > >>>>> > >>>>>> no ports are needed the firmware is now in the base system, Just a= dd 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=3D"YES" > >>>>>> wlan_load=3D"YES" > >>>>>> firmware_load=3D"YES" > >>>>>> > >>>>>> In both cases, place the following lines in loader.conf(5) to l= oad > >>>> the > >>>>>> firmware modules: > >>>>>> > >>>>>> iwi_bss_load=3D"YES" > >>>>>> iwi_ibss_load=3D"YES" > >>>>>> iwi_monitor_load=3D"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=3D1 > >>>>>> > >>>>>> > >>>>> 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 gene= ric. > >>>> > >>>> To try without rebooting I believe the commands you want are: > >>>> kenv legal.intel_iwi.license_ack=3D1 > >>>> 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 ex= ist 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.) I'm running AMD64, there is no "device iwi" in the GENERIC file. The modules are not under /boot/kernel. After work I'll try to compile the modules and see if everything is fine. > > 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@freebs= d.org" > >