Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932987Ab0LTT0N (ORCPT ); Mon, 20 Dec 2010 14:26:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:2173 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932682Ab0LTT0M (ORCPT ); Mon, 20 Dec 2010 14:26:12 -0500 Subject: VFS scalability + cgroups == panic From: Eric Paris To: npiggin@kernel.dk Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Date: Mon, 20 Dec 2010 14:26:03 -0500 Message-ID: <1292873163.26771.15.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3585 Lines: 59 [ 46.337486] systemd[1]: readahead-collect.service: main process exited, code=exited, status=1 [ 46.339544] BUG: unable to handle kernel NULL pointer dereference at (null) [ 46.340232] IP: [< (null)>] (null) [ 46.340232] PGD 3a885067 PUD 3b2ad067 PMD 0 [ 46.340232] Oops: 0010 [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 46.340232] last sysfs file: /sys/module/ipv6/parameters/disable [ 46.340232] CPU 1 [ 46.340232] Modules linked in: ipv6 autofs4 ext4 jbd2 crc16 usbhid [ 46.340232] [ 46.340232] Pid: 1, comm: systemd Tainted: G W 2.6.37-rc6-kernel1-next-20101220+ #149 /KVM [ 46.340232] RIP: 0010:[<0000000000000000>] [< (null)>] (null) [ 46.340232] RSP: 0018:ffff88003de09d40 EFLAGS: 00010206 [ 46.340232] RAX: ffffffff81612080 RBX: ffff88003d8fdd20 RCX: 0000000000000000 [ 46.340232] RDX: ffffffff8154d737 RSI: ffff88003d8fdd98 RDI: ffff88003d8fdd20 [ 46.340232] RBP: ffff88003de09d78 R08: 0000000000000000 R09: 0000000000000000 [ 46.340232] R10: 0000000000000001 R11: 0000000000000001 R12: ffff88003d8fdd80 [ 46.340232] R13: ffff88003d8fd300 R14: ffff88003d8fd388 R15: ffff88003d8fddf8 [ 46.340232] FS: 00007f53e84b87c0(0000) GS:ffff88003e200000(0000) knlGS:0000000000000000 [ 46.340232] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.340232] CR2: 0000000000000000 CR3: 000000003b21f000 CR4: 00000000000006e0 [ 46.340232] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 46.340232] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 46.340232] Process systemd (pid: 1, threadinfo ffff88003de08000, task ffff88003de00000) [ 46.340232] Stack: [ 46.340232] ffffffff81146570 ffff88003de09d78 ffff88003d8fdd20 ffff88003d8fd2a0 [ 46.340232] ffff88003d8fd300 ffff88003d8fd388 ffff88003d8fddf8 ffff88003de09dc8 [ 46.340232] ffffffff810ad273 ffff88003de09da8 ffff88003d8fdd80 ffff88003ac0b7c8 [ 46.340232] Call Trace: [ 46.340232] [] ? dput+0xd0/0x220 [ 46.340232] [] cgroup_clear_directory+0x93/0x130 [ 46.340232] [] cgroup_rmdir+0x3b6/0x550 [ 46.340232] [] ? autoremove_wake_function+0x0/0x40 [ 46.340232] [] vfs_rmdir+0xa4/0xe0 [ 46.340232] [] ? mnt_want_write+0x4d/0x90 [ 46.340232] [] do_rmdir+0x10b/0x120 [ 46.340232] [] ? lockdep_sys_exit+0x28/0x80 [ 46.340232] [] ? trace_hardirqs_on_thunk+0x3a/0x3f [ 46.340232] [] sys_rmdir+0x11/0x20 [ 46.340232] [] system_call_fastpath+0x16/0x1b This is a linux-next kernel. I'm running systemd which actually makes use of cgroups and the system panics pretty early in the boot process. I decided to bisect this down and found that BAD=d99d659c52cbca98 and GOOD=741fbe01b622eda8c75044 which says it is the VFS scalability patches causing the problems. I would try to bisect even further but the patch set is not bisect safe. I find that at least commits 065d2abddcc69a225 and 11beda425c8f2c529d02 won't build due to the use of dget_locked_dlock() being undefined (both OCFS2 and CONFIGFS) I'm still trying to bisect around the brokenness, but hopefully you already know or can point out the problem? -Eric -- 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/