From owner-freebsd-drivers@FreeBSD.ORG Wed Jan 31 15:15:22 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C298C16A504; Wed, 31 Jan 2007 15:15:22 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0C13B13C4B9; Wed, 31 Jan 2007 15:15:20 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ppp230-38.lns2.adl4.internode.on.net (HELO mail.clearchain.com) ([203.122.230.38]) by ipmail01.adl2.internode.on.net with ESMTP; 01 Feb 2007 01:45:16 +1030 X-IronPort-AV: i="4.13,263,1167571800"; d="scan'208"; a="81872122:sNHT35457240" Received: from [192.168.155.248] ([192.168.155.248]) (authenticated bits=0) by mail.clearchain.com (8.13.8/8.13.8) with ESMTP id l0VFEwg7025896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Feb 2007 01:45:06 +1030 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <45C0B271.4040100@clearchain.com> Date: Thu, 01 Feb 2007 01:44:57 +1030 From: Benjamin Close User-Agent: Thunderbird 1.5.0.8 (X11/20061211) MIME-Version: 1.0 To: "Sam Fourman Jr." 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> <20070127101900.GB1099@bsdmon.com> <11167f520701271114j66f82398h83c43885b9d25e12@mail.gmail.com> In-Reply-To: <11167f520701271114j66f82398h83c43885b9d25e12@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.7/2507/Wed Jan 31 09:30:28 2007 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.clearchain.com [192.168.155.1]); Thu, 01 Feb 2007 01:45:13 +1030 (CST) X-Mailman-Approved-At: Wed, 31 Jan 2007 17:00:32 +0000 Cc: Massimo Lusetti , Florent Thoumie , freebsd-hackers@freebsd.org, freebsd-drivers@freebsd.org, Attilio Rao , sam@freebsd.org, gabor@freebsd.org, Max Laier Subject: Re: Updated Driver for 3945ABG Intel 3945ABG Wireless LAN controller X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 15:15:22 -0000 Hi Folks, A new version of the driver is up which fixes the firmware issues. Seems the wpi-firmware-kmod port was creating corrupt modules. Things should work much better now. Download at the same place, file: 20070131-wpi-freebsd.tar.gz Cheers, Benjamin Sam Fourman Jr. wrote: > I can also confirm that i get the firmware_get: failed to load > firmware image wpi_fw on the > 20070125 version. > I should note that I tried it on a fresh 6.2 RELEASE install. > > Sam Fourman Jr. > > On 1/27/07, Gilbert Cao wrote: >> 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 >> > driver I'm working on. >> > For those wanting to test out the driver which is now fully up to date >> > with all change from NetBSD & OpenBSD - and has a few minor >> improvements >> > over them, grab it from: >> > >> > http://www.clearchain.com/~benjsc/download/ >> > >> > File is: 20070125-wpi-freebsd.tar.gz >> > >> > Full instructions on how to build / install the driver are in the >> README >> > in the tar file. >> > >> > This should work both under -current and 6.2-Stable now. >> > >> > Info about the driver and what's working/broken can be found at: >> > >> > http://www.clearchain.com/wiki/wpi >> > >> > 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 0xcc000000-0xcc000fff irq 18 at device 0.0 on pci6 >> Jan 27 10:30:39 vaio kernel: bus_dmamem_alloc failed to align memory >> properly. >> 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: >> Jan 27 10:30:39 vaio kernel: wpi0: 11b rates: >> Jan 27 10:30:40 vaio kernel: firmware_get: failed to load firmware >> image wpi_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 wpi_fw >> Jan 27 10:30:40 vaio kernel: wpi0: could not load firmware image >> 'wpi_fw' >> Jan 27 10:32:19 vaio kernel: firmware_get: failed to load firmware >> image wpi_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 0xcc000000-0xcc000fff irq 18 at device 0.0 on pci6 >> Jan 27 09:47:16 vaio kernel: bus_dmamem_alloc failed to align memory >> properly. >> 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 24Mbps 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 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps >> Jan 27 09:47:16 vaio kernel: firmware_get: failed to load firmware >> image wpi_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. >> >> -- >> -------------------------------- >> (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 >> -------------------------------- >> >> >> > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to > "freebsd-drivers-unsubscribe@freebsd.org"