============================= WARNING: suspicious RCU usage 4.17.0-rc2+ #21 Not tainted ----------------------------- include/linux/rcupdate.h:304 Illegal context switch in RCU read-side critical section! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by jbd2/sda1-8/2272: #0: (ptrval) (rcu_read_lock){....}, at: hctx_lock+0x7a/0x1d0 block/blk-mq.c:570 stack backtrace: CPU: 0 PID: 2272 Comm: jbd2/sda1-8 Not tainted 4.17.0-rc2+ #21 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b9/0x294 lib/dump_stack.c:113 lockdep_rcu_suspicious+0x14a/0x153 kernel/locking/lockdep.c:4592 rcu_preempt_sleep_check include/linux/rcupdate.h:303 [inline] ___might_sleep+0x26d/0x320 kernel/sched/core.c:6153 __might_sleep+0x95/0x190 kernel/sched/core.c:6141 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3378 [inline] __do_kmalloc mm/slab.c:3716 [inline] __kmalloc+0x2b9/0x760 mm/slab.c:3727 kmalloc_array include/linux/slab.h:631 [inline] kcalloc include/linux/slab.h:642 [inline] numa_crng_init drivers/char/random.c:798 [inline] crng_reseed+0x427/0x920 drivers/char/random.c:923 credit_entropy_bits+0x98d/0xa30 drivers/char/random.c:708 add_interrupt_randomness+0x494/0x860 drivers/char/random.c:1254 handle_irq_event_percpu+0xf9/0x1c0 kernel/irq/handle.c:191 handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206 handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791 generic_handle_irq_desc include/linux/irqdesc.h:159 [inline] handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77 do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:146 RSP: 0018:ffff8801cc53e5e8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffd9 RAX: 0000000000000000 RBX: ffff8801d21cb9c0 RCX: ffffffff83676782 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff8801cc53e618 R08: ffff8801cc530280 R09: ffffed003b5c46c2 R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 blk_mq_hctx_has_pending block/blk-mq.c:67 [inline] blk_mq_run_hw_queue+0x217/0x390 block/blk-mq.c:1435 blk_mq_sched_insert_requests+0x1b4/0x250 block/blk-mq-sched.c:478 blk_mq_flush_plug_list+0xa79/0x1120 block/blk-mq.c:1689 blk_flush_plug_list+0x1b3/0xb00 block/blk-core.c:3688 blk_finish_plug+0x58/0xa2 block/blk-core.c:3752 jbd2_journal_commit_transaction+0x45d0/0x8c18 fs/jbd2/commit.c:774 kjournald2+0x26c/0xb30 fs/jbd2/journal.c:229 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 BUG: sleeping function called from invalid context at mm/slab.h:421 in_atomic(): 1, irqs_disabled(): 1, pid: 2272, name: jbd2/sda1-8 1 lock held by jbd2/sda1-8/2272: #0: (ptrval) (rcu_read_lock){....}, at: hctx_lock+0x7a/0x1d0 block/blk-mq.c:570 irq event stamp: 48556 hardirqs last enabled at (48555): [] slab_alloc mm/slab.c:3385 [inline] hardirqs last enabled at (48555): [] kmem_cache_alloc+0x26f/0x760 mm/slab.c:3552 hardirqs last disabled at (48556): [] interrupt_entry+0xb5/0xf0 arch/x86/entry/entry_64.S:625 softirqs last enabled at (48502): [] __do_softirq+0x778/0xaf5 kernel/softirq.c:311 softirqs last disabled at (48493): [] invoke_softirq kernel/softirq.c:365 [inline] softirqs last disabled at (48493): [] irq_exit+0x1d1/0x200 kernel/softirq.c:405 CPU: 0 PID: 2272 Comm: jbd2/sda1-8 Not tainted 4.17.0-rc2+ #21 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b9/0x294 lib/dump_stack.c:113 ___might_sleep.cold.87+0x11f/0x13a kernel/sched/core.c:6188 __might_sleep+0x95/0x190 kernel/sched/core.c:6141 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3378 [inline] __do_kmalloc mm/slab.c:3716 [inline] __kmalloc+0x2b9/0x760 mm/slab.c:3727 kmalloc_array include/linux/slab.h:631 [inline] kcalloc include/linux/slab.h:642 [inline] numa_crng_init drivers/char/random.c:798 [inline] crng_reseed+0x427/0x920 drivers/char/random.c:923 credit_entropy_bits+0x98d/0xa30 drivers/char/random.c:708 add_interrupt_randomness+0x494/0x860 drivers/char/random.c:1254 handle_irq_event_percpu+0xf9/0x1c0 kernel/irq/handle.c:191 handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206 handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791 generic_handle_irq_desc include/linux/irqdesc.h:159 [inline] handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77 do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:146 RSP: 0018:ffff8801cc53e5e8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffd9 RAX: 0000000000000000 RBX: ffff8801d21cb9c0 RCX: ffffffff83676782 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff8801cc53e618 R08: ffff8801cc530280 R09: ffffed003b5c46c2 R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 blk_mq_hctx_has_pending block/blk-mq.c:67 [inline] blk_mq_run_hw_queue+0x217/0x390 block/blk-mq.c:1435 blk_mq_sched_insert_requests+0x1b4/0x250 block/blk-mq-sched.c:478 blk_mq_flush_plug_list+0xa79/0x1120 block/blk-mq.c:1689 blk_flush_plug_list+0x1b3/0xb00 block/blk-core.c:3688 blk_finish_plug+0x58/0xa2 block/blk-core.c:3752 jbd2_journal_commit_transaction+0x45d0/0x8c18 fs/jbd2/commit.c:774 kjournald2+0x26c/0xb30 fs/jbd2/journal.c:229 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 random: crng init done devpts: called with bogus options ceph: device name is missing path (no : separator in /) devpts: called with bogus options ceph: device name is missing path (no : separator in /) devpts: called with bogus options tmpfs: No value for mount option 'Sè¥p†Î3Å[Ì’äÝ‚¦ÿÀ5Ìí<äãíÖtÞݳö´Ñ•ÍN_USó×wÏüÌ?H.Ʋœ@‡ÎÇmŸ^ß–å/' devpts: called with bogus options tmpfs: No value for mount option 'Sè¥p†Î3Å[Ì’äÝ‚¦ÿÀ5Ìí<äãíÖtÞݳö´Ñ•ÍN_USó×wÏüÌ?H.Ʋœ@‡ÎÇmŸ^ß–å/' devpts: called with bogus options devpts: called with bogus options can: request_module (can-proto-0) failed. can: request_module (can-proto-0) failed. autofs4:pid:11055:autofs4_fill_super: called with bogus options autofs4:pid:11055:autofs4_fill_super: called with bogus options gfs2: gfs2 mount does not exist “‘hMþ=ôå=²¨: renamed from lo gfs2: gfs2 mount does not exist autofs4:pid:11184:autofs4_fill_super: called with bogus options autofs4:pid:11203:autofs4_fill_super: called with bogus options IPVS: ftp: loaded support on port[0] = 21