netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: Greg KH <greg@kroah.com>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	yi.zhu@intel.com, jketreno@linux.intel.com
Subject: Recent wireless breakage (ipw2200, iwconfig, NetworkManager)
Date: Sun, 4 Mar 2007 16:08:57 -0600	[thread overview]
Message-ID: <20070304220857.GH23311@waste.org> (raw)

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:
 [<c0102d3c>] __switch_to+0x11b/0x143
 [<c038224e>] __mutex_lock_slowpath+0xfb/0x1e2
 [<c0102c3a>] __switch_to+0x19/0x143
 [<f994a291>] ipw_bg_link_down+0x19/0xbd [ipw2200]
 [<f994a278>] ipw_bg_link_down+0x0/0xbd [ipw2200]
 [<c0122604>] run_workqueue+0x97/0x156
 [<c0122bc7>] worker_thread+0x105/0x12e
 [<c0112399>] default_wake_function+0x0/0xc
 [<c0122ac2>] worker_thread+0x0/0x12e
 [<c01251f7>] kthread+0xa0/0xc9
 [<c0125157>] kthread+0x0/0xc9
 [<c0103f87>] 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:
 [<c038224e>] __mutex_lock_slowpath+0xfb/0x1e2
 [<c0381233>] __sched_text_start+0x4b3/0x56b
 [<f99445c6>] ipw_bg_gather_stats+0x0/0x27 [ipw2200]
 [<f99445dd>] ipw_bg_gather_stats+0x17/0x27 [ipw2200]
 [<c0122604>] run_workqueue+0x97/0x156
 [<c0122bc7>] worker_thread+0x105/0x12e
 [<c0112399>] default_wake_function+0x0/0xc
 [<c0122ac2>] worker_thread+0x0/0x12e
 [<c01251f7>] kthread+0xa0/0xc9
 [<c0125157>] kthread+0x0/0xc9
 [<c0103f87>] 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 <gregkh@suse.de>
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.." 

             reply	other threads:[~2007-03-04 22:08 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-04 22:08 Matt Mackall [this message]
     [not found] ` <20070304220857.GH23311-1tnLUEbcrg3YtjvyW6yDsg@public.gmane.org>
2007-03-04 23:39   ` Recent wireless breakage (ipw2200, iwconfig, NetworkManager) Johannes Berg
2007-03-05  0:25     ` Matt Mackall
     [not found]       ` <20070305002550.GI23311-1tnLUEbcrg3YtjvyW6yDsg@public.gmane.org>
2007-03-05  0:45         ` Andrew Morton
     [not found]           ` <20070304164525.349f9589.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2007-03-05  1:05             ` Adrian Bunk
2007-03-05  0:46         ` Ian McDonald
2007-03-05  1:17         ` Greg KH
     [not found]           ` <20070305011729.GB7681-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2007-03-05 11:20             ` Johannes Berg
2007-03-05 12:59           ` Theodore Tso
2007-03-05 18:58             ` Greg KH
2007-03-05 19:55               ` Matt Mackall
2007-03-05 22:39                 ` Greg KH
     [not found]                   ` <20070305223900.GA7676-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2007-03-06  3:07                     ` Matthew Garrett
2007-03-05 23:05               ` Jeffrey Hundstad
     [not found]               ` <20070305185813.GA31465-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2007-03-05 23:40                 ` [2.6.21 patch] unconditionally enable SYSFS_DEPRECATED Adrian Bunk
     [not found]                   ` <20070305234052.GR3441-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>
2007-03-06  0:07                     ` Greg KH
     [not found]                       ` <20070306000722.GA11436-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2007-03-06  0:35                         ` Adrian Bunk
     [not found]                           ` <20070306003541.GT3441-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>
2007-03-06  0:41                             ` Greg KH
2007-03-06  1:30                       ` Matt Mackall
     [not found]                         ` <20070306013020.GN23311-1tnLUEbcrg3YtjvyW6yDsg@public.gmane.org>
2007-03-06  1:56                           ` Greg KH
2007-03-06 13:20                             ` Johannes Berg
2007-03-06 15:55                             ` Dan Williams
2007-03-06  2:48                           ` Greg KH
     [not found]                             ` <20070306024850.GA24477-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2007-03-06  3:04                               ` Matt Mackall
2007-03-06  3:39                               ` Matt Mackall
     [not found]                                 ` <20070306033947.GQ23311-1tnLUEbcrg3YtjvyW6yDsg@public.gmane.org>
2007-03-06  4:03                                   ` Greg KH
     [not found]                                     ` <20070306040350.GA25783-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2007-03-06  6:10                                       ` Matt Mackall
2007-03-06 19:01                                         ` Greg KH
     [not found]                                         ` <20070306061009.GR23311-1tnLUEbcrg3YtjvyW6yDsg@public.gmane.org>
2007-03-06 20:05                                           ` Greg KH
2007-03-06  0:35             ` Recent wireless breakage (ipw2200, iwconfig, NetworkManager) Johannes Berg
2007-03-05  1:16 ` Greg KH
2007-03-05  6:42   ` Matt Mackall
2007-03-05  7:02     ` Greg KH
2007-03-05  7:13       ` Matt Mackall
2007-03-05 15:46         ` Tomasz Torcz
2007-03-05 21:14           ` Matt Mackall
2007-03-06  0:24             ` Bron Gondwana
2007-03-06  0:37               ` Greg KH
2007-03-06  0:56                 ` Theodore Tso
2007-03-06  1:08                   ` Andrew Morton
2007-03-06  1:17                     ` Greg KH
2007-03-06  1:38                       ` Andrew Morton
2007-03-06  1:10                   ` Greg KH
2007-03-05 21:58           ` Joel Becker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070304220857.GH23311@waste.org \
    --to=mpm@selenic.com \
    --cc=greg@kroah.com \
    --cc=jketreno@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=yi.zhu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).