Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030356AbWILTLY (ORCPT ); Tue, 12 Sep 2006 15:11:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030364AbWILTLY (ORCPT ); Tue, 12 Sep 2006 15:11:24 -0400 Received: from wx-out-0506.google.com ([66.249.82.225]:17578 "EHLO wx-out-0506.google.com") by vger.kernel.org with ESMTP id S1030356AbWILTLX (ORCPT ); Tue, 12 Sep 2006 15:11:23 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qCpDkxQY4lZlMXgT5KARsWu3I+mhgOO2RDLYNDtzBq/UU/aSwUM1368OEFpgTinDNJCwdcmEXgK+J6605kAes2er4gMrlZSFB4EhSv6pah4Rdmg4wBhoAdK4C41e3cbzqIQLboD9j7zm8pmesmhflhsw2YeF7Sh3oxvKyBIGFw4= Message-ID: <6bffcb0e0609121211t2dec0e49qb8d3dbfad2476852@mail.gmail.com> Date: Tue, 12 Sep 2006 21:11:22 +0200 From: "Michal Piotrowski" To: "Andrew Morton" Subject: Re: 2.6.18-rc6-mm2 Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , "Pavel Machek" , "Dave Jones" In-Reply-To: <20060912000618.a2e2afc0.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060912000618.a2e2afc0.akpm@osdl.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5167 Lines: 143 On 12/09/06, Andrew Morton 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? 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: [] blocking_notifier_call_chain+0x11/0x2d but task is already holding lock: (workqueue_mutex){--..}, at: [] mutex_lock+0x1c/0x1f which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (workqueue_mutex){--..}: [] add_lock_to_list+0x5c/0x7a [] __lock_acquire+0x9ec/0xae8 [] lock_acquire+0x6b/0x88 [] __mutex_lock_slowpath+0xd6/0x2f5 [] mutex_lock+0x1c/0x1f [] workqueue_cpu_callback+0x109/0x1ff [] notifier_call_chain+0x20/0x31 [] blocking_notifier_call_chain+0x1d/0x2d [] _cpu_down+0x48/0x207 [] disable_nonboot_cpus+0x98/0x12c [] prepare_processes+0xe/0x41 [] pm_suspend_disk+0x9/0xe2 [] enter_state+0x53/0x177 [] state_store+0x86/0x9c [] subsys_attr_store+0x20/0x25 [] sysfs_write_file+0xa6/0xcc [] vfs_write+0xcd/0x174 [] sys_write+0x3b/0x71 [] sysenter_past_esp+0x5f/0x99 [] 0xffffffff -> #0 ((cpu_chain).rwsem){----}: [] print_circular_bug_tail+0x2e/0x62 [] __lock_acquire+0x923/0xae8 [] lock_acquire+0x6b/0x88 [] down_read+0x28/0x3b [] blocking_notifier_call_chain+0x11/0x2d [] _cpu_down+0x16f/0x207 [] disable_nonboot_cpus+0x98/0x12c [] prepare_processes+0xe/0x41 [] pm_suspend_disk+0x9/0xe2 [] enter_state+0x53/0x177 [] state_store+0x86/0x9c [] subsys_attr_store+0x20/0x25 [] sysfs_write_file+0xa6/0xcc [] vfs_write+0xcd/0x174 [] sys_write+0x3b/0x71 [] sysenter_past_esp+0x5f/0x99 [] 0xffffffff other info that might help us debug this: 2 locks held by bash/1961: #0: (cpu_add_remove_lock){--..}, at: [] mutex_lock+0x1c/0x1f #1: (workqueue_mutex){--..}, at: [] mutex_lock+0x1c/0x1f stack backtrace: [] dump_trace+0x63/0x1ca [] show_trace_log_lvl+0x12/0x25 [] show_trace+0xd/0x10 [] dump_stack+0x16/0x18 [] print_circular_bug_tail+0x57/0x62 [] __lock_acquire+0x923/0xae8 [] lock_acquire+0x6b/0x88 [] down_read+0x28/0x3b [] blocking_notifier_call_chain+0x11/0x2d [] _cpu_down+0x16f/0x207 [] disable_nonboot_cpus+0x98/0x12c [] prepare_processes+0xe/0x41 [] pm_suspend_disk+0x9/0xe2 [] enter_state+0x53/0x177 [] state_store+0x86/0x9c [] subsys_attr_store+0x20/0x25 [] sysfs_write_file+0xa6/0xcc [] vfs_write+0xcd/0x174 [] sys_write+0x3b/0x71 [] 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, Michal -- Michal K. K. Piotrowski LTG - Linux Testers Group (http://www.stardust.webpages.pl/ltg/) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/