Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754445AbZDOPa7 (ORCPT ); Wed, 15 Apr 2009 11:30:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753872AbZDOPam (ORCPT ); Wed, 15 Apr 2009 11:30:42 -0400 Received: from gwu.lbox.cz ([62.245.111.132]:35334 "EHLO gwu.lbox.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753064AbZDOPak (ORCPT ); Wed, 15 Apr 2009 11:30:40 -0400 X-Greylist: delayed 1950 seconds by postgrey-1.27 at vger.kernel.org; Wed, 15 Apr 2009 11:30:40 EDT Date: Wed, 15 Apr 2009 16:58:41 +0200 From: Nikola Ciprich To: linux-kernel@vger.kernel.org Cc: nikola.ciprich@linuxbox.cz Subject: 2.6.29.1: BUG: sleeping function called from invalid context at mm/slub.c:1599 Message-ID: <20090415145841.GA5106@nik-comp.linuxbox.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Antivirus: on proxybox by Kaspersky antivirus, engine 5.5.10, data 1851352 records(15-04-2009) X-Spam-Score: N/A (trusted relay) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5382 Lines: 97 Hi, I've recently installed 2.6.29.1 on one of my machines, and I'm observing following errors: [ 5593.311942] BUG: sleeping function called from invalid context at mm/slub.c:1599 [ 5593.311948] in_atomic(): 1, irqs_disabled(): 0, pid: 5430, name: nfsd [ 5593.311950] 4 locks held by nfsd/5430: [ 5593.311952] #0: (hash_sem){....}, at: [] exp_readlock+0x10/0x20 [nfsd] [ 5593.311971] #1: (&type->i_mutex_dir_key#6/1){....}, at: [] nfsd_create_v3+0x309/0x490 [nfsd] [ 5593.311987] #2: (&(&ip->i_lock)->mr_lock/1){....}, at: [] xfs_ilock+0x82/0xa0 [xfs] [ 5593.312022] #3: (&pag->pag_ici_lock){....}, at: [] xfs_iget+0x113/0x5f0 [xfs] [ 5593.312046] Pid: 5430, comm: nfsd Not tainted 2.6.29lb.00_01_PRE13 #1 [ 5593.312048] Call Trace: [ 5593.312056] [] ? __debug_show_held_locks+0x15/0x30 [ 5593.312061] [] __might_sleep+0x101/0x130 [ 5593.312065] [] kmem_cache_alloc+0x91/0xd0 [ 5593.312071] [] selinux_inode_alloc_security+0x40/0xa0 [ 5593.312075] [] security_inode_alloc+0x1c/0x20 [ 5593.312079] [] inode_init_always+0xcb/0x250 [ 5593.312099] [] xfs_iget+0x1c7/0x5f0 [xfs] [ 5593.312119] [] xfs_trans_iget+0xd5/0x100 [xfs] [ 5593.312138] [] xfs_ialloc+0xb6/0x680 [xfs] [ 5593.312157] [] xfs_dir_ialloc+0x7f/0x2e0 [xfs] [ 5593.312163] [] ? __down_write+0xb/0x10 [ 5593.312166] [] ? down_write_nested+0x50/0x60 [ 5593.312185] [] xfs_create+0x2a2/0x470 [xfs] [ 5593.312205] [] xfs_vn_mknod+0x14b/0x250 [xfs] [ 5593.312224] [] xfs_vn_create+0xb/0x10 [xfs] [ 5593.312228] [] vfs_create+0xeb/0x1a0 [ 5593.312239] [] nfsd_create_v3+0x1d9/0x490 [nfsd] [ 5593.312252] [] nfsd3_proc_create+0x118/0x1a0 [nfsd] [ 5593.312264] [] nfsd_dispatch+0xb5/0x230 [nfsd] [ 5593.312285] [] svc_process+0x45e/0x760 [sunrpc] [ 5593.312296] [] nfsd+0x18b/0x2c0 [nfsd] [ 5593.312307] [] ? nfsd+0x0/0x2c0 [nfsd] [ 5593.312311] [] kthread+0x4d/0x80 [ 5593.312315] [] child_rip+0xa/0x20 [ 5593.312318] [] ? kthread+0x0/0x80 [ 5593.312321] [] ? child_rip+0x0/0x20 [ 9054.612648] BUG: sleeping function called from invalid context at mm/slub.c:1599 [ 9054.612652] in_atomic(): 1, irqs_disabled(): 0, pid: 9411, name: smbd [ 9054.612655] 3 locks held by smbd/9411: [ 9054.612656] #0: (&type->i_mutex_dir_key#6){....}, at: [] do_filp_open+0x288/0x8c0 [ 9054.612668] #1: (&(&ip->i_lock)->mr_lock/1){....}, at: [] xfs_ilock+0x82/0xa0 [xfs] [ 9054.612697] #2: (&pag->pag_ici_lock){....}, at: [] xfs_iget+0x113/0x5f0 [xfs] [ 9054.612721] Pid: 9411, comm: smbd Not tainted 2.6.29lb.00_01_PRE13 #1 [ 9054.612723] Call Trace: [ 9054.612730] [] ? __debug_show_held_locks+0x15/0x30 [ 9054.612734] [] __might_sleep+0x101/0x130 [ 9054.612738] [] kmem_cache_alloc+0x91/0xd0 [ 9054.612743] [] selinux_inode_alloc_security+0x40/0xa0 [ 9054.612748] [] security_inode_alloc+0x1c/0x20 [ 9054.612752] [] inode_init_always+0xcb/0x250 [ 9054.612771] [] xfs_iget+0x1c7/0x5f0 [xfs] [ 9054.612791] [] xfs_trans_iget+0xd5/0x100 [xfs] [ 9054.612811] [] xfs_ialloc+0xb6/0x680 [xfs] [ 9054.612830] [] xfs_dir_ialloc+0x7f/0x2e0 [xfs] [ 9054.612835] [] ? __down_write+0xb/0x10 [ 9054.612839] [] ? down_write_nested+0x50/0x60 [ 9054.612858] [] xfs_create+0x2a2/0x470 [xfs] [ 9054.612884] [] xfs_vn_mknod+0x14b/0x250 [xfs] [ 9054.612902] [] xfs_vn_create+0xb/0x10 [xfs] [ 9054.612906] [] vfs_create+0xeb/0x1a0 [ 9054.612910] [] do_filp_open+0x7f1/0x8c0 [ 9054.612914] [] ? alloc_fd+0x10a/0x140 [ 9054.612918] [] do_sys_open+0x5e/0xf0 [ 9054.612921] [] sys_open+0x1b/0x20 [ 9054.612925] [] system_call_fastpath+0x16/0x1b With command being either nfsd, or smbd. It doesn't seem to cause any harm. According to git, this problem certainly hasn't been fixed yet. Could somebody please have a look on this? The system is dual-core core2 with 2GB RAM, running x86_64 centos 5.3 If more information or testing is needed, I'll gladly provide it. with best regards nik -- ------------------------------------- Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis@linuxbox.cz ------------------------------------- -- 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/