From nobody@FreeBSD.org  Tue Feb 13 03:54:19 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5FC5716A400
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Feb 2007 03:54:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 4175D13C46B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Feb 2007 03:54:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1D3sJR1018236
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 Feb 2007 03:54:19 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l1D3sJIX018235;
	Tue, 13 Feb 2007 03:54:19 GMT
	(envelope-from nobody)
Message-Id: <200702130354.l1D3sJIX018235@www.freebsd.org>
Date: Tue, 13 Feb 2007 03:54:19 GMT
From: "Sean J. Schluntz"<sean@schluntz.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: iwi-firmware-kmod fails on activation of WEP
X-Send-Pr-Version: www-3.0

>Number:         109118
>Category:       kern
>Synopsis:       [iwi] iwi-firmware-kmod fails on activation of WEP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 13 04:00:14 GMT 2007
>Closed-Date:    Fri Jun 15 10:15:29 GMT 2007
>Last-Modified:  Fri Jun 15 10:15:29 GMT 2007
>Originator:     Sean J. Schluntz
>Release:        6.2-RELEASE and 6.2-STABLE
>Organization:
UCSF
>Environment:
FreeBSD  6.2-STABLE FreeBSD 6.2-STABLE #1: Mon Feb 12 18:14:50 PST 2007     root@:/usr/obj/usr/src/sys/LAPTOP  i386
>Description:
Using both GENERIC and GENERIC + apm and the iwi-firmware-kmod port the iwi0 interface can be loaded and can scan the available networks. It can also associate with open networks, but attempts to configure WEP result in iwi0: firmware error followed by iwi0: device configuration failed

Feb 12 19:29:56  kernel: Setting desired ESSID to "CDS"
Feb 12 19:29:56  kernel: sending command idx=4 type=8 len=3
Feb 12 19:29:56  kernel: Start scanning
Feb 12 19:29:56  kernel: sending command idx=5 type=26 len=96
Feb 12 19:29:59  kernel: Scan completed (27, 1)
Feb 12 19:29:59  kernel: iwi_newstate: SCAN -> SCAN flags 0x1
Feb 12 19:29:59  kernel: iwi_newstate: SCAN -> SCAN flags 0x3
Feb 12 19:29:59  kernel: Setting desired ESSID to "CDS"
Feb 12 19:29:59  kernel: sending command idx=6 type=8 len=3
Feb 12 19:29:59  kernel: Start scanning
Feb 12 19:29:59  kernel: sending command idx=7 type=26 len=96
Feb 12 19:30:01  kernel: iwi_newstate: SCAN -> INIT flags 0x0
Feb 12 19:30:01  kernel: Setting MAC address to 00:12:f0:8c:60:a1
Feb 12 19:30:01  kernel: sending command idx=0 type=11 len=6
Feb 12 19:30:01  kernel: Configuring adapter
Feb 12 19:30:01  kernel: sending command idx=1 type=6 len=20
Feb 12 19:30:01  kernel: Setting power mode to 0
Feb 12 19:30:01  kernel: sending command idx=2 type=17 len=4
Feb 12 19:30:01  kernel: Setting RTS threshold to 2346
Feb 12 19:30:01  kernel: sending command idx=3 type=15 len=4
Feb 12 19:30:01  kernel: Setting fragmentation threshold to 2346
Feb 12 19:30:01  kernel: sending command idx=4 type=16 len=4
Feb 12 19:30:01  kernel: Setting .11bg supported rates (12)
Feb 12 19:30:01  kernel: sending command idx=5 type=22 len=16
Feb 12 19:30:01  kernel: Setting .11a supported rates (8)
Feb 12 19:30:01  kernel: sending command idx=6 type=22 len=16
Feb 12 19:30:01  kernel: Setting desired ESSID to "CDS"
Feb 12 19:30:01  kernel: sending command idx=7 type=8 len=3
Feb 12 19:30:01  kernel: Setting initialization vector to 2806802913
Feb 12 19:30:01  kernel: sending command idx=8 type=34 len=4
Feb 12 19:30:01  kernel: Setting wep key index 0 len 0
Feb 12 19:30:01  kernel: sending command idx=9 type=18 len=20
Feb 12 19:30:01  kernel: Setting wep key index 1 len 0
Feb 12 19:30:01  kernel: sending command idx=10 type=18 len=20
Feb 12 19:30:01  kernel: Setting wep key index 2 len 0
Feb 12 19:30:01  kernel: sending command idx=11 type=18 len=20
Feb 12 19:30:01  kernel: Setting wep key index 3 len 0
Feb 12 19:30:01  kernel: sending command idx=12 type=18 len=20
Feb 12 19:30:01  kernel: Enabling adapter
Feb 12 19:30:01  kernel: sending command idx=13 type=2 len=0
Feb 12 19:30:01  kernel: iwi_newstate: INIT -> SCAN flags 0x5
Feb 12 19:30:01  kernel: iwi_newstate: SCAN -> SCAN flags 0x3
Feb 12 19:30:01  kernel: Setting desired ESSID to "CDS"
Feb 12 19:30:01  kernel: sending command idx=14 type=8 len=3
Feb 12 19:30:01  kernel: iwi_newstate: SCAN -> INIT flags 0x0
Feb 12 19:30:01  kernel: Start scanning
Feb 12 19:30:01  kernel: sending command idx=0 type=26 len=96
Feb 12 19:30:01  kernel: Setting MAC address to 00:12:f0:8c:60:a1
Feb 12 19:30:01  kernel: sending command idx=1 type=11 len=6
Feb 12 19:30:01  kernel: Configuring adapter
Feb 12 19:30:01  kernel: sending command idx=2 type=6 len=20
Feb 12 19:30:01  kernel: Setting power mode to 0
Feb 12 19:30:01  kernel: sending command idx=3 type=17 len=4
Feb 12 19:30:01  kernel: Setting RTS threshold to 2346
Feb 12 19:30:01  kernel: sending command idx=4 type=15 len=4
Feb 12 19:30:01  kernel: Setting fragmentation threshold to 2346
Feb 12 19:30:01  kernel: sending command idx=5 type=16 len=4
Feb 12 19:30:01  kernel: Setting .11bg supported rates (12)
Feb 12 19:30:01  kernel: sending command idx=6 type=22 len=16
Feb 12 19:30:01  kernel: Setting .11a supported rates (8)
Feb 12 19:30:01  kernel: sending command idx=7 type=22 len=16
Feb 12 19:30:01  kernel: Setting desired ESSID to "CDS"
Feb 12 19:30:01  kernel: sending command idx=8 type=8 len=3
Feb 12 19:30:01  kernel: Setting initialization vector to 951471687
Feb 12 19:30:01  kernel: sending command idx=9 type=34 len=4
Feb 12 19:30:01  kernel: Setting wep key index 0 len 0
Feb 12 19:30:01  kernel: sending command idx=10 type=18 len=20
Feb 12 19:30:01  kernel: Setting wep key index 1 len 0
Feb 12 19:30:01  kernel: sending command idx=11 type=18 len=20
Feb 12 19:30:01  kernel: Setting wep key index 2 len 0
Feb 12 19:30:01  kernel: sending command idx=12 type=18 len=20
Feb 12 19:30:01  kernel: Setting wep key index 3 len 0
Feb 12 19:30:01  kernel: sending command idx=13 type=18 len=20
Feb 12 19:30:01  kernel: Enabling adapter
Feb 12 19:30:01  kernel: sending command idx=14 type=2 len=0
Feb 12 19:30:01  kernel: iwi_newstate: INIT -> SCAN flags 0x7
Feb 12 19:30:01  kernel: iwi_newstate: SCAN -> INIT flags 0x0
Feb 12 19:30:01  kernel: Setting MAC address to 00:12:f0:8c:60:a1
Feb 12 19:30:01  kernel: sending command idx=0 type=11 len=6
Feb 12 19:30:01  kernel: Configuring adapter
Feb 12 19:30:01  kernel: sending command idx=1 type=6 len=20
Feb 12 19:30:01  kernel: Setting power mode to 0
Feb 12 19:30:01  kernel: sending command idx=2 type=17 len=4
Feb 12 19:30:01  kernel: Setting RTS threshold to 2346
Feb 12 19:30:01  kernel: sending command idx=3 type=15 len=4
Feb 12 19:30:01  kernel: Setting fragmentation threshold to 2346
Feb 12 19:30:01  kernel: sending command idx=4 type=16 len=4
Feb 12 19:30:01  kernel: Setting .11bg supported rates (12)
Feb 12 19:30:01  kernel: sending command idx=5 type=22 len=16
Feb 12 19:30:01  kernel: Setting .11a supported rates (8)
Feb 12 19:30:01  kernel: sending command idx=6 type=22 len=16
Feb 12 19:30:01  kernel: Setting desired ESSID to "CDS"
Feb 12 19:30:01  kernel: sending command idx=7 type=8 len=3
Feb 12 19:30:01  kernel: Setting initialization vector to 4228457735
Feb 12 19:30:01  kernel: sending command idx=8 type=34 len=4
Feb 12 19:30:01  kernel: Setting wep key index 0 len 15
Feb 12 19:30:01  kernel: sending command idx=9 type=18 len=20
Feb 12 19:30:01  kernel: iwi0: firmware error
Feb 12 19:30:01  kernel: iwi0: firmware error
Feb 12 19:30:02  kernel: iwi0: device configuration failed

>How-To-Repeat:
as root, perform the following steps:

ifconfig iwi0 up
ifconfig ssid {SSID} authmode shared wepmode on wepkey s:{WEPKEY}


>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->flz 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Feb 13 05:12:43 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109118 

From: "Sean J. Schluntz" <sean@schluntz.com>
To: bug-followup@FreeBSD.org,
 Sean Schluntz <sean@schluntz.com>
Cc:  
Subject: Re: ports/109118: iwi-firmware-kmod fails on activation of WEP
Date: Wed, 14 Feb 2007 07:29:18 -0800

 Missing information from PR:
 
 Laptop: Dell Inspiron 700m, 1.8Ghz Pentium M, 1262M RAM
 
 WiFi: Intel Pro/Wireless 2915ABG
 mem0xe0206000-0xe0206fff irq 10 at device 1.0 on pci2
State-Changed-From-To: open->feedback 
State-Changed-By: flz 
State-Changed-When: Fri Apr 13 11:53:58 UTC 2007 
State-Changed-Why:  
Can you try again with a more recent version of the iwi(4) driver? 


Responsible-Changed-From-To: flz->freebsd-bugs 
Responsible-Changed-By: flz 
Responsible-Changed-When: Fri Apr 13 11:53:58 UTC 2007 
Responsible-Changed-Why:  
Put back in the wild, this is not a ports PR and I don't maintain iwi(4). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109118 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Jun 15 10:14:17 UTC 2007 
State-Changed-Why:  
Feedback timeout (2 months). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109118 
>Unformatted:
