[ 19.226662][ T336] netconsole: network logging started [ 19.226679][ T336] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.226681][ T336] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 336, name: modprobe [ 19.226683][ T336] preempt_count: 1, expected: 0 [ 19.226684][ T336] RCU nest depth: 0, expected: 0 [ 19.226684][ T336] locks held by modprobe/336: 4, last CPU#4: [ 19.226687][ T336] #0: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.226698][ T336] #1: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.226702][ T336] #2: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.226706][ T336] #3: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.226710][ T336] irq event stamp: 39512 [ 19.226711][ T336] hardirqs last enabled at (39511): [] __down_trylock_console_sem+0x86/0xa0 [ 19.226713][ T336] hardirqs last disabled at (39512): [] console_emit_next_record+0x3f8/0x4f0 [ 19.226715][ T336] softirqs last enabled at (36738): [] handle_softirqs+0x67c/0x900 [ 19.226718][ T336] softirqs last disabled at (36733): [] __irq_exit_rcu+0x145/0x1c0 [ 19.226720][ T336] Preemption disabled at: [ 19.226720][ T336] [] vprintk_emit+0x31b/0x3e0 [ 19.226731][ T336] CPU: 4 UID: 0 PID: 336 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.226734][ T336] Tainted: [W]=WARN [ 19.226735][ T336] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 19.226737][ T336] Call Trace: [ 19.226738][ T336] [ 19.226740][ T336] dump_stack_lvl+0x6f/0xa0 [ 19.226745][ T336] ? vprintk_emit+0x31b/0x3e0 [ 19.226747][ T336] __might_resched.cold+0x1fe/0x2c1 [ 19.226751][ T336] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.226755][ T336] ? __kmalloc_noprof+0xdb/0x760 [ 19.226760][ T336] __kmalloc_noprof+0x443/0x760 [ 19.226762][ T336] ? alloc_buf.isra.0+0x4b/0x260 [ 19.226769][ T336] ? do_raw_spin_unlock+0x59/0x250 [ 19.226772][ T336] alloc_buf.isra.0+0x4b/0x260 [ 19.226775][ T336] put_chars+0x1e1/0x2f0 [ 19.226778][ T336] ? __send_to_port+0x420/0x420 [ 19.226782][ T336] ? validate_chain+0x38b/0xc20 [ 19.226786][ T336] hvc_console_print+0x292/0x780 [ 19.226793][ T336] ? hvc_write+0x3a0/0x3a0 [ 19.226795][ T336] ? rcu_is_watching+0x16/0xd0 [ 19.226799][ T336] ? lock_acquire+0x13c/0x160 [ 19.226804][ T336] console_emit_next_record+0x252/0x4f0 [ 19.226807][ T336] ? devkmsg_read+0x4e0/0x4e0 [ 19.226811][ T336] ? rcu_is_watching+0x16/0xd0 [ 19.226814][ T336] ? lock_acquire+0x13c/0x160 [ 19.226817][ T336] console_flush_one_record+0x46f/0x710 [ 19.226821][ T336] ? console_emit_next_record+0x4f0/0x4f0 [ 19.226823][ T336] ? __lock_acquire+0x518/0xc20 [ 19.226827][ T336] console_unlock+0xee/0x1f0 [ 19.226830][ T336] ? console_flush_one_record+0x710/0x710 [ 19.226832][ T336] ? rcu_is_watching+0x16/0xd0 [ 19.226834][ T336] ? lock_acquire+0xa0/0x160 [ 19.226837][ T336] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.226838][ T336] ? vprintk_emit+0x320/0x3e0 [ 19.226842][ T336] vprintk_emit+0x37c/0x3e0 [ 19.226845][ T336] ? wake_up_klogd_work_func+0x90/0x90 [ 19.226847][ T336] ? find_held_lock+0x2b/0x80 [ 19.226850][ T336] ? __lock_release.isra.0+0x69/0x1a0 [ 19.226851][ T336] ? fast_dput+0x316/0x540 [ 19.226855][ T336] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 19.226859][ T336] _printk+0xc7/0x100 [ 19.226862][ T336] ? snapshot_read.cold+0x21/0x21 [ 19.226865][ T336] ? __up_write+0x2e5/0x5f0 [ 19.226869][ T336] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 19.226872][ T336] ? configfs_register_subsystem+0x340/0x570 [ 19.226876][ T336] init_netconsole+0x4a8/0x1000 [netconsole] [ 19.226879][ T336] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 19.226885][ T336] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 19.226888][ T336] do_one_initcall+0x124/0x4f0 [ 19.226891][ T336] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 19.226895][ T336] ? do_init_module+0xae/0x8a0 [ 19.226898][ T336] ? kasan_unpoison+0x44/0x70 [ 19.226903][ T336] do_init_module+0x2ad/0x8a0 [ 19.226907][ T336] ? lockdep_hardirqs_on+0x91/0x130 [ 19.226911][ T336] ? free_module+0x470/0x470 [ 19.226914][ T336] ? kfree+0x123/0x590 [ 19.226918][ T336] load_module+0x1424/0x1bb0 [ 19.226924][ T336] ? layout_and_allocate.isra.0+0x680/0x680 [ 19.226928][ T336] ? __ia32_sys_fsconfig+0x180/0x180 [ 19.226930][ T336] ? add_chain_cache+0x12d/0x590 [ 19.226935][ T336] init_module_from_file+0x11f/0x1a0 [ 19.226938][ T336] ? __ia32_sys_init_module+0xc0/0xc0 [ 19.226946][ T336] ? __rwlock_init+0x150/0x150 [ 19.226949][ T336] ? do_raw_spin_unlock+0x59/0x250 [ 19.226952][ T336] idempotent_init_module+0x37b/0x7c0 [ 19.226955][ T336] ? init_module_from_file+0x1a0/0x1a0 [ 19.226961][ T336] ? rcu_is_watching+0x16/0xd0 [ 19.226963][ T336] ? cap_capable+0x1d7/0x3d0 [ 19.226968][ T336] __x64_sys_finit_module+0xdf/0x190 [ 19.226970][ T336] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.226974][ T336] do_syscall_64+0xff/0x530 [ 19.226976][ T336] ? exc_page_fault+0xee/0x100 [ 19.226979][ T336] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.226981][ T336] RIP: 0033:0x7fcda9c3137d [ 19.226984][ T336] 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 [ 19.226986][ T336] RSP: 002b:00007ffc780682d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 19.226988][ T336] RAX: ffffffffffffffda RBX: 0000564640845700 RCX: 00007fcda9c3137d [ 19.226990][ T336] RDX: 0000000000000000 RSI: 00005646373c9ffd RDI: 0000000000000005 [ 19.226991][ T336] RBP: 00007ffc78068370 R08: 0000000000000000 R09: 0000000000000000 [ 19.226991][ T336] R10: 0000000000000000 R11: 0000000000000246 R12: 00005646373c9ffd [ 19.226992][ T336] R13: 0000564640845810 R14: 0000000000040000 R15: 0000000000000000 [ 19.226998][ T336] [ 20.077710][ T335] printk: console [netcon_ext0] enabled [ 20.078176][ T335] netconsole: netconsole: local port 1514 [ 20.078564][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 20.078951][ T335] netconsole: netconsole: interface name 'enp1s0' [ 20.079266][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 20.094001][ T335] netconsole: netconsole: remote port 6666 [ 20.094287][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 20.094685][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 20.130115][ T335] netconsole: network logging started [ 20.132612][ T335] netcons test #0-0 [ 20.132612][ T335] netcons test #0-1 [ 20.132612][ T335] netcons test #0-2 [ 20.132612][ T335] netcons test #0-3 [ 20.132612][ T335] netcons test #0-4 [ 20.132612][ T335] netcons test #0-5 [ 20.132612][ T335] netcons test #0-6 [ 20.132612][ T335] netcons test #0-7 [ 20.132612][ T335] netcons test #0-8 [ 20.132612][ T335] netcons test #0-9 [ 20.132612][ T335] netcons test #0-10 [ 20.132612][ T335] netcons test #0-11 [ 20.132612][ T335] netcons test #0-12 [ 20.132612][ T335] netcons test #0-13 [ 20.132612][ T335] netcons test #0-14 [ 20.132612][ T335] netcons test #0-15 [ 20.132612][ T335] netcons test #0-16 [ 20.132612][ T335] netcons test #0-17 [ 20.132612][ T335] netcons test #0-18 [ 20.132612][ T335] netcons test #0-19 [ 20.132612][ T335] netcons test #0-20 [ 20.132612][ T335] netcons test #0-21 [ 20.132612][ T335] netcons test #0-22 [ 20.132612][ T335] netcons test #0-23 [ 20.132612][ T335] netcons test #0-24 [ 20.132612][ T335] netcons test #0-25 [ 20.132612][ T335] netcons test #0-26 [ 20.132612][ T335] netcons test #0-27 [ 20.132612][ T335] netcons test #0-28 [ 20.132612][ T335] netcons test #0-29 [ 20.132612][ T335] netcons test #0-30 [ 20.132612][ T335] netcons test #0-31 [ 20.132612][ T335] netcons test #0-32 [ 20.132612][ T335] netcons test #0-33 [ 20.132612][ T335] netcons test #0-34 [ 20.132612][ T335] netcons test #0-35 [ 20.132612][ T335] netcons test #0-36 [ 20.132612][ T335] netcons test #0-37 [ 20.132612][ T335] netcons test #0-38 [ 20.132612][ T335] netcons test #0-39 [ 20.148699][ T335] netconsole: netconsole: local port 1514 [ 20.148944][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 20.149265][ T335] netconsole: netconsole: interface name 'enp1s0' [ 20.149529][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 20.149851][ T335] netconsole: netconsole: remote port 6666 [ 20.150109][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 20.150422][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 20.227343][ T335] netconsole: network logging started [ 20.227359][ T335] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.227361][ T335] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 335, name: python3 [ 20.227363][ T335] preempt_count: 1, expected: 0 [ 20.227364][ T335] RCU nest depth: 0, expected: 0 [ 20.227365][ T335] locks held by python3/335: 9, last CPU#1: [ 20.227367][ T335] #0: ff1100000a3634f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 20.227380][ T335] #1: ff1100000a9cc430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 20.227386][ T335] #2: ff1100000acd5080 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 20.227391][ T335] #3: ff1100000ede8fb0 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 20.227394][ T335] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 20.227401][ T335] #5: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.227407][ T335] #6: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.227411][ T335] #7: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.227415][ T335] #8: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 20.227419][ T335] irq event stamp: 316672 [ 20.227421][ T335] hardirqs last enabled at (316671): [] __down_trylock_console_sem+0x86/0xa0 [ 20.227424][ T335] hardirqs last disabled at (316672): [] console_emit_next_record+0x3f8/0x4f0 [ 20.227426][ T335] softirqs last enabled at (315922): [] handle_softirqs+0x67c/0x900 [ 20.227429][ T335] softirqs last disabled at (315917): [] __irq_exit_rcu+0x145/0x1c0 [ 20.227431][ T335] Preemption disabled at: [ 20.227432][ T335] [] vprintk_emit+0x31b/0x3e0 [ 20.227438][ T335] CPU: 1 UID: 0 PID: 335 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.227441][ T335] Tainted: [W]=WARN [ 20.227442][ T335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 20.227444][ T335] Call Trace: [ 20.227446][ T335] [ 20.227447][ T335] dump_stack_lvl+0x6f/0xa0 [ 20.227453][ T335] ? vprintk_emit+0x31b/0x3e0 [ 20.227455][ T335] __might_resched.cold+0x1fe/0x2c1 [ 20.227460][ T335] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.227464][ T335] ? __kmalloc_noprof+0xdb/0x760 [ 20.227469][ T335] __kmalloc_noprof+0x443/0x760 [ 20.227472][ T335] ? alloc_buf.isra.0+0x4b/0x260 [ 20.227478][ T335] ? do_raw_spin_unlock+0x59/0x250 [ 20.227481][ T335] alloc_buf.isra.0+0x4b/0x260 [ 20.227484][ T335] put_chars+0x1e1/0x2f0 [ 20.227488][ T335] ? __send_to_port+0x420/0x420 [ 20.227490][ T335] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.227494][ T335] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.227496][ T335] ? validate_chain+0x38b/0xc20 [ 20.227501][ T335] hvc_console_print+0x292/0x780 [ 20.227505][ T335] ? __lock_acquire+0x518/0xc20 [ 20.227510][ T335] ? hvc_write+0x3a0/0x3a0 [ 20.227513][ T335] ? rcu_is_watching+0x16/0xd0 [ 20.227518][ T335] console_emit_next_record+0x252/0x4f0 [ 20.227522][ T335] ? devkmsg_read+0x4e0/0x4e0 [ 20.227526][ T335] ? rcu_is_watching+0x16/0xd0 [ 20.227529][ T335] ? lock_acquire+0x13c/0x160 [ 20.227533][ T335] console_flush_one_record+0x46f/0x710 [ 20.227537][ T335] ? console_emit_next_record+0x4f0/0x4f0 [ 20.227539][ T335] ? __lock_acquire+0x518/0xc20 [ 20.227544][ T335] console_unlock+0xee/0x1f0 [ 20.227547][ T335] ? console_flush_one_record+0x710/0x710 [ 20.227549][ T335] ? rcu_is_watching+0x16/0xd0 [ 20.227551][ T335] ? lock_acquire+0xa0/0x160 [ 20.227554][ T335] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.227556][ T335] ? vprintk_emit+0x320/0x3e0 [ 20.227560][ T335] vprintk_emit+0x37c/0x3e0 [ 20.227563][ T335] ? wake_up_klogd_work_func+0x90/0x90 [ 20.227566][ T335] ? rcu_gp_is_expedited+0x54/0x70 [ 20.227567][ T335] ? synchronize_rcu+0x22e/0x350 [ 20.227572][ T335] _printk+0xc7/0x100 [ 20.227575][ T335] ? snapshot_read.cold+0x21/0x21 [ 20.227577][ T335] ? __lock_release.isra.0+0x69/0x1a0 [ 20.227581][ T335] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 20.227583][ T335] ? lockdep_hardirqs_on+0x91/0x130 [ 20.227587][ T335] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 20.227590][ T335] ? __free_object+0x2ad/0x490 [ 20.227595][ T335] enabled_store.cold+0x178/0x1ae [netconsole] [ 20.227598][ T335] ? __kasan_kmalloc+0x7b/0x90 [ 20.227602][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 20.227604][ T335] ? down_write_killable_nested+0x270/0x270 [ 20.227606][ T335] ? __kmalloc_cache_noprof+0x281/0x620 [ 20.227608][ T335] ? configfs_write_iter+0x336/0x4b0 [ 20.227612][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 20.227614][ T335] configfs_write_iter+0x2c0/0x4b0 [ 20.227617][ T335] ? configfs_bin_write_iter+0x530/0x530 [ 20.227619][ T335] new_sync_write+0x33e/0x760 [ 20.227623][ T335] ? __lock_acquire+0x518/0xc20 [ 20.227626][ T335] ? new_sync_read+0x750/0x750 [ 20.227629][ T335] ? lock_acquire.part.0+0xd4/0x280 [ 20.227631][ T335] ? ksys_write+0x116/0x250 [ 20.227637][ T335] vfs_write+0x6a2/0xbd0 [ 20.227641][ T335] ksys_write+0x116/0x250 [ 20.227644][ T335] ? __ia32_sys_read+0xc0/0xc0 [ 20.227647][ T335] ? rcu_is_watching+0x16/0xd0 [ 20.227651][ T335] do_syscall_64+0xff/0x530 [ 20.227653][ T335] ? exc_page_fault+0xee/0x100 [ 20.227656][ T335] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.227658][ T335] RIP: 0033:0x7f72530d6312 [ 20.227662][ T335] Code: 08 0f 85 71 41 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00 [ 20.227664][ T335] RSP: 002b:00007ffeeef621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 20.227666][ T335] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f72530d6312 [ 20.227668][ T335] RDX: 0000000000000001 RSI: 00005621383bd2b0 RDI: 000000000000000b [ 20.227669][ T335] RBP: 00007ffeeef621e0 R08: 0000000000000000 R09: 0000000000000000 [ 20.227670][ T335] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7252f43390 [ 20.227671][ T335] R13: 00005621383bd2b0 R14: 000000000000000b R15: 00007f7252ed10d0 [ 20.227678][ T335] [ 20.605253][ T392] NOTICE: Automounting of tracing to debugfs is deprecated and will be removed in 2030 [ 20.679692][ T335] netcons test #1-0 [ 20.679692][ T335] netcons test #1-1 [ 20.679692][ T335] netcons test #1-2 [ 20.679692][ T335] netcons test #1-3 [ 20.679692][ T335] netcons test #1-4 [ 20.679692][ T335] netcons test #1-5 [ 20.679692][ T335] netcons test #1-6 [ 20.679692][ T335] netcons test #1-7 [ 20.679692][ T335] netcons test #1-8 [ 20.679692][ T335] netcons test #1-9 [ 20.679692][ T335] netcons test #1-10 [ 20.679692][ T335] netcons test #1-11 [ 20.679692][ T335] netcons test #1-12 [ 20.679692][ T335] netcons test #1-13 [ 20.679692][ T335] netcons test #1-14 [ 20.679692][ T335] netcons test #1-15 [ 20.679692][ T335] netcons test #1-16 [ 20.679692][ T335] netcons test #1-17 [ 20.679692][ T335] netcons test #1-18 [ 20.679692][ T335] netcons test #1-19 [ 20.679692][ T335] netcons test #1-20 [ 20.679692][ T335] netcons test #1-21 [ 20.679692][ T335] netcons test #1-22 [ 20.679692][ T335] netcons test #1-23 [ 20.679692][ T335] netcons test #1-24 [ 20.679692][ T335] netcons test #1-25 [ 20.679692][ T335] netcons test #1-26 [ 20.679692][ T335] netcons test #1-27 [ 20.679692][ T335] netcons test #1-28 [ 20.679692][ T335] netcons test #1-29 [ 20.679692][ T335] netcons test #1-30 [ 20.679692][ T335] netcons test #1-31 [ 20.679692][ T335] netcons test #1-32 [ 20.679692][ T335] netcons test #1-33 [ 20.679692][ T335] netcons test #1-34 [ 20.679692][ T335] netcons test #1-35 [ 20.679692][ T335] netcons test #1-36 [ 20.679692][ T335] netcons test #1-37 [ 20.679692][ T335] netcons test #1-38 [ 20.679692][ T335] netcons test #1-39 [ 20.692935][ T335] netconsole: netconsole: local port 1514 [ 20.693182][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 20.693504][ T335] netconsole: netconsole: interface name 'enp1s0' [ 20.696785][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 20.697149][ T335] netconsole: netconsole: remote port 6666 [ 20.697408][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 20.697743][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 20.723295][ T335] netconsole: network logging started [ 21.131215][ T335] netcons test #2-0 [ 21.131215][ T335] netcons test #2-1 [ 21.131215][ T335] netcons test #2-2 [ 21.131215][ T335] netcons test #2-3 [ 21.131215][ T335] netcons test #2-4 [ 21.131215][ T335] netcons test #2-5 [ 21.131215][ T335] netcons test #2-6 [ 21.131215][ T335] netcons test #2-7 [ 21.131215][ T335] netcons test #2-8 [ 21.131215][ T335] netcons test #2-9 [ 21.131215][ T335] netcons test #2-10 [ 21.131215][ T335] netcons test #2-11 [ 21.131215][ T335] netcons test #2-12 [ 21.131215][ T335] netcons test #2-13 [ 21.131215][ T335] netcons test #2-14 [ 21.131215][ T335] netcons test #2-15 [ 21.131215][ T335] netcons test #2-16 [ 21.131215][ T335] netcons test #2-17 [ 21.131215][ T335] netcons test #2-18 [ 21.131215][ T335] netcons test #2-19 [ 21.131215][ T335] netcons test #2-20 [ 21.131215][ T335] netcons test #2-21 [ 21.131215][ T335] netcons test #2-22 [ 21.131215][ T335] netcons test #2-23 [ 21.131215][ T335] netcons test #2-24 [ 21.131215][ T335] netcons test #2-25 [ 21.131215][ T335] netcons test #2-26 [ 21.131215][ T335] netcons test #2-27 [ 21.131215][ T335] netcons test #2-28 [ 21.131215][ T335] netcons test #2-29 [ 21.131215][ T335] netcons test #2-30 [ 21.131215][ T335] netcons test #2-31 [ 21.131215][ T335] netcons test #2-32 [ 21.131215][ T335] netcons test #2-33 [ 21.131215][ T335] netcons test #2-34 [ 21.131215][ T335] netcons test #2-35 [ 21.131215][ T335] netcons test #2-36 [ 21.131215][ T335] netcons test #2-37 [ 21.131215][ T335] netcons test #2-38 [ 21.131215][ T335] netcons test #2-39 [ 21.151199][ T335] netconsole: netconsole: local port 1514 [ 21.151454][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 21.154461][ T335] netconsole: netconsole: interface name 'enp1s0' [ 21.154786][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 21.155125][ T335] netconsole: netconsole: remote port 6666 [ 21.155390][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 21.155706][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 21.232334][ T335] netconsole: network logging started [ 21.233069][ T335] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.233075][ T335] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 335, name: python3 [ 21.233077][ T335] preempt_count: 1, expected: 0 [ 21.233078][ T335] RCU nest depth: 0, expected: 0 [ 21.233079][ T335] locks held by python3/335: 9, last CPU#0: [ 21.233082][ T335] #0: ff11000009615330 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 21.233094][ T335] #1: ff1100000a9cc430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 21.233099][ T335] #2: ff110000053fdc80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 21.233105][ T335] #3: ff110000095f58b0 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 21.233109][ T335] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 21.233115][ T335] #5: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.233121][ T335] #6: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.233125][ T335] #7: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.233129][ T335] #8: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.233134][ T335] irq event stamp: 337610 [ 21.233136][ T335] hardirqs last enabled at (337609): [] __down_trylock_console_sem+0x86/0xa0 [ 21.233139][ T335] hardirqs last disabled at (337610): [] console_emit_next_record+0x3f8/0x4f0 [ 21.233141][ T335] softirqs last enabled at (337604): [] handle_softirqs+0x67c/0x900 [ 21.233144][ T335] softirqs last disabled at (337511): [] __irq_exit_rcu+0x145/0x1c0 [ 21.233146][ T335] Preemption disabled at: [ 21.233147][ T335] [] vprintk_emit+0x31b/0x3e0 [ 21.233153][ T335] CPU: 0 UID: 0 PID: 335 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.233156][ T335] Tainted: [W]=WARN [ 21.233157][ T335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 21.233159][ T335] Call Trace: [ 21.233161][ T335] [ 21.233163][ T335] dump_stack_lvl+0x6f/0xa0 [ 21.233169][ T335] ? vprintk_emit+0x31b/0x3e0 [ 21.233171][ T335] __might_resched.cold+0x1fe/0x2c1 [ 21.233176][ T335] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.233180][ T335] ? __kmalloc_noprof+0xdb/0x760 [ 21.233185][ T335] __kmalloc_noprof+0x443/0x760 [ 21.233188][ T335] ? alloc_buf.isra.0+0x4b/0x260 [ 21.233194][ T335] ? do_raw_spin_unlock+0x59/0x250 [ 21.233197][ T335] alloc_buf.isra.0+0x4b/0x260 [ 21.233201][ T335] put_chars+0x1e1/0x2f0 [ 21.233204][ T335] ? __send_to_port+0x420/0x420 [ 21.233206][ T335] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.233211][ T335] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.233213][ T335] ? validate_chain+0x38b/0xc20 [ 21.233218][ T335] hvc_console_print+0x292/0x780 [ 21.233221][ T335] ? __lock_acquire+0x518/0xc20 [ 21.233226][ T335] ? hvc_write+0x3a0/0x3a0 [ 21.233229][ T335] ? rcu_is_watching+0x16/0xd0 [ 21.233235][ T335] console_emit_next_record+0x252/0x4f0 [ 21.233238][ T335] ? devkmsg_read+0x4e0/0x4e0 [ 21.233243][ T335] ? rcu_is_watching+0x16/0xd0 [ 21.233245][ T335] ? lock_acquire+0x13c/0x160 [ 21.233249][ T335] console_flush_one_record+0x46f/0x710 [ 21.233254][ T335] ? console_emit_next_record+0x4f0/0x4f0 [ 21.233255][ T335] ? __lock_acquire+0x518/0xc20 [ 21.233261][ T335] console_unlock+0xee/0x1f0 [ 21.233264][ T335] ? console_flush_one_record+0x710/0x710 [ 21.233265][ T335] ? rcu_is_watching+0x16/0xd0 [ 21.233268][ T335] ? lock_acquire+0xa0/0x160 [ 21.233272][ T335] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.233273][ T335] ? vprintk_emit+0x320/0x3e0 [ 21.233277][ T335] vprintk_emit+0x37c/0x3e0 [ 21.233281][ T335] ? wake_up_klogd_work_func+0x90/0x90 [ 21.233283][ T335] ? rcu_gp_is_expedited+0x54/0x70 [ 21.233285][ T335] ? synchronize_rcu+0x22e/0x350 [ 21.233289][ T335] _printk+0xc7/0x100 [ 21.233293][ T335] ? snapshot_read.cold+0x21/0x21 [ 21.233295][ T335] ? __lock_release.isra.0+0x69/0x1a0 [ 21.233299][ T335] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 21.233300][ T335] ? lockdep_hardirqs_on+0x91/0x130 [ 21.233305][ T335] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 21.233308][ T335] ? __free_object+0x2ad/0x490 [ 21.233313][ T335] enabled_store.cold+0x178/0x1ae [netconsole] [ 21.233316][ T335] ? __kasan_kmalloc+0x7b/0x90 [ 21.233320][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 21.233322][ T335] ? down_write_killable_nested+0x270/0x270 [ 21.233324][ T335] ? __kmalloc_cache_noprof+0x281/0x620 [ 21.233326][ T335] ? configfs_write_iter+0x336/0x4b0 [ 21.233330][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 21.233332][ T335] configfs_write_iter+0x2c0/0x4b0 [ 21.233335][ T335] ? configfs_bin_write_iter+0x530/0x530 [ 21.233337][ T335] new_sync_write+0x33e/0x760 [ 21.233341][ T335] ? __lock_acquire+0x518/0xc20 [ 21.233344][ T335] ? new_sync_read+0x750/0x750 [ 21.233348][ T335] ? lock_acquire.part.0+0xd4/0x280 [ 21.233350][ T335] ? ksys_write+0x116/0x250 [ 21.233356][ T335] vfs_write+0x6a2/0xbd0 [ 21.233360][ T335] ksys_write+0x116/0x250 [ 21.233363][ T335] ? __ia32_sys_read+0xc0/0xc0 [ 21.233366][ T335] ? rcu_is_watching+0x16/0xd0 [ 21.233369][ T335] do_syscall_64+0xff/0x530 [ 21.233372][ T335] ? irq_exit_rcu+0x1a/0x30 [ 21.233374][ T335] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.233377][ T335] RIP: 0033:0x7f72530d6312 [ 21.233380][ T335] Code: 08 0f 85 71 41 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00 [ 21.233382][ T335] RSP: 002b:00007ffeeef621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 21.233385][ T335] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f72530d6312 [ 21.233387][ T335] RDX: 0000000000000001 RSI: 00005621383bd2b0 RDI: 000000000000000b [ 21.233388][ T335] RBP: 00007ffeeef621e0 R08: 0000000000000000 R09: 0000000000000000 [ 21.233389][ T335] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7252f43390 [ 21.233390][ T335] R13: 00005621383bd2b0 R14: 000000000000000b R15: 00007f7252ed10d0 [ 21.233397][ T335] [ 21.681193][ T335] netcons test #3-0 [ 21.681193][ T335] netcons test #3-1 [ 21.681193][ T335] netcons test #3-2 [ 21.681193][ T335] netcons test #3-3 [ 21.681193][ T335] netcons test #3-4 [ 21.681193][ T335] netcons test #3-5 [ 21.681193][ T335] netcons test #3-6 [ 21.681193][ T335] netcons test #3-7 [ 21.681193][ T335] netcons test #3-8 [ 21.681193][ T335] netcons test #3-9 [ 21.681193][ T335] netcons test #3-10 [ 21.681193][ T335] netcons test #3-11 [ 21.681193][ T335] netcons test #3-12 [ 21.681193][ T335] netcons test #3-13 [ 21.681193][ T335] netcons test #3-14 [ 21.681193][ T335] netcons test #3-15 [ 21.681193][ T335] netcons test #3-16 [ 21.681193][ T335] netcons test #3-17 [ 21.681193][ T335] netcons test #3-18 [ 21.681193][ T335] netcons test #3-19 [ 21.681193][ T335] netcons test #3-20 [ 21.681193][ T335] netcons test #3-21 [ 21.681193][ T335] netcons test #3-22 [ 21.681193][ T335] netcons test #3-23 [ 21.681193][ T335] netcons test #3-24 [ 21.681193][ T335] netcons test #3-25 [ 21.681193][ T335] netcons test #3-26 [ 21.681193][ T335] netcons test #3-27 [ 21.681193][ T335] netcons test #3-28 [ 21.681193][ T335] netcons test #3-29 [ 21.681193][ T335] netcons test #3-30 [ 21.681193][ T335] netcons test #3-31 [ 21.681193][ T335] netcons test #3-32 [ 21.681193][ T335] netcons test #3-33 [ 21.681193][ T335] netcons test #3-34 [ 21.681193][ T335] netcons test #3-35 [ 21.681193][ T335] netcons test #3-36 [ 21.681193][ T335] netcons test #3-37 [ 21.681193][ T335] netcons test #3-38 [ 21.681193][ T335] netcons test #3-39 [ 21.700128][ T335] netconsole: netconsole: local port 1514 [ 21.700401][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 21.700746][ T335] netconsole: netconsole: interface name 'enp1s0' [ 21.701038][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 21.701402][ T335] netconsole: netconsole: remote port 6666 [ 21.701690][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 21.702040][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 21.726386][ T335] netconsole: network logging started [ 22.132533][ T335] netcons test #4-0 [ 22.132533][ T335] netcons test #4-1 [ 22.132533][ T335] netcons test #4-2 [ 22.132533][ T335] netcons test #4-3 [ 22.132533][ T335] netcons test #4-4 [ 22.132533][ T335] netcons test #4-5 [ 22.132533][ T335] netcons test #4-6 [ 22.132533][ T335] netcons test #4-7 [ 22.132533][ T335] netcons test #4-8 [ 22.132533][ T335] netcons test #4-9 [ 22.132533][ T335] netcons test #4-10 [ 22.132533][ T335] netcons test #4-11 [ 22.132533][ T335] netcons test #4-12 [ 22.132533][ T335] netcons test #4-13 [ 22.132533][ T335] netcons test #4-14 [ 22.132533][ T335] netcons test #4-15 [ 22.132533][ T335] netcons test #4-16 [ 22.132533][ T335] netcons test #4-17 [ 22.132533][ T335] netcons test #4-18 [ 22.132533][ T335] netcons test #4-19 [ 22.132533][ T335] netcons test #4-20 [ 22.132533][ T335] netcons test #4-21 [ 22.132533][ T335] netcons test #4-22 [ 22.132533][ T335] netcons test #4-23 [ 22.132533][ T335] netcons test #4-24 [ 22.132533][ T335] netcons test #4-25 [ 22.132533][ T335] netcons test #4-26 [ 22.132533][ T335] netcons test #4-27 [ 22.132533][ T335] netcons test #4-28 [ 22.132533][ T335] netcons test #4-29 [ 22.132533][ T335] netcons test #4-30 [ 22.132533][ T335] netcons test #4-31 [ 22.132533][ T335] netcons test #4-32 [ 22.132533][ T335] netcons test #4-33 [ 22.132533][ T335] netcons test #4-34 [ 22.132533][ T335] netcons test #4-35 [ 22.132533][ T335] netcons test #4-36 [ 22.132533][ T335] netcons test #4-37 [ 22.132533][ T335] netcons test #4-38 [ 22.132533][ T335] netcons test #4-39 [ 22.146917][ T335] netconsole: netconsole: local port 1514 [ 22.147244][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 22.147664][ T335] netconsole: netconsole: interface name 'enp1s0' [ 22.148090][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 22.148418][ T335] netconsole: netconsole: remote port 6666 [ 22.148915][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 22.149320][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 22.202150][ T335] netconsole: network logging started [ 22.607464][ T335] netcons test #5-0 [ 22.607464][ T335] netcons test #5-1 [ 22.607464][ T335] netcons test #5-2 [ 22.607464][ T335] netcons test #5-3 [ 22.607464][ T335] netcons test #5-4 [ 22.607464][ T335] netcons test #5-5 [ 22.607464][ T335] netcons test #5-6 [ 22.607464][ T335] netcons test #5-7 [ 22.607464][ T335] netcons test #5-8 [ 22.607464][ T335] netcons test #5-9 [ 22.607464][ T335] netcons test #5-10 [ 22.607464][ T335] netcons test #5-11 [ 22.607464][ T335] netcons test #5-12 [ 22.607464][ T335] netcons test #5-13 [ 22.607464][ T335] netcons test #5-14 [ 22.607464][ T335] netcons test #5-15 [ 22.607464][ T335] netcons test #5-16 [ 22.607464][ T335] netcons test #5-17 [ 22.607464][ T335] netcons test #5-18 [ 22.607464][ T335] netcons test #5-19 [ 22.607464][ T335] netcons test #5-20 [ 22.607464][ T335] netcons test #5-21 [ 22.607464][ T335] netcons test #5-22 [ 22.607464][ T335] netcons test #5-23 [ 22.607464][ T335] netcons test #5-24 [ 22.607464][ T335] netcons test #5-25 [ 22.607464][ T335] netcons test #5-26 [ 22.607464][ T335] netcons test #5-27 [ 22.607464][ T335] netcons test #5-28 [ 22.607464][ T335] netcons test #5-29 [ 22.607464][ T335] netcons test #5-30 [ 22.607464][ T335] netcons test #5-31 [ 22.607464][ T335] netcons test #5-32 [ 22.607464][ T335] netcons test #5-33 [ 22.607464][ T335] netcons test #5-34 [ 22.607464][ T335] netcons test #5-35 [ 22.607464][ T335] netcons test #5-36 [ 22.607464][ T335] netcons test #5-37 [ 22.607464][ T335] netcons test #5-38 [ 22.607464][ T335] netcons test #5-39 [ 22.607497][ T335] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.607499][ T335] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 335, name: python3 [ 22.607501][ T335] preempt_count: 1, expected: 0 [ 22.607502][ T335] RCU nest depth: 0, expected: 0 [ 22.607503][ T335] locks held by python3/335: 4, last CPU#0: [ 22.607505][ T335] #0: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.607518][ T335] #1: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.607523][ T335] #2: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.607527][ T335] #3: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 22.607532][ T335] irq event stamp: 361138 [ 22.607533][ T335] hardirqs last enabled at (361137): [] __down_trylock_console_sem+0x86/0xa0 [ 22.607536][ T335] hardirqs last disabled at (361138): [] console_emit_next_record+0x3f8/0x4f0 [ 22.607538][ T335] softirqs last enabled at (358792): [] handle_softirqs+0x67c/0x900 [ 22.607541][ T335] softirqs last disabled at (358701): [] __irq_exit_rcu+0x145/0x1c0 [ 22.607543][ T335] Preemption disabled at: [ 22.607544][ T335] [] vprintk_emit+0x31b/0x3e0 [ 22.607550][ T335] CPU: 0 UID: 0 PID: 335 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.607553][ T335] Tainted: [W]=WARN [ 22.607554][ T335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 22.607556][ T335] Call Trace: [ 22.607557][ T335] [ 22.607559][ T335] dump_stack_lvl+0x6f/0xa0 [ 22.607564][ T335] ? vprintk_emit+0x31b/0x3e0 [ 22.607567][ T335] __might_resched.cold+0x1fe/0x2c1 [ 22.607571][ T335] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.607575][ T335] ? __kmalloc_noprof+0xdb/0x760 [ 22.607583][ T335] __kmalloc_noprof+0x443/0x760 [ 22.607586][ T335] ? alloc_buf.isra.0+0x4b/0x260 [ 22.607592][ T335] ? do_raw_spin_unlock+0x59/0x250 [ 22.607595][ T335] alloc_buf.isra.0+0x4b/0x260 [ 22.607599][ T335] put_chars+0x1e1/0x2f0 [ 22.607602][ T335] ? __send_to_port+0x420/0x420 [ 22.607604][ T335] ? printk_get_next_message+0x2fe/0x7d0 [ 22.607608][ T335] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.607611][ T335] ? validate_chain+0x38b/0xc20 [ 22.607615][ T335] hvc_console_print+0x292/0x780 [ 22.607619][ T335] ? __lock_acquire+0x518/0xc20 [ 22.607620][ T335] ? __lock_acquire+0x518/0xc20 [ 22.607624][ T335] ? hvc_write+0x3a0/0x3a0 [ 22.607628][ T335] ? rcu_is_watching+0x16/0xd0 [ 22.607631][ T335] ? lock_acquire+0x13c/0x160 [ 22.607635][ T335] console_emit_next_record+0x252/0x4f0 [ 22.607638][ T335] ? devkmsg_read+0x4e0/0x4e0 [ 22.607642][ T335] ? rcu_is_watching+0x16/0xd0 [ 22.607645][ T335] ? lock_acquire+0x13c/0x160 [ 22.607648][ T335] console_flush_one_record+0x46f/0x710 [ 22.607652][ T335] ? console_emit_next_record+0x4f0/0x4f0 [ 22.607654][ T335] ? __lock_acquire+0x518/0xc20 [ 22.607659][ T335] console_unlock+0xee/0x1f0 [ 22.607662][ T335] ? console_flush_one_record+0x710/0x710 [ 22.607664][ T335] ? rcu_is_watching+0x16/0xd0 [ 22.607666][ T335] ? lock_acquire+0xa0/0x160 [ 22.607670][ T335] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.607672][ T335] ? vprintk_emit+0x320/0x3e0 [ 22.607675][ T335] vprintk_emit+0x37c/0x3e0 [ 22.607678][ T335] ? wake_up_klogd_work_func+0x90/0x90 [ 22.607682][ T335] ? _copy_from_iter+0x1bb/0x1810 [ 22.607687][ T335] devkmsg_emit.constprop.0+0xbc/0xf1 [ 22.607691][ T335] ? vprintk_emit.cold+0x107/0x107 [ 22.607695][ T335] ? __kmalloc_noprof+0x302/0x760 [ 22.607697][ T335] ? idr_get_free+0x830/0x830 [ 22.607700][ T335] ? devkmsg_write+0xd1/0x2c0 [ 22.607703][ T335] ? _copy_from_iter+0x1bb/0x1810 [ 22.607706][ T335] devkmsg_write.cold+0x5a/0x8b [ 22.607708][ T335] ? vprintk_default+0x20/0x20 [ 22.607713][ T335] ? vprintk_default+0x20/0x20 [ 22.607715][ T335] new_sync_write+0x33e/0x760 [ 22.607721][ T335] ? new_sync_read+0x750/0x750 [ 22.607725][ T335] ? __lock_release.isra.0+0x69/0x1a0 [ 22.607729][ T335] ? __fget_files+0x1e3/0x460 [ 22.607733][ T335] vfs_write+0x6a2/0xbd0 [ 22.607737][ T335] ksys_write+0x116/0x250 [ 22.607743][ T335] ? __ia32_sys_read+0xc0/0xc0 [ 22.607746][ T335] ? rcu_is_watching+0x16/0xd0 [ 22.607750][ T335] do_syscall_64+0xff/0x530 [ 22.607752][ T335] ? irq_exit_rcu+0x1a/0x30 [ 22.607755][ T335] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.607757][ T335] RIP: 0033:0x7f72530d6312 [ 22.607761][ T335] Code: 08 0f 85 71 41 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00 [ 22.607763][ T335] RSP: 002b:00007ffeeef621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 22.607766][ T335] RAX: ffffffffffffffda RBX: 00000000000002ee RCX: 00007f72530d6312 [ 22.607768][ T335] RDX: 00000000000002ee RSI: 00005621383bd2b0 RDI: 000000000000000b [ 22.607769][ T335] RBP: 00007ffeeef621e0 R08: 0000000000000000 R09: 0000000000000000 [ 22.607770][ T335] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7252f43390 [ 22.607770][ T335] R13: 00005621383bd2b0 R14: 000000000000000b R15: 00007f7252ed10d0 [ 22.607777][ T335] [ 22.653525][ T335] netconsole: netconsole: local port 1514 [ 22.653779][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 22.654138][ T335] netconsole: netconsole: interface name 'enp1s0' [ 22.654481][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 22.654818][ T335] netconsole: netconsole: remote port 6666 [ 22.655092][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 22.655414][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 22.688211][ T335] netconsole: network logging started [ 23.094982][ T335] netcons test #6-0 [ 23.094982][ T335] netcons test #6-1 [ 23.094982][ T335] netcons test #6-2 [ 23.094982][ T335] netcons test #6-3 [ 23.094982][ T335] netcons test #6-4 [ 23.094982][ T335] netcons test #6-5 [ 23.094982][ T335] netcons test #6-6 [ 23.094982][ T335] netcons test #6-7 [ 23.094982][ T335] netcons test #6-8 [ 23.094982][ T335] netcons test #6-9 [ 23.094982][ T335] netcons test #6-10 [ 23.094982][ T335] netcons test #6-11 [ 23.094982][ T335] netcons test #6-12 [ 23.094982][ T335] netcons test #6-13 [ 23.094982][ T335] netcons test #6-14 [ 23.094982][ T335] netcons test #6-15 [ 23.094982][ T335] netcons test #6-16 [ 23.094982][ T335] netcons test #6-17 [ 23.094982][ T335] netcons test #6-18 [ 23.094982][ T335] netcons test #6-19 [ 23.094982][ T335] netcons test #6-20 [ 23.094982][ T335] netcons test #6-21 [ 23.094982][ T335] netcons test #6-22 [ 23.094982][ T335] netcons test #6-23 [ 23.094982][ T335] netcons test #6-24 [ 23.094982][ T335] netcons test #6-25 [ 23.094982][ T335] netcons test #6-26 [ 23.094982][ T335] netcons test #6-27 [ 23.094982][ T335] netcons test #6-28 [ 23.094982][ T335] netcons test #6-29 [ 23.094982][ T335] netcons test #6-30 [ 23.094982][ T335] netcons test #6-31 [ 23.094982][ T335] netcons test #6-32 [ 23.094982][ T335] netcons test #6-33 [ 23.094982][ T335] netcons test #6-34 [ 23.094982][ T335] netcons test #6-35 [ 23.094982][ T335] netcons test #6-36 [ 23.094982][ T335] netcons test #6-37 [ 23.094982][ T335] netcons test #6-38 [ 23.094982][ T335] netcons test #6-39 [ 23.109190][ T335] netconsole: netconsole: local port 1514 [ 23.109450][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 23.109820][ T335] netconsole: netconsole: interface name 'enp1s0' [ 23.110109][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 23.110453][ T335] netconsole: netconsole: remote port 6666 [ 23.110743][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 23.111126][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 23.171232][ T335] netconsole: network logging started [ 23.577907][ T335] netcons test #7-0 [ 23.577907][ T335] netcons test #7-1 [ 23.577907][ T335] netcons test #7-2 [ 23.577907][ T335] netcons test #7-3 [ 23.577907][ T335] netcons test #7-4 [ 23.577907][ T335] netcons test #7-5 [ 23.577907][ T335] netcons test #7-6 [ 23.577907][ T335] netcons test #7-7 [ 23.577907][ T335] netcons test #7-8 [ 23.577907][ T335] netcons test #7-9 [ 23.577907][ T335] netcons test #7-10 [ 23.577907][ T335] netcons test #7-11 [ 23.577907][ T335] netcons test #7-12 [ 23.577907][ T335] netcons test #7-13 [ 23.577907][ T335] netcons test #7-14 [ 23.577907][ T335] netcons test #7-15 [ 23.577907][ T335] netcons test #7-16 [ 23.577907][ T335] netcons test #7-17 [ 23.577907][ T335] netcons test #7-18 [ 23.577907][ T335] netcons test #7-19 [ 23.577907][ T335] netcons test #7-20 [ 23.577907][ T335] netcons test #7-21 [ 23.577907][ T335] netcons test #7-22 [ 23.577907][ T335] netcons test #7-23 [ 23.577907][ T335] netcons test #7-24 [ 23.577907][ T335] netcons test #7-25 [ 23.577907][ T335] netcons test #7-26 [ 23.577907][ T335] netcons test #7-27 [ 23.577907][ T335] netcons test #7-28 [ 23.577907][ T335] netcons test #7-29 [ 23.577907][ T335] netcons test #7-30 [ 23.577907][ T335] netcons test #7-31 [ 23.577907][ T335] netcons test #7-32 [ 23.577907][ T335] netcons test #7-33 [ 23.577907][ T335] netcons test #7-34 [ 23.577907][ T335] netcons test #7-35 [ 23.577907][ T335] netcons test #7-36 [ 23.577907][ T335] netcons test #7-37 [ 23.577907][ T335] netcons test #7-38 [ 23.577907][ T335] netcons test #7-39 [ 23.592726][ T335] netconsole: netconsole: local port 1514 [ 23.593019][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 23.593383][ T335] netconsole: netconsole: interface name 'enp1s0' [ 23.593692][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 23.596709][ T335] netconsole: netconsole: remote port 6666 [ 23.597032][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 23.597393][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 23.644007][ T335] netconsole: network logging started [ 23.644023][ T335] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.644026][ T335] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 335, name: python3 [ 23.644028][ T335] preempt_count: 1, expected: 0 [ 23.644029][ T335] RCU nest depth: 0, expected: 0 [ 23.644030][ T335] locks held by python3/335: 9, last CPU#0: [ 23.644033][ T335] #0: ff1100000bb68130 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 23.644046][ T335] #1: ff1100000a9cc430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 23.644053][ T335] #2: ff110000082ba880 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 23.644060][ T335] #3: ff1100000e3e49b0 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 23.644064][ T335] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 23.644072][ T335] #5: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.644079][ T335] #6: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.644084][ T335] #7: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.644089][ T335] #8: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 23.644094][ T335] irq event stamp: 384436 [ 23.644096][ T335] hardirqs last enabled at (384435): [] __down_trylock_console_sem+0x86/0xa0 [ 23.644100][ T335] hardirqs last disabled at (384436): [] console_emit_next_record+0x3f8/0x4f0 [ 23.644103][ T335] softirqs last enabled at (384388): [] __alloc_skb+0x4c5/0x5f0 [ 23.644107][ T335] softirqs last disabled at (384386): [] __alloc_skb+0x4c5/0x5f0 [ 23.644109][ T335] Preemption disabled at: [ 23.644110][ T335] [] vprintk_emit+0x31b/0x3e0 [ 23.644117][ T335] CPU: 0 UID: 0 PID: 335 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.644121][ T335] Tainted: [W]=WARN [ 23.644122][ T335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 23.644124][ T335] Call Trace: [ 23.644126][ T335] [ 23.644128][ T335] dump_stack_lvl+0x6f/0xa0 [ 23.644135][ T335] ? vprintk_emit+0x31b/0x3e0 [ 23.644137][ T335] __might_resched.cold+0x1fe/0x2c1 [ 23.644143][ T335] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.644147][ T335] ? __kmalloc_noprof+0xdb/0x760 [ 23.644153][ T335] __kmalloc_noprof+0x443/0x760 [ 23.644156][ T335] ? alloc_buf.isra.0+0x4b/0x260 [ 23.644164][ T335] ? do_raw_spin_unlock+0x59/0x250 [ 23.644167][ T335] alloc_buf.isra.0+0x4b/0x260 [ 23.644172][ T335] put_chars+0x1e1/0x2f0 [ 23.644176][ T335] ? __send_to_port+0x420/0x420 [ 23.644179][ T335] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.644184][ T335] ? rcu_read_lock_any_held+0x3c/0x90 [ 23.644187][ T335] ? validate_chain+0x38b/0xc20 [ 23.644193][ T335] hvc_console_print+0x292/0x780 [ 23.644196][ T335] ? __lock_acquire+0x518/0xc20 [ 23.644203][ T335] ? hvc_write+0x3a0/0x3a0 [ 23.644207][ T335] ? rcu_is_watching+0x16/0xd0 [ 23.644214][ T335] console_emit_next_record+0x252/0x4f0 [ 23.644218][ T335] ? devkmsg_read+0x4e0/0x4e0 [ 23.644224][ T335] ? rcu_is_watching+0x16/0xd0 [ 23.644227][ T335] ? lock_acquire+0x13c/0x160 [ 23.644233][ T335] console_flush_one_record+0x46f/0x710 [ 23.644238][ T335] ? console_emit_next_record+0x4f0/0x4f0 [ 23.644240][ T335] ? __lock_acquire+0x518/0xc20 [ 23.644248][ T335] console_unlock+0xee/0x1f0 [ 23.644251][ T335] ? console_flush_one_record+0x710/0x710 [ 23.644253][ T335] ? rcu_is_watching+0x16/0xd0 [ 23.644256][ T335] ? lock_acquire+0xa0/0x160 [ 23.644261][ T335] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.644263][ T335] ? vprintk_emit+0x320/0x3e0 [ 23.644267][ T335] vprintk_emit+0x37c/0x3e0 [ 23.644272][ T335] ? wake_up_klogd_work_func+0x90/0x90 [ 23.644276][ T335] ? rcu_gp_is_expedited+0x54/0x70 [ 23.644278][ T335] ? synchronize_rcu+0x22e/0x350 [ 23.644283][ T335] _printk+0xc7/0x100 [ 23.644287][ T335] ? snapshot_read.cold+0x21/0x21 [ 23.644289][ T335] ? __lock_release.isra.0+0x69/0x1a0 [ 23.644295][ T335] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 23.644297][ T335] ? lockdep_hardirqs_on+0x91/0x130 [ 23.644302][ T335] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 23.644306][ T335] ? __free_object+0x2ad/0x490 [ 23.644311][ T335] enabled_store.cold+0x178/0x1ae [netconsole] [ 23.644314][ T335] ? __kasan_kmalloc+0x7b/0x90 [ 23.644319][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 23.644321][ T335] ? down_write_killable_nested+0x270/0x270 [ 23.644324][ T335] ? __kmalloc_cache_noprof+0x281/0x620 [ 23.644327][ T335] ? configfs_write_iter+0x336/0x4b0 [ 23.644332][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 23.644334][ T335] configfs_write_iter+0x2c0/0x4b0 [ 23.644338][ T335] ? configfs_bin_write_iter+0x530/0x530 [ 23.644342][ T335] new_sync_write+0x33e/0x760 [ 23.644346][ T335] ? __lock_acquire+0x518/0xc20 [ 23.644350][ T335] ? new_sync_read+0x750/0x750 [ 23.644354][ T335] ? lock_acquire.part.0+0xd4/0x280 [ 23.644357][ T335] ? ksys_write+0x116/0x250 [ 23.644365][ T335] vfs_write+0x6a2/0xbd0 [ 23.644370][ T335] ksys_write+0x116/0x250 [ 23.644374][ T335] ? __ia32_sys_read+0xc0/0xc0 [ 23.644377][ T335] ? rcu_is_watching+0x16/0xd0 [ 23.644382][ T335] do_syscall_64+0xff/0x530 [ 23.644384][ T335] ? irq_exit_rcu+0x1a/0x30 [ 23.644389][ T335] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.644392][ T335] RIP: 0033:0x7f72530d6312 [ 23.644396][ T335] Code: 08 0f 85 71 41 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00 [ 23.644399][ T335] RSP: 002b:00007ffeeef621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 23.644402][ T335] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f72530d6312 [ 23.644404][ T335] RDX: 0000000000000001 RSI: 00005621383bd2b0 RDI: 000000000000000b [ 23.644405][ T335] RBP: 00007ffeeef621e0 R08: 0000000000000000 R09: 0000000000000000 [ 23.644406][ T335] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7252f43390 [ 23.644407][ T335] R13: 00005621383bd2b0 R14: 000000000000000b R15: 00007f7252ed10d0 [ 23.644417][ T335] [ 24.092022][ T335] netcons test #8-0 [ 24.092022][ T335] netcons test #8-1 [ 24.092022][ T335] netcons test #8-2 [ 24.092022][ T335] netcons test #8-3 [ 24.092022][ T335] netcons test #8-4 [ 24.092022][ T335] netcons test #8-5 [ 24.092022][ T335] netcons test #8-6 [ 24.092022][ T335] netcons test #8-7 [ 24.092022][ T335] netcons test #8-8 [ 24.092022][ T335] netcons test #8-9 [ 24.092022][ T335] netcons test #8-10 [ 24.092022][ T335] netcons test #8-11 [ 24.092022][ T335] netcons test #8-12 [ 24.092022][ T335] netcons test #8-13 [ 24.092022][ T335] netcons test #8-14 [ 24.092022][ T335] netcons test #8-15 [ 24.092022][ T335] netcons test #8-16 [ 24.092022][ T335] netcons test #8-17 [ 24.092022][ T335] netcons test #8-18 [ 24.092022][ T335] netcons test #8-19 [ 24.092022][ T335] netcons test #8-20 [ 24.092022][ T335] netcons test #8-21 [ 24.092022][ T335] netcons test #8-22 [ 24.092022][ T335] netcons test #8-23 [ 24.092022][ T335] netcons test #8-24 [ 24.092022][ T335] netcons test #8-25 [ 24.092022][ T335] netcons test #8-26 [ 24.092022][ T335] netcons test #8-27 [ 24.092022][ T335] netcons test #8-28 [ 24.092022][ T335] netcons test #8-29 [ 24.092022][ T335] netcons test #8-30 [ 24.092022][ T335] netcons test #8-31 [ 24.092022][ T335] netcons test #8-32 [ 24.092022][ T335] netcons test #8-33 [ 24.092022][ T335] netcons test #8-34 [ 24.092022][ T335] netcons test #8-35 [ 24.092022][ T335] netcons test #8-36 [ 24.092022][ T335] netcons test #8-37 [ 24.092022][ T335] netcons test #8-38 [ 24.092022][ T335] netcons test #8-39 [ 24.099788][ T335] netconsole: netconsole: local port 1514 [ 24.100452][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 24.102854][ T335] netconsole: netconsole: interface name 'enp1s0' [ 24.103125][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 24.103452][ T335] netconsole: netconsole: remote port 6666 [ 24.103732][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 24.104071][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 24.153716][ T335] netconsole: network logging started [ 24.558190][ T335] netcons test #9-0 [ 24.558190][ T335] netcons test #9-1 [ 24.558190][ T335] netcons test #9-2 [ 24.558190][ T335] netcons test #9-3 [ 24.558190][ T335] netcons test #9-4 [ 24.558190][ T335] netcons test #9-5 [ 24.558190][ T335] netcons test #9-6 [ 24.558190][ T335] netcons test #9-7 [ 24.558190][ T335] netcons test #9-8 [ 24.558190][ T335] netcons test #9-9 [ 24.558190][ T335] netcons test #9-10 [ 24.558190][ T335] netcons test #9-11 [ 24.558190][ T335] netcons test #9-12 [ 24.558190][ T335] netcons test #9-13 [ 24.558190][ T335] netcons test #9-14 [ 24.558190][ T335] netcons test #9-15 [ 24.558190][ T335] netcons test #9-16 [ 24.558190][ T335] netcons test #9-17 [ 24.558190][ T335] netcons test #9-18 [ 24.558190][ T335] netcons test #9-19 [ 24.558190][ T335] netcons test #9-20 [ 24.558190][ T335] netcons test #9-21 [ 24.558190][ T335] netcons test #9-22 [ 24.558190][ T335] netcons test #9-23 [ 24.558190][ T335] netcons test #9-24 [ 24.558190][ T335] netcons test #9-25 [ 24.558190][ T335] netcons test #9-26 [ 24.558190][ T335] netcons test #9-27 [ 24.558190][ T335] netcons test #9-28 [ 24.558190][ T335] netcons test #9-29 [ 24.558190][ T335] netcons test #9-30 [ 24.558190][ T335] netcons test #9-31 [ 24.558190][ T335] netcons test #9-32 [ 24.558190][ T335] netcons test #9-33 [ 24.558190][ T335] netcons test #9-34 [ 24.558190][ T335] netcons test #9-35 [ 24.558190][ T335] netcons test #9-36 [ 24.558190][ T335] netcons test #9-37 [ 24.558190][ T335] netcons test #9-38 [ 24.558190][ T335] netcons test #9-39 [ 24.573954][ T335] netconsole: netconsole: local port 1514 [ 24.574283][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 24.574622][ T335] netconsole: netconsole: interface name 'enp1s0' [ 24.577844][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 24.578204][ T335] netconsole: netconsole: remote port 6666 [ 24.578481][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 24.578833][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 24.649231][ T335] netconsole: network logging started [ 24.649247][ T335] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.649251][ T335] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 335, name: python3 [ 24.649253][ T335] preempt_count: 1, expected: 0 [ 24.649254][ T335] RCU nest depth: 0, expected: 0 [ 24.649255][ T335] locks held by python3/335: 9, last CPU#0: [ 24.649257][ T335] #0: ff1100000aac7970 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 24.649270][ T335] #1: ff1100000a9cc430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 24.649276][ T335] #2: ff110000096a9f80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 24.649281][ T335] #3: ff1100000e3e49b0 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 24.649285][ T335] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 24.649292][ T335] #5: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.649297][ T335] #6: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.649302][ T335] #7: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.649306][ T335] #8: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.649311][ T335] irq event stamp: 400142 [ 24.649313][ T335] hardirqs last enabled at (400141): [] __down_trylock_console_sem+0x86/0xa0 [ 24.649315][ T335] hardirqs last disabled at (400142): [] console_emit_next_record+0x3f8/0x4f0 [ 24.649317][ T335] softirqs last enabled at (400094): [] __alloc_skb+0x4c5/0x5f0 [ 24.649321][ T335] softirqs last disabled at (400092): [] __alloc_skb+0x4c5/0x5f0 [ 24.649323][ T335] Preemption disabled at: [ 24.649324][ T335] [] vprintk_emit+0x31b/0x3e0 [ 24.649330][ T335] CPU: 0 UID: 0 PID: 335 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.649334][ T335] Tainted: [W]=WARN [ 24.649335][ T335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 24.649336][ T335] Call Trace: [ 24.649339][ T335] [ 24.649341][ T335] dump_stack_lvl+0x6f/0xa0 [ 24.649347][ T335] ? vprintk_emit+0x31b/0x3e0 [ 24.649349][ T335] __might_resched.cold+0x1fe/0x2c1 [ 24.649354][ T335] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.649358][ T335] ? __kmalloc_noprof+0xdb/0x760 [ 24.649363][ T335] __kmalloc_noprof+0x443/0x760 [ 24.649365][ T335] ? alloc_buf.isra.0+0x4b/0x260 [ 24.649372][ T335] ? do_raw_spin_unlock+0x59/0x250 [ 24.649375][ T335] alloc_buf.isra.0+0x4b/0x260 [ 24.649378][ T335] put_chars+0x1e1/0x2f0 [ 24.649381][ T335] ? __send_to_port+0x420/0x420 [ 24.649383][ T335] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 24.649388][ T335] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.649390][ T335] ? validate_chain+0x38b/0xc20 [ 24.649395][ T335] hvc_console_print+0x292/0x780 [ 24.649398][ T335] ? __lock_acquire+0x518/0xc20 [ 24.649404][ T335] ? hvc_write+0x3a0/0x3a0 [ 24.649407][ T335] ? rcu_is_watching+0x16/0xd0 [ 24.649412][ T335] console_emit_next_record+0x252/0x4f0 [ 24.649416][ T335] ? devkmsg_read+0x4e0/0x4e0 [ 24.649420][ T335] ? rcu_is_watching+0x16/0xd0 [ 24.649423][ T335] ? lock_acquire+0x13c/0x160 [ 24.649427][ T335] console_flush_one_record+0x46f/0x710 [ 24.649431][ T335] ? console_emit_next_record+0x4f0/0x4f0 [ 24.649432][ T335] ? __lock_acquire+0x518/0xc20 [ 24.649438][ T335] console_unlock+0xee/0x1f0 [ 24.649441][ T335] ? console_flush_one_record+0x710/0x710 [ 24.649443][ T335] ? rcu_is_watching+0x16/0xd0 [ 24.649445][ T335] ? lock_acquire+0xa0/0x160 [ 24.649449][ T335] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.649450][ T335] ? vprintk_emit+0x320/0x3e0 [ 24.649454][ T335] vprintk_emit+0x37c/0x3e0 [ 24.649458][ T335] ? wake_up_klogd_work_func+0x90/0x90 [ 24.649460][ T335] ? rcu_gp_is_expedited+0x54/0x70 [ 24.649462][ T335] ? synchronize_rcu+0x22e/0x350 [ 24.649466][ T335] _printk+0xc7/0x100 [ 24.649469][ T335] ? snapshot_read.cold+0x21/0x21 [ 24.649471][ T335] ? __lock_release.isra.0+0x69/0x1a0 [ 24.649475][ T335] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 24.649477][ T335] ? lockdep_hardirqs_on+0x91/0x130 [ 24.649481][ T335] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 24.649484][ T335] ? __free_object+0x2ad/0x490 [ 24.649489][ T335] enabled_store.cold+0x178/0x1ae [netconsole] [ 24.649492][ T335] ? __kasan_kmalloc+0x7b/0x90 [ 24.649496][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 24.649498][ T335] ? down_write_killable_nested+0x270/0x270 [ 24.649500][ T335] ? __kmalloc_cache_noprof+0x281/0x620 [ 24.649503][ T335] ? configfs_write_iter+0x336/0x4b0 [ 24.649507][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 24.649509][ T335] configfs_write_iter+0x2c0/0x4b0 [ 24.649511][ T335] ? configfs_bin_write_iter+0x530/0x530 [ 24.649514][ T335] new_sync_write+0x33e/0x760 [ 24.649517][ T335] ? __lock_acquire+0x518/0xc20 [ 24.649520][ T335] ? new_sync_read+0x750/0x750 [ 24.649524][ T335] ? lock_acquire.part.0+0xd4/0x280 [ 24.649525][ T335] ? ksys_write+0x116/0x250 [ 24.649532][ T335] vfs_write+0x6a2/0xbd0 [ 24.649536][ T335] ksys_write+0x116/0x250 [ 24.649538][ T335] ? __ia32_sys_read+0xc0/0xc0 [ 24.649541][ T335] ? rcu_is_watching+0x16/0xd0 [ 24.649545][ T335] do_syscall_64+0xff/0x530 [ 24.649547][ T335] ? irq_exit_rcu+0x1a/0x30 [ 24.649551][ T335] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.649553][ T335] RIP: 0033:0x7f72530d6312 [ 24.649557][ T335] Code: 08 0f 85 71 41 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00 [ 24.649559][ T335] RSP: 002b:00007ffeeef621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 24.649562][ T335] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f72530d6312 [ 24.649563][ T335] RDX: 0000000000000001 RSI: 00005621383bd2b0 RDI: 000000000000000b [ 24.649564][ T335] RBP: 00007ffeeef621e0 R08: 0000000000000000 R09: 0000000000000000 [ 24.649565][ T335] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7252f43390 [ 24.649566][ T335] R13: 00005621383bd2b0 R14: 000000000000000b R15: 00007f7252ed10d0 [ 24.649574][ T335] [ 25.111520][ T335] netcons test #10-0 [ 25.111520][ T335] netcons test #10-1 [ 25.111520][ T335] netcons test #10-2 [ 25.111520][ T335] netcons test #10-3 [ 25.111520][ T335] netcons test #10-4 [ 25.111520][ T335] netcons test #10-5 [ 25.111520][ T335] netcons test #10-6 [ 25.111520][ T335] netcons test #10-7 [ 25.111520][ T335] netcons test #10-8 [ 25.111520][ T335] netcons test #10-9 [ 25.111520][ T335] netcons test #10-10 [ 25.111520][ T335] netcons test #10-11 [ 25.111520][ T335] netcons test #10-12 [ 25.111520][ T335] netcons test #10-13 [ 25.111520][ T335] netcons test #10-14 [ 25.111520][ T335] netcons test #10-15 [ 25.111520][ T335] netcons test #10-16 [ 25.111520][ T335] netcons test #10-17 [ 25.111520][ T335] netcons test #10-18 [ 25.111520][ T335] netcons test #10-19 [ 25.111520][ T335] netcons test #10-20 [ 25.111520][ T335] netcons test #10-21 [ 25.111520][ T335] netcons test #10-22 [ 25.111520][ T335] netcons test #10-23 [ 25.111520][ T335] netcons test #10-24 [ 25.111520][ T335] netcons test #10-25 [ 25.111520][ T335] netcons test #10-26 [ 25.111520][ T335] netcons test #10-27 [ 25.111520][ T335] netcons test #10-28 [ 25.111520][ T335] netcons test #10-29 [ 25.111520][ T335] netcons test #10-30 [ 25.111520][ T335] netcons test #10-31 [ 25.111520][ T335] netcons test #10-32 [ 25.111520][ T335] netcons test #10-33 [ 25.111520][ T335] netcons test #10-34 [ 25.111520][ T335] netcons test #10-35 [ 25.111520][ T335] netcons test #10-36 [ 25.111520][ T335] netcons test #10-37 [ 25.111520][ T335] netcons test #10-38 [ 25.111520][ T335] netcons test #10-39 [ 25.120934][ T335] netconsole: netconsole: local port 1514 [ 25.121308][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 25.121780][ T335] netconsole: netconsole: interface name 'enp1s0' [ 25.122113][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 25.122455][ T335] netconsole: netconsole: remote port 6666 [ 25.122740][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 25.123099][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 25.164993][ T335] netconsole: network logging started [ 25.576296][ T335] netcons test #11-0 [ 25.576296][ T335] netcons test #11-1 [ 25.576296][ T335] netcons test #11-2 [ 25.576296][ T335] netcons test #11-3 [ 25.576296][ T335] netcons test #11-4 [ 25.576296][ T335] netcons test #11-5 [ 25.576296][ T335] netcons test #11-6 [ 25.576296][ T335] netcons test #11-7 [ 25.576296][ T335] netcons test #11-8 [ 25.576296][ T335] netcons test #11-9 [ 25.576296][ T335] netcons test #11-10 [ 25.576296][ T335] netcons test #11-11 [ 25.576296][ T335] netcons test #11-12 [ 25.576296][ T335] netcons test #11-13 [ 25.576296][ T335] netcons test #11-14 [ 25.576296][ T335] netcons test #11-15 [ 25.576296][ T335] netcons test #11-16 [ 25.576296][ T335] netcons test #11-17 [ 25.576296][ T335] netcons test #11-18 [ 25.576296][ T335] netcons test #11-19 [ 25.576296][ T335] netcons test #11-20 [ 25.576296][ T335] netcons test #11-21 [ 25.576296][ T335] netcons test #11-22 [ 25.576296][ T335] netcons test #11-23 [ 25.576296][ T335] netcons test #11-24 [ 25.576296][ T335] netcons test #11-25 [ 25.576296][ T335] netcons test #11-26 [ 25.576296][ T335] netcons test #11-27 [ 25.576296][ T335] netcons test #11-28 [ 25.576296][ T335] netcons test #11-29 [ 25.576296][ T335] netcons test #11-30 [ 25.576296][ T335] netcons test #11-31 [ 25.576296][ T335] netcons test #11-32 [ 25.576296][ T335] netcons test #11-33 [ 25.576296][ T335] netcons test #11-34 [ 25.576296][ T335] netcons test #11-35 [ 25.576296][ T335] netcons test #11-36 [ 25.576296][ T335] netcons test #11-37 [ 25.576296][ T335] netcons test #11-38 [ 25.576296][ T335] netcons test #11-39 [ 25.590690][ T335] netconsole: netconsole: local port 1514 [ 25.590988][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 25.591339][ T335] netconsole: netconsole: interface name 'enp1s0' [ 25.591636][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 25.592064][ T335] netconsole: netconsole: remote port 6666 [ 25.592392][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 25.592728][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 25.632141][ T335] netconsole: network logging started [ 26.044587][ T335] netcons test #12-0 [ 26.044587][ T335] netcons test #12-1 [ 26.044587][ T335] netcons test #12-2 [ 26.044587][ T335] netcons test #12-3 [ 26.044587][ T335] netcons test #12-4 [ 26.044587][ T335] netcons test #12-5 [ 26.044587][ T335] netcons test #12-6 [ 26.044587][ T335] netcons test #12-7 [ 26.044587][ T335] netcons test #12-8 [ 26.044587][ T335] netcons test #12-9 [ 26.044587][ T335] netcons test #12-10 [ 26.044587][ T335] netcons test #12-11 [ 26.044587][ T335] netcons test #12-12 [ 26.044587][ T335] netcons test #12-13 [ 26.044587][ T335] netcons test #12-14 [ 26.044587][ T335] netcons test #12-15 [ 26.044587][ T335] netcons test #12-16 [ 26.044587][ T335] netcons test #12-17 [ 26.044587][ T335] netcons test #12-18 [ 26.044587][ T335] netcons test #12-19 [ 26.044587][ T335] netcons test #12-20 [ 26.044587][ T335] netcons test #12-21 [ 26.044587][ T335] netcons test #12-22 [ 26.044587][ T335] netcons test #12-23 [ 26.044587][ T335] netcons test #12-24 [ 26.044587][ T335] netcons test #12-25 [ 26.044587][ T335] netcons test #12-26 [ 26.044587][ T335] netcons test #12-27 [ 26.044587][ T335] netcons test #12-28 [ 26.044587][ T335] netcons test #12-29 [ 26.044587][ T335] netcons test #12-30 [ 26.044587][ T335] netcons test #12-31 [ 26.044587][ T335] netcons test #12-32 [ 26.044587][ T335] netcons test #12-33 [ 26.044587][ T335] netcons test #12-34 [ 26.044587][ T335] netcons test #12-35 [ 26.044587][ T335] netcons test #12-36 [ 26.044587][ T335] netcons test #12-37 [ 26.044587][ T335] netcons test #12-38 [ 26.044587][ T335] netcons test #12-39 [ 26.044620][ T335] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.044624][ T335] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 335, name: python3 [ 26.044625][ T335] preempt_count: 1, expected: 0 [ 26.044626][ T335] RCU nest depth: 0, expected: 0 [ 26.044627][ T335] locks held by python3/335: 4, last CPU#0: [ 26.044629][ T335] #0: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.044642][ T335] #1: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.044647][ T335] #2: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.044651][ T335] #3: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.044656][ T335] irq event stamp: 434456 [ 26.044657][ T335] hardirqs last enabled at (434455): [] __down_trylock_console_sem+0x86/0xa0 [ 26.044660][ T335] hardirqs last disabled at (434456): [] console_emit_next_record+0x3f8/0x4f0 [ 26.044662][ T335] softirqs last enabled at (434310): [] handle_softirqs+0x67c/0x900 [ 26.044665][ T335] softirqs last disabled at (433573): [] __irq_exit_rcu+0x145/0x1c0 [ 26.044668][ T335] Preemption disabled at: [ 26.044668][ T335] [] vprintk_emit+0x31b/0x3e0 [ 26.044674][ T335] CPU: 0 UID: 0 PID: 335 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.044677][ T335] Tainted: [W]=WARN [ 26.044678][ T335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 26.044680][ T335] Call Trace: [ 26.044682][ T335] [ 26.044683][ T335] dump_stack_lvl+0x6f/0xa0 [ 26.044688][ T335] ? vprintk_emit+0x31b/0x3e0 [ 26.044691][ T335] __might_resched.cold+0x1fe/0x2c1 [ 26.044695][ T335] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.044699][ T335] ? __kmalloc_noprof+0xdb/0x760 [ 26.044704][ T335] __kmalloc_noprof+0x443/0x760 [ 26.044707][ T335] ? alloc_buf.isra.0+0x4b/0x260 [ 26.044713][ T335] ? do_raw_spin_unlock+0x59/0x250 [ 26.044716][ T335] alloc_buf.isra.0+0x4b/0x260 [ 26.044720][ T335] put_chars+0x1e1/0x2f0 [ 26.044723][ T335] ? __send_to_port+0x420/0x420 [ 26.044725][ T335] ? printk_get_next_message+0x2fe/0x7d0 [ 26.044728][ T335] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.044731][ T335] ? validate_chain+0x38b/0xc20 [ 26.044735][ T335] hvc_console_print+0x292/0x780 [ 26.044739][ T335] ? __lock_acquire+0x518/0xc20 [ 26.044741][ T335] ? __lock_acquire+0x518/0xc20 [ 26.044745][ T335] ? hvc_write+0x3a0/0x3a0 [ 26.044749][ T335] ? rcu_is_watching+0x16/0xd0 [ 26.044752][ T335] ? lock_acquire+0x13c/0x160 [ 26.044761][ T335] console_emit_next_record+0x252/0x4f0 [ 26.044764][ T335] ? devkmsg_read+0x4e0/0x4e0 [ 26.044769][ T335] ? rcu_is_watching+0x16/0xd0 [ 26.044771][ T335] ? lock_acquire+0x13c/0x160 [ 26.044775][ T335] console_flush_one_record+0x46f/0x710 [ 26.044779][ T335] ? console_emit_next_record+0x4f0/0x4f0 [ 26.044781][ T335] ? __lock_acquire+0x518/0xc20 [ 26.044786][ T335] console_unlock+0xee/0x1f0 [ 26.044788][ T335] ? console_flush_one_record+0x710/0x710 [ 26.044790][ T335] ? rcu_is_watching+0x16/0xd0 [ 26.044792][ T335] ? lock_acquire+0xa0/0x160 [ 26.044796][ T335] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.044798][ T335] ? vprintk_emit+0x320/0x3e0 [ 26.044801][ T335] vprintk_emit+0x37c/0x3e0 [ 26.044806][ T335] ? wake_up_klogd_work_func+0x90/0x90 [ 26.044809][ T335] ? _copy_from_iter+0x1bb/0x1810 [ 26.044815][ T335] devkmsg_emit.constprop.0+0xbc/0xf1 [ 26.044819][ T335] ? vprintk_emit.cold+0x107/0x107 [ 26.044823][ T335] ? __kmalloc_noprof+0x302/0x760 [ 26.044825][ T335] ? idr_get_free+0x830/0x830 [ 26.044828][ T335] ? devkmsg_write+0xd1/0x2c0 [ 26.044831][ T335] ? _copy_from_iter+0x1bb/0x1810 [ 26.044833][ T335] devkmsg_write.cold+0x5a/0x8b [ 26.044836][ T335] ? vprintk_default+0x20/0x20 [ 26.044840][ T335] ? vprintk_default+0x20/0x20 [ 26.044843][ T335] new_sync_write+0x33e/0x760 [ 26.044849][ T335] ? new_sync_read+0x750/0x750 [ 26.044853][ T335] ? __lock_release.isra.0+0x69/0x1a0 [ 26.044857][ T335] ? __fget_files+0x1e3/0x460 [ 26.044861][ T335] vfs_write+0x6a2/0xbd0 [ 26.044865][ T335] ksys_write+0x116/0x250 [ 26.044867][ T335] ? __ia32_sys_read+0xc0/0xc0 [ 26.044870][ T335] ? rcu_is_watching+0x16/0xd0 [ 26.044873][ T335] do_syscall_64+0xff/0x530 [ 26.044876][ T335] ? irq_exit_rcu+0x1a/0x30 [ 26.044879][ T335] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.044881][ T335] RIP: 0033:0x7f72530d6312 [ 26.044885][ T335] Code: 08 0f 85 71 41 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00 [ 26.044887][ T335] RSP: 002b:00007ffeeef621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 26.044890][ T335] RAX: ffffffffffffffda RBX: 0000000000000316 RCX: 00007f72530d6312 [ 26.044892][ T335] RDX: 0000000000000316 RSI: 00005621383bd2b0 RDI: 000000000000000b [ 26.044893][ T335] RBP: 00007ffeeef621e0 R08: 0000000000000000 R09: 0000000000000000 [ 26.044894][ T335] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7252f43390 [ 26.044895][ T335] R13: 00005621383bd2b0 R14: 000000000000000b R15: 00007f7252ed10d0 [ 26.044902][ T335] [ 26.088058][ T335] netconsole: netconsole: local port 1514 [ 26.088312][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 26.088712][ T335] netconsole: netconsole: interface name 'enp1s0' [ 26.089062][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 26.091414][ T335] netconsole: netconsole: remote port 6666 [ 26.091692][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 26.092166][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 26.126948][ T335] netconsole: network logging started [ 26.531545][ T335] netcons test #13-0 [ 26.531545][ T335] netcons test #13-1 [ 26.531545][ T335] netcons test #13-2 [ 26.531545][ T335] netcons test #13-3 [ 26.531545][ T335] netcons test #13-4 [ 26.531545][ T335] netcons test #13-5 [ 26.531545][ T335] netcons test #13-6 [ 26.531545][ T335] netcons test #13-7 [ 26.531545][ T335] netcons test #13-8 [ 26.531545][ T335] netcons test #13-9 [ 26.531545][ T335] netcons test #13-10 [ 26.531545][ T335] netcons test #13-11 [ 26.531545][ T335] netcons test #13-12 [ 26.531545][ T335] netcons test #13-13 [ 26.531545][ T335] netcons test #13-14 [ 26.531545][ T335] netcons test #13-15 [ 26.531545][ T335] netcons test #13-16 [ 26.531545][ T335] netcons test #13-17 [ 26.531545][ T335] netcons test #13-18 [ 26.531545][ T335] netcons test #13-19 [ 26.531545][ T335] netcons test #13-20 [ 26.531545][ T335] netcons test #13-21 [ 26.531545][ T335] netcons test #13-22 [ 26.531545][ T335] netcons test #13-23 [ 26.531545][ T335] netcons test #13-24 [ 26.531545][ T335] netcons test #13-25 [ 26.531545][ T335] netcons test #13-26 [ 26.531545][ T335] netcons test #13-27 [ 26.531545][ T335] netcons test #13-28 [ 26.531545][ T335] netcons test #13-29 [ 26.531545][ T335] netcons test #13-30 [ 26.531545][ T335] netcons test #13-31 [ 26.531545][ T335] netcons test #13-32 [ 26.531545][ T335] netcons test #13-33 [ 26.531545][ T335] netcons test #13-34 [ 26.531545][ T335] netcons test #13-35 [ 26.531545][ T335] netcons test #13-36 [ 26.531545][ T335] netcons test #13-37 [ 26.531545][ T335] netcons test #13-38 [ 26.531545][ T335] netcons test #13-39 [ 26.539875][ T335] netconsole: netconsole: local port 1514 [ 26.540124][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 26.540455][ T335] netconsole: netconsole: interface name 'enp1s0' [ 26.540734][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 26.541086][ T335] netconsole: netconsole: remote port 6666 [ 26.541360][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 26.541700][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 26.590216][ T335] netconsole: network logging started [ 27.000947][ T335] netcons test #14-0 [ 27.000947][ T335] netcons test #14-1 [ 27.000947][ T335] netcons test #14-2 [ 27.000947][ T335] netcons test #14-3 [ 27.000947][ T335] netcons test #14-4 [ 27.000947][ T335] netcons test #14-5 [ 27.000947][ T335] netcons test #14-6 [ 27.000947][ T335] netcons test #14-7 [ 27.000947][ T335] netcons test #14-8 [ 27.000947][ T335] netcons test #14-9 [ 27.000947][ T335] netcons test #14-10 [ 27.000947][ T335] netcons test #14-11 [ 27.000947][ T335] netcons test #14-12 [ 27.000947][ T335] netcons test #14-13 [ 27.000947][ T335] netcons test #14-14 [ 27.000947][ T335] netcons test #14-15 [ 27.000947][ T335] netcons test #14-16 [ 27.000947][ T335] netcons test #14-17 [ 27.000947][ T335] netcons test #14-18 [ 27.000947][ T335] netcons test #14-19 [ 27.000947][ T335] netcons test #14-20 [ 27.000947][ T335] netcons test #14-21 [ 27.000947][ T335] netcons test #14-22 [ 27.000947][ T335] netcons test #14-23 [ 27.000947][ T335] netcons test #14-24 [ 27.000947][ T335] netcons test #14-25 [ 27.000947][ T335] netcons test #14-26 [ 27.000947][ T335] netcons test #14-27 [ 27.000947][ T335] netcons test #14-28 [ 27.000947][ T335] netcons test #14-29 [ 27.000947][ T335] netcons test #14-30 [ 27.000947][ T335] netcons test #14-31 [ 27.000947][ T335] netcons test #14-32 [ 27.000947][ T335] netcons test #14-33 [ 27.000947][ T335] netcons test #14-34 [ 27.000947][ T335] netcons test #14-35 [ 27.000947][ T335] netcons test #14-36 [ 27.000947][ T335] netcons test #14-37 [ 27.000947][ T335] netcons test #14-38 [ 27.000947][ T335] netcons test #14-39 [ 27.017390][ T335] netconsole: netconsole: local port 1514 [ 27.017654][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 27.018013][ T335] netconsole: netconsole: interface name 'enp1s0' [ 27.018293][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 27.018633][ T335] netconsole: netconsole: remote port 6666 [ 27.018929][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 27.019265][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 27.049905][ T335] netconsole: network logging started [ 27.049924][ T335] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.049926][ T335] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 335, name: python3 [ 27.049928][ T335] preempt_count: 1, expected: 0 [ 27.049929][ T335] RCU nest depth: 0, expected: 0 [ 27.049930][ T335] locks held by python3/335: 9, last CPU#0: [ 27.049931][ T335] #0: ff1100000b8ae9b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 27.049944][ T335] #1: ff1100000a9cc430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 27.049950][ T335] #2: ff11000009734d80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 27.049955][ T335] #3: ff1100000e3e4230 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 27.049958][ T335] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 27.049965][ T335] #5: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.049971][ T335] #6: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.049975][ T335] #7: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.049980][ T335] #8: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 27.049984][ T335] irq event stamp: 462004 [ 27.049986][ T335] hardirqs last enabled at (462003): [] __down_trylock_console_sem+0x86/0xa0 [ 27.049989][ T335] hardirqs last disabled at (462004): [] console_emit_next_record+0x3f8/0x4f0 [ 27.049990][ T335] softirqs last enabled at (461950): [] __alloc_skb+0x4c5/0x5f0 [ 27.049995][ T335] softirqs last disabled at (461948): [] __alloc_skb+0x4c5/0x5f0 [ 27.049999][ T335] Preemption disabled at: [ 27.050000][ T335] [] vprintk_emit+0x31b/0x3e0 [ 27.050005][ T335] CPU: 0 UID: 0 PID: 335 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.050009][ T335] Tainted: [W]=WARN [ 27.050010][ T335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 27.050011][ T335] Call Trace: [ 27.050014][ T335] [ 27.050016][ T335] dump_stack_lvl+0x6f/0xa0 [ 27.050022][ T335] ? vprintk_emit+0x31b/0x3e0 [ 27.050024][ T335] __might_resched.cold+0x1fe/0x2c1 [ 27.050029][ T335] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.050033][ T335] ? __kmalloc_noprof+0xdb/0x760 [ 27.050038][ T335] __kmalloc_noprof+0x443/0x760 [ 27.050040][ T335] ? alloc_buf.isra.0+0x4b/0x260 [ 27.050046][ T335] ? do_raw_spin_unlock+0x59/0x250 [ 27.050049][ T335] alloc_buf.isra.0+0x4b/0x260 [ 27.050053][ T335] put_chars+0x1e1/0x2f0 [ 27.050056][ T335] ? __send_to_port+0x420/0x420 [ 27.050058][ T335] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.050062][ T335] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.050065][ T335] ? validate_chain+0x38b/0xc20 [ 27.050070][ T335] hvc_console_print+0x292/0x780 [ 27.050073][ T335] ? __lock_acquire+0x518/0xc20 [ 27.050078][ T335] ? hvc_write+0x3a0/0x3a0 [ 27.050081][ T335] ? rcu_is_watching+0x16/0xd0 [ 27.050086][ T335] console_emit_next_record+0x252/0x4f0 [ 27.050090][ T335] ? devkmsg_read+0x4e0/0x4e0 [ 27.050095][ T335] ? rcu_is_watching+0x16/0xd0 [ 27.050097][ T335] ? lock_acquire+0x13c/0x160 [ 27.050101][ T335] console_flush_one_record+0x46f/0x710 [ 27.050105][ T335] ? console_emit_next_record+0x4f0/0x4f0 [ 27.050107][ T335] ? __lock_acquire+0x518/0xc20 [ 27.050112][ T335] console_unlock+0xee/0x1f0 [ 27.050115][ T335] ? console_flush_one_record+0x710/0x710 [ 27.050117][ T335] ? rcu_is_watching+0x16/0xd0 [ 27.050119][ T335] ? lock_acquire+0xa0/0x160 [ 27.050123][ T335] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.050125][ T335] ? vprintk_emit+0x320/0x3e0 [ 27.050128][ T335] vprintk_emit+0x37c/0x3e0 [ 27.050132][ T335] ? wake_up_klogd_work_func+0x90/0x90 [ 27.050135][ T335] ? rcu_gp_is_expedited+0x54/0x70 [ 27.050136][ T335] ? synchronize_rcu+0x22e/0x350 [ 27.050140][ T335] _printk+0xc7/0x100 [ 27.050144][ T335] ? snapshot_read.cold+0x21/0x21 [ 27.050145][ T335] ? __lock_release.isra.0+0x69/0x1a0 [ 27.050149][ T335] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 27.050151][ T335] ? lockdep_hardirqs_on+0x91/0x130 [ 27.050155][ T335] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 27.050158][ T335] ? __free_object+0x2ad/0x490 [ 27.050163][ T335] enabled_store.cold+0x178/0x1ae [netconsole] [ 27.050166][ T335] ? __kasan_kmalloc+0x7b/0x90 [ 27.050170][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 27.050172][ T335] ? down_write_killable_nested+0x270/0x270 [ 27.050174][ T335] ? __kmalloc_cache_noprof+0x281/0x620 [ 27.050177][ T335] ? configfs_write_iter+0x336/0x4b0 [ 27.050181][ T335] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 27.050182][ T335] configfs_write_iter+0x2c0/0x4b0 [ 27.050185][ T335] ? configfs_bin_write_iter+0x530/0x530 [ 27.050187][ T335] new_sync_write+0x33e/0x760 [ 27.050191][ T335] ? __lock_acquire+0x518/0xc20 [ 27.050194][ T335] ? new_sync_read+0x750/0x750 [ 27.050197][ T335] ? lock_acquire.part.0+0xd4/0x280 [ 27.050199][ T335] ? ksys_write+0x116/0x250 [ 27.050205][ T335] vfs_write+0x6a2/0xbd0 [ 27.050209][ T335] ksys_write+0x116/0x250 [ 27.050212][ T335] ? __ia32_sys_read+0xc0/0xc0 [ 27.050215][ T335] ? rcu_is_watching+0x16/0xd0 [ 27.050218][ T335] do_syscall_64+0xff/0x530 [ 27.050221][ T335] ? irq_exit_rcu+0x1a/0x30 [ 27.050225][ T335] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.050227][ T335] RIP: 0033:0x7f72530d6312 [ 27.050231][ T335] Code: 08 0f 85 71 41 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00 [ 27.050233][ T335] RSP: 002b:00007ffeeef621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 27.050235][ T335] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f72530d6312 [ 27.050237][ T335] RDX: 0000000000000001 RSI: 00005621383bd2b0 RDI: 000000000000000b [ 27.050238][ T335] RBP: 00007ffeeef621e0 R08: 0000000000000000 R09: 0000000000000000 [ 27.050239][ T335] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7252f43390 [ 27.050240][ T335] R13: 00005621383bd2b0 R14: 000000000000000b R15: 00007f7252ed10d0 [ 27.050247][ T335] [ 27.496198][ T335] netcons test #15-0 [ 27.496198][ T335] netcons test #15-1 [ 27.496198][ T335] netcons test #15-2 [ 27.496198][ T335] netcons test #15-3 [ 27.496198][ T335] netcons test #15-4 [ 27.496198][ T335] netcons test #15-5 [ 27.496198][ T335] netcons test #15-6 [ 27.496198][ T335] netcons test #15-7 [ 27.496198][ T335] netcons test #15-8 [ 27.496198][ T335] netcons test #15-9 [ 27.496198][ T335] netcons test #15-10 [ 27.496198][ T335] netcons test #15-11 [ 27.496198][ T335] netcons test #15-12 [ 27.496198][ T335] netcons test #15-13 [ 27.496198][ T335] netcons test #15-14 [ 27.496198][ T335] netcons test #15-15 [ 27.496198][ T335] netcons test #15-16 [ 27.496198][ T335] netcons test #15-17 [ 27.496198][ T335] netcons test #15-18 [ 27.496198][ T335] netcons test #15-19 [ 27.496198][ T335] netcons test #15-20 [ 27.496198][ T335] netcons test #15-21 [ 27.496198][ T335] netcons test #15-22 [ 27.496198][ T335] netcons test #15-23 [ 27.496198][ T335] netcons test #15-24 [ 27.496198][ T335] netcons test #15-25 [ 27.496198][ T335] netcons test #15-26 [ 27.496198][ T335] netcons test #15-27 [ 27.496198][ T335] netcons test #15-28 [ 27.496198][ T335] netcons test #15-29 [ 27.496198][ T335] netcons test #15-30 [ 27.496198][ T335] netcons test #15-31 [ 27.496198][ T335] netcons test #15-32 [ 27.496198][ T335] netcons test #15-33 [ 27.496198][ T335] netcons test #15-34 [ 27.496198][ T335] netcons test #15-35 [ 27.496198][ T335] netcons test #15-36 [ 27.496198][ T335] netcons test #15-37 [ 27.496198][ T335] netcons test #15-38 [ 27.496198][ T335] netcons test #15-39 [ 27.508420][ T335] netconsole: netconsole: local port 1514 [ 27.508669][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 27.509030][ T335] netconsole: netconsole: interface name 'enp1s0' [ 27.509307][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 27.509655][ T335] netconsole: netconsole: remote port 6666 [ 27.509944][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 27.510270][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 27.538880][ T335] netconsole: network logging started [ 27.948309][ T335] netcons test #16-0 [ 27.948309][ T335] netcons test #16-1 [ 27.948309][ T335] netcons test #16-2 [ 27.948309][ T335] netcons test #16-3 [ 27.948309][ T335] netcons test #16-4 [ 27.948309][ T335] netcons test #16-5 [ 27.948309][ T335] netcons test #16-6 [ 27.948309][ T335] netcons test #16-7 [ 27.948309][ T335] netcons test #16-8 [ 27.948309][ T335] netcons test #16-9 [ 27.948309][ T335] netcons test #16-10 [ 27.948309][ T335] netcons test #16-11 [ 27.948309][ T335] netcons test #16-12 [ 27.948309][ T335] netcons test #16-13 [ 27.948309][ T335] netcons test #16-14 [ 27.948309][ T335] netcons test #16-15 [ 27.948309][ T335] netcons test #16-16 [ 27.948309][ T335] netcons test #16-17 [ 27.948309][ T335] netcons test #16-18 [ 27.948309][ T335] netcons test #16-19 [ 27.948309][ T335] netcons test #16-20 [ 27.948309][ T335] netcons test #16-21 [ 27.948309][ T335] netcons test #16-22 [ 27.948309][ T335] netcons test #16-23 [ 27.948309][ T335] netcons test #16-24 [ 27.948309][ T335] netcons test #16-25 [ 27.948309][ T335] netcons test #16-26 [ 27.948309][ T335] netcons test #16-27 [ 27.948309][ T335] netcons test #16-28 [ 27.948309][ T335] netcons test #16-29 [ 27.948309][ T335] netcons test #16-30 [ 27.948309][ T335] netcons test #16-31 [ 27.948309][ T335] netcons test #16-32 [ 27.948309][ T335] netcons test #16-33 [ 27.948309][ T335] netcons test #16-34 [ 27.948309][ T335] netcons test #16-35 [ 27.948309][ T335] netcons test #16-36 [ 27.948309][ T335] netcons test #16-37 [ 27.948309][ T335] netcons test #16-38 [ 27.948309][ T335] netcons test #16-39 [ 27.961274][ T335] netconsole: netconsole: local port 1514 [ 27.961534][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 27.961889][ T335] netconsole: netconsole: interface name 'enp1s0' [ 27.962172][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 27.962501][ T335] netconsole: netconsole: remote port 6666 [ 27.962779][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 27.963282][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 27.983468][ T335] netconsole: network logging started [ 28.391214][ T335] netcons test #17-0 [ 28.391214][ T335] netcons test #17-1 [ 28.391214][ T335] netcons test #17-2 [ 28.391214][ T335] netcons test #17-3 [ 28.391214][ T335] netcons test #17-4 [ 28.391214][ T335] netcons test #17-5 [ 28.391214][ T335] netcons test #17-6 [ 28.391214][ T335] netcons test #17-7 [ 28.391214][ T335] netcons test #17-8 [ 28.391214][ T335] netcons test #17-9 [ 28.391214][ T335] netcons test #17-10 [ 28.391214][ T335] netcons test #17-11 [ 28.391214][ T335] netcons test #17-12 [ 28.391214][ T335] netcons test #17-13 [ 28.391214][ T335] netcons test #17-14 [ 28.391214][ T335] netcons test #17-15 [ 28.391214][ T335] netcons test #17-16 [ 28.391214][ T335] netcons test #17-17 [ 28.391214][ T335] netcons test #17-18 [ 28.391214][ T335] netcons test #17-19 [ 28.391214][ T335] netcons test #17-20 [ 28.391214][ T335] netcons test #17-21 [ 28.391214][ T335] netcons test #17-22 [ 28.391214][ T335] netcons test #17-23 [ 28.391214][ T335] netcons test #17-24 [ 28.391214][ T335] netcons test #17-25 [ 28.391214][ T335] netcons test #17-26 [ 28.391214][ T335] netcons test #17-27 [ 28.391214][ T335] netcons test #17-28 [ 28.391214][ T335] netcons test #17-29 [ 28.391214][ T335] netcons test #17-30 [ 28.391214][ T335] netcons test #17-31 [ 28.391214][ T335] netcons test #17-32 [ 28.391214][ T335] netcons test #17-33 [ 28.391214][ T335] netcons test #17-34 [ 28.391214][ T335] netcons test #17-35 [ 28.391214][ T335] netcons test #17-36 [ 28.391214][ T335] netcons test #17-37 [ 28.391214][ T335] netcons test #17-38 [ 28.391214][ T335] netcons test #17-39 [ 28.391342][ T335] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.391349][ T335] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 335, name: python3 [ 28.391351][ T335] preempt_count: 1, expected: 0 [ 28.391352][ T335] RCU nest depth: 0, expected: 0 [ 28.391353][ T335] locks held by python3/335: 4, last CPU#2: [ 28.391355][ T335] #0: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.391368][ T335] #1: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.391373][ T335] #2: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.391377][ T335] #3: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 28.391382][ T335] irq event stamp: 487314 [ 28.391384][ T335] hardirqs last enabled at (487313): [] __down_trylock_console_sem+0x86/0xa0 [ 28.391386][ T335] hardirqs last disabled at (487314): [] console_emit_next_record+0x3f8/0x4f0 [ 28.391388][ T335] softirqs last enabled at (485422): [] handle_softirqs+0x67c/0x900 [ 28.391391][ T335] softirqs last disabled at (483523): [] __irq_exit_rcu+0x145/0x1c0 [ 28.391393][ T335] Preemption disabled at: [ 28.391394][ T335] [] vprintk_emit+0x31b/0x3e0 [ 28.391400][ T335] CPU: 2 UID: 0 PID: 335 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.391403][ T335] Tainted: [W]=WARN [ 28.391404][ T335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 28.391407][ T335] Call Trace: [ 28.391409][ T335] [ 28.391411][ T335] dump_stack_lvl+0x6f/0xa0 [ 28.391417][ T335] ? vprintk_emit+0x31b/0x3e0 [ 28.391419][ T335] __might_resched.cold+0x1fe/0x2c1 [ 28.391424][ T335] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.391428][ T335] ? __kmalloc_noprof+0xdb/0x760 [ 28.391433][ T335] __kmalloc_noprof+0x443/0x760 [ 28.391435][ T335] ? alloc_buf.isra.0+0x4b/0x260 [ 28.391441][ T335] ? do_raw_spin_unlock+0x59/0x250 [ 28.391444][ T335] alloc_buf.isra.0+0x4b/0x260 [ 28.391448][ T335] put_chars+0x1e1/0x2f0 [ 28.391451][ T335] ? __send_to_port+0x420/0x420 [ 28.391453][ T335] ? printk_get_next_message+0x2fe/0x7d0 [ 28.391456][ T335] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.391459][ T335] ? validate_chain+0x38b/0xc20 [ 28.391463][ T335] hvc_console_print+0x292/0x780 [ 28.391466][ T335] ? __lock_acquire+0x518/0xc20 [ 28.391468][ T335] ? __lock_acquire+0x518/0xc20 [ 28.391472][ T335] ? hvc_write+0x3a0/0x3a0 [ 28.391476][ T335] ? rcu_is_watching+0x16/0xd0 [ 28.391478][ T335] ? lock_acquire+0x13c/0x160 [ 28.391482][ T335] console_emit_next_record+0x252/0x4f0 [ 28.391486][ T335] ? devkmsg_read+0x4e0/0x4e0 [ 28.391490][ T335] ? rcu_is_watching+0x16/0xd0 [ 28.391492][ T335] ? lock_acquire+0x13c/0x160 [ 28.391496][ T335] console_flush_one_record+0x46f/0x710 [ 28.391500][ T335] ? console_emit_next_record+0x4f0/0x4f0 [ 28.391501][ T335] ? __lock_acquire+0x518/0xc20 [ 28.391506][ T335] console_unlock+0xee/0x1f0 [ 28.391509][ T335] ? console_flush_one_record+0x710/0x710 [ 28.391511][ T335] ? rcu_is_watching+0x16/0xd0 [ 28.391513][ T335] ? lock_acquire+0xa0/0x160 [ 28.391516][ T335] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.391518][ T335] ? vprintk_emit+0x320/0x3e0 [ 28.391521][ T335] vprintk_emit+0x37c/0x3e0 [ 28.391524][ T335] ? wake_up_klogd_work_func+0x90/0x90 [ 28.391527][ T335] ? _copy_from_iter+0x1bb/0x1810 [ 28.391533][ T335] devkmsg_emit.constprop.0+0xbc/0xf1 [ 28.391537][ T335] ? vprintk_emit.cold+0x107/0x107 [ 28.391540][ T335] ? __kmalloc_noprof+0x302/0x760 [ 28.391542][ T335] ? idr_get_free+0x830/0x830 [ 28.391546][ T335] ? devkmsg_write+0xd1/0x2c0 [ 28.391549][ T335] ? _copy_from_iter+0x1bb/0x1810 [ 28.391551][ T335] devkmsg_write.cold+0x5a/0x8b [ 28.391554][ T335] ? vprintk_default+0x20/0x20 [ 28.391558][ T335] ? vprintk_default+0x20/0x20 [ 28.391561][ T335] new_sync_write+0x33e/0x760 [ 28.391566][ T335] ? new_sync_read+0x750/0x750 [ 28.391570][ T335] ? __lock_release.isra.0+0x69/0x1a0 [ 28.391575][ T335] ? __fget_files+0x1e3/0x460 [ 28.391578][ T335] vfs_write+0x6a2/0xbd0 [ 28.391582][ T335] ksys_write+0x116/0x250 [ 28.391585][ T335] ? __ia32_sys_read+0xc0/0xc0 [ 28.391587][ T335] ? rcu_is_watching+0x16/0xd0 [ 28.391591][ T335] do_syscall_64+0xff/0x530 [ 28.391593][ T335] ? irq_exit_rcu+0x1a/0x30 [ 28.391596][ T335] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.391598][ T335] RIP: 0033:0x7f72530d6312 [ 28.391602][ T335] Code: 08 0f 85 71 41 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00 [ 28.391604][ T335] RSP: 002b:00007ffeeef621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 28.391608][ T335] RAX: ffffffffffffffda RBX: 0000000000000316 RCX: 00007f72530d6312 [ 28.391609][ T335] RDX: 0000000000000316 RSI: 00005621383bd2b0 RDI: 000000000000000b [ 28.391611][ T335] RBP: 00007ffeeef621e0 R08: 0000000000000000 R09: 0000000000000000 [ 28.391612][ T335] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7252f43390 [ 28.391613][ T335] R13: 00005621383bd2b0 R14: 000000000000000b R15: 00007f7252ed10d0 [ 28.391619][ T335] [ 28.433892][ T335] netconsole: netconsole: local port 1514 [ 28.434132][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 28.434452][ T335] netconsole: netconsole: interface name 'enp1s0' [ 28.434746][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 28.435091][ T335] netconsole: netconsole: remote port 6666 [ 28.435429][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 28.435745][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 28.516736][ T335] netconsole: network logging started [ 28.931518][ T335] netcons test #18-0 [ 28.931518][ T335] netcons test #18-1 [ 28.931518][ T335] netcons test #18-2 [ 28.931518][ T335] netcons test #18-3 [ 28.931518][ T335] netcons test #18-4 [ 28.931518][ T335] netcons test #18-5 [ 28.931518][ T335] netcons test #18-6 [ 28.931518][ T335] netcons test #18-7 [ 28.931518][ T335] netcons test #18-8 [ 28.931518][ T335] netcons test #18-9 [ 28.931518][ T335] netcons test #18-10 [ 28.931518][ T335] netcons test #18-11 [ 28.931518][ T335] netcons test #18-12 [ 28.931518][ T335] netcons test #18-13 [ 28.931518][ T335] netcons test #18-14 [ 28.931518][ T335] netcons test #18-15 [ 28.931518][ T335] netcons test #18-16 [ 28.931518][ T335] netcons test #18-17 [ 28.931518][ T335] netcons test #18-18 [ 28.931518][ T335] netcons test #18-19 [ 28.931518][ T335] netcons test #18-20 [ 28.931518][ T335] netcons test #18-21 [ 28.931518][ T335] netcons test #18-22 [ 28.931518][ T335] netcons test #18-23 [ 28.931518][ T335] netcons test #18-24 [ 28.931518][ T335] netcons test #18-25 [ 28.931518][ T335] netcons test #18-26 [ 28.931518][ T335] netcons test #18-27 [ 28.931518][ T335] netcons test #18-28 [ 28.931518][ T335] netcons test #18-29 [ 28.931518][ T335] netcons test #18-30 [ 28.931518][ T335] netcons test #18-31 [ 28.931518][ T335] netcons test #18-32 [ 28.931518][ T335] netcons test #18-33 [ 28.931518][ T335] netcons test #18-34 [ 28.931518][ T335] netcons test #18-35 [ 28.931518][ T335] netcons test #18-36 [ 28.931518][ T335] netcons test #18-37 [ 28.931518][ T335] netcons test #18-38 [ 28.931518][ T335] netcons test #18-39 [ 28.944316][ T335] netconsole: netconsole: local port 1514 [ 28.944554][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 28.944888][ T335] netconsole: netconsole: interface name 'enp1s0' [ 28.945152][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 28.945485][ T335] netconsole: netconsole: remote port 6666 [ 28.945757][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 28.946094][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 28.980014][ T335] netconsole: network logging started [ 29.389379][ T335] netcons test #19-0 [ 29.389379][ T335] netcons test #19-1 [ 29.389379][ T335] netcons test #19-2 [ 29.389379][ T335] netcons test #19-3 [ 29.389379][ T335] netcons test #19-4 [ 29.389379][ T335] netcons test #19-5 [ 29.389379][ T335] netcons test #19-6 [ 29.389379][ T335] netcons test #19-7 [ 29.389379][ T335] netcons test #19-8 [ 29.389379][ T335] netcons test #19-9 [ 29.389379][ T335] netcons test #19-10 [ 29.389379][ T335] netcons test #19-11 [ 29.389379][ T335] netcons test #19-12 [ 29.389379][ T335] netcons test #19-13 [ 29.389379][ T335] netcons test #19-14 [ 29.389379][ T335] netcons test #19-15 [ 29.389379][ T335] netcons test #19-16 [ 29.389379][ T335] netcons test #19-17 [ 29.389379][ T335] netcons test #19-18 [ 29.389379][ T335] netcons test #19-19 [ 29.389379][ T335] netcons test #19-20 [ 29.389379][ T335] netcons test #19-21 [ 29.389379][ T335] netcons test #19-22 [ 29.389379][ T335] netcons test #19-23 [ 29.389379][ T335] netcons test #19-24 [ 29.389379][ T335] netcons test #19-25 [ 29.389379][ T335] netcons test #19-26 [ 29.389379][ T335] netcons test #19-27 [ 29.389379][ T335] netcons test #19-28 [ 29.389379][ T335] netcons test #19-29 [ 29.389379][ T335] netcons test #19-30 [ 29.389379][ T335] netcons test #19-31 [ 29.389379][ T335] netcons test #19-32 [ 29.389379][ T335] netcons test #19-33 [ 29.389379][ T335] netcons test #19-34 [ 29.389379][ T335] netcons test #19-35 [ 29.389379][ T335] netcons test #19-36 [ 29.389379][ T335] netcons test #19-37 [ 29.389379][ T335] netcons test #19-38 [ 29.389379][ T335] netcons test #19-39 [ 29.390831][ T335] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.390836][ T335] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 335, name: python3 [ 29.390838][ T335] preempt_count: 1, expected: 0 [ 29.390839][ T335] RCU nest depth: 0, expected: 0 [ 29.390840][ T335] locks held by python3/335: 4, last CPU#2: [ 29.390842][ T335] #0: ffffffff8e599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.390856][ T335] #1: ffffffff8e599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.390861][ T335] #2: ffffffff8e489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.390865][ T335] #3: ffffffff8e489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 29.390870][ T335] irq event stamp: 507372 [ 29.390872][ T335] hardirqs last enabled at (507371): [] __down_trylock_console_sem+0x86/0xa0 [ 29.390874][ T335] hardirqs last disabled at (507372): [] console_emit_next_record+0x3f8/0x4f0 [ 29.390876][ T335] softirqs last enabled at (503872): [] handle_softirqs+0x67c/0x900 [ 29.390880][ T335] softirqs last disabled at (503861): [] __irq_exit_rcu+0x145/0x1c0 [ 29.390882][ T335] Preemption disabled at: [ 29.390883][ T335] [] vprintk_emit+0x31b/0x3e0 [ 29.390889][ T335] CPU: 2 UID: 0 PID: 335 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.390892][ T335] Tainted: [W]=WARN [ 29.390894][ T335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 29.390896][ T335] Call Trace: [ 29.390897][ T335] [ 29.390899][ T335] dump_stack_lvl+0x6f/0xa0 [ 29.390904][ T335] ? vprintk_emit+0x31b/0x3e0 [ 29.390906][ T335] __might_resched.cold+0x1fe/0x2c1 [ 29.390911][ T335] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.390915][ T335] ? __kmalloc_noprof+0xdb/0x760 [ 29.390920][ T335] __kmalloc_noprof+0x443/0x760 [ 29.390922][ T335] ? alloc_buf.isra.0+0x4b/0x260 [ 29.390929][ T335] ? do_raw_spin_unlock+0x59/0x250 [ 29.390931][ T335] alloc_buf.isra.0+0x4b/0x260 [ 29.390935][ T335] put_chars+0x1e1/0x2f0 [ 29.390938][ T335] ? __send_to_port+0x420/0x420 [ 29.390940][ T335] ? printk_get_next_message+0x2fe/0x7d0 [ 29.390943][ T335] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.390946][ T335] ? validate_chain+0x38b/0xc20 [ 29.390950][ T335] hvc_console_print+0x292/0x780 [ 29.390953][ T335] ? __lock_acquire+0x518/0xc20 [ 29.390955][ T335] ? __lock_acquire+0x518/0xc20 [ 29.390959][ T335] ? hvc_write+0x3a0/0x3a0 [ 29.390963][ T335] ? rcu_is_watching+0x16/0xd0 [ 29.390966][ T335] ? lock_acquire+0x13c/0x160 [ 29.390969][ T335] console_emit_next_record+0x252/0x4f0 [ 29.390973][ T335] ? devkmsg_read+0x4e0/0x4e0 [ 29.390977][ T335] ? rcu_is_watching+0x16/0xd0 [ 29.390979][ T335] ? lock_acquire+0x13c/0x160 [ 29.390983][ T335] console_flush_one_record+0x46f/0x710 [ 29.390987][ T335] ? console_emit_next_record+0x4f0/0x4f0 [ 29.390989][ T335] ? __lock_acquire+0x518/0xc20 [ 29.390994][ T335] console_unlock+0xee/0x1f0 [ 29.390996][ T335] ? console_flush_one_record+0x710/0x710 [ 29.390998][ T335] ? rcu_is_watching+0x16/0xd0 [ 29.391000][ T335] ? lock_acquire+0xa0/0x160 [ 29.391004][ T335] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.391005][ T335] ? vprintk_emit+0x320/0x3e0 [ 29.391009][ T335] vprintk_emit+0x37c/0x3e0 [ 29.391012][ T335] ? wake_up_klogd_work_func+0x90/0x90 [ 29.391015][ T335] ? _copy_from_iter+0x1bb/0x1810 [ 29.391021][ T335] devkmsg_emit.constprop.0+0xbc/0xf1 [ 29.391024][ T335] ? vprintk_emit.cold+0x107/0x107 [ 29.391028][ T335] ? __kmalloc_noprof+0x302/0x760 [ 29.391030][ T335] ? idr_get_free+0x830/0x830 [ 29.391033][ T335] ? devkmsg_write+0xd1/0x2c0 [ 29.391037][ T335] ? _copy_from_iter+0x1bb/0x1810 [ 29.391039][ T335] devkmsg_write.cold+0x5a/0x8b [ 29.391042][ T335] ? vprintk_default+0x20/0x20 [ 29.391046][ T335] ? vprintk_default+0x20/0x20 [ 29.391049][ T335] new_sync_write+0x33e/0x760 [ 29.391054][ T335] ? new_sync_read+0x750/0x750 [ 29.391059][ T335] ? __lock_release.isra.0+0x69/0x1a0 [ 29.391063][ T335] ? __fget_files+0x1e3/0x460 [ 29.391067][ T335] vfs_write+0x6a2/0xbd0 [ 29.391071][ T335] ksys_write+0x116/0x250 [ 29.391073][ T335] ? __ia32_sys_read+0xc0/0xc0 [ 29.391076][ T335] ? rcu_is_watching+0x16/0xd0 [ 29.391079][ T335] do_syscall_64+0xff/0x530 [ 29.391082][ T335] ? irq_exit_rcu+0x1a/0x30 [ 29.391085][ T335] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.391087][ T335] RIP: 0033:0x7f72530d6312 [ 29.391091][ T335] Code: 08 0f 85 71 41 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 bf 01 00 [ 29.391093][ T335] RSP: 002b:00007ffeeef621b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 29.391096][ T335] RAX: ffffffffffffffda RBX: 0000000000000316 RCX: 00007f72530d6312 [ 29.391097][ T335] RDX: 0000000000000316 RSI: 00005621383bd2b0 RDI: 000000000000000b [ 29.391098][ T335] RBP: 00007ffeeef621e0 R08: 0000000000000000 R09: 0000000000000000 [ 29.391099][ T335] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7252f43390 [ 29.391100][ T335] R13: 00005621383bd2b0 R14: 000000000000000b R15: 00007f7252ed10d0 [ 29.391107][ T335] [ 29.425612][ T335] netconsole: netconsole: local port 1514 [ 29.425861][ T335] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 29.426181][ T335] netconsole: netconsole: interface name 'enp1s0' [ 29.426449][ T335] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 29.426767][ T335] netconsole: netconsole: remote port 6666 [ 29.427040][ T335] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 29.427354][ T335] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 29.501103][ T335] netconsole: network logging started