[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171029231027.s4m7hck5ebl463lc@wfg-t540p.sh.intel.com>
Date: Mon, 30 Oct 2017 00:10:27 +0100
From: Fengguang Wu <fengguang.wu@...el.com>
To: Joel Becker <joel.becker@...cle.com>,
Mark Fasheh <mfasheh@...sity.com>
Cc: Sunil Mushran <sunil.mushran@...cle.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [o2nm_depend_item] BUG: sleeping function called from invalid
context at kernel/locking/rwsem.c:52
CC OCFS2 maintainers for the BUG in v4.14-rc6.
On Sun, Oct 29, 2017 at 11:51:55PM +0100, Fengguang Wu wrote:
>Hi Linus,
>
>Up to now we see the below boot error/warnings when testing v4.14-rc6.
>
>They hit the RC release mainly due to various imperfections in 0day's
>auto bisection. So I manually list them here and CC the likely easy to
>debug ones to the corresponding maintainers in the followup emails.
>
>boot_successes: 4700
>boot_failures: 247
>
>BUG:kernel_hang_in_test_stage: 152
>BUG:kernel_reboot-without-warning_in_test_stage: 10
>BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/mutex.c: 1
>BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/rwsem.c: 3
There are 2 call paths that lead to this BUG:
[ 41.456285]
[ 41.559269] Output log is /home/ocfs2test/ocfs2log/2017-10-25_09:33/single_run.log
[ 41.559273]
[ 41.576824] mkfs.ocfs2 1.8.5
[ 41.576828]
[ 47.713421] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:52
[ 47.725763] in_atomic(): 1, irqs_disabled(): 0, pid: 4899, name: mkfs.ocfs2
[ 47.735004] CPU: 1 PID: 4899 Comm: mkfs.ocfs2 Not tainted 4.14.0-rc6 #1
[ 47.743854] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015
[ 47.756984] Call Trace:
[ 47.761141] dump_stack+0x63/0x86
[ 47.766255] ___might_sleep+0xf1/0x110
[ 47.771809] __might_sleep+0x4a/0x80
[ 47.777124] down_write+0x20/0x50
[ 47.782095] configfs_depend_item+0x3f/0xb0
[ 47.788051] o2nm_depend_item+0x18/0x20 [ocfs2_nodemanager]
[ 47.795578] o2hb_region_pin+0xbc/0x150 [ocfs2_nodemanager]
[ 47.803101] o2hb_register_callback+0x131/0x290 [ocfs2_nodemanager]
[ 47.811402] dlm_join_domain+0xbd/0x800 [ocfs2_dlm]
[ 47.818139] dlm_register_domain+0x2f8/0x3d0 [ocfs2_dlm]
[ 47.825365] o2cb_cluster_connect+0x171/0x285 [ocfs2_stack_o2cb]
[ 47.833393] ocfs2_cluster_connect+0x189/0x240 [ocfs2_stackglue]
[ 47.841970] ocfs2_cluster_connect_agnostic+0x3a/0x3c [ocfs2_stackglue]
[ 47.850664] ? 0xffffffffa006b000
[ 47.855664] user_dlm_register+0x2e/0xa0 [ocfs2_dlmfs]
[ 47.862708] dlmfs_mkdir+0x80/0x1a0 [ocfs2_dlmfs]
[ 47.869267] vfs_mkdir+0x10f/0x1b0
[ 47.874354] SyS_mkdir+0x6b/0xd0
[ 47.879218] entry_SYSCALL_64_fastpath+0x1a/0xa5
[ 47.885627] RIP: 0033:0x7ff3d38b4407
[ 47.890832] RSP: 002b:00007ffce4e1cef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
[ 47.900501] RAX: ffffffffffffffda RBX: 000055abe2b6b070 RCX: 00007ff3d38b4407
[ 47.909704] RDX: ffffffffffffff30 RSI: 00000000000001ed RDI: 000055abe2b6a02c
[ 47.918912] RBP: 000055abe0b20df2 R08: 000055abe2b65250 R09: 0000000000000026
[ 47.928126] R10: 0000000000000370 R11: 0000000000000246 R12: 000055abe2b65250
[ 47.937348] R13: 00007ffce4e1cf18 R14: 000055abe2b6a010 R15: 00007ffce4e1ee28
[ 47.947178] o2dlm: Joining domain D764E616AA0846C3B0DF3A81F7333E91
[ 47.947181] (
[ 47.955477] 1
[ 125.027591]
[ 125.034602] Test 46: bitmap_cpg change
[ 125.034604]
[ 125.578546] mkfs ..... OK
[ 125.578549]
[ 133.795387] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:52
[ 133.806708] in_atomic(): 1, irqs_disabled(): 0, pid: 6277, name: mount.ocfs2
[ 133.814884] CPU: 0 PID: 6277 Comm: mount.ocfs2 Not tainted 4.14.0-rc6 #1
[ 133.822645] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015
[ 133.834591] Call Trace:
[ 133.837612] dump_stack+0x63/0x86
[ 133.841601] ___might_sleep+0xf1/0x110
[ 133.846074] __might_sleep+0x4a/0x80
[ 133.850355] down_write+0x20/0x50
[ 133.854343] configfs_depend_item+0x3f/0xb0
[ 133.859309] o2nm_depend_item+0x18/0x20 [ocfs2_nodemanager]
[ 133.865825] o2hb_region_pin+0xbc/0x150 [ocfs2_nodemanager]
[ 133.872340] o2hb_register_callback+0x131/0x290 [ocfs2_nodemanager]
[ 133.879643] dlm_join_domain+0xbd/0x800 [ocfs2_dlm]
[ 133.885392] dlm_register_domain+0x2f8/0x3d0 [ocfs2_dlm]
[ 133.891635] o2cb_cluster_connect+0x171/0x285 [ocfs2_stack_o2cb]
[ 133.898663] ocfs2_cluster_connect+0x189/0x240 [ocfs2_stackglue]
[ 133.905740] ocfs2_dlm_init+0x325/0x560 [ocfs2]
[ 133.911132] ? ocfs2_init_node_maps+0x50/0x50 [ocfs2]
[ 133.917113] ocfs2_fill_super+0xbf9/0x1270 [ocfs2]
[ 133.922794] ? vsnprintf+0x230/0x4b0
[ 133.927114] mount_bdev+0x178/0x1b0
[ 133.931387] ? ocfs2_initialize_super+0xfe0/0xfe0 [ocfs2]
[ 133.938644] ocfs2_mount+0x15/0x20 [ocfs2]
[ 133.943560] mount_fs+0x38/0x140
[ 133.947508] vfs_kern_mount+0x67/0x140
[ 133.952038] do_mount+0x1e0/0xcd0
[ 133.956084] SyS_mount+0x83/0xd0
[ 133.960020] entry_SYSCALL_64_fastpath+0x1a/0xa5
[ 133.965524] RIP: 0033:0x7f2856b9020a
[ 133.969862] RSP: 002b:00007fff480062a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
[ 133.978678] RAX: ffffffffffffffda RBX: 00007fff48006180 RCX: 00007f2856b9020a
[ 133.987005] RDX: 0000561c83e796ae RSI: 0000561c8589a0b0 RDI: 0000561c8589a310
[ 133.995347] RBP: 00007fff480050a0 R08: 0000561c8589a2b0 R09: 0000000000000020
[ 134.003692] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004
[ 134.012042] R13: 00000000000000ff R14: 0000561c8589a130 R15: 00007fff48004fa0
[ 134.021494] o2dlm: Joining domain D764E616AA0846C3B0DF3A81F7333E91
[ 134.021496] (
[ 134.021497] 1
.config is attached.
Thanks,
Fengguang
View attachment "config-4.14.0-rc6" of type "text/plain" (163201 bytes)
Powered by blists - more mailing lists