Description of problem: During boot of kernel-4.13.0-0.rc3.git4.1.fc27, dmesg catches BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:33 [ 928.948638] in_atomic(): 1, irqs_disabled(): 0, pid: 12603, name: test2 Version-Release number of selected component (if applicable): kernel-4.13.0-0.rc3.git4.1.fc27.x86_64 How reproducible: Only saw this on Intel host, didn't show on AMD Steps to Reproduce: 1. Boot 2. 3. Actual results: [ 928.670620] general protection fault: 0000 [#1] SMP [ 928.676070] Modules linked in: nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache sunrpc intel_rapl sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel intel_cstate intel_uncore intel_rapl_perf ipmi_ssif iTCO_wdt ipmi_si iTCO_vendor_support tpm_tis tpm_tis_core ipmi_devintf tpm i2c_i801 ipmi_msghandler shpchp lpc_ich ioatdma xfs libcrc32c mgag200 drm_kms_helper igb ttm ptp drm crc32c_intel pps_core dca i2c_algo_bit [ 928.727965] CPU: 1 PID: 12603 Comm: test2 Not tainted 4.13.0-0.rc3.git4.1.fc27.x86_64 #1 [ 928.736996] Hardware name: IBM -[791822X]-/00W2432, BIOS -[TDE112DUS-1.00]- 03/01/2012 [ 928.745930] task: ffff9eac8b470000 task.stack: ffffb683c0ddc000 [ 928.752543] RIP: 0010:__destroy_inode+0xa1/0x200 [ 928.757695] RSP: 0018:ffffb683c0ddfe30 EFLAGS: 00010246 [ 928.763528] RAX: 1d00000000000000 RBX: ffff9eac8d3fdb40 RCX: 00000000a92648b0 [ 928.771491] RDX: ffffffffaa2f2a5a RSI: 00000000e8fe27a8 RDI: 0000000000000296 [ 928.779454] RBP: ffffb683c0ddfe40 R08: 0000000000000001 R09: f6ab039f00000000 [ 928.787418] R10: ffffb683c0ddfdb8 R11: ffffffffaae7d6c0 R12: ffff9eaca4cfe858 [ 928.795381] R13: ffffffffc054d840 R14: ffff9eac8d3fdbc8 R15: ffffffffab175920 [ 928.803345] FS: 00007fbfa6d2d740(0000) GS:ffff9eacbaa00000(0000) knlGS:0000000000000000 [ 928.812376] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 928.818789] CR2: 00007ffd091f0080 CR3: 000000007780b000 CR4: 00000000000406e0 [ 928.826754] Call Trace: [ 928.829486] destroy_inode+0x25/0x60 [ 928.833479] evict+0x13e/0x1a0 [ 928.836891] iput+0x231/0x2f0 [ 928.840203] do_unlinkat+0x1ac/0x2f0 [ 928.844199] SyS_unlink+0x16/0x20 [ 928.847900] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 928.853053] RIP: 0033:0x7fbfa6625e77 [ 928.857042] RSP: 002b:00007ffd091e98d8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 [ 928.865484] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbfa6625e77 [ 928.873449] RDX: 0000000000000000 RSI: 0000000000401dbc RDI: 00007ffd091e9910 [ 928.881412] RBP: 00007ffd091ec9d0 R08: 0000000000000000 R09: 0000000000000000 [ 928.889374] R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffd091f0080 [ 928.897337] R13: 00007ffd091ec99c R14: 0000000000000000 R15: 0000000000000000 [ 928.905309] Code: 85 c0 5a 74 16 80 3d 39 c3 d0 00 00 75 0d e8 97 7e e4 ff 84 c0 0f 84 fa 00 00 00 49 8b 84 24 78 04 00 00 a8 03 0f 85 39 01 00 00 <65> 48 ff 08 e8 06 53 e4 ff 85 c0 74 16 80 3d 05 c3 d0 00 00 75 [ 928.926483] RIP: __destroy_inode+0xa1/0x200 RSP: ffffb683c0ddfe30 [ 928.933351] ---[ end trace 3c3132eed23dbd4c ]--- [ 928.938528] BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:33 [ 928.948638] in_atomic(): 1, irqs_disabled(): 0, pid: 12603, name: test2 [ 928.956029] INFO: lockdep is turned off. [ 928.960416] CPU: 1 PID: 12603 Comm: test2 Tainted: G D 4.13.0-0.rc3.git4.1.fc27.x86_64 #1 [ 928.970802] Hardware name: IBM -[791822X]-/00W2432, BIOS -[TDE112DUS-1.00]- 03/01/2012 [ 928.979735] Call Trace: [ 928.982467] dump_stack+0x8e/0xd6 [ 928.986171] ___might_sleep+0x164/0x250 [ 928.990453] __might_sleep+0x4a/0x80 [ 928.994435] exit_signals+0x33/0x240 [ 928.998417] do_exit+0xb4/0xd30 [ 929.001920] rewind_stack_do_exit+0x17/0x20 [ 929.006588] RIP: 0033:0x7fbfa6625e77 [ 929.010575] RSP: 002b:00007ffd091e98d8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 [ 929.019026] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbfa6625e77 [ 929.026988] RDX: 0000000000000000 RSI: 0000000000401dbc RDI: 00007ffd091e9910 [ 929.034953] RBP: 00007ffd091ec9d0 R08: 0000000000000000 R09: 0000000000000000 [ 929.042918] R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffd091f0080 [ 929.050891] R13: 00007ffd091ec99c R14: 0000000000000000 R15: 0000000000000000 [ 929.058889] note: test2[12603] exited with preempt_count 1 Expected results: No failure Additional info:
Doing some pruning, this bug looks to be several kernel versions old. Please test on a newer kernel and reopen if the problem still exists.