mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Miles Lane <miles.lane@gmail.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	"Américo Wang" <xiyou.wangcong@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"Greg Kroah-Hartman" <gregkh@suse.de>,
	"Jesse Barnes" <jbarnes@virtuousgeek.org>,
	"Len Brown" <len.brown@intel.com>, "Pavel Machek" <pavel@ucw.cz>,
	"Arjan van de Ven" <arjan@infradead.org>,
	"Tejun Heo" <tj@kernel.org>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Ingo Molnar" <mingo@redhat.com>
Subject: Re: 2.6.33-rc3 -- INFO: possible recursive locking --  (s_active){++++.+}, at: [<c10d2941>] sysfs_hash_and_remove+0x3d/0x4f
Date: Wed, 13 Jan 2010 21:47:11 -0500	[thread overview]
Message-ID: <a44ae5cd1001131847l582ad373j9a5c944327a06a0a@mail.gmail.com> (raw)
In-Reply-To: <m1wrzpbcmi.fsf@fess.ebiederm.org>

Hmm.  I tried your patch applied to a clean 2.6.33-rc4 tree, and used
the same .config file.  This time the INFO looks a lot like my
original bug report.  Weird.  Maybe I am doing something wrong!

[  291.124830] =============================================
[  291.124837] [ INFO: possible recursive locking detected ]
[  291.124846] 2.6.33-rc4 #3
[  291.124851] ---------------------------------------------
[  291.124858] pm-suspend/4725 is trying to acquire lock:
[  291.124865]  (s_active){++++.+}, at: [<c10f6115>]
sysfs_hash_and_remove+0x3d/0x4f
[  291.124888]
[  291.124890] but task is already holding lock:
[  291.124896]  (s_active){++++.+}, at: [<c10f792d>]
sysfs_get_active_two+0x16/0x34
[  291.124914]
[  291.124917] other info that might help us debug this:
[  291.124925] 6 locks held by pm-suspend/4725:
[  291.124930]  #0:  (&buffer->mutex){+.+.+.}, at: [<c10f68d0>]
sysfs_write_file+0x25/0xeb
[  291.124949]  #1:  (s_active){++++.+}, at: [<c10f792d>]
sysfs_get_active_two+0x16/0x34
[  291.124968]  #2:  (s_active/1){.+.+.+}, at: [<c10f7938>]
sysfs_get_active_two+0x21/0x34
[  291.124990]  #3:  (pm_mutex){+.+.+.}, at: [<c1066f92>] enter_state+0x26/0x114
[  291.125010]  #4:  (cpu_add_remove_lock){+.+.+.}, at: [<c10359dc>]
cpu_maps_update_begin+0xf/0x11
[  291.125030]  #5:  (cpu_hotplug.lock){+.+.+.}, at: [<c1035a0a>]
cpu_hotplug_begin+0x1d/0x40
[  291.125049]
[  291.125051] stack backtrace:
[  291.125060] Pid: 4725, comm: pm-suspend Not tainted 2.6.33-rc4 #3
[  291.125067] Call Trace:
[  291.125081]  [<c12f458f>] ? printk+0xf/0x18
[  291.125094]  [<c105c00d>] __lock_acquire+0x811/0xb67
[  291.125108]  [<c105ae18>] ? mark_held_locks+0x43/0x5b
[  291.125121]  [<c105b1f6>] ? debug_check_no_locks_freed+0x108/0x126
[  291.125134]  [<c105b0b9>] ? trace_hardirqs_on_caller+0x119/0x141
[  291.125147]  [<c10f6115>] ? sysfs_hash_and_remove+0x3d/0x4f
[  291.125160]  [<c105c406>] lock_acquire+0xa3/0xcd
[  291.125172]  [<c10f6115>] ? sysfs_hash_and_remove+0x3d/0x4f
[  291.125186]  [<c10f77c2>] sysfs_addrm_finish+0xa6/0x10a
[  291.125198]  [<c10f6115>] ? sysfs_hash_and_remove+0x3d/0x4f
[  291.125214]  [<c10f6115>] sysfs_hash_and_remove+0x3d/0x4f
[  291.125227]  [<c10f867d>] sysfs_remove_group+0x52/0x81
[  291.125240]  [<c12f2b05>] mc_cpu_callback+0x73/0x9a
[  291.125253]  [<c104fa68>] notifier_call_chain+0x51/0x78
[  291.125266]  [<c104faf4>] __raw_notifier_call_chain+0xe/0x10
[  291.125278]  [<c12e6cad>] _cpu_down+0x7a/0x235
[  291.125291]  [<c1035a85>] disable_nonboot_cpus+0x58/0xe0
[  291.125305]  [<c1066e90>] suspend_devices_and_enter+0xc1/0x19d
[  291.125318]  [<c1067034>] enter_state+0xc8/0x114
[  291.125330]  [<c1066899>] state_store+0x93/0xa7
[  291.125342]  [<c1066806>] ? state_store+0x0/0xa7
[  291.125355]  [<c1165ad5>] kobj_attr_store+0x16/0x22
[  291.125368]  [<c10f696b>] sysfs_write_file+0xc0/0xeb
[  291.125381]  [<c10f68ab>] ? sysfs_write_file+0x0/0xeb
[  291.125394]  [<c10b749e>] vfs_write+0x80/0xdf
[  291.125407]  [<c10b7591>] sys_write+0x3b/0x5d
[  291.125420]  [<c10031e3>] sysenter_do_call+0x12/0x3c
[  291.228068] CPU 1 is now offline

  parent reply	other threads:[~2010-01-14  2:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06 12:54 Miles Lane
2010-01-06 13:36 ` Miles Lane
2010-01-10  0:10 ` Arjan van de Ven
2010-01-10  8:47 ` Américo Wang
2010-01-10  8:58   ` Américo Wang
2010-01-10 17:23     ` Eric W. Biederman
2010-01-10 18:35       ` Rafael J. Wysocki
2010-01-11  2:26         ` Eric W. Biederman
2010-01-11 20:18           ` Rafael J. Wysocki
2010-01-12  0:31           ` Tejun Heo
2010-01-12  0:32             ` Eric W. Biederman
2010-01-12  3:01               ` Dave Chinner
2010-01-12  9:22                 ` Eric W. Biederman
     [not found]               ` <a44ae5cd1001130817v7a3ffbc9yc83d7cc701f8620@mail.gmail.com>
2010-01-13 18:37                 ` Eric W. Biederman
2010-01-13 21:11                 ` Miles Lane
2010-01-12 14:44           ` Américo Wang
2010-01-14  2:47           ` Miles Lane [this message]
2010-01-14  3:09             ` Eric W. Biederman
2010-01-14  9:13               ` Peter Zijlstra

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=a44ae5cd1001131847l582ad373j9a5c944327a06a0a@mail.gmail.com \
    --to=miles.lane@gmail.com \
    --cc=arjan@infradead.org \
    --cc=ebiederm@xmission.com \
    --cc=gregkh@suse.de \
    --cc=jbarnes@virtuousgeek.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pavel@ucw.cz \
    --cc=peterz@infradead.org \
    --cc=rjw@sisk.pl \
    --cc=tj@kernel.org \
    --cc=xiyou.wangcong@gmail.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

all inboxes | Powered by JetHome®