From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Beregalov Subject: next-20090220: XFS, IMA: BUG: sleeping function called from invalid context at mm/slub.c:1613 Date: Fri, 20 Feb 2009 14:00:21 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ew0-f21.google.com ([209.85.219.21]:35019 "EHLO mail-ew0-f21.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194AbZBTLAX (ORCPT ); Fri, 20 Feb 2009 06:00:23 -0500 Sender: linux-next-owner@vger.kernel.org List-ID: To: LKML , "linux-next@vger.kernel.org" , xfs@oss.sgi.com, Mimi Zohar Hi I have applied the following patch from Mimi Zohar http://marc.info/?l=linux-next&m=123509665514552 That is why it is dirty. The kernel can not boot without it when IMA is enabled. BUG: sleeping function called from invalid context at mm/slub.c:1613 in_atomic(): 1, irqs_disabled(): 0, pid: 1514, name: mkdir 3 locks held by mkdir/1514: #0: (&type->i_mutex_dir_key#2/1){+.+.+.}, at: [] lookup_create+0x30/0xd0 #1: (&(&ip->i_lock)->mr_lock/1){+.+.+.}, at: [] xfs_ilock+0xdf/0x120 #2: (&pag->pag_ici_lock){++++.+}, at: [] xfs_iget+0x156/0x650 Pid: 1514, comm: mkdir Not tainted 2.6.29-rc5-next-20090220-dirty #1 Call Trace: [] ? __debug_show_held_locks+0x13/0x30 [] __might_sleep+0x105/0x140 [] kmem_cache_alloc+0xd1/0x100 [] ima_iint_insert+0x49/0xf0 [] ima_inode_alloc+0x1d/0x30 [] inode_init_always+0xaf/0x250 [] xfs_iget+0x206/0x650 [] xfs_trans_iget+0x208/0x250 [] xfs_ialloc+0xc1/0x700 [] xfs_dir_ialloc+0xa9/0x340 [] ? down_write_nested+0x79/0x90 [] xfs_create+0x3e1/0x690 [] xfs_vn_mknod+0x63/0xf0 [] xfs_vn_mkdir+0xe/0x10 [] vfs_mkdir+0x8c/0xd0 [] sys_mkdirat+0x106/0x120 [] ? sysret_check+0x27/0x62 [] ? trace_hardirqs_on_caller+0x17d/0x1e0 [] sys_mkdir+0x13/0x20 [] system_call_fastpath+0x16/0x1b BUG: sleeping function called from invalid context at mm/slub.c:1613 in_atomic(): 1, irqs_disabled(): 0, pid: 1514, name: mkdir 3 locks held by mkdir/1514: #0: (&type->i_mutex_dir_key#2/1){+.+.+.}, at: [] lookup_create+0x30/0xd0 #1: (&(&ip->i_lock)->mr_lock/1){+.+.+.}, at: [] xfs_ilock+0xdf/0x120 #2: (&pag->pag_ici_lock){++++.+}, at: [] xfs_iget+0x156/0x650 Pid: 1514, comm: mkdir Not tainted 2.6.29-rc5-next-20090220-dirty #1 Call Trace: [] ? __debug_show_held_locks+0x13/0x30 [] __might_sleep+0x105/0x140 [] kmem_cache_alloc+0xd1/0x100 [] radix_tree_preload+0x6a/0xf0 [] ima_iint_insert+0x5b/0xf0 [] ima_inode_alloc+0x1d/0x30 [] inode_init_always+0xaf/0x250 [] xfs_iget+0x206/0x650 [] xfs_trans_iget+0x208/0x250 [] xfs_ialloc+0xc1/0x700 [] xfs_dir_ialloc+0xa9/0x340 [] ? down_write_nested+0x79/0x90 [] xfs_create+0x3e1/0x690 [] xfs_vn_mknod+0x63/0xf0 [] xfs_vn_mkdir+0xe/0x10 [] vfs_mkdir+0x8c/0xd0 [] sys_mkdirat+0x106/0x120 [] ? sysret_check+0x27/0x62 [] ? trace_hardirqs_on_caller+0x17d/0x1e0 [] sys_mkdir+0x13/0x20 [] system_call_fastpath+0x16/0x1b