[<prev] [next>] [day] [month] [year] [list]
Message-ID: <87ege6vzev.fsf@yhuang-dev.intel.com>
Date: Tue, 29 Dec 2015 09:03:52 +0800
From: kernel test robot <ying.huang@...ux.intel.com>
TO: Donald Buczek <buczek@...gen.mpg.de>
CC: 0day robot <fengguang.wu@...el.com>
Subject: [lkp] [nfs] 1a486a5117: BUG: sleeping function called from invalid
context at mm/slub.c:1287
FYI, we noticed the below changes on
https://github.com/0day-ci/linux Donald-Buczek/nfs-revalidate-inode-before-access-checks/20151229-034212
commit 1a486a5117431d2f95f72d14839e14cef3c55559 ("nfs: revalidate inode before access checks")
+------------------------------------------------------------------+----------+------------+
| | v4.4-rc7 | 1a486a5117 |
+------------------------------------------------------------------+----------+------------+
| boot_successes | 118 | 0 |
| boot_failures | 3 | 9 |
| invoked_oom-killer:gfp_mask=0x | 2 | |
| Mem-Info | 2 | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 2 | |
| backtrace:vfs_write | 2 | |
| backtrace:SyS_write | 2 | |
| backtrace:populate_rootfs | 2 | |
| backtrace:kernel_init_freeable | 2 | |
| BUG:kernel_test_oversize | 1 | |
| BUG:sleeping_function_called_from_invalid_context_at_mm/slub.c | 0 | 9 |
| BUG:scheduling_while_atomic | 0 | 9 |
| WARNING:at_kernel/softirq.c:#__local_bh_disable_ip() | 0 | 9 |
| WARNING:at_kernel/time/timer.c:#del_timer_sync() | 0 | 9 |
| Kernel_panic-not_syncing:Aiee,killing_interrupt_handler | 0 | 7 |
| backtrace:do_sys_open | 0 | 9 |
| backtrace:SyS_open | 0 | 9 |
| backtrace:vfs_stat | 0 | 9 |
| backtrace:SyS_newstat | 0 | 9 |
| backtrace:vfs_lstat | 0 | 9 |
| backtrace:SyS_newlstat | 0 | 9 |
+------------------------------------------------------------------+----------+------------+
[ 9.128702] systemd-journald[1418]: Vacuuming done, freed 0 bytes
LKP: HOSTNAME vm-lkp-wsx03-4G-6, MAC 52:54:00:12:34:56, kernel 4.4.0-rc7-00001-g1a486a5 1, serial console /dev/ttyS0
[ 15.759910] BUG: sleeping function called from invalid context at mm/slub.c:1287
[ 15.761348] in_atomic(): 1, irqs_disabled(): 0, pid: 2272, name: wrapper
[ 15.762391] CPU: 0 PID: 2272 Comm: wrapper Not tainted 4.4.0-rc7-00001-g1a486a5 #1
[ 15.764659] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 15.767105] 0000000000000000 ffff88007f5bbb60 ffffffff814be85c ffffffff81ed1a5a
[ 15.769660] ffff88007f5bbb70 ffffffff8111b3c4 ffff88007f5bbb98 ffffffff8111b465
[ 15.772230] 0000000002400040 ffff88013b001700 0000000002400040 ffff88007f5bbbe0
[ 15.774759] Call Trace:
[ 15.775813] [<ffffffff814be85c>] dump_stack+0x4b/0x63
[ 15.777195] [<ffffffff8111b3c4>] ___might_sleep+0x133/0x135
[ 15.778628] [<ffffffff8111b465>] __might_sleep+0x9f/0xa6
[ 15.780056] [<ffffffff81204a71>] kmem_cache_alloc_trace+0x4b/0x1b3
[ 15.781600] [<ffffffff8131f184>] ? nfs_alloc_fattr+0x20/0x37
[ 15.783062] [<ffffffff8131f184>] nfs_alloc_fattr+0x20/0x37
[ 15.784489] [<ffffffff813204db>] __nfs_revalidate_inode+0x59/0x171
[ 15.785981] [<ffffffff813208fb>] nfs_revalidate_inode+0x47/0x4b
[ 15.787497] [<ffffffff8131c4d3>] nfs_permission+0x3d/0x155
[ 15.788920] [<ffffffff812252c8>] __inode_permission+0x3b/0x9b
[ 15.790353] [<ffffffff81225368>] inode_permission+0x40/0x42
[ 15.791847] [<ffffffff8122719e>] link_path_walk+0x48/0x46e
[ 15.793237] [<ffffffff8122591c>] ? path_init+0x11b/0x2e8
[ 15.794605] [<ffffffff81227b48>] path_openat+0x1db/0xcbb
[ 15.796030] [<ffffffff811eb71b>] ? page_add_file_rmap+0x47/0x4c
[ 15.797533] [<ffffffff811b7e92>] ? unlock_page+0x23/0x26
[ 15.798898] [<ffffffff811b82bf>] ? filemap_map_pages+0x17a/0x1f2
[ 15.800398] [<ffffffff81229615>] do_filp_open+0x4d/0xa3
[ 15.801776] [<ffffffff812048c5>] ? kmem_cache_alloc+0x49/0x1aa
[ 15.803236] [<ffffffff81228b20>] ? getname_flags+0x2d/0x160
[ 15.804661] [<ffffffff8121bb3c>] do_sys_open+0x14b/0x1da
[ 15.806020] [<ffffffff8121bb3c>] ? do_sys_open+0x14b/0x1da
[ 15.807431] [<ffffffff8121bbe9>] SyS_open+0x1e/0x20
[ 15.808779] [<ffffffff81a51032>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 15.810425] BUG: scheduling while atomic: wrapper/2272/0x00000002
[ 15.812593] Modules linked in: acpi_cpufreq processor
[ 15.814197] CPU: 0 PID: 2272 Comm: wrapper Not tainted 4.4.0-rc7-00001-g1a486a5 #1
[ 15.816465] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 15.818869] 0000000000000000 ffff88007f5bb860 ffffffff814be85c ffff880133970c00
[ 15.821456] ffff88007f5bb878 ffffffff8111adb6 ffff88013fc15680 ffff88007f5bb8c8
[ 15.824026] ffffffff81a4d1c9 00ff88007f5bb8d0 ffffffff8114f6fc ffff880133970c00
[ 15.826553] Call Trace:
[ 15.827565] [<ffffffff814be85c>] dump_stack+0x4b/0x63
[ 15.828913] [<ffffffff8111adb6>] __schedule_bug+0x5c/0x6b
[ 15.830288] [<ffffffff81a4d1c9>] __schedule+0x6e/0x8bf
[ 15.831685] [<ffffffff8114f6fc>] ? mod_timer+0x12f/0x17c
[ 15.833095] [<ffffffff819dc148>] ? __rpc_wait_for_completion_task+0x2f/0x2f
[ 15.834703] [<ffffffff81a4da96>] schedule+0x7c/0x91
[ 15.836037] [<ffffffff819dc169>] rpc_wait_bit_killable+0x21/0xb3
[ 15.839547] [<ffffffff81a4de17>] __wait_on_bit+0x4e/0x80
[ 15.840938] [<ffffffff819d3267>] ? call_decode+0x334/0x334
[ 15.842333] [<ffffffff819d3267>] ? call_decode+0x334/0x334
[ 15.843797] [<ffffffff81a4deba>] out_of_line_wait_on_bit+0x71/0x7c
[ 15.845305] [<ffffffff819dc148>] ? __rpc_wait_for_completion_task+0x2f/0x2f
[ 15.846930] [<ffffffff81130663>] ? autoremove_wake_function+0x34/0x34
[ 15.848517] [<ffffffff819dcda7>] __rpc_execute+0xfb/0x2d6
[ 15.849894] [<ffffffff819dd1f1>] rpc_execute+0x66/0xa0
[ 15.851281] [<ffffffff819d4478>] rpc_run_task+0x78/0x80
[ 15.852689] [<ffffffff813332a6>] nfs4_call_sync_sequence+0x55/0x76
[ 15.854196] [<ffffffff8133918b>] nfs4_call_sync+0x2d/0x2f
[ 15.855653] [<ffffffff8133b657>] _nfs4_proc_getattr+0xb3/0xc5
[ 15.857185] [<ffffffff8133b6a9>] nfs4_proc_getattr+0x40/0xab
[ 15.858637] [<ffffffff8133b6a9>] ? nfs4_proc_getattr+0x40/0xab
[ 15.860126] [<ffffffff81320525>] __nfs_revalidate_inode+0xa3/0x171
[ 15.861632] [<ffffffff813208fb>] nfs_revalidate_inode+0x47/0x4b
[ 15.863122] [<ffffffff8131c4d3>] nfs_permission+0x3d/0x155
[ 15.864544] [<ffffffff812252c8>] __inode_permission+0x3b/0x9b
[ 15.865967] [<ffffffff81225368>] inode_permission+0x40/0x42
[ 15.867400] [<ffffffff8122719e>] link_path_walk+0x48/0x46e
[ 15.868836] [<ffffffff8122591c>] ? path_init+0x11b/0x2e8
[ 15.870218] [<ffffffff81227b48>] path_openat+0x1db/0xcbb
[ 15.871653] [<ffffffff811eb71b>] ? page_add_file_rmap+0x47/0x4c
[ 15.873119] [<ffffffff811b7e92>] ? unlock_page+0x23/0x26
[ 15.874504] [<ffffffff811b82bf>] ? filemap_map_pages+0x17a/0x1f2
[ 15.876004] [<ffffffff81229615>] do_filp_open+0x4d/0xa3
[ 15.877377] [<ffffffff812048c5>] ? kmem_cache_alloc+0x49/0x1aa
[ 15.878866] [<ffffffff81228b20>] ? getname_flags+0x2d/0x160
[ 15.880319] [<ffffffff8121bb3c>] do_sys_open+0x14b/0x1da
[ 15.881718] [<ffffffff8121bb3c>] ? do_sys_open+0x14b/0x1da
[ 15.883144] [<ffffffff8121bbe9>] SyS_open+0x1e/0x20
[ 15.884473] [<ffffffff81a51032>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 15.886209] BUG: scheduling while atomic: wrapper/2272/0x00000000
[ 15.887789] Modules linked in: acpi_cpufreq processor
[ 15.889401] CPU: 1 PID: 2272 Comm: wrapper Tainted: G W 4.4.0-rc7-00001-g1a486a5 #1
[ 15.891845] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 15.894243] 0000000000000000 ffff88007f5bb938 ffffffff814be85c ffff880133970c00
[ 15.896830] ffff88007f5bb950 ffffffff8111adb6 ffff88013fd15680 ffff88007f5bb9a0
[ 15.899415] ffffffff81a4d1c9 00ff88013fd152c0 ffff88013fd152d8 ffff880133970c00
[ 15.901965] Call Trace:
[ 15.902958] [<ffffffff814be85c>] dump_stack+0x4b/0x63
[ 15.904309] [<ffffffff8111adb6>] __schedule_bug+0x5c/0x6b
[ 15.905718] [<ffffffff81a4d1c9>] __schedule+0x6e/0x8bf
[ 15.907124] [<ffffffff819dc148>] ? __rpc_wait_for_completion_task+0x2f/0x2f
[ 15.908772] [<ffffffff81a4da96>] schedule+0x7c/0x91
[ 15.910088] [<ffffffff819dc169>] rpc_wait_bit_killable+0x21/0xb3
[ 15.911605] [<ffffffff81a4de17>] __wait_on_bit+0x4e/0x80
[ 15.912998] [<ffffffff81a4deba>] out_of_line_wait_on_bit+0x71/0x7c
[ 15.914508] [<ffffffff819dc148>] ? __rpc_wait_for_completion_task+0x2f/0x2f
[ 15.916153] [<ffffffff81130663>] ? autoremove_wake_function+0x34/0x34
[ 15.917718] [<ffffffff819dc146>] __rpc_wait_for_completion_task+0x2d/0x2f
[ 15.919343] [<ffffffff813337dd>] nfs4_wait_for_completion_rpc_task+0x10/0x12
[ 15.920990] [<ffffffff81333912>] nfs4_run_open_task+0x133/0x163
[ 15.922466] [<ffffffff8133b782>] _nfs4_open_and_get_state+0x6e/0x313
[ 15.924023] [<ffffffff8131e7ab>] ? nfs_fattr_init+0x26/0x46
[ 15.925453] [<ffffffff8133851f>] ? nfs4_opendata_alloc+0x2b4/0x2e2
[ 15.927091] [<ffffffff8133c673>] nfs4_do_open+0x177/0x3d4
[ 15.928684] [<ffffffff8133c955>] nfs4_atomic_open+0xe/0x20
[ 15.930093] [<ffffffff8131cb01>] nfs_atomic_open+0x14c/0x315
[ 15.931572] [<ffffffff81227e4f>] path_openat+0x4e2/0xcbb
[ 15.932968] [<ffffffff811b7e92>] ? unlock_page+0x23/0x26
[ 15.934353] [<ffffffff811b82bf>] ? filemap_map_pages+0x17a/0x1f2
[ 15.935882] [<ffffffff81229615>] do_filp_open+0x4d/0xa3
[ 15.937263] [<ffffffff812048c5>] ? kmem_cache_alloc+0x49/0x1aa
[ 15.938746] [<ffffffff81228b20>] ? getname_flags+0x2d/0x160
[ 15.940210] [<ffffffff8121bb3c>] do_sys_open+0x14b/0x1da
[ 15.941612] [<ffffffff8121bb3c>] ? do_sys_open+0x14b/0x1da
[ 15.943052] [<ffffffff8121bbe9>] SyS_open+0x1e/0x20
[ 15.944381] [<ffffffff81a51032>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 15.961556] BUG: scheduling while atomic: wrapper/2296/0x00000002
[ 15.963372] Modules linked in: acpi_cpufreq processor
[ 15.964996] CPU: 0 PID: 2296 Comm: wrapper Tainted: G W 4.4.0-rc7-00001-g1a486a5 #1
[ 15.967395] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 15.969832] 0000000000000000 ffff88013387f860 ffffffff814be85c ffff88013a511800
[ 15.972400] ffff88013387f878 ffffffff8111adb6 ffff88013fc15680 ffff88013387f8c8
[ 15.974968] ffffffff81a4d1c9 00ff88013387f8d0 ffffffff8114f6fc ffff88013a511800
[ 15.977520] Call Trace:
[ 15.978486] [<ffffffff814be85c>] dump_stack+0x4b/0x63
[ 15.979858] [<ffffffff8111adb6>] __schedule_bug+0x5c/0x6b
[ 15.981251] [<ffffffff81a4d1c9>] __schedule+0x6e/0x8bf
[ 15.982609] [<ffffffff8114f6fc>] ? mod_timer+0x12f/0x17c
[ 15.984013] [<ffffffff819dc148>] ? __rpc_wait_for_completion_task+0x2f/0x2f
[ 15.985627] [<ffffffff81a4da96>] schedule+0x7c/0x91
[ 15.986960] [<ffffffff819dc169>] rpc_wait_bit_killable+0x21/0xb3
[ 15.988446] [<ffffffff81a4de17>] __wait_on_bit+0x4e/0x80
[ 15.989817] [<ffffffff819d3267>] ? call_decode+0x334/0x334
[ 15.991250] [<ffffffff819d3267>] ? call_decode+0x334/0x334
[ 15.992659] [<ffffffff81a4deba>] out_of_line_wait_on_bit+0x71/0x7c
[ 15.994152] [<ffffffff819dc148>] ? __rpc_wait_for_completion_task+0x2f/0x2f
[ 15.995811] [<ffffffff81130663>] ? autoremove_wake_function+0x34/0x34
[ 15.997344] [<ffffffff819dcda7>] __rpc_execute+0xfb/0x2d6
[ 15.998752] [<ffffffff819dd1f1>] rpc_execute+0x66/0xa0
[ 16.000351] [<ffffffff819d4478>] rpc_run_task+0x78/0x80
[ 16.001720] [<ffffffff813332a6>] nfs4_call_sync_sequence+0x55/0x76
[ 16.003235] [<ffffffff8133918b>] nfs4_call_sync+0x2d/0x2f
[ 16.004640] [<ffffffff8133b657>] _nfs4_proc_getattr+0xb3/0xc5
[ 16.006076] [<ffffffff8133b6a9>] nfs4_proc_getattr+0x40/0xab
[ 16.007544] [<ffffffff8133b6a9>] ? nfs4_proc_getattr+0x40/0xab
[ 16.008993] [<ffffffff81320525>] __nfs_revalidate_inode+0xa3/0x171
[ 16.010493] [<ffffffff813208fb>] nfs_revalidate_inode+0x47/0x4b
[ 16.011983] [<ffffffff8131c4d3>] nfs_permission+0x3d/0x155
[ 16.013393] [<ffffffff812252c8>] __inode_permission+0x3b/0x9b
[ 16.014843] [<ffffffff81225368>] inode_permission+0x40/0x42
[ 16.016296] [<ffffffff8122719e>] link_path_walk+0x48/0x46e
[ 16.017725] [<ffffffff8122591c>] ? path_init+0x11b/0x2e8
[ 16.019143] [<ffffffff81227b48>] path_openat+0x1db/0xcbb
[ 16.020539] [<ffffffff811eb71b>] ? page_add_file_rmap+0x47/0x4c
[ 16.022007] [<ffffffff811b7e92>] ? unlock_page+0x23/0x26
[ 16.023417] [<ffffffff811b82bf>] ? filemap_map_pages+0x17a/0x1f2
[ 16.024899] [<ffffffff81229615>] do_filp_open+0x4d/0xa3
[ 16.026258] [<ffffffff812048c5>] ? kmem_cache_alloc+0x49/0x1aa
[ 16.027764] [<ffffffff81228b20>] ? getname_flags+0x2d/0x160
[ 16.029178] [<ffffffff8121bb3c>] do_sys_open+0x14b/0x1da
[ 16.030562] [<ffffffff8121bb3c>] ? do_sys_open+0x14b/0x1da
[ 16.031992] [<ffffffff8121bbe9>] SyS_open+0x1e/0x20
[ 16.047321] [<ffffffff81a51032>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 16.048898] BUG: scheduling while atomic: wrapper/2296/0x00000000
[ 16.050357] Modules linked in: acpi_cpufreq processor
[ 16.052001] CPU: 0 PID: 2296 Comm: wrapper Tainted: G W 4.4.0-rc7-00001-g1a486a5 #1
[ 16.054431] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 16.056992] 0000000000000000 ffff88013387f938 ffffffff814be85c ffff88013a511800
[ 16.059580] ffff88013387f950 ffffffff8111adb6 ffff88013fc15680 ffff88013387f9a0
[ 16.062115] ffffffff81a4d1c9 00ff88013fc152c0 ffff88013fc152d8 ffff88013a511800
[ 16.064764] Call Trace:
[ 16.065723] [<ffffffff814be85c>] dump_stack+0x4b/0x63
[ 16.067190] [<ffffffff8111adb6>] __schedule_bug+0x5c/0x6b
[ 16.068608] [<ffffffff81a4d1c9>] __schedule+0x6e/0x8bf
[ 16.069950] [<ffffffff819dc148>] ? __rpc_wait_for_completion_task+0x2f/0x2f
[ 16.071657] [<ffffffff81a4da96>] schedule+0x7c/0x91
[ 16.072975] [<ffffffff819dc169>] rpc_wait_bit_killable+0x21/0xb3
[ 16.074447] [<ffffffff81a4de17>] __wait_on_bit+0x4e/0x80
[ 16.075889] [<ffffffff81a4deba>] out_of_line_wait_on_bit+0x71/0x7c
[ 16.077528] [<ffffffff819dc148>] ? __rpc_wait_for_completion_task+0x2f/0x2f
[ 16.079162] [<ffffffff81130663>] ? autoremove_wake_function+0x34/0x34
[ 16.080808] [<ffffffff819dc146>] __rpc_wait_for_completion_task+0x2d/0x2f
[ 16.082400] [<ffffffff813337dd>] nfs4_wait_for_completion_rpc_task+0x10/0x12
[ 16.084110] [<ffffffff81333912>] nfs4_run_open_task+0x133/0x163
[ 16.085588] [<ffffffff8133b782>] _nfs4_open_and_get_state+0x6e/0x313
[ 16.087143] [<ffffffff8131e7ab>] ? nfs_fattr_init+0x26/0x46
[ 16.088746] [<ffffffff8133851f>] ? nfs4_opendata_alloc+0x2b4/0x2e2
[ 16.090339] [<ffffffff8133c673>] nfs4_do_open+0x177/0x3d4
[ 16.092021] [<ffffffff8133c955>] nfs4_atomic_open+0xe/0x20
[ 16.093562] [<ffffffff8131cb01>] nfs_atomic_open+0x14c/0x315
[ 16.095011] [<ffffffff81227e4f>] path_openat+0x4e2/0xcbb
[ 16.096401] [<ffffffff811b7e92>] ? unlock_page+0x23/0x26
[ 16.097812] [<ffffffff811b82bf>] ? filemap_map_pages+0x17a/0x1f2
[ 16.099315] [<ffffffff81229615>] do_filp_open+0x4d/0xa3
[ 16.100755] [<ffffffff812048c5>] ? kmem_cache_alloc+0x49/0x1aa
[ 16.102204] [<ffffffff81228b20>] ? getname_flags+0x2d/0x160
[ 16.103722] [<ffffffff8121bb3c>] do_sys_open+0x14b/0x1da
[ 16.105102] [<ffffffff8121bb3c>] ? do_sys_open+0x14b/0x1da
Thanks,
Kernel Test Robot
View attachment "config-4.4.0-rc7-00001-g1a486a5" of type "text/plain" (91036 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (17676 bytes)
Powered by blists - more mailing lists