From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751834AbXCDWVj (ORCPT ); Sun, 4 Mar 2007 17:21:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751872AbXCDWVj (ORCPT ); Sun, 4 Mar 2007 17:21:39 -0500 Received: from waste.org ([66.93.16.53]:51984 "EHLO waste.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751834AbXCDWVi (ORCPT ); Sun, 4 Mar 2007 17:21:38 -0500 Date: Sun, 4 Mar 2007 16:08:57 -0600 From: Matt Mackall To: Greg KH , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, yi.zhu@intel.com, jketreno@linux.intel.com Subject: Recent wireless breakage (ipw2200, iwconfig, NetworkManager) Message-ID: <20070304220857.GH23311@waste.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Recent kernels are having troubles with wireless for me. Two seemingly related problems: a) NetworkManager seems oblivious to the existence of my IPW2200 b) Manual iwconfig waits for 60s and then reports: Error for wireless request "Set Encode" (8B2A) : SET failed on device eth1 ; Operation not supported. During this time, my keyboard in X is unresponsive, but everything else seems to be functioning properly. Queued keypresses eventually show up. Alt-sysrq-w gives: ieee80211_crypt: registered algorithm 'WEP' SysRq : Show Blocked State free sibling task PC stack pid father child younger older events/0 D C0102D3C 0 4 1 5 3 (L-TLB) c1d0bf1c 00000046 c1d0ac20 c0102d3c 00000000 c1d0aa70 00000022 0000000a c1d0aa70 ca8ed618 00000034 00000cd3 c1d0ab7c 00000287 00000002 f581f040 00000002 c1d0bf34 00000246 f7b5cb04 c1d0aa70 c038224e c0102c3a 00000000 Call Trace: [] __switch_to+0x11b/0x143 [] __mutex_lock_slowpath+0xfb/0x1e2 [] __switch_to+0x19/0x143 [] ipw_bg_link_down+0x19/0xbd [ipw2200] [] ipw_bg_link_down+0x0/0xbd [ipw2200] [] run_workqueue+0x97/0x156 [] worker_thread+0x105/0x12e [] default_wake_function+0x0/0xc [] worker_thread+0x0/0x12e [] kthread+0xa0/0xc9 [] kthread+0x0/0xc9 [] kernel_thread_helper+0x7/0x10 ======================= ipw2200/0 D 00000020 0 1985 6 2260 1983 (L-TLB) f7981f24 00000046 00000001 00000020 c1cdf8c0 00000000 00000000 0000000a f7d09030 e1fdc8c3 00000034 0000093a f7d0913c 00000086 00000020 f7c4a740 00000086 f7981f3c 00000246 f7b5cb04 f7d09030 c038224e f7d09030 c0496550 Call Trace: [] __mutex_lock_slowpath+0xfb/0x1e2 [] __sched_text_start+0x4b3/0x56b [] ipw_bg_gather_stats+0x0/0x27 [ipw2200] [] ipw_bg_gather_stats+0x17/0x27 [ipw2200] [] run_workqueue+0x97/0x156 [] worker_thread+0x105/0x12e [] default_wake_function+0x0/0xc [] worker_thread+0x0/0x12e [] kthread+0xa0/0xc9 [] kthread+0x0/0xc9 [] kernel_thread_helper+0x7/0x10 ======================= ieee80211_crypt_wep: could not allocate crypto API arc4 eth1: could not initialize WEP: load module ieee80211_crypt_wep ADDRCONF(NETDEV_UP): eth1: link is not ready A second attempt to enable WEP via iwconfig succeeds and network connectivity is normal. However, NetworkManager still ignores the device at this point. Bisect with Mercurial points to this patch: $ hg bisect bad The first bad revision is: changeset: 46985:f701b96bb2f7 user: Greg Kroah-Hartman date: Wed Feb 07 10:37:11 2007 -0800 summary: Network: convert network devices to use struct device instead of class_device which corresponds to 43cb76d91ee85f579a69d42bc8efc08bac560278 in git. -- "Love the dolphins," she advised him. "Write by W.A.S.T.E.."