ports/109118: iwi-firmware-kmod fails on activation of WEP

Sean J. Schluntz sean at schluntz.com
Tue Feb 13 04:00:15 UTC 2007


>Number:         109118
>Category:       ports
>Synopsis:       iwi-firmware-kmod fails on activation of WEP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 13 04:00:14 GMT 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list