Subject: kern/32133: iwi0: loss of connectivity
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <wulf@netbsd.org>
List: netbsd-bugs
Date: 11/21/2005 09:35:00
>Number:         32133
>Category:       kern
>Synopsis:       iwi0: loss of connectivity
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 21 09:35:00 +0000 2005
>Originator:     Berndt Josef Wulf
>Release:        NetBSD-i386-current
>Organization:
NTC-Electronics
>Environment:
NetBSD barossa 3.99.11 NetBSD 3.99.11 (HOTDOG) #3: Thu Nov 17 23:43:11 CST 2005  wulf@barossa:/sys/arch/i386/compile/HOTDOG i386

>Description:
Sysinfo: Dell Inspiron 9300 laptop, NetBSD-i386 3.99.11, Intel® PRO/Wireless 2200 Network Connection 802.11b/g

System boots and connects to local network fine. Network connectivity drops after at approximately 5-15 minutes. Connectivity is regained only after issuing "ifconfig iwi0 down" followed by "ifconfig iwi0 up" and waiting for re-assignment of DNS parameter. This didn't work with kernels prior to 3.99.10 and connectivity was only restored after a reboot.

The logfile below shows the acquisition of the interface after bootup until first loss of connectivity: 

Nov 20 06:06:18 barossa dhclient: Internet Systems Consortium DHCP Client V3.0.3
Nov 20 06:06:18 barossa dhclient: Copyright 2004-2005 Internet Systems Consortium.
Nov 20 06:06:18 barossa dhclient: All rights reserved.
Nov 20 06:06:18 barossa dhclient: For info, please visit http://www.isc.org/products/DHCP
Nov 20 06:06:18 barossa dhclient:
Nov 20 06:06:18 barossa dhclient: Listening on BPF/iwi0/00:12:f0:8e:cb:3f
Nov 20 06:06:18 barossa dhclient: Sending on BPF/iwi0/00:12:f0:8e:cb:3f
Nov 20 06:06:18 barossa dhclient: Sending on   Socket/fallback
Nov 20 06:06:19 barossa /netbsd: iwi0: link state changed to UP
Nov 20 06:06:20 barossa dhclient: DHCPREQUEST on iwi0 to 255.255.255.255 port 67
Nov 20 06:06:20 barossa dhclient: DHCPACK from 192.168.126.1
Nov 20 06:06:20 barossa dhclient: bound to 192.168.126.37 -- renewal in 252 seconds.
Nov 20 06:06:20 barossa /netbsd: [00:08:a1:3b:d0:b3] discard  frame, multicast echo
Nov 20 06:06:23 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:06:33 barossa last message repeated 2 times
Nov 20 06:06:34 barossa /netbsd: ieee80211_timeout_stations: station scangen 1
Nov 20 06:06:38 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 69
Nov 20 06:06:43 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:06:49 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 68
Nov 20 06:06:49 barossa /netbsd: ieee80211_timeout_stations: station scangen 2
Nov 20 06:06:54 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:06:59 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 68
Nov 20 06:07:00 barossa /netbsd: acpilid0: lid closed.
Nov 20 06:07:02 barossa /netbsd: acpilid0: lid opened.
Nov 20 06:07:04 barossa /netbsd: ieee80211_timeout_stations: station scangen 3
Nov 20 06:07:04 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 70
Nov 20 06:07:09 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:07:14 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:07:19 barossa /netbsd: ieee80211_timeout_stations: station scangen 4
Nov 20 06:07:20 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 68
Nov 20 06:07:25 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:07:30 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:07:34 barossa /netbsd: ieee80211_timeout_stations: station scangen 5
Nov 20 06:07:35 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 69
Nov 20 06:07:40 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 70
Nov 20 06:07:45 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 71
Nov 20 06:07:49 barossa /netbsd: ieee80211_timeout_stations: station scangen 6
Nov 20 06:07:50 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 70
Nov 20 06:07:55 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 67
Nov 20 06:08:01 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 67
Nov 20 06:08:04 barossa /netbsd: ieee80211_timeout_stations: station scangen 7
Nov 20 06:08:06 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 70
Nov 20 06:08:11 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 71
Nov 20 06:08:16 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 68
Nov 20 06:08:19 barossa /netbsd: ieee80211_timeout_stations: station scangen 8
Nov 20 06:08:21 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 69
Nov 20 06:08:26 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 70
Nov 20 06:08:31 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 70
Nov 20 06:08:34 barossa /netbsd: ieee80211_timeout_stations: station scangen 9
Nov 20 06:08:36 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 70
Nov 20 06:08:41 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:08:47 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:08:49 barossa /netbsd: ieee80211_timeout_stations: station scangen 10
Nov 20 06:08:52 barossa /netbsd: iwi0: received beacon from 00:08:a1:3b:d0:b3 rssi 66
Nov 20 06:08:56 barossa /netbsd: ieee80211_newstate: RUN -> INIT
Nov 20 06:08:56 barossa /netbsd: ieee80211_ref_node(ieee80211_send_mgmt:1146) 0xc1e7d800<00:08:a1:3b:d0:b3> refcnt 3
Nov 20 06:08:56 barossa /netbsd: [00:08:a1:3b:d0:b3] send station disassociate (reason 8)
Nov 20 06:08:56 barossa /netbsd: [00:08:a1:3b:d0:b3] send disassoc on channel 11
Nov 20 06:08:56 barossa /netbsd: _ieee80211_crypto_delkey: NONE keyix 65535 flags 0x3 rsc 0 tsc 0 len 0
Nov 20 06:08:56 barossa /netbsd: iwi0: bss node 00:08:a1:3b:d0:b3 leave
Nov 20 06:08:56 barossa /netbsd: iwi0: link state changed to DOWN
Nov 20 06:08:56 barossa /netbsd: ieee80211_node_table_reset scan table
Nov 20 06:08:56 barossa /netbsd: ieee80211_free_allnodes_locked: free all nodesin scan table
Nov 20 06:08:56 barossa /netbsd: node_reclaim: remove 0xc1e7d800<00:08:a1:3b:d0:b3> from scan table, refcnt 2
Nov 20 06:08:56 barossa /netbsd: ieee80211_node_table_reset station table
Nov 20 06:08:56 barossa /netbsd: ieee80211_free_allnodes_locked: free all nodesin station table
Nov 20 06:08:56 barossa /netbsd: ieee80211_setup_node 0xc1ef5e00<00:12:f0:8e:cb:3f> in scan table
Nov 20 06:08:56 barossa /netbsd: [00:08:a1:3b:d0:b3] discard  frame, not to bss
Nov 20 06:09:27 barossa last message repeated 230 times

>How-To-Repeat:
Configure iwi0 interface on a Dell Inspiron 9300, connect to network, wait and see.
>Fix: