From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 27 10:18:53 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7375716A405; Sat, 27 Jan 2007 10:18:53 +0000 (UTC) (envelope-from hika@bsdmon.com) Received: from bigfugu.bsdmon.com (218.128.101-84.rev.gaoland.net [84.101.128.218]) by mx1.freebsd.org (Postfix) with ESMTP id EF00213C487; Sat, 27 Jan 2007 10:18:52 +0000 (UTC) (envelope-from hika@bsdmon.com) Received: from localhost (localhost [127.0.0.1]) by bigfugu.bsdmon.com (Postfix) with ESMTP id 9EFB56240; Sat, 27 Jan 2007 11:17:40 +0100 (CET) Received: from bigfugu.bsdmon.com ([127.0.0.1]) by localhost (bigfugu.bsdmon.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82871-13; Sat, 27 Jan 2007 11:17:39 +0100 (CET) Received: from vaio.bsdmon.com (unknown [192.168.0.14]) by bigfugu.bsdmon.com (Postfix) with ESMTP id 6810C6266; Sat, 27 Jan 2007 11:17:39 +0100 (CET) Date: Sat, 27 Jan 2007 11:19:00 +0100 From: Gilbert Cao To: Benjamin Close Message-ID: <20070127101900.GB1099@bsdmon.com> References: <459E6477.2010508@clearchain.com> <200701051634.00293.max@love2party.net> <459E75A5.7000309@FreeBSD.org> <200701051732.27176.max@love2party.net> <45A0F739.3030202@clearchain.com> <499c70c0701201038w6960174n3006ffd525f17bf6@mail.gmail.com> <20070124204443.GA1107@bsdmon.com> <45B9F697.1090402@clearchain.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XF85m9dhOBO43t/C" Content-Disposition: inline In-Reply-To: <45B9F697.1090402@clearchain.com> X-Operating-System: FreeBSD 6.2-RELEASE i386 Organization: BSDMon X-GPG-Key: http://www.bsdmon.com/public_key.gpg User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: amavisd-new at bsdmon.com X-Mailman-Approved-At: Sat, 27 Jan 2007 12:46:42 +0000 Cc: Massimo Lusetti , Florent Thoumie , freebsd-hackers@freebsd.org, freebsd-drivers@freebsd.org, Attilio Rao , damien.bergamini@free.fr, sam@freebsd.org, gabor@freebsd.org, Max Laier Subject: Re: Updated Driver for 3945ABG Intel 3945ABG Wireless LAN controller X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2007 10:18:53 -0000 --XF85m9dhOBO43t/C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2007 at 11:09:51PM +1030, Benjamin Close wrote: > Hi Gilbert, > Thanks for the custom version. I've integrated the changes into the=20 > driver I'm working on. > For those wanting to test out the driver which is now fully up to date=20 > with all change from NetBSD & OpenBSD - and has a few minor improvements= =20 > over them, grab it from: >=20 > http://www.clearchain.com/~benjsc/download/ >=20 > File is: 20070125-wpi-freebsd.tar.gz >=20 > Full instructions on how to build / install the driver are in the README= =20 > in the tar file. >=20 > This should work both under -current and 6.2-Stable now. >=20 > Info about the driver and what's working/broken can be found at: >=20 > http://www.clearchain.com/wiki/wpi >=20 > Cheers, > Benjamin I have tried the new 20070125 version. However, I did not manage to make work. At least, it compiles. I have installed, both wpi_fw.ko and the if_wpi.ko, as the README said. wpi_fw.ko lies in /boot/modules and if_wpi.ko in /boot/kernel. When, I "kldload if_wpi", here is a small sample of /var/log/messages Jan 27 10:30:39 vaio kernel: wpi0: mem 0xcc= 000000-0xcc000fff irq 18 at device 0.0 on pci6 Jan 27 10:30:39 vaio kernel: bus_dmamem_alloc failed to align memory proper= ly. Jan 27 10:30:39 vaio last message repeated 6 times Jan 27 10:30:39 vaio kernel: wpi0: Ethernet address: 00:18:de:5c:cb:9a Jan 27 10:30:39 vaio kernel: wpi0: [GIANT-LOCKED] Jan 27 10:30:39 vaio kernel: wpi0: 11a rates:=20 Jan 27 10:30:39 vaio kernel: wpi0: 11b rates:=20 Jan 27 10:30:40 vaio kernel: firmware_get: failed to load firmware image wp= i_fw Jan 27 10:30:40 vaio kernel: wpi0: could not load firmware image 'wpi_fw' Jan 27 10:30:40 vaio kernel: firmware_get: failed to load firmware image wp= i_fw Jan 27 10:30:40 vaio kernel: wpi0: could not load firmware image 'wpi_fw'= =20 Jan 27 10:32:19 vaio kernel: firmware_get: failed to load firmware image wp= i_fw Jan 27 10:32:19 vaio kernel: wpi0: could not load firmware image 'wpi_fw' In kldstat, both modules are loaded. Then, I have "kldunload if_wpi" (and if_wpi seems to be reload, automatically, I don't know why). Same problem, it seems that wpi_fw could not be load (found ?). As a result, no AP is "associated". After a fresh reboot, I have reinstall the custom 20070121 version of mine, and all returns OK. Another strange thing: when "kldload if_wpi" with 20070121 version, and then kldstat, I don't see "wpi_ucode". It seems that wpi_ucode.ko does not need to be loaded, in my case. My wpi_ucode.ko lies in /boot/modules After another fresh reboot, I first moved wpi_ucode.ko to another place. When I "kldload if_wpi", I got the following message: Jan 27 09:47:16 vaio kernel: wpi0: mem 0xcc= 000000-0xcc000fff irq 18 at device 0.0 on pci6 Jan 27 09:47:16 vaio kernel: bus_dmamem_alloc failed to align memory proper= ly. Jan 27 09:47:16 vaio last message repeated 6 times Jan 27 09:47:16 vaio kernel: wpi0: Ethernet address: 00:18:de:5c:cb:9a Jan 27 09:47:16 vaio kernel: wpi0: [GIANT-LOCKED] Jan 27 09:47:16 vaio kernel: wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24M= bps 36Mbps 48Mbps 54Mbps Jan 27 09:47:16 vaio kernel: wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps Jan 27 09:47:16 vaio kernel: wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6M= bps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Jan 27 09:47:16 vaio kernel: firmware_get: failed to load firmware image wp= i_ucode Jan 27 09:47:16 vaio kernel: wpi0: could not load firmware image 'wpi_ucode' So, it seems that wpi_ucode.ko have to lied in my /boot/modules (the place where I have also put if_wpi 20070121 version), even if it is not loaded. --=20 -------------------------------- (hika) Gilbert Cao http://www.miaouirc.com - MiaouIRC Project 2002-2003 http://www.bsdmon.com - The BSD DMON Power to serve IRC : #miaule at IRCNET Network -------------------------------- --XF85m9dhOBO43t/C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFuycTSyQfFTqAEpcRAg3rAJ4sAYdG7EjCsWV2y+e2JwgwQ/HwiwCfVOho vlz87bqOmiArF4Y6QKUpyzQ= =JfDQ -----END PGP SIGNATURE----- --XF85m9dhOBO43t/C--