From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: with ECARTIS (v1.0.0; list xfs); Fri, 21 Jul 2006 16:00:30 -0700 (PDT) Received: from lilly.ping.de (lilly.ping.de [83.97.42.2]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id k6LMxWDW012338 for ; Fri, 21 Jul 2006 15:59:39 -0700 Date: Sat, 22 Jul 2006 00:58:05 +0200 From: Jochen Heuer Subject: Re: BUG: soft lockup detected on CPU#1! Message-ID: <20060721225805.GB12184@planetzork.ping.de> References: <20060717125216.GA15481@planetzork.ping.de> <1153146608.1218.9.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1153146608.1218.9.camel@localhost.localdomain> Sender: xfs-bounce@oss.sgi.com Errors-To: xfs-bounce@oss.sgi.com List-Id: xfs To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Ingo Molnar , nathans@sgi.com, xfs@oss.sgi.com Hi everyone. > > Jul 17 09:23:03 [kernel] [] crypt+0xee/0x1e0 > > Jul 17 09:23:03 [kernel] [] crypt_iv_unaligned+0x3f/0xc0 > > Jul 17 09:23:03 [kernel] [] cbc_decrypt_iv+0x3d/0x50 > > Jul 17 09:23:03 [kernel] [] crypt_convert_scatterlist+0x117/0x170 > > Jul 17 09:23:03 [kernel] [] crypt_convert+0x142/0x190 > > Jul 17 09:23:03 [kernel] [] kcryptd_do_work+0x42/0x60 > > Jul 17 09:23:03 [kernel] [] run_workqueue+0x6f/0xe0 > > Jul 17 09:23:03 [kernel] [] worker_thread+0x128/0x150 > > Jul 17 09:23:03 [kernel] [] kthread+0xa4/0xe0 > > Jul 17 09:23:03 [kernel] [] kernel_thread_helper+0x5/0x10 > > Jul 17 09:24:17 [kernel] ============================================= > > Jul 17 09:24:17 [kernel] [ INFO: possible recursive locking detected ] > > Jul 17 09:24:17 [kernel] --------------------------------------------- > > This looks like a separate issue, and something more about fixing > lockdep not to report it instead of an actual bug (and why I CC'd the > xfs folks and Ingo). > > Probably XFS needs to tell lockdep about it's nesting. But maybe there > is a bug that is lying in there somewhere. I have some more of these. Now they look like this every time I get them: Jul 19 18:43:15 [kernel] ============================================= Jul 19 18:43:15 [kernel] [ INFO: possible recursive locking detected ] Jul 19 18:43:15 [kernel] --------------------------------------------- Jul 19 18:43:15 [kernel] qmail-local/9368 is trying to acquire lock: Jul 19 18:43:15 [kernel] (&(&ip->i_lock)->mr_lock){----}, at: [] xfs_ilock+0x60/0xb0 Jul 19 18:43:15 [kernel] but task is already holding lock: Jul 19 18:43:15 [kernel] (&(&ip->i_lock)->mr_lock){----}, at: [] xfs_ilock+0x60/0xb0 Jul 19 18:43:15 [kernel] other info that might help us debug this: Jul 19 18:43:15 [kernel] 2 locks held by qmail-local/9368: Jul 19 18:43:15 [kernel] #0: (&inode->i_mutex){--..}, at: [] mutex_lock+0x21/0x30 Jul 19 18:43:15 [kernel] #1: (&(&ip->i_lock)->mr_lock){----}, at: [] xfs_ilock+0x60/0xb0 Jul 19 18:43:15 [kernel] stack backtrace: Jul 19 18:43:15 [kernel] [] show_trace+0x12/0x20 Jul 19 18:43:15 [kernel] [] dump_stack+0x19/0x20 Jul 19 18:43:15 [kernel] [] print_deadlock_bug+0xb9/0xd0 Jul 19 18:43:15 [kernel] [] check_deadlock+0x6b/0x80 Jul 19 18:43:15 [kernel] [] __lock_acquire+0x354/0x990 Jul 19 18:43:15 [kernel] [] lock_acquire+0x75/0xa0 Jul 19 18:43:15 [kernel] [] down_write+0x3f/0x60 Jul 19 18:43:15 [kernel] [] xfs_ilock+0x60/0xb0 Jul 19 18:43:15 [kernel] [] xfs_iget_core+0x2aa/0x5b0 Jul 19 18:43:15 [kernel] [] xfs_iget+0xcc/0x150 Jul 19 18:43:15 [kernel] [] xfs_trans_iget+0xa8/0x140 Jul 19 18:43:15 [kernel] [] xfs_ialloc+0xaf/0x4c0 Jul 19 18:43:15 [kernel] [] xfs_dir_ialloc+0x6d/0x280 Jul 19 18:43:15 [kernel] [] xfs_create+0x241/0x670 Jul 19 18:43:15 [kernel] [] xfs_vn_mknod+0x1ed/0x2e0 Jul 19 18:43:15 [kernel] [] xfs_vn_create+0x12/0x20 Jul 19 18:43:15 [kernel] [] vfs_create+0x7d/0xd0 Jul 19 18:43:15 [kernel] [] open_namei+0xbf/0x620 Jul 19 18:43:15 [kernel] [] do_filp_open+0x2c/0x60 Jul 19 18:43:15 [kernel] [] do_sys_open+0x50/0xe0 Jul 19 18:43:15 [kernel] [] sys_open+0x1c/0x20 Jul 19 18:43:15 [kernel] [] sysenter_past_esp+0x56/0x8d Best regards, Jochen