lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161025065239.GC3341@yexl-desktop>
Date:   Tue, 25 Oct 2016 14:52:39 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc:     Trond Myklebust <trond.myklebust@...marydata.com>,
        Anna Schumaker <anna.schumaker@...app.com>,
        linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
        tglx@...utronix.de,
        Sebastian Andrzej Siewior <bigeasy@...utronix.de>, lkp@...org
Subject: [lkp] [NFSv4]  931437ee2c: BUG: sleeping function called from
 invalid context at mm/slab.h:393


FYI, we noticed the following commit:

https://github.com/0day-ci/linux Sebastian-Andrzej-Siewior/NFSv4-replace-seqcount_t-with-a-seqlock_t/20161022-013104
commit 931437ee2c100a50c36771c947ce3674f8160592 ("NFSv4: replace seqcount_t with a seqlock_t")

in testcase: ebizzy
with following parameters:

	nr_threads: 200%
	iterations: 100x
	duration: 10s


ebizzy is designed to generate a workload resembling common web application server workloads.


on test machine: qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -m 1G

caused below changes:


+----------------------------------------------------------------------+------------+------------+
|                                                                      | 14155cafea | 931437ee2c |
+----------------------------------------------------------------------+------------+------------+
| boot_successes                                                       | 4          | 0          |
| boot_failures                                                        | 20         | 22         |
| invoked_oom-killer:gfp_mask=0x                                       | 2          | 2          |
| Mem-Info                                                             | 2          | 2          |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes     | 2          | 2          |
| BUG:kernel_reboot-without-warning_in_test_stage                      | 18         | 1          |
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup                            | 0          | 2          |
| calltrace:parport_pc_init                                            | 0          | 2          |
| calltrace:SyS_finit_module                                           | 0          | 2          |
| WARNING:at_lib/kobject.c:#kobject_add_internal                       | 0          | 2          |
| BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h       | 0          | 17         |
| calltrace:nfs4_run_state_manager                                     | 0          | 17         |
| BUG:scheduling_while_atomic                                          | 0          | 17         |
| BUG:sleeping_function_called_from_invalid_context_at_mm/mempool.c    | 0          | 17         |
| WARNING:at_kernel/time/timer.c:#del_timer_sync                       | 0          | 17         |
| BUG:sleeping_function_called_from_invalid_context_at_net/core/sock.c | 0          | 17         |
| Kernel_panic-not_syncing:Aiee,killing_interrupt_handler              | 0          | 1          |
+----------------------------------------------------------------------+------------+------------+



[   81.000854] 
[   81.126394] 2016-10-24 04:32:43 ./ebizzy -t 2 -S 10
[   81.195131] 
[   90.526940] BUG: sleeping function called from invalid context at mm/slab.h:393
[   90.565208] in_atomic(): 1, irqs_disabled(): 0, pid: 892, name: 192.168.1.1-man
[   90.591099] CPU: 0 PID: 892 Comm: 192.168.1.1-man Not tainted 4.9.0-rc1-00004-g931437e #1
[   90.618251] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   90.646609]  ffffc900007c7c50 ffffffff81465d39 ffff88003ce54900 0000000000000189
[   90.681028]  ffffc900007c7c68 ffffffff810a7bf3 ffffffff81ca1ad7 ffffc900007c7c90
[   90.731868]  ffffffff810a7c8a 0000000002408040 0000000002408040 ffff88002d001140
[   90.800830] Call Trace:
[   90.822833]  [<ffffffff81465d39>] dump_stack+0x63/0x8a
[   90.848179]  [<ffffffff810a7bf3>] ___might_sleep+0xd3/0x120
[   90.874357]  [<ffffffff810a7c8a>] __might_sleep+0x4a/0x80
[   90.890597]  [<ffffffff811ebbde>] kmem_cache_alloc_trace+0x15e/0x1b0
[   90.908456]  [<ffffffffa00fea19>] nfs4_opendata_alloc+0x69/0x4f0 [nfsv4]
[   90.926565]  [<ffffffffa00feecf>] nfs4_open_recoverdata_alloc+0x2f/0x60 [nfsv4]
[   90.953595]  [<ffffffffa00ff65b>] nfs4_open_expired+0xab/0x190 [nfsv4]
[   90.979588]  [<ffffffffa00ff76c>] nfs40_open_expired+0x2c/0x30 [nfsv4]
[   90.997767]  [<ffffffffa0112a67>] nfs4_do_reclaim+0x177/0x700 [nfsv4]
[   91.016039]  [<ffffffffa01130c4>] nfs4_state_manager+0xd4/0x820 [nfsv4]
[   91.034842]  [<ffffffffa0113810>] ? nfs4_state_manager+0x820/0x820 [nfsv4]
[   91.053886]  [<ffffffffa0113834>] nfs4_run_state_manager+0x24/0x40 [nfsv4]
[   91.072752]  [<ffffffff810a05f5>] kthread+0xd5/0xf0
[   91.087524]  [<ffffffff810a0520>] ? kthread_park+0x60/0x60
[   91.103832]  [<ffffffff81955205>] ret_from_fork+0x25/0x30
[   91.120094] BUG: scheduling while atomic: 192.168.1.1-man/892/0x00000002
[   91.138151] Modules linked in: sr_mod cdrom sg ppdev rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver ata_generic pata_acpi snd_pcm snd_timer snd soundcore pcspkr ata_piix serio_raw i2c_piix4 libata parport_pc parport floppy acpi_cpufreq ip_tables
[   91.231670] CPU: 0 PID: 892 Comm: 192.168.1.1-man Tainted: G        W       4.9.0-rc1-00004-g931437e #1
[   91.261226] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   91.288772]  ffffc900007c7b00 ffffffff81465d39 0000000000000000 ffff88002d419300
[   91.319323]  ffffc900007c7b10 ffffffff810a77b4 ffffc900007c7b68 ffffffff8194fc84
[   91.349108]  ffff88003ccfe940 00ff88002d418b00 ffff88002d419300 0000000000014118
[   91.388579] Call Trace:
[   91.409483]  [<ffffffff81465d39>] dump_stack+0x63/0x8a
[   91.434764]  [<ffffffff810a77b4>] __schedule_bug+0x54/0x70
[   91.450511]  [<ffffffff8194fc84>] __schedule+0x554/0x6f0
[   91.466616]  [<ffffffff819183d0>] ? __rpc_wait_for_completion_task+0x30/0x30
[   91.485829]  [<ffffffff8194fe5d>] schedule+0x3d/0x90
[   91.501617]  [<ffffffff819183f4>] rpc_wait_bit_killable+0x24/0xb0
[   91.529513]  [<ffffffff819502a8>] __wait_on_bit+0x58/0x90
[   91.555378]  [<ffffffff819183d0>] ? __rpc_wait_for_completion_task+0x30/0x30
[   91.574619]  [<ffffffff81950353>] out_of_line_wait_on_bit+0x73/0x80
[   91.607997]  [<ffffffff810c5f50>] ? wake_atomic_t_function+0x60/0x60
[   91.632334]  [<ffffffff819183cd>] __rpc_wait_for_completion_task+0x2d/0x30
[   91.651104]  [<ffffffffa00fc204>] nfs4_run_open_task+0x124/0x180 [nfsv4]
[   91.669799]  [<ffffffffa00fcf99>] nfs4_open_recover_helper+0x169/0x230 [nfsv4]
[   91.695951]  [<ffffffffa00fd0bd>] nfs4_open_recover+0x5d/0xf0 [nfsv4]
[   91.722422]  [<ffffffffa00feecf>] ? nfs4_open_recoverdata_alloc+0x2f/0x60 [nfsv4]
[   91.770448]  [<ffffffffa00ff674>] nfs4_open_expired+0xc4/0x190 [nfsv4]
[   91.795957]  [<ffffffffa00ff76c>] nfs40_open_expired+0x2c/0x30 [nfsv4]
[   91.814298]  [<ffffffffa0112a67>] nfs4_do_reclaim+0x177/0x700 [nfsv4]
[   91.846548]  [<ffffffffa01130c4>] nfs4_state_manager+0xd4/0x820 [nfsv4]
[   91.864852]  [<ffffffffa0113810>] ? nfs4_state_manager+0x820/0x820 [nfsv4]
[   91.883782]  [<ffffffffa0113834>] nfs4_run_state_manager+0x24/0x40 [nfsv4]
[   91.902511]  [<ffffffff810a05f5>] kthread+0xd5/0xf0
[   91.918131]  [<ffffffff810a0520>] ? kthread_park+0x60/0x60
[   91.934622]  [<ffffffff81955205>] ret_from_fork+0x25/0x30
[   92.049501] 695 records/s 348 346
[   92.105889] 
[   92.239333] real 11.00 s


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Xiaolong

View attachment "config-4.9.0-rc1-00004-g931437e" of type "text/plain" (153709 bytes)

View attachment "job-script" of type "text/plain" (6122 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (14228 bytes)

View attachment "job.yaml" of type "text/plain" (3780 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ