[ 8.382923][ T170] ls (170) used greatest stack depth: 23840 bytes left [ 8.382945][ T170] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.382947][ T170] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 170, name: ls [ 8.382948][ T170] preempt_count: 2, expected: 0 [ 8.382949][ T170] RCU nest depth: 0, expected: 0 [ 8.382950][ T170] locks held by ls/170: 5, last CPU#2: [ 8.382952][ T170] #0: ffffffff9ce027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.382965][ T170] #1: ffffffff9cf99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.382970][ T170] #2: ffffffff9cf99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.382974][ T170] #3: ffffffff9ce89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.382977][ T170] #4: ffffffff9ce89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.382981][ T170] irq event stamp: 15752 [ 8.382982][ T170] hardirqs last enabled at (15751): [] __down_trylock_console_sem+0x86/0xa0 [ 8.382984][ T170] hardirqs last disabled at (15752): [] console_emit_next_record+0x3f8/0x4f0 [ 8.382986][ T170] softirqs last enabled at (15400): [] handle_softirqs+0x67c/0x900 [ 8.382989][ T170] softirqs last disabled at (15389): [] __irq_exit_rcu+0x145/0x1c0 [ 8.382991][ T170] Preemption disabled at: [ 8.382992][ T170] [<0000000000000000>] 0x0 [ 8.382998][ T170] CPU: 2 UID: 0 PID: 170 Comm: ls Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.383002][ T170] Tainted: [W]=WARN [ 8.383003][ T170] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.383005][ T170] Call Trace: [ 8.383006][ T170] [ 8.383008][ T170] dump_stack_lvl+0x6f/0xa0 [ 8.383014][ T170] __might_resched.cold+0x1fe/0x2c1 [ 8.383018][ T170] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.383022][ T170] ? __kmalloc_noprof+0xdb/0x760 [ 8.383026][ T170] __kmalloc_noprof+0x443/0x760 [ 8.383028][ T170] ? alloc_buf.isra.0+0x4b/0x260 [ 8.383034][ T170] ? do_raw_spin_unlock+0x59/0x250 [ 8.383036][ T170] alloc_buf.isra.0+0x4b/0x260 [ 8.383039][ T170] put_chars+0x1e1/0x2f0 [ 8.383042][ T170] ? __send_to_port+0x420/0x420 [ 8.383043][ T170] ? printk_get_next_message+0x2fe/0x7d0 [ 8.383046][ T170] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.383049][ T170] ? validate_chain+0x38b/0xc20 [ 8.383053][ T170] hvc_console_print+0x292/0x780 [ 8.383056][ T170] ? __lock_acquire+0x518/0xc20 [ 8.383057][ T170] ? __lock_acquire+0x518/0xc20 [ 8.383061][ T170] ? hvc_write+0x3a0/0x3a0 [ 8.383064][ T170] ? rcu_is_watching+0x16/0xd0 [ 8.383067][ T170] ? lock_acquire+0x13c/0x160 [ 8.383071][ T170] console_emit_next_record+0x252/0x4f0 [ 8.383074][ T170] ? devkmsg_read+0x4e0/0x4e0 [ 8.383078][ T170] ? rcu_is_watching+0x16/0xd0 [ 8.383080][ T170] ? lock_acquire+0x13c/0x160 [ 8.383084][ T170] console_flush_one_record+0x46f/0x710 [ 8.383088][ T170] ? console_emit_next_record+0x4f0/0x4f0 [ 8.383089][ T170] ? __lock_acquire+0x518/0xc20 [ 8.383094][ T170] console_unlock+0xee/0x1f0 [ 8.383096][ T170] ? console_flush_one_record+0x710/0x710 [ 8.383098][ T170] ? rcu_is_watching+0x16/0xd0 [ 8.383100][ T170] ? lock_acquire+0x60/0x160 [ 8.383103][ T170] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.383104][ T170] ? vprintk_emit+0x320/0x3e0 [ 8.383107][ T170] vprintk_emit+0x37c/0x3e0 [ 8.383111][ T170] ? wake_up_klogd_work_func+0x90/0x90 [ 8.383114][ T170] ? __lock_acquire+0x518/0xc20 [ 8.383117][ T170] _printk+0xc7/0x100 [ 8.383121][ T170] ? snapshot_read.cold+0x21/0x21 [ 8.383123][ T170] ? do_raw_spin_lock+0x131/0x280 [ 8.383126][ T170] ? __rwlock_init+0x150/0x150 [ 8.383129][ T170] ? do_raw_spin_lock+0x131/0x280 [ 8.383131][ T170] do_exit.cold+0x82/0x9c [ 8.383135][ T170] ? exit_notify+0x890/0x890 [ 8.383137][ T170] ? __lock_release.isra.0+0x69/0x1a0 [ 8.383139][ T170] ? rcu_is_watching+0x16/0xd0 [ 8.383143][ T170] do_group_exit+0xb8/0x370 [ 8.383146][ T170] __x64_sys_exit_group+0x3c/0x50 [ 8.383148][ T170] x64_sys_call+0x1567/0x1570 [ 8.383151][ T170] do_syscall_64+0xff/0x530 [ 8.383154][ T170] ? exc_page_fault+0xee/0x100 [ 8.383157][ T170] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.383159][ T170] RIP: 0033:0x7f1efdc901b8 [ 8.383162][ T170] Code: Unable to access opcode bytes at 0x7f1efdc9018e. [ 8.383163][ T170] RSP: 002b:00007ffff2cdcfe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.383165][ T170] RAX: ffffffffffffffda RBX: 00007f1efddc0f88 RCX: 00007f1efdc901b8 [ 8.383166][ T170] RDX: 00007f1efdaedb48 RSI: fffffffffffffec8 RDI: 0000000000000000 [ 8.383167][ T170] RBP: 00007ffff2cdd040 R08: 0000000000000000 R09: 0000000000001010 [ 8.383168][ T170] R10: 00007ffff2cdce40 R11: 0000000000000246 R12: 0000000000000002 [ 8.383169][ T170] R13: 0000000000000000 R14: 00007f1efddbf680 R15: 00007f1efddc0fa0 [ 8.383175][ T170] [ 8.603727][ T88] netdevsim netdevsim828 eni828np1: renamed from eth0