From owner-freebsd-current@FreeBSD.ORG Thu Oct 25 18:04:24 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F111616A418 for ; Thu, 25 Oct 2007 18:04:23 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 96C9413C48E for ; Thu, 25 Oct 2007 18:04:23 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l9PHsHPr072891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Oct 2007 10:54:19 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4720D849.2010409@errno.com> Date: Thu, 25 Oct 2007 10:54:17 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Stefan Ehmann References: <47209EB2.5080109@palisadesys.com> <200710251911.24346.shoesoft@gmx.net> In-Reply-To: <200710251911.24346.shoesoft@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-current@freebsd.org, pluknet Subject: Re: iwi0 firmware error on Dell Inspiron 6000 w/ Intel PRO/Wireless 2200BG X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 18:04:24 -0000 Stefan Ehmann wrote: > On Thursday 25 October 2007 18:28:47 pluknet wrote: > >> On 25/10/2007, Guy Helmer wrote: >> >>> I just upgraded a laptop to FreeBSD RELENG_7 checked out on 20071016. >>> Previously, iwi0 had worked OK under FreeBSD 6.2. After updating to 7, >>> though, iwi0 reports "firmware error" and nothing more happens. I have >>> set legal.intel_iwi.license_ack=1 in /boot/loader.conf. wpa_supplicant >>> and dhclient are running with the same configurations that worked under >>> FreeBSD 6. I'm using the GENERIC kernel with SCHED_ULE instead of >>> SCHED_4BSD, and the loaded modules are: >>> >>> Id Refs Address Size Name >>> 1 23 0xc0400000 8d0750 kernel >>> 2 1 0xc0cd1000 111b8 geom_eli.ko >>> 3 2 0xc0ce3000 25ff8 crypto.ko >>> 4 2 0xc0d09000 ab40 zlib.ko >>> 5 1 0xc0d14000 6e48 snd_ich.ko >>> 6 2 0xc0d1b000 4a52c sound.ko >>> 7 1 0xc0d66000 69164 acpi.ko >>> 10 1 0xc32fb000 22000 linux.ko >>> 11 1 0xc3595000 21000 radeon.ko >>> 12 1 0xc35b6000 f000 drm.ko >>> 13 1 0xc31ff000 f000 if_iwi.ko >>> 14 1 0xc3e4f000 30000 iwi_bss.ko >>> >>> ifconfig iwi0 reports: >>> >>> iwi0: flags=8803 metric 0 mtu 1500 >>> ether 00:12:f0:12:1c:24 >>> inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 >>> media: IEEE 802.11 Wireless Ethernet autoselect >>> status: no carrier >>> ssid "" channel 8 (2447 Mhz 11g) >>> authmode WPA1+WPA2/802.11i privacy ON deftxkey 1 txpowmax 100 >>> bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 >>> roam:rssi11g 14 roam:rate11g 5 protmode CTS roaming MANUAL >>> bintval 100 >>> >>> I've tried setting debug.iwi=1, and the kernel messages regarding iwi0 >>> are: >>> >>> Oct 25 08:09:11 aquarius kernel: iwi0: mem >>> 0xdfcfd000-0xdfcfdfff irq 17 at device 3.0 on pci3 Oct 25 08:09:11 >>> aquarius kernel: iwi0: Ethernet address: 00:12:f0:12:1c:24 Oct 25 >>> 08:09:11 aquarius kernel: iwi0: [ITHREAD] >>> Oct 25 08:09:14 aquarius kernel: iwi0: firmware error >>> Oct 25 08:10:17 aquarius kernel: iwi_newstate: SCAN -> INIT flags 0x0 >>> Oct 25 08:10:31 aquarius kernel: iwi_newstate: INIT -> INIT flags 0x0 >>> Oct 25 08:10:31 aquarius kernel: iwi_newstate: INIT -> SCAN flags 0x1 >>> Oct 25 08:10:57 aquarius kernel: iwi_newstate: SCAN -> SCAN flags 0x1 >>> Oct 25 08:10:57 aquarius kernel: iwi_newstate: SCAN -> SCAN flags 0x1 >>> >>> Any ideas? >>> >>> Guy >>> >>> -- >>> Guy Helmer, Ph.D. >>> Chief System Architect >>> Palisade Systems, Inc. >>> >> Me too. >> (It works in authmode OPEN though, see my case on >> http://lists.freebsd.org/pipermail/freebsd-current/2007-August/076397.html) >> > > On my notebook, I get similar errors most of the time. The problems started > some months ago. > > If I don't configure iwi0 via /etc/rc.conf, I can get WPA working something > like this: > > ifconfig iwi0 up > wpa_supplicant -d -i iwi0 -c /etc/wpa_supplicant.conf > dhclient iwi0 > > IIRC it worked most of the time via /etc/rc.conf if I disabled > WITNESS/INVARIANTS. Haven't been using the notebook too much lately, so I'm > not sure if this is still true. > I just tested this on a t42 w/ 2200 card and it worked for me. Try setting debug.iwi to something like 2 or 5 and collect a log. The firmware is very finnicky and getting it to integrate w/ wpa_supplicant was a challenge. Sam