linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Patrick McHardy <kaber@trash.net>
Cc: David Miller <davem@davemloft.net>,
	torvalds@linux-foundation.org, akpm@linux-foundation.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-wireless@vger.kernel.org
Subject: Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Date: Tue, 22 Jul 2008 13:39:08 -0500	[thread overview]
Message-ID: <4886294C.4060905@lwfinger.net> (raw)
In-Reply-To: <488616C0.8070505@trash.net>

Patrick McHardy wrote:
> Larry Finger wrote:
>>
>> =============================================
>> [ INFO: possible recursive locking detected ]
>> 2.6.26-Linus-git-05752-g93ded9b #49
> 
>                    ^^^^^^^^^^^^^^ dirty?
> 
> This kernel is not using the patches we sent.

No, but they didn't make any difference. I tried with all 3 applied, then backed 
them out one by one. That was the state when I posted before.

Here are the dumps with all 3 patches applied:

=============================================
[ INFO: possible recursive locking detected ]
2.6.26-Linus-05752-g93ded9b-dirty #53
---------------------------------------------
b43/1997 is trying to acquire lock:
  (_xmit_IEEE80211#2){-...}, at: [<ffffffffa028f322>] 
ieee80211_scan_completed+0x130/0x2e1 [mac80211]

but task is already holding lock:
  (_xmit_IEEE80211#2){-...}, at: [<ffffffffa028f322>] 
ieee80211_scan_completed+0x130/0x2e1 [mac80211]

other info that might help us debug this:
3 locks held by b43/1997:
  #0:  ((name)){--..}, at: [<ffffffff80245185>] run_workqueue+0xa7/0x1f2
  #1:  (&(&local->scan_work)->work){--..}, at: [<ffffffff80245185>] 
run_workqueue+0xa7/0x1f2
  #2:  (_xmit_IEEE80211#2){-...}, at: [<ffffffffa028f322>] 
ieee80211_scan_completed+0x130/0x2e1 [mac80211]

stack backtrace:
Pid: 1997, comm: b43 Not tainted 2.6.26-Linus-05752-g93ded9b-dirty #53

Call Trace:
  [<ffffffff80255616>] __lock_acquire+0xb7b/0xecc
  [<ffffffff8040c9a0>] __mutex_unlock_slowpath+0x100/0x10b
  [<ffffffff802559b8>] lock_acquire+0x51/0x6a
  [<ffffffffa028f322>] ieee80211_scan_completed+0x130/0x2e1 [mac80211]
  [<ffffffff8040dc08>] _spin_lock+0x1e/0x27
  [<ffffffffa028f322>] ieee80211_scan_completed+0x130/0x2e1 [mac80211]
  [<ffffffffa028f6ce>] ieee80211_sta_scan_work+0x0/0x1b8 [mac80211]
  [<ffffffff802451ce>] run_workqueue+0xf0/0x1f2
  [<ffffffff802453ab>] worker_thread+0xdb/0xea
  [<ffffffff80248a5f>] autoremove_wake_function+0x0/0x2e
  [<ffffffff802452d0>] worker_thread+0x0/0xea
  [<ffffffff80248731>] kthread+0x47/0x73
  [<ffffffff8040d7b1>] trace_hardirqs_on_thunk+0x3a/0x3f
  [<ffffffff8020ceb9>] child_rip+0xa/0x11
  [<ffffffff8020c4ef>] restore_args+0x0/0x30
  [<ffffffff802486c5>] kthreadd+0x19a/0x1bf
  [<ffffffff802486ea>] kthread+0x0/0x73
  [<ffffffff8020ceaf>] child_rip+0x0/0x11

------------[ cut here ]------------
WARNING: at net/core/dev.c:1344 __netif_schedule+0x2c/0x98()
Modules linked in: af_packet rfkill_input nfs lockd nfs_acl sunrpc 
cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 fuse loop 
dm_mod arc4 ecb crypto_blkcipher b43 firmware_class rfkill mac80211 
snd_hda_intel cfg80211 led_class input_polldev k8temp snd_pcm snd_timer battery 
hwmon sr_mod forcedeth ssb joydev ac button serio_raw cdrom snd soundcore 
snd_page_alloc sg sd_mod ohci_hcd ehci_hcd usbcore edd fan thermal processor 
ext3 mbcache jbd pata_amd ahci libata scsi_mod dock
Pid: 1997, comm: b43 Not tainted 2.6.26-Linus-05752-g93ded9b-dirty #53

Call Trace:
  [<ffffffff80235d49>] warn_on_slowpath+0x51/0x8c
  [<ffffffff8040d7b1>] trace_hardirqs_on_thunk+0x3a/0x3f
  [<ffffffff803a2413>] __netif_schedule+0x2c/0x98
  [<ffffffffa028f44d>] ieee80211_scan_completed+0x25b/0x2e1 [mac80211]
  [<ffffffffa028f6ce>] ieee80211_sta_scan_work+0x0/0x1b8 [mac80211]
  [<ffffffff802451ce>] run_workqueue+0xf0/0x1f2
  [<ffffffff802453ab>] worker_thread+0xdb/0xea
  [<ffffffff80248a5f>] autoremove_wake_function+0x0/0x2e
  [<ffffffff802452d0>] worker_thread+0x0/0xea
  [<ffffffff80248731>] kthread+0x47/0x73
  [<ffffffff8040d7b1>] trace_hardirqs_on_thunk+0x3a/0x3f
  [<ffffffff8020ceb9>] child_rip+0xa/0x11
  [<ffffffff8020c4ef>] restore_args+0x0/0x30
  [<ffffffff802486c5>] kthreadd+0x19a/0x1bf
  [<ffffffff802486ea>] kthread+0x0/0x73
  [<ffffffff8020ceaf>] child_rip+0x0/0x11

---[ end trace 88fab857dc2a4242 ]---

Larry





  reply	other threads:[~2008-07-22 18:39 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080721133059.GA30637@elte.hu>
     [not found] ` <20080721134506.GA27598@elte.hu>
     [not found]   ` <20080721143023.GA32451@elte.hu>
2008-07-21 15:10     ` [crash] BUG: unable to handle kernel NULL pointer dereference at 0000000000000370 David Miller
     [not found]     ` <20080721150446.GA17746@elte.hu>
2008-07-21 15:24       ` David Miller
2008-07-21 18:18         ` Ian Schram
2008-07-21 19:06           ` Ingo Molnar
2008-07-21 19:13             ` Larry Finger
2008-07-21 19:34               ` Ingo Molnar
2008-07-21 19:43                 ` Larry Finger
2008-07-21 19:47                   ` Linus Torvalds
2008-07-21 20:15                     ` David Miller
2008-07-21 20:28                     ` Larry Finger
2008-07-21 20:21                   ` David Miller
2008-07-21 20:38                     ` Larry Finger
2008-07-21 20:46                       ` David Miller
2008-07-21 20:51                         ` Patrick McHardy
2008-07-21 21:01                           ` David Miller
2008-07-21 21:06                             ` Patrick McHardy
2008-07-21 21:35                               ` Patrick McHardy
2008-07-21 21:42                                 ` Patrick McHardy
2008-07-21 21:51                                 ` Larry Finger
2008-07-21 22:04                                   ` Patrick McHardy
2008-07-21 22:40                                     ` Larry Finger
2008-07-21 23:15                                       ` David Miller
2008-07-22  6:34                                         ` Larry Finger
2008-07-22 10:51                                           ` Jarek Poplawski
2008-07-22 11:32                                           ` David Miller
2008-07-22 12:52                                             ` Larry Finger
2008-07-22 20:43                                               ` David Miller
2008-07-22 13:02                                             ` Larry Finger
2008-07-22 14:53                                               ` Patrick McHardy
2008-07-22 21:17                                                 ` David Miller
2008-07-22 16:39                                               ` Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98() Larry Finger
2008-07-22 17:20                                                 ` Patrick McHardy
2008-07-22 18:39                                                   ` Larry Finger [this message]
2008-07-22 18:44                                                     ` Patrick McHardy
2008-07-22 19:30                                                       ` Larry Finger
2008-07-22 23:04                                                     ` David Miller
2008-07-23  6:20                                                       ` Jarek Poplawski
2008-07-23  7:59                                                         ` David Miller
2008-07-23  8:54                                                           ` Jarek Poplawski
2008-07-23  9:03                                                             ` Peter Zijlstra
2008-07-23  9:35                                                               ` Jarek Poplawski
2008-07-23  9:50                                                                 ` Peter Zijlstra
2008-07-23 10:13                                                                   ` Jarek Poplawski
2008-07-23 10:58                                                                     ` Peter Zijlstra
2008-07-23 11:35                                                                       ` Jarek Poplawski
2008-07-23 11:49                                                                         ` Jarek Poplawski
2008-07-23 20:16                                                                           ` David Miller
2008-07-23 20:43                                                                             ` Jarek Poplawski
2008-07-23 20:55                                                                               ` David Miller
2008-07-24  9:10                                                                             ` Peter Zijlstra
2008-07-24  9:20                                                                               ` David Miller
2008-07-24  9:27                                                                                 ` Peter Zijlstra
2008-07-24  9:32                                                                                   ` David Miller
2008-07-24 10:08                                                                                     ` Peter Zijlstra
2008-07-24 10:38                                                                                       ` Nick Piggin
2008-07-24 10:55                                                                                         ` Miklos Szeredi
2008-07-24 11:06                                                                                           ` Nick Piggin
2008-08-01 21:10                                                                                             ` Paul E. McKenney
2008-07-24 10:59                                                                                         ` Peter Zijlstra
2008-08-01 21:10                                                                                         ` Paul E. McKenney
2008-07-23 20:14                                                                       ` David Miller
2008-07-24  7:00                                                                         ` Peter Zijlstra
2008-07-25 17:04                                                                         ` Ingo Oeser
2008-07-25 18:36                                                                           ` Jarek Poplawski
2008-07-25 19:16                                                                             ` Johannes Berg
2008-07-25 19:34                                                                               ` Jarek Poplawski
2008-07-25 19:36                                                                                 ` Johannes Berg
2008-07-25 20:01                                                                                   ` Jarek Poplawski
2008-07-26  9:18                                                                                     ` David Miller
2008-07-26 10:53                                                                                       ` Jarek Poplawski
2008-07-26 13:18                                                                                       ` Jarek Poplawski
2008-07-27  0:34                                                                                         ` David Miller
2008-07-27 20:37                                                                                           ` Jarek Poplawski
2008-07-31 12:29                                                                                             ` David Miller
2008-07-31 12:38                                                                                               ` Nick Piggin
2008-07-31 12:44                                                                                                 ` David Miller
2008-08-01  4:27                                                                                               ` David Miller
2008-08-01  7:09                                                                                                 ` Peter Zijlstra
2008-08-01  6:48                                                                                               ` Jarek Poplawski
2008-08-01  7:00                                                                                                 ` David Miller
2008-08-01  7:01                                                                                                 ` Jarek Poplawski
2008-08-01  7:01                                                                                                   ` David Miller
2008-08-01  7:41                                                                                                     ` Jarek Poplawski

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=4886294C.4060905@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=kaber@trash.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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).