[ 8.880947][ T173] ls (173) used greatest stack depth: 23840 bytes left [ 8.881009][ T173] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.881012][ T173] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 173, name: ls [ 8.881014][ T173] preempt_count: 2, expected: 0 [ 8.881015][ T173] RCU nest depth: 0, expected: 0 [ 8.881016][ T173] locks held by ls/173: 5, last CPU#1: [ 8.881018][ T173] #0: ffffffffa1a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.881031][ T173] #1: ffffffffa1b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.881037][ T173] #2: ffffffffa1b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.881040][ T173] #3: ffffffffa1a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.881044][ T173] #4: ffffffffa1a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.881048][ T173] irq event stamp: 24058 [ 8.881048][ T173] hardirqs last enabled at (24057): [] __down_trylock_console_sem+0x86/0xa0 [ 8.881051][ T173] hardirqs last disabled at (24058): [] console_emit_next_record+0x3f8/0x4f0 [ 8.881053][ T173] softirqs last enabled at (23852): [] handle_softirqs+0x67c/0x900 [ 8.881055][ T173] softirqs last disabled at (23057): [] __irq_exit_rcu+0x145/0x1c0 [ 8.881058][ T173] Preemption disabled at: [ 8.881059][ T173] [<0000000000000000>] 0x0 [ 8.881066][ T173] CPU: 1 UID: 0 PID: 173 Comm: ls Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.881070][ T173] Tainted: [W]=WARN [ 8.881071][ T173] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.881072][ T173] Call Trace: [ 8.881075][ T173] [ 8.881077][ T173] dump_stack_lvl+0x6f/0xa0 [ 8.881083][ T173] __might_resched.cold+0x1fe/0x2c1 [ 8.881087][ T173] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.881091][ T173] ? __kmalloc_noprof+0xdb/0x760 [ 8.881096][ T173] __kmalloc_noprof+0x443/0x760 [ 8.881098][ T173] ? alloc_buf.isra.0+0x4b/0x260 [ 8.881103][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 8.881106][ T173] alloc_buf.isra.0+0x4b/0x260 [ 8.881109][ T173] put_chars+0x1e1/0x2f0 [ 8.881112][ T173] ? __send_to_port+0x420/0x420 [ 8.881113][ T173] ? printk_get_next_message+0x2fe/0x7d0 [ 8.881116][ T173] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.881119][ T173] ? validate_chain+0x38b/0xc20 [ 8.881123][ T173] hvc_console_print+0x292/0x780 [ 8.881126][ T173] ? __lock_acquire+0x518/0xc20 [ 8.881127][ T173] ? __lock_acquire+0x518/0xc20 [ 8.881131][ T173] ? hvc_write+0x3a0/0x3a0 [ 8.881134][ T173] ? rcu_is_watching+0x16/0xd0 [ 8.881138][ T173] ? lock_acquire+0x13c/0x160 [ 8.881141][ T173] console_emit_next_record+0x252/0x4f0 [ 8.881145][ T173] ? devkmsg_read+0x4e0/0x4e0 [ 8.881149][ T173] ? rcu_is_watching+0x16/0xd0 [ 8.881151][ T173] ? lock_acquire+0x13c/0x160 [ 8.881155][ T173] console_flush_one_record+0x46f/0x710 [ 8.881159][ T173] ? console_emit_next_record+0x4f0/0x4f0 [ 8.881160][ T173] ? __lock_acquire+0x518/0xc20 [ 8.881165][ T173] console_unlock+0xee/0x1f0 [ 8.881167][ T173] ? console_flush_one_record+0x710/0x710 [ 8.881169][ T173] ? rcu_is_watching+0x16/0xd0 [ 8.881171][ T173] ? lock_acquire+0x60/0x160 [ 8.881178][ T173] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.881180][ T173] ? vprintk_emit+0x320/0x3e0 [ 8.881183][ T173] vprintk_emit+0x37c/0x3e0 [ 8.881187][ T173] ? wake_up_klogd_work_func+0x90/0x90 [ 8.881190][ T173] ? __lock_acquire+0x518/0xc20 [ 8.881193][ T173] _printk+0xc7/0x100 [ 8.881197][ T173] ? snapshot_read.cold+0x21/0x21 [ 8.881200][ T173] ? do_raw_spin_lock+0x131/0x280 [ 8.881202][ T173] ? __rwlock_init+0x150/0x150 [ 8.881206][ T173] ? do_raw_spin_lock+0x131/0x280 [ 8.881208][ T173] do_exit.cold+0x82/0x9c [ 8.881211][ T173] ? exit_notify+0x890/0x890 [ 8.881213][ T173] ? __lock_release.isra.0+0x69/0x1a0 [ 8.881216][ T173] ? rcu_is_watching+0x16/0xd0 [ 8.881219][ T173] do_group_exit+0xb8/0x370 [ 8.881223][ T173] __x64_sys_exit_group+0x3c/0x50 [ 8.881225][ T173] x64_sys_call+0x1567/0x1570 [ 8.881228][ T173] do_syscall_64+0xff/0x530 [ 8.881231][ T173] ? exc_page_fault+0xee/0x100 [ 8.881234][ T173] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.881237][ T173] RIP: 0033:0x7fc8212e31b8 [ 8.881239][ T173] Code: Unable to access opcode bytes at 0x7fc8212e318e. [ 8.881240][ T173] RSP: 002b:00007fffa59619e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.881243][ T173] RAX: ffffffffffffffda RBX: 00007fc821413f88 RCX: 00007fc8212e31b8 [ 8.881244][ T173] RDX: 00007fc821140b48 RSI: fffffffffffffec8 RDI: 0000000000000000 [ 8.881245][ T173] RBP: 00007fffa5961a40 R08: 0000000000000000 R09: 0000000000001010 [ 8.881246][ T173] R10: 00007fffa5961840 R11: 0000000000000246 R12: 0000000000000002 [ 8.881247][ T173] R13: 0000000000000000 R14: 00007fc821412680 R15: 00007fc821413fa0 [ 8.881254][ T173] [ 9.161468][ T86] netdevsim netdevsim259 eni259np1: renamed from eth0