From owner-freebsd-questions@FreeBSD.ORG Thu Feb 23 18:52:58 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EB7D16A420 for ; Thu, 23 Feb 2006 18:52:58 +0000 (GMT) (envelope-from nslay@comcast.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AB1243D49 for ; Thu, 23 Feb 2006 18:52:58 +0000 (GMT) (envelope-from nslay@comcast.net) Received: from [192.168.0.100] (c-68-35-224-189.hsd1.fl.comcast.net[68.35.224.189]) by comcast.net (sccrmhc12) with ESMTP id <2006022318525701200ko8p9e>; Thu, 23 Feb 2006 18:52:57 +0000 Message-ID: <43FE042F.1050300@comcast.net> Date: Thu, 23 Feb 2006 13:51:27 -0500 From: Nathan Lay User-Agent: Thunderbird 1.5 (X11/20060118) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: if_iwi on FreeBSD 6.0 on a Thinkpad T43 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, 23 Feb 2006 18:52:58 -0000 Hi all, I've encountered a peculiar quirk in either this laptop or FreeBSD with IPW2915ABG. For some reason or another, either the Thinkpad turns the card on at bootup, or FreeBSD's if_iwi driver and acpi_ibm mistakenly think the card is turned on. My loaded modules: Id Refs Address Size Name 1 14 0xc0400000 4033b4 kernel 2 1 0xc0804000 5e28 snd_ich.ko 3 2 0xc080a000 20448 sound.ko 4 1 0xc082b000 3f44 acpi_ibm.ko 5 17 0xc082f000 6057c acpi.ko 6 1 0xc0890000 41c4 wlan_tkip.ko 7 1 0xc0895000 6fe4 wlan_ccmp.ko 8 1 0xc1d7c000 18000 linux.ko Notice that if_iwi is NOT loaded. Let's have a look at dev.acpi_ibm.0.wlan dev.acpi_ibm.0.wlan: 1 Well thats odd, why would acpi think the wireless chip is turned on with no driver loaded? Let's load if_iwi for kicks iwi0: mem 0xa8401000-0xa8401fff irq 11 at device 2.0 on pci4 iwi0: Ethernet address: 00:13:ce:b7:ea:8 That works just fine it seems. But then: %iwicontrol iwi0 -r Radio is ON So, now that the driver is loaded, both if_iwi and acpi_ibm think the card is turned on, but there is no firmware loaded. Loading a firmware and then using either `ifconfig iwi0 up' or `dhclient iwi0' does absolutely nothing. I've tried various things with the kernel and BIOS but with no luck. here is my uname: FreeBSD LIGHTBULB.LOCAL 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #19: Mon Feb 20 15:06:16 EST 2006 root@LIGHTBULB.LOCAL:/usr/obj/usr/src/sys/LIGHTBULB i386 Keep in mind, this also happens on GENERIC. So, is this a bug in FreeBSD or a quirk in the laptop? I've pondered whether to submit a PR but I'm not sure what exactly is going on here. Even disabling the card in the BIOS, acpi_ibm will still indicate that wlan is turned on. If anyone can clue me in here, please please do so. Until then I'm surfing with an atheros card :) Best Regards, Nathan Lay