[ 8.865731][ T169] netconsole: network logging started [ 8.865747][ T169] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.865749][ T169] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 169, name: modprobe [ 8.865751][ T169] preempt_count: 1, expected: 0 [ 8.865752][ T169] RCU nest depth: 0, expected: 0 [ 8.865753][ T169] locks held by modprobe/169: 4, last CPU#0: [ 8.865755][ T169] #0: ffffffff85199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.865767][ T169] #1: ffffffff85199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.865771][ T169] #2: ffffffff85089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.865774][ T169] #3: ffffffff85089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.865778][ T169] irq event stamp: 26946 [ 8.865779][ T169] hardirqs last enabled at (26945): [] __down_trylock_console_sem+0x86/0xa0 [ 8.865781][ T169] hardirqs last disabled at (26946): [] console_emit_next_record+0x3f8/0x4f0 [ 8.865783][ T169] softirqs last enabled at (25116): [] handle_softirqs+0x67c/0x900 [ 8.865786][ T169] softirqs last disabled at (24585): [] __irq_exit_rcu+0x145/0x1c0 [ 8.865789][ T169] Preemption disabled at: [ 8.865790][ T169] [] vprintk_emit+0x31b/0x3e0 [ 8.865795][ T169] CPU: 0 UID: 0 PID: 169 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.865799][ T169] Tainted: [W]=WARN [ 8.865800][ T169] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.865801][ T169] Call Trace: [ 8.865803][ T169] [ 8.865804][ T169] dump_stack_lvl+0x6f/0xa0 [ 8.865809][ T169] ? vprintk_emit+0x31b/0x3e0 [ 8.865811][ T169] __might_resched.cold+0x1fe/0x2c1 [ 8.865816][ T169] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.865819][ T169] ? __kmalloc_noprof+0xdb/0x760 [ 8.865824][ T169] __kmalloc_noprof+0x443/0x760 [ 8.865826][ T169] ? alloc_buf.isra.0+0x4b/0x260 [ 8.865832][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 8.865834][ T169] alloc_buf.isra.0+0x4b/0x260 [ 8.865837][ T169] put_chars+0x1e1/0x2f0 [ 8.865840][ T169] ? __send_to_port+0x420/0x420 [ 8.865843][ T169] ? validate_chain+0x38b/0xc20 [ 8.865848][ T169] hvc_console_print+0x292/0x780 [ 8.865855][ T169] ? hvc_write+0x3a0/0x3a0 [ 8.865857][ T169] ? rcu_is_watching+0x16/0xd0 [ 8.865860][ T169] ? lock_acquire+0x13c/0x160 [ 8.865864][ T169] console_emit_next_record+0x252/0x4f0 [ 8.865868][ T169] ? devkmsg_read+0x4e0/0x4e0 [ 8.865872][ T169] ? rcu_is_watching+0x16/0xd0 [ 8.865874][ T169] ? lock_acquire+0x13c/0x160 [ 8.865878][ T169] console_flush_one_record+0x46f/0x710 [ 8.865882][ T169] ? console_emit_next_record+0x4f0/0x4f0 [ 8.865883][ T169] ? __lock_acquire+0x518/0xc20 [ 8.865888][ T169] console_unlock+0xee/0x1f0 [ 8.865891][ T169] ? console_flush_one_record+0x710/0x710 [ 8.865892][ T169] ? rcu_is_watching+0x16/0xd0 [ 8.865895][ T169] ? lock_acquire+0x60/0x160 [ 8.865898][ T169] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.865899][ T169] ? vprintk_emit+0x320/0x3e0 [ 8.865902][ T169] vprintk_emit+0x37c/0x3e0 [ 8.865906][ T169] ? wake_up_klogd_work_func+0x90/0x90 [ 8.865908][ T169] ? find_held_lock+0x2b/0x80 [ 8.865912][ T169] ? __lock_release.isra.0+0x69/0x1a0 [ 8.865913][ T169] ? fast_dput+0x316/0x540 [ 8.865918][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.865922][ T169] _printk+0xc7/0x100 [ 8.865925][ T169] ? snapshot_read.cold+0x21/0x21 [ 8.865928][ T169] ? __up_write+0x2e5/0x5f0 [ 8.865932][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.865936][ T169] ? configfs_register_subsystem+0x340/0x570 [ 8.865940][ T169] init_netconsole+0x4a8/0x1000 [netconsole] [ 8.865944][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.865951][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.865953][ T169] do_one_initcall+0x124/0x4f0 [ 8.865957][ T169] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 8.865962][ T169] ? do_init_module+0xae/0x8a0 [ 8.865965][ T169] ? kasan_unpoison+0x44/0x70 [ 8.865970][ T169] do_init_module+0x2ad/0x8a0 [ 8.865974][ T169] ? lockdep_hardirqs_on+0x91/0x130 [ 8.865978][ T169] ? free_module+0x470/0x470 [ 8.865981][ T169] ? kfree+0x123/0x590 [ 8.865988][ T169] load_module+0x1424/0x1bb0 [ 8.865995][ T169] ? layout_and_allocate.isra.0+0x680/0x680 [ 8.865999][ T169] ? __ia32_sys_fsconfig+0x180/0x180 [ 8.866002][ T169] ? ovl_real_file+0x172/0x1e0 [ 8.866006][ T169] ? backing_file_read_iter+0x541/0x790 [ 8.866009][ T169] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.866013][ T169] init_module_from_file+0x11f/0x1a0 [ 8.866016][ T169] ? __do_sys_init_module+0x220/0x220 [ 8.866024][ T169] ? __rwlock_init+0x150/0x150 [ 8.866028][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 8.866030][ T169] idempotent_init_module+0x37b/0x7c0 [ 8.866034][ T169] ? init_module_from_file+0x1a0/0x1a0 [ 8.866040][ T169] ? rcu_is_watching+0x16/0xd0 [ 8.866042][ T169] ? cap_capable+0x1d7/0x3d0 [ 8.866048][ T169] __x64_sys_finit_module+0xdf/0x190 [ 8.866050][ T169] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.866054][ T169] do_syscall_64+0xff/0x530 [ 8.866056][ T169] ? exc_page_fault+0xee/0x100 [ 8.866058][ T169] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.866061][ T169] RIP: 0033:0x7f8f5a34d37d [ 8.866064][ T169] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 8.866066][ T169] RSP: 002b:00007ffd6e6e2e78 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 8.866068][ T169] RAX: ffffffffffffffda RBX: 00005603c76cd700 RCX: 00007f8f5a34d37d [ 8.866070][ T169] RDX: 0000000000000000 RSI: 00005603b0f69ffd RDI: 0000000000000005 [ 8.866071][ T169] RBP: 00007ffd6e6e2f10 R08: 0000000000000000 R09: 0000000000000000 [ 8.866072][ T169] R10: 0000000000000000 R11: 0000000000000246 R12: 00005603b0f69ffd [ 8.866073][ T169] R13: 00005603c76cd810 R14: 0000000000040000 R15: 0000000000000000 [ 8.866080][ T169] [ 11.969610][ T157] netconsole selftest: netcons_8skeL [ 11.969635][ T157] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.969637][ T157] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 157, name: bash [ 11.969639][ T157] preempt_count: 1, expected: 0 [ 11.969640][ T157] RCU nest depth: 0, expected: 0 [ 11.969641][ T157] locks held by bash/157: 4, last CPU#1: [ 11.969643][ T157] #0: ffffffff85199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.969656][ T157] #1: ffffffff85199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.969660][ T157] #2: ffffffff85089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.969664][ T157] #3: ffffffff85089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.969668][ T157] irq event stamp: 149684 [ 11.969670][ T157] hardirqs last enabled at (149683): [] __down_trylock_console_sem+0x86/0xa0 [ 11.969672][ T157] hardirqs last disabled at (149684): [] console_emit_next_record+0x3f8/0x4f0 [ 11.969674][ T157] softirqs last enabled at (149484): [] restore_fpregs_from_user+0x1cf/0x490 [ 11.969678][ T157] softirqs last disabled at (149482): [] restore_fpregs_from_user+0xc3/0x490 [ 11.969680][ T157] Preemption disabled at: [ 11.969681][ T157] [] vprintk_emit+0x31b/0x3e0 [ 11.969687][ T157] CPU: 1 UID: 0 PID: 157 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.969690][ T157] Tainted: [W]=WARN [ 11.969691][ T157] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.969693][ T157] Call Trace: [ 11.969695][ T157] [ 11.969696][ T157] dump_stack_lvl+0x6f/0xa0 [ 11.969707][ T157] ? vprintk_emit+0x31b/0x3e0 [ 11.969710][ T157] __might_resched.cold+0x1fe/0x2c1 [ 11.969714][ T157] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.969718][ T157] ? __kmalloc_noprof+0xdb/0x760 [ 11.969722][ T157] __kmalloc_noprof+0x443/0x760 [ 11.969724][ T157] ? alloc_buf.isra.0+0x4b/0x260 [ 11.969730][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 11.969732][ T157] alloc_buf.isra.0+0x4b/0x260 [ 11.969735][ T157] put_chars+0x1e1/0x2f0 [ 11.969738][ T157] ? __send_to_port+0x420/0x420 [ 11.969740][ T157] ? printk_get_next_message+0x2fe/0x7d0 [ 11.969743][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.969745][ T157] ? validate_chain+0x38b/0xc20 [ 11.969750][ T157] hvc_console_print+0x292/0x780 [ 11.969753][ T157] ? __lock_acquire+0x518/0xc20 [ 11.969754][ T157] ? __lock_acquire+0x518/0xc20 [ 11.969758][ T157] ? hvc_write+0x3a0/0x3a0 [ 11.969761][ T157] ? rcu_is_watching+0x16/0xd0 [ 11.969764][ T157] ? lock_acquire+0x13c/0x160 [ 11.969767][ T157] console_emit_next_record+0x252/0x4f0 [ 11.969771][ T157] ? devkmsg_read+0x4e0/0x4e0 [ 11.969775][ T157] ? rcu_is_watching+0x16/0xd0 [ 11.969777][ T157] ? lock_acquire+0x13c/0x160 [ 11.969781][ T157] console_flush_one_record+0x46f/0x710 [ 11.969784][ T157] ? console_emit_next_record+0x4f0/0x4f0 [ 11.969786][ T157] ? __lock_acquire+0x518/0xc20 [ 11.969791][ T157] console_unlock+0xee/0x1f0 [ 11.969793][ T157] ? console_flush_one_record+0x710/0x710 [ 11.969795][ T157] ? rcu_is_watching+0x16/0xd0 [ 11.969797][ T157] ? lock_acquire+0x60/0x160 [ 11.969800][ T157] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.969802][ T157] ? vprintk_emit+0x320/0x3e0 [ 11.969804][ T157] vprintk_emit+0x37c/0x3e0 [ 11.969808][ T157] ? wake_up_klogd_work_func+0x90/0x90 [ 11.969811][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 11.969816][ T157] devkmsg_emit.constprop.0+0xbc/0xf1 [ 11.969820][ T157] ? vprintk_emit.cold+0x107/0x107 [ 11.969824][ T157] ? __kmalloc_noprof+0x302/0x760 [ 11.969825][ T157] ? idr_get_free+0x830/0x830 [ 11.969829][ T157] ? devkmsg_write+0xd1/0x2c0 [ 11.969832][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 11.969834][ T157] devkmsg_write.cold+0x5a/0x8b [ 11.969837][ T157] ? vprintk_default+0x20/0x20 [ 11.969839][ T157] ? __lock_acquire+0x518/0xc20 [ 11.969841][ T157] ? vfs_lock_file+0x1b0/0x1b0 [ 11.969845][ T157] ? vprintk_default+0x20/0x20 [ 11.969847][ T157] new_sync_write+0x33e/0x760 [ 11.969852][ T157] ? new_sync_read+0x750/0x750 [ 11.969853][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.969861][ T157] vfs_write+0x6a2/0xbd0 [ 11.969865][ T157] ksys_write+0x116/0x250 [ 11.969868][ T157] ? __ia32_sys_read+0xc0/0xc0 [ 11.969869][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 11.969872][ T157] ? rcu_is_watching+0x16/0xd0 [ 11.969875][ T157] do_syscall_64+0xff/0x530 [ 11.969877][ T157] ? exc_page_fault+0xee/0x100 [ 11.969880][ T157] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.969883][ T157] RIP: 0033:0x7fe84ace154e [ 11.969887][ T157] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 11.969888][ T157] RSP: 002b:00007fff58a60140 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 11.969891][ T157] RAX: ffffffffffffffda RBX: 00007fe84ae62580 RCX: 00007fe84ace154e [ 11.969893][ T157] RDX: 0000000000000023 RSI: 0000558fadd05ab0 RDI: 0000000000000001 [ 11.969894][ T157] RBP: 00007fff58a60150 R08: 0000000000000000 R09: 0000000000000000 [ 11.969895][ T157] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000023 [ 11.969896][ T157] R13: 0000000000000023 R14: 0000558fadd05ab0 R15: 0000000000000000 [ 11.969902][ T157] [ 15.570638][ T157] netconsole selftest: netcons_8skeL [ 15.570660][ T157] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.570662][ T157] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 157, name: bash [ 15.570664][ T157] preempt_count: 1, expected: 0 [ 15.570665][ T157] RCU nest depth: 0, expected: 0 [ 15.570666][ T157] locks held by bash/157: 4, last CPU#0: [ 15.570668][ T157] #0: ffffffff85199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.570680][ T157] #1: ffffffff85199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.570685][ T157] #2: ffffffff85089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.570689][ T157] #3: ffffffff85089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 15.570693][ T157] irq event stamp: 273166 [ 15.570695][ T157] hardirqs last enabled at (273165): [] __down_trylock_console_sem+0x86/0xa0 [ 15.570698][ T157] hardirqs last disabled at (273166): [] console_emit_next_record+0x3f8/0x4f0 [ 15.570699][ T157] softirqs last enabled at (272970): [] restore_fpregs_from_user+0x1cf/0x490 [ 15.570703][ T157] softirqs last disabled at (272968): [] restore_fpregs_from_user+0xc3/0x490 [ 15.570706][ T157] Preemption disabled at: [ 15.570706][ T157] [] vprintk_emit+0x31b/0x3e0 [ 15.570715][ T157] CPU: 0 UID: 0 PID: 157 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.570719][ T157] Tainted: [W]=WARN [ 15.570720][ T157] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.570722][ T157] Call Trace: [ 15.570723][ T157] [ 15.570725][ T157] dump_stack_lvl+0x6f/0xa0 [ 15.570730][ T157] ? vprintk_emit+0x31b/0x3e0 [ 15.570732][ T157] __might_resched.cold+0x1fe/0x2c1 [ 15.570737][ T157] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.570740][ T157] ? __kmalloc_noprof+0xdb/0x760 [ 15.570745][ T157] __kmalloc_noprof+0x443/0x760 [ 15.570747][ T157] ? alloc_buf.isra.0+0x4b/0x260 [ 15.570753][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 15.570755][ T157] alloc_buf.isra.0+0x4b/0x260 [ 15.570758][ T157] put_chars+0x1e1/0x2f0 [ 15.570761][ T157] ? __send_to_port+0x420/0x420 [ 15.570763][ T157] ? printk_get_next_message+0x2fe/0x7d0 [ 15.570766][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.570769][ T157] ? validate_chain+0x38b/0xc20 [ 15.570773][ T157] hvc_console_print+0x292/0x780 [ 15.570775][ T157] ? __lock_acquire+0x518/0xc20 [ 15.570777][ T157] ? __lock_acquire+0x518/0xc20 [ 15.570781][ T157] ? hvc_write+0x3a0/0x3a0 [ 15.570784][ T157] ? rcu_is_watching+0x16/0xd0 [ 15.570787][ T157] ? lock_acquire+0x13c/0x160 [ 15.570790][ T157] console_emit_next_record+0x252/0x4f0 [ 15.570794][ T157] ? devkmsg_read+0x4e0/0x4e0 [ 15.570798][ T157] ? rcu_is_watching+0x16/0xd0 [ 15.570800][ T157] ? lock_acquire+0x13c/0x160 [ 15.570804][ T157] console_flush_one_record+0x46f/0x710 [ 15.570807][ T157] ? console_emit_next_record+0x4f0/0x4f0 [ 15.570809][ T157] ? __lock_acquire+0x518/0xc20 [ 15.570814][ T157] console_unlock+0xee/0x1f0 [ 15.570816][ T157] ? console_flush_one_record+0x710/0x710 [ 15.570818][ T157] ? rcu_is_watching+0x16/0xd0 [ 15.570820][ T157] ? lock_acquire+0x60/0x160 [ 15.570823][ T157] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.570825][ T157] ? vprintk_emit+0x320/0x3e0 [ 15.570828][ T157] vprintk_emit+0x37c/0x3e0 [ 15.570831][ T157] ? wake_up_klogd_work_func+0x90/0x90 [ 15.570834][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 15.570839][ T157] devkmsg_emit.constprop.0+0xbc/0xf1 [ 15.570843][ T157] ? vprintk_emit.cold+0x107/0x107 [ 15.570847][ T157] ? __kmalloc_noprof+0x302/0x760 [ 15.570849][ T157] ? idr_get_free+0x830/0x830 [ 15.570852][ T157] ? devkmsg_write+0xd1/0x2c0 [ 15.570855][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 15.570858][ T157] devkmsg_write.cold+0x5a/0x8b [ 15.570861][ T157] ? vprintk_default+0x20/0x20 [ 15.570862][ T157] ? __lock_acquire+0x518/0xc20 [ 15.570864][ T157] ? vfs_lock_file+0x1b0/0x1b0 [ 15.570869][ T157] ? vprintk_default+0x20/0x20 [ 15.570871][ T157] new_sync_write+0x33e/0x760 [ 15.570876][ T157] ? new_sync_read+0x750/0x750 [ 15.570877][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.570885][ T157] vfs_write+0x6a2/0xbd0 [ 15.570889][ T157] ksys_write+0x116/0x250 [ 15.570891][ T157] ? __ia32_sys_read+0xc0/0xc0 [ 15.570893][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 15.570896][ T157] ? rcu_is_watching+0x16/0xd0 [ 15.570899][ T157] do_syscall_64+0xff/0x530 [ 15.570901][ T157] ? exc_page_fault+0xee/0x100 [ 15.570904][ T157] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.570907][ T157] RIP: 0033:0x7fe84ace154e [ 15.570911][ T157] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 15.570912][ T157] RSP: 002b:00007fff58a60140 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 15.570915][ T157] RAX: ffffffffffffffda RBX: 00007fe84ae62580 RCX: 00007fe84ace154e [ 15.570917][ T157] RDX: 0000000000000023 RSI: 0000558fadd05ab0 RDI: 0000000000000001 [ 15.570918][ T157] RBP: 00007fff58a60150 R08: 0000000000000000 R09: 0000000000000000 [ 15.570919][ T157] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000023 [ 15.570920][ T157] R13: 0000000000000023 R14: 0000558fadd05ab0 R15: 0000000000000000 [ 15.570926][ T157] [ 19.160574][ T157] netconsole selftest: netcons_8skeL [ 19.160601][ T157] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.160604][ T157] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 157, name: bash [ 19.160606][ T157] preempt_count: 1, expected: 0 [ 19.160606][ T157] RCU nest depth: 0, expected: 0 [ 19.160608][ T157] locks held by bash/157: 4, last CPU#0: [ 19.160610][ T157] #0: ffffffff85199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.160623][ T157] #1: ffffffff85199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.160627][ T157] #2: ffffffff85089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.160631][ T157] #3: ffffffff85089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.160635][ T157] irq event stamp: 376714 [ 19.160637][ T157] hardirqs last enabled at (376713): [] __down_trylock_console_sem+0x86/0xa0 [ 19.160639][ T157] hardirqs last disabled at (376714): [] console_emit_next_record+0x3f8/0x4f0 [ 19.160641][ T157] softirqs last enabled at (376508): [] restore_fpregs_from_user+0x1cf/0x490 [ 19.160645][ T157] softirqs last disabled at (376506): [] restore_fpregs_from_user+0xc3/0x490 [ 19.160647][ T157] Preemption disabled at: [ 19.160648][ T157] [] vprintk_emit+0x31b/0x3e0 [ 19.160654][ T157] CPU: 0 UID: 0 PID: 157 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.160658][ T157] Tainted: [W]=WARN [ 19.160659][ T157] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.160661][ T157] Call Trace: [ 19.160662][ T157] [ 19.160664][ T157] dump_stack_lvl+0x6f/0xa0 [ 19.160669][ T157] ? vprintk_emit+0x31b/0x3e0 [ 19.160671][ T157] __might_resched.cold+0x1fe/0x2c1 [ 19.160675][ T157] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.160679][ T157] ? __kmalloc_noprof+0xdb/0x760 [ 19.160683][ T157] __kmalloc_noprof+0x443/0x760 [ 19.160685][ T157] ? alloc_buf.isra.0+0x4b/0x260 [ 19.160691][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 19.160694][ T157] alloc_buf.isra.0+0x4b/0x260 [ 19.160697][ T157] put_chars+0x1e1/0x2f0 [ 19.160699][ T157] ? __send_to_port+0x420/0x420 [ 19.160701][ T157] ? printk_get_next_message+0x2fe/0x7d0 [ 19.160704][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.160707][ T157] ? validate_chain+0x38b/0xc20 [ 19.160711][ T157] hvc_console_print+0x292/0x780 [ 19.160713][ T157] ? __lock_acquire+0x518/0xc20 [ 19.160715][ T157] ? __lock_acquire+0x518/0xc20 [ 19.160719][ T157] ? hvc_write+0x3a0/0x3a0 [ 19.160722][ T157] ? rcu_is_watching+0x16/0xd0 [ 19.160730][ T157] ? lock_acquire+0x13c/0x160 [ 19.160734][ T157] console_emit_next_record+0x252/0x4f0 [ 19.160737][ T157] ? devkmsg_read+0x4e0/0x4e0 [ 19.160741][ T157] ? rcu_is_watching+0x16/0xd0 [ 19.160743][ T157] ? lock_acquire+0x13c/0x160 [ 19.160747][ T157] console_flush_one_record+0x46f/0x710 [ 19.160751][ T157] ? console_emit_next_record+0x4f0/0x4f0 [ 19.160752][ T157] ? __lock_acquire+0x518/0xc20 [ 19.160757][ T157] console_unlock+0xee/0x1f0 [ 19.160760][ T157] ? console_flush_one_record+0x710/0x710 [ 19.160761][ T157] ? rcu_is_watching+0x16/0xd0 [ 19.160763][ T157] ? lock_acquire+0x60/0x160 [ 19.160766][ T157] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.160768][ T157] ? vprintk_emit+0x320/0x3e0 [ 19.160771][ T157] vprintk_emit+0x37c/0x3e0 [ 19.160774][ T157] ? wake_up_klogd_work_func+0x90/0x90 [ 19.160777][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 19.160783][ T157] devkmsg_emit.constprop.0+0xbc/0xf1 [ 19.160787][ T157] ? vprintk_emit.cold+0x107/0x107 [ 19.160791][ T157] ? __kmalloc_noprof+0x302/0x760 [ 19.160792][ T157] ? idr_get_free+0x830/0x830 [ 19.160796][ T157] ? devkmsg_write+0xd1/0x2c0 [ 19.160799][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 19.160801][ T157] devkmsg_write.cold+0x5a/0x8b [ 19.160804][ T157] ? vprintk_default+0x20/0x20 [ 19.160806][ T157] ? __lock_acquire+0x518/0xc20 [ 19.160808][ T157] ? vfs_lock_file+0x1b0/0x1b0 [ 19.160812][ T157] ? vprintk_default+0x20/0x20 [ 19.160814][ T157] new_sync_write+0x33e/0x760 [ 19.160819][ T157] ? new_sync_read+0x750/0x750 [ 19.160820][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.160828][ T157] vfs_write+0x6a2/0xbd0 [ 19.160832][ T157] ksys_write+0x116/0x250 [ 19.160835][ T157] ? __ia32_sys_read+0xc0/0xc0 [ 19.160836][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 19.160839][ T157] ? rcu_is_watching+0x16/0xd0 [ 19.160842][ T157] do_syscall_64+0xff/0x530 [ 19.160845][ T157] ? exc_page_fault+0xee/0x100 [ 19.160848][ T157] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.160850][ T157] RIP: 0033:0x7fe84ace154e [ 19.160854][ T157] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 19.160856][ T157] RSP: 002b:00007fff58a60140 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 19.160859][ T157] RAX: ffffffffffffffda RBX: 00007fe84ae62580 RCX: 00007fe84ace154e [ 19.160861][ T157] RDX: 0000000000000023 RSI: 0000558fadd05ab0 RDI: 0000000000000001 [ 19.160862][ T157] RBP: 00007fff58a60150 R08: 0000000000000000 R09: 0000000000000000 [ 19.160863][ T157] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000023 [ 19.160863][ T157] R13: 0000000000000023 R14: 0000558fadd05ab0 R15: 0000000000000000 [ 19.160870][ T157] [ 22.622705][ T157] netconsole selftest: netcons_8skeL [ 22.622729][ T157] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.622732][ T157] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 157, name: bash [ 22.622733][ T157] preempt_count: 1, expected: 0 [ 22.622734][ T157] RCU nest depth: 0, expected: 0 [ 22.622736][ T157] locks held by bash/157: 4, last CPU#2: [ 22.622743][ T157] #0: ffffffff85199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.622756][ T157] #1: ffffffff85199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.622761][ T157] #2: ffffffff85089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.622765][ T157] #3: ffffffff85089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 22.622769][ T157] irq event stamp: 498474 [ 22.622771][ T157] hardirqs last enabled at (498473): [] __down_trylock_console_sem+0x86/0xa0 [ 22.622773][ T157] hardirqs last disabled at (498474): [] console_emit_next_record+0x3f8/0x4f0 [ 22.622775][ T157] softirqs last enabled at (498276): [] restore_fpregs_from_user+0x1cf/0x490 [ 22.622779][ T157] softirqs last disabled at (498274): [] restore_fpregs_from_user+0xc3/0x490 [ 22.622782][ T157] Preemption disabled at: [ 22.622782][ T157] [] vprintk_emit+0x31b/0x3e0 [ 22.622788][ T157] CPU: 2 UID: 0 PID: 157 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.622791][ T157] Tainted: [W]=WARN [ 22.622792][ T157] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.622794][ T157] Call Trace: [ 22.622796][ T157] [ 22.622797][ T157] dump_stack_lvl+0x6f/0xa0 [ 22.622803][ T157] ? vprintk_emit+0x31b/0x3e0 [ 22.622804][ T157] __might_resched.cold+0x1fe/0x2c1 [ 22.622809][ T157] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.622813][ T157] ? __kmalloc_noprof+0xdb/0x760 [ 22.622817][ T157] __kmalloc_noprof+0x443/0x760 [ 22.622819][ T157] ? alloc_buf.isra.0+0x4b/0x260 [ 22.622825][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 22.622827][ T157] alloc_buf.isra.0+0x4b/0x260 [ 22.622830][ T157] put_chars+0x1e1/0x2f0 [ 22.622833][ T157] ? __send_to_port+0x420/0x420 [ 22.622834][ T157] ? printk_get_next_message+0x2fe/0x7d0 [ 22.622838][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.622841][ T157] ? validate_chain+0x38b/0xc20 [ 22.622845][ T157] hvc_console_print+0x292/0x780 [ 22.622848][ T157] ? __lock_acquire+0x518/0xc20 [ 22.622849][ T157] ? __lock_acquire+0x518/0xc20 [ 22.622853][ T157] ? hvc_write+0x3a0/0x3a0 [ 22.622856][ T157] ? rcu_is_watching+0x16/0xd0 [ 22.622860][ T157] ? lock_acquire+0x13c/0x160 [ 22.622863][ T157] console_emit_next_record+0x252/0x4f0 [ 22.622867][ T157] ? devkmsg_read+0x4e0/0x4e0 [ 22.622871][ T157] ? rcu_is_watching+0x16/0xd0 [ 22.622873][ T157] ? lock_acquire+0x13c/0x160 [ 22.622876][ T157] console_flush_one_record+0x46f/0x710 [ 22.622880][ T157] ? console_emit_next_record+0x4f0/0x4f0 [ 22.622882][ T157] ? __lock_acquire+0x518/0xc20 [ 22.622887][ T157] console_unlock+0xee/0x1f0 [ 22.622889][ T157] ? console_flush_one_record+0x710/0x710 [ 22.622891][ T157] ? rcu_is_watching+0x16/0xd0 [ 22.622893][ T157] ? lock_acquire+0x60/0x160 [ 22.622896][ T157] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.622898][ T157] ? vprintk_emit+0x320/0x3e0 [ 22.622901][ T157] vprintk_emit+0x37c/0x3e0 [ 22.622904][ T157] ? wake_up_klogd_work_func+0x90/0x90 [ 22.622907][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 22.622913][ T157] devkmsg_emit.constprop.0+0xbc/0xf1 [ 22.622917][ T157] ? vprintk_emit.cold+0x107/0x107 [ 22.622921][ T157] ? __kmalloc_noprof+0x302/0x760 [ 22.622922][ T157] ? idr_get_free+0x830/0x830 [ 22.622926][ T157] ? devkmsg_write+0xd1/0x2c0 [ 22.622929][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 22.622932][ T157] devkmsg_write.cold+0x5a/0x8b [ 22.622934][ T157] ? vprintk_default+0x20/0x20 [ 22.622936][ T157] ? __lock_acquire+0x518/0xc20 [ 22.622938][ T157] ? vfs_lock_file+0x1b0/0x1b0 [ 22.622943][ T157] ? vprintk_default+0x20/0x20 [ 22.622945][ T157] new_sync_write+0x33e/0x760 [ 22.622950][ T157] ? new_sync_read+0x750/0x750 [ 22.622951][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.622959][ T157] vfs_write+0x6a2/0xbd0 [ 22.622963][ T157] ksys_write+0x116/0x250 [ 22.622966][ T157] ? __ia32_sys_read+0xc0/0xc0 [ 22.622968][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 22.622970][ T157] ? rcu_is_watching+0x16/0xd0 [ 22.622973][ T157] do_syscall_64+0xff/0x530 [ 22.622975][ T157] ? exc_page_fault+0xee/0x100 [ 22.622979][ T157] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.622981][ T157] RIP: 0033:0x7fe84ace154e [ 22.622988][ T157] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 22.622990][ T157] RSP: 002b:00007fff58a60140 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 22.622993][ T157] RAX: ffffffffffffffda RBX: 00007fe84ae62580 RCX: 00007fe84ace154e [ 22.622995][ T157] RDX: 0000000000000023 RSI: 0000558fadd05ab0 RDI: 0000000000000001 [ 22.622996][ T157] RBP: 00007fff58a60150 R08: 0000000000000000 R09: 0000000000000000 [ 22.622997][ T157] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000023 [ 22.622998][ T157] R13: 0000000000000023 R14: 0000558fadd05ab0 R15: 0000000000000000 [ 22.623004][ T157]