mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, "Rafael J. Wysocki" <rjw@sisk.pl>,
	Pavel Machek <pavel@ucw.cz>, Dave Jones <davej@redhat.com>
Subject: Re: 2.6.18-rc6-mm2
Date: Wed, 13 Sep 2006 00:02:11 +0159	[thread overview]
Message-ID: <45072E7A.2080701@gmail.com> (raw)
In-Reply-To: <6bffcb0e0609121211t2dec0e49qb8d3dbfad2476852@mail.gmail.com>

Michal Piotrowski wrote:
> On 12/09/06, Andrew Morton <akpm@osdl.org> wrote:
>>
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc6/2.6.18-rc6-mm2/ 
>>
>>
> 
> My FC6T2 bug appeared in -mm
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=202223
> 
> Any ideas about this?

Hi,
this is known:
http://lkml.org/lkml/2006/9/8/56

> echo shutdown > /sys/power/disk; echo disk > /sys/power/state
> 
> CPU 1 is now offline
> lockdep: not fixing up alternatives.
> 
> =======================================================
> [ INFO: possible circular locking dependency detected ]
> 2.6.18-rc6-mm2 #120
> -------------------------------------------------------
> bash/1961 is trying to acquire lock:
> ((cpu_chain).rwsem){----}, at: [<c012e289>]
> blocking_notifier_call_chain+0x11/0x2d
> 
> but task is already holding lock:
> (workqueue_mutex){--..}, at: [<c02f8156>] mutex_lock+0x1c/0x1f
> 
> which lock already depends on the new lock.
> 
> 
> the existing dependency chain (in reverse order) is:
> -> #1 (workqueue_mutex){--..}:
>       [<c0138b97>] add_lock_to_list+0x5c/0x7a
>       [<c013aca0>] __lock_acquire+0x9ec/0xae8
>       [<c013b0fc>] lock_acquire+0x6b/0x88
>       [<c02f7f1b>] __mutex_lock_slowpath+0xd6/0x2f5
>       [<c02f8156>] mutex_lock+0x1c/0x1f
>       [<c01312de>] workqueue_cpu_callback+0x109/0x1ff
>       [<c012de43>] notifier_call_chain+0x20/0x31
>       [<c012e295>] blocking_notifier_call_chain+0x1d/0x2d
>       [<c013f867>] _cpu_down+0x48/0x207
>       [<c013fbf8>] disable_nonboot_cpus+0x98/0x12c
>       [<c01451d6>] prepare_processes+0xe/0x41
>       [<c014539e>] pm_suspend_disk+0x9/0xe2
>       [<c0144635>] enter_state+0x53/0x177
>       [<c01447df>] state_store+0x86/0x9c
>       [<c01abde4>] subsys_attr_store+0x20/0x25
>       [<c01abee3>] sysfs_write_file+0xa6/0xcc
>       [<c0174d60>] vfs_write+0xcd/0x174
>       [<c01753fa>] sys_write+0x3b/0x71
>       [<c0103156>] sysenter_past_esp+0x5f/0x99
>       [<ffffffff>] 0xffffffff
> -> #0 ((cpu_chain).rwsem){----}:
>       [<c013a280>] print_circular_bug_tail+0x2e/0x62
>       [<c013abd7>] __lock_acquire+0x923/0xae8
>       [<c013b0fc>] lock_acquire+0x6b/0x88
>       [<c0136e60>] down_read+0x28/0x3b
>       [<c012e289>] blocking_notifier_call_chain+0x11/0x2d
>       [<c013f98e>] _cpu_down+0x16f/0x207
>       [<c013fbf8>] disable_nonboot_cpus+0x98/0x12c
>       [<c01451d6>] prepare_processes+0xe/0x41
>       [<c014539e>] pm_suspend_disk+0x9/0xe2
>       [<c0144635>] enter_state+0x53/0x177
>       [<c01447df>] state_store+0x86/0x9c
>       [<c01abde4>] subsys_attr_store+0x20/0x25
>       [<c01abee3>] sysfs_write_file+0xa6/0xcc
>       [<c0174d60>] vfs_write+0xcd/0x174
>       [<c01753fa>] sys_write+0x3b/0x71
>       [<c0103156>] sysenter_past_esp+0x5f/0x99
>       [<ffffffff>] 0xffffffff
> 
> other info that might help us debug this:
> 
> 2 locks held by bash/1961:
> #0:  (cpu_add_remove_lock){--..}, at: [<c02f8156>] mutex_lock+0x1c/0x1f
> #1:  (workqueue_mutex){--..}, at: [<c02f8156>] mutex_lock+0x1c/0x1f
> 
> stack backtrace:
> [<c01041ba>] dump_trace+0x63/0x1ca
> [<c0104333>] show_trace_log_lvl+0x12/0x25
> [<c0104993>] show_trace+0xd/0x10
> [<c0104a58>] dump_stack+0x16/0x18
> [<c013a2a9>] print_circular_bug_tail+0x57/0x62
> [<c013abd7>] __lock_acquire+0x923/0xae8
> [<c013b0fc>] lock_acquire+0x6b/0x88
> [<c0136e60>] down_read+0x28/0x3b
> [<c012e289>] blocking_notifier_call_chain+0x11/0x2d
> [<c013f98e>] _cpu_down+0x16f/0x207
> [<c013fbf8>] disable_nonboot_cpus+0x98/0x12c
> [<c01451d6>] prepare_processes+0xe/0x41
> [<c014539e>] pm_suspend_disk+0x9/0xe2
> [<c0144635>] enter_state+0x53/0x177
> [<c01447df>] state_store+0x86/0x9c
> [<c01abde4>] subsys_attr_store+0x20/0x25
> [<c01abee3>] sysfs_write_file+0xa6/0xcc
> [<c0174d60>] vfs_write+0xcd/0x174
> [<c01753fa>] sys_write+0x3b/0x71
> [<c0103156>] sysenter_past_esp+0x5f/0x99
> DWARF2 unwinder stuck at sysenter_past_esp+0x5f/0x99
> 
> Leftover inexact backtrace:
> 
> l *blocking_notifier_call_chain+0x11/0x2d
> 0xc012e278 is in blocking_notifier_call_chain
> (/usr/src/linux-mm/kernel/sys.c:324).
> 319      *      of the last notifier function called.
> 320      */
> 321
> 322     int blocking_notifier_call_chain(struct blocking_notifier_head *nh,
> 323                     unsigned long val, void *v)
> 324     {
> 325             int ret;
> 326
> 327             down_read(&nh->rwsem);
> 328             ret = notifier_call_chain(&nh->head, val, v);
> 
> l *mutex_lock+0x1c/0x1f
> 0xc02f813a is in mutex_lock (/usr/src/linux-mm/kernel/mutex.c:85).
> 80       *   deadlock debugging. )
> 81       *
> 82       * This function is similar to (but not equivalent to) down().
> 83       */
> 84      void inline fastcall __sched mutex_lock(struct mutex *lock)
> 85      {
> 86              might_sleep();
> 87              /*
> 88               * The locking fastpath is the 1->0 transition from
> 89               * 'unlocked' into 'locked' state.
> 
> http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm2/mm-dmesg2
> http://www.stardust.webpages.pl/files/mm/2.6.18-rc6-mm2/mm-config1

regards,
-- 
http://www.fi.muni.cz/~xslaby/            Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8  22A0 32CC 55C3 39D4 7A7E

  reply	other threads:[~2006-09-12 22:02 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-12  7:06 2.6.18-rc6-mm2 Andrew Morton
2006-09-12  8:56 ` 2.6.18-rc6-mm2 Andy Whitcroft
2006-09-12  9:02   ` [PATCH] BODGE scsi misc module reference count checks with no MODULE_UNLOAD Andy Whitcroft
2006-09-12  9:19     ` Helge Hafting
2006-09-12  9:24 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 12:54 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 15:42   ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 23:25     ` 2.6.18-rc6-mm2 Andrew Morton
2006-09-12 23:34       ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 23:37         ` 2.6.18-rc6-mm2 Andrew Morton
2006-09-13  1:58           ` [xfs-masters] 2.6.18-rc6-mm2 David Chinner
2006-09-13  4:26             ` David Chinner
2006-09-13  9:43               ` Michal Piotrowski
2006-09-14  3:59                 ` David Chinner
2006-09-14  8:37                   ` Michal Piotrowski
2006-09-14  8:50                     ` Michal Piotrowski
2006-09-14  8:55                       ` Michal Piotrowski
2006-09-14  9:08                       ` David Chinner
2006-09-14  9:29                         ` Michal Piotrowski
2006-09-14 10:03                           ` Michal Piotrowski
2006-09-14 17:01                             ` Michal Piotrowski
2006-09-15  2:57                               ` David Chinner
2006-09-15  3:48                                 ` Andrew Morton
2006-09-15  5:58                                   ` David Chinner
2006-09-15  8:06                                     ` Michal Piotrowski
2006-09-17 23:01                                       ` David Chinner
2006-09-12 19:11 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 22:03   ` Jiri Slaby [this message]
2006-09-12 22:14     ` 2.6.18-rc6-mm2 Jiri Slaby
2006-09-12 20:05 ` [-mm patch] arm build fail: vfpsingle.c Frederik Deweerdt
2006-09-12 18:27   ` Zach Brown
2006-09-12 21:00     ` Frederik Deweerdt
2006-09-12 19:07       ` Zach Brown
2006-09-12 21:31         ` Frederik Deweerdt
2006-09-13 13:58 ` 2.6.18-rc6-mm2: rmmod ohci_hcd oopses on HPC 6325 Rafael J. Wysocki
2006-09-13 16:36   ` Rafael J. Wysocki
2006-09-13 18:44   ` Alan Stern
2006-09-13 19:24     ` Rafael J. Wysocki
2006-09-13 22:31     ` Pete Zaitcev
2006-09-14 11:19       ` Rafael J. Wysocki
2006-09-15 22:45         ` Pete Zaitcev
2006-09-16 23:02           ` Rafael J. Wysocki
2006-09-19  3:21           ` David Brownell
2006-09-14 11:11 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-14 15:47   ` 2.6.18-rc6-mm2 Andrew Morton
2006-09-14 21:40   ` 2.6.18-rc6-mm2 Greg KH
2006-09-14 22:17     ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-14 22:36       ` 2.6.18-rc6-mm2 Greg KH
2006-09-15 20:35         ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-15 21:50           ` 2.6.18-rc6-mm2 Greg KH
2006-09-16 12:14             ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-17 16:05               ` 2.6.18-rc6-mm2 Greg KH
2006-09-17  9:29 ` 2.6.18-rc6-mm2: __fscache_register_netfs compile error Christian Kujau
2006-09-17  9:37   ` Christian Kujau
2006-09-22 10:33 ` David Howells
2006-09-22 10:39 ` David Howells
2006-09-23 20:38   ` Christian Kujau
2006-09-26  6:58     ` Christian Kujau
     [not found] <fa.7a4Rl1qDmYu4ew2hC2NUSUy6Roo@ifi.uio.no>
2006-09-14  5:16 ` 2.6.18-rc6-mm2 Robert Hancock
2006-09-14 11:16   ` 2.6.18-rc6-mm2 Rafael J. Wysocki

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=45072E7A.2080701@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=akpm@osdl.org \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.k.k.piotrowski@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=rjw@sisk.pl \
    /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

Powered by JetHome