[ 21.490521][ T338] netconsole: network logging started [ 21.490538][ T338] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.490540][ T338] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 338, name: modprobe [ 21.490542][ T338] preempt_count: 1, expected: 0 [ 21.490543][ T338] RCU nest depth: 0, expected: 0 [ 21.490544][ T338] locks held by modprobe/338: 4, last CPU#5: [ 21.490546][ T338] #0: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.490559][ T338] #1: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.490563][ T338] #2: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.490567][ T338] #3: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.490571][ T338] irq event stamp: 47650 [ 21.490572][ T338] hardirqs last enabled at (47649): [] __down_trylock_console_sem+0x86/0xa0 [ 21.490575][ T338] hardirqs last disabled at (47650): [] console_emit_next_record+0x3f8/0x4f0 [ 21.490577][ T338] softirqs last enabled at (42108): [] handle_softirqs+0x67c/0x900 [ 21.490580][ T338] softirqs last disabled at (41983): [] __irq_exit_rcu+0x145/0x1c0 [ 21.490582][ T338] Preemption disabled at: [ 21.490583][ T338] [] vprintk_emit+0x31b/0x3e0 [ 21.490588][ T338] CPU: 5 UID: 0 PID: 338 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.490592][ T338] Tainted: [W]=WARN [ 21.490593][ T338] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 21.490595][ T338] Call Trace: [ 21.490597][ T338] [ 21.490598][ T338] dump_stack_lvl+0x6f/0xa0 [ 21.490604][ T338] ? vprintk_emit+0x31b/0x3e0 [ 21.490606][ T338] __might_resched.cold+0x1fe/0x2c1 [ 21.490611][ T338] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.490615][ T338] ? __kmalloc_noprof+0xdb/0x760 [ 21.490621][ T338] __kmalloc_noprof+0x443/0x760 [ 21.490623][ T338] ? alloc_buf.isra.0+0x4b/0x260 [ 21.490630][ T338] ? do_raw_spin_unlock+0x59/0x250 [ 21.490633][ T338] alloc_buf.isra.0+0x4b/0x260 [ 21.490636][ T338] put_chars+0x1e1/0x2f0 [ 21.490640][ T338] ? __send_to_port+0x420/0x420 [ 21.490643][ T338] ? validate_chain+0x38b/0xc20 [ 21.490648][ T338] hvc_console_print+0x292/0x780 [ 21.490655][ T338] ? hvc_write+0x3a0/0x3a0 [ 21.490658][ T338] ? rcu_is_watching+0x16/0xd0 [ 21.490662][ T338] ? lock_acquire+0x13c/0x160 [ 21.490666][ T338] console_emit_next_record+0x252/0x4f0 [ 21.490669][ T338] ? devkmsg_read+0x4e0/0x4e0 [ 21.490674][ T338] ? rcu_is_watching+0x16/0xd0 [ 21.490676][ T338] ? lock_acquire+0x13c/0x160 [ 21.490680][ T338] console_flush_one_record+0x46f/0x710 [ 21.490684][ T338] ? console_emit_next_record+0x4f0/0x4f0 [ 21.490686][ T338] ? __lock_acquire+0x518/0xc20 [ 21.490691][ T338] console_unlock+0xee/0x1f0 [ 21.490694][ T338] ? console_flush_one_record+0x710/0x710 [ 21.490696][ T338] ? rcu_is_watching+0x16/0xd0 [ 21.490698][ T338] ? lock_acquire+0xa0/0x160 [ 21.490702][ T338] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.490703][ T338] ? vprintk_emit+0x320/0x3e0 [ 21.490707][ T338] vprintk_emit+0x37c/0x3e0 [ 21.490711][ T338] ? wake_up_klogd_work_func+0x90/0x90 [ 21.490712][ T338] ? find_held_lock+0x2b/0x80 [ 21.490716][ T338] ? __lock_release.isra.0+0x69/0x1a0 [ 21.490717][ T338] ? fast_dput+0x316/0x540 [ 21.490721][ T338] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 21.490725][ T338] _printk+0xc7/0x100 [ 21.490729][ T338] ? snapshot_read.cold+0x21/0x21 [ 21.490732][ T338] ? __up_write+0x2e5/0x5f0 [ 21.490736][ T338] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 21.490740][ T338] ? configfs_register_subsystem+0x340/0x570 [ 21.490744][ T338] init_netconsole+0x4a8/0x1000 [netconsole] [ 21.490747][ T338] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 21.490754][ T338] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 21.490757][ T338] do_one_initcall+0x124/0x4f0 [ 21.490760][ T338] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 21.490765][ T338] ? do_init_module+0xae/0x8a0 [ 21.490768][ T338] ? kasan_unpoison+0x44/0x70 [ 21.490773][ T338] do_init_module+0x2ad/0x8a0 [ 21.490777][ T338] ? lockdep_hardirqs_on+0x91/0x130 [ 21.490781][ T338] ? free_module+0x470/0x470 [ 21.490784][ T338] ? kfree+0x123/0x590 [ 21.490788][ T338] load_module+0x1424/0x1bb0 [ 21.490795][ T338] ? layout_and_allocate.isra.0+0x680/0x680 [ 21.490799][ T338] ? __ia32_sys_fsconfig+0x180/0x180 [ 21.490801][ T338] ? add_chain_cache+0x12d/0x590 [ 21.490807][ T338] init_module_from_file+0x11f/0x1a0 [ 21.490810][ T338] ? __ia32_sys_init_module+0xc0/0xc0 [ 21.490818][ T338] ? __rwlock_init+0x150/0x150 [ 21.490821][ T338] ? do_raw_spin_unlock+0x59/0x250 [ 21.490824][ T338] idempotent_init_module+0x37b/0x7c0 [ 21.490828][ T338] ? init_module_from_file+0x1a0/0x1a0 [ 21.490834][ T338] ? rcu_is_watching+0x16/0xd0 [ 21.490836][ T338] ? cap_capable+0x1d7/0x3d0 [ 21.490842][ T338] __x64_sys_finit_module+0xdf/0x190 [ 21.490844][ T338] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.490848][ T338] do_syscall_64+0xff/0x530 [ 21.490852][ T338] ? exc_page_fault+0xee/0x100 [ 21.490855][ T338] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.490858][ T338] RIP: 0033:0x7f5ddfe9937d [ 21.490861][ T338] 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 [ 21.490863][ T338] RSP: 002b:00007ffc7d52dd48 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 21.490865][ T338] RAX: ffffffffffffffda RBX: 000055b274bfc700 RCX: 00007f5ddfe9937d [ 21.490867][ T338] RDX: 0000000000000000 RSI: 000055b235132ffd RDI: 0000000000000005 [ 21.490868][ T338] RBP: 00007ffc7d52dde0 R08: 0000000000000000 R09: 0000000000000000 [ 21.490869][ T338] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b235132ffd [ 21.490869][ T338] R13: 000055b274bfc810 R14: 0000000000040000 R15: 0000000000000000 [ 21.490876][ T338] [ 22.467629][ T337] printk: console [netcon_ext0] enabled [ 22.468100][ T337] netconsole: netconsole: local port 1514 [ 22.468527][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 22.468940][ T337] netconsole: netconsole: interface name 'enp1s0' [ 22.469217][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 22.469609][ T337] netconsole: netconsole: remote port 6666 [ 22.470007][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 22.470378][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 22.545072][ T337] netconsole: network logging started [ 22.545102][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.545107][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 22.545109][ T337] preempt_count: 1, expected: 0 [ 22.545110][ T337] RCU nest depth: 0, expected: 0 [ 22.545111][ T337] locks held by python3/337: 9, last CPU#3: [ 22.545113][ T337] #0: ff11000004abc370 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 22.545126][ T337] #1: ff1100000a89c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 22.545133][ T337] #2: ff1100000bb76880 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 22.545138][ T337] #3: ff1100000c0b4cb0 (&p->frag_sem){.+.+}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 22.545142][ T337] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 22.545150][ T337] #5: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.545156][ T337] #6: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.545160][ T337] #7: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.545165][ T337] #8: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 22.545169][ T337] irq event stamp: 306798 [ 22.545172][ T337] hardirqs last enabled at (306797): [] __down_trylock_console_sem+0x86/0xa0 [ 22.545175][ T337] hardirqs last disabled at (306798): [] console_emit_next_record+0x3f8/0x4f0 [ 22.545177][ T337] softirqs last enabled at (306728): [] __alloc_skb+0x4c5/0x5f0 [ 22.545181][ T337] softirqs last disabled at (306726): [] __alloc_skb+0x4c5/0x5f0 [ 22.545183][ T337] Preemption disabled at: [ 22.545184][ T337] [] vprintk_emit+0x31b/0x3e0 [ 22.545190][ T337] CPU: 3 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.545194][ T337] Tainted: [W]=WARN [ 22.545195][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 22.545197][ T337] Call Trace: [ 22.545199][ T337] [ 22.545201][ T337] dump_stack_lvl+0x6f/0xa0 [ 22.545206][ T337] ? vprintk_emit+0x31b/0x3e0 [ 22.545209][ T337] __might_resched.cold+0x1fe/0x2c1 [ 22.545214][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.545218][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 22.545223][ T337] __kmalloc_noprof+0x443/0x760 [ 22.545226][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 22.545233][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 22.545236][ T337] alloc_buf.isra.0+0x4b/0x260 [ 22.545240][ T337] put_chars+0x1e1/0x2f0 [ 22.545243][ T337] ? __send_to_port+0x420/0x420 [ 22.545245][ T337] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.545250][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.545252][ T337] ? validate_chain+0x38b/0xc20 [ 22.545258][ T337] hvc_console_print+0x292/0x780 [ 22.545261][ T337] ? __lock_acquire+0x518/0xc20 [ 22.545267][ T337] ? hvc_write+0x3a0/0x3a0 [ 22.545270][ T337] ? rcu_is_watching+0x16/0xd0 [ 22.545275][ T337] console_emit_next_record+0x252/0x4f0 [ 22.545280][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 22.545285][ T337] ? rcu_is_watching+0x16/0xd0 [ 22.545287][ T337] ? lock_acquire+0x13c/0x160 [ 22.545291][ T337] console_flush_one_record+0x46f/0x710 [ 22.545296][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 22.545298][ T337] ? __lock_acquire+0x518/0xc20 [ 22.545303][ T337] console_unlock+0xee/0x1f0 [ 22.545306][ T337] ? console_flush_one_record+0x710/0x710 [ 22.545308][ T337] ? rcu_is_watching+0x16/0xd0 [ 22.545311][ T337] ? lock_acquire+0xa0/0x160 [ 22.545315][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.545316][ T337] ? vprintk_emit+0x320/0x3e0 [ 22.545320][ T337] vprintk_emit+0x37c/0x3e0 [ 22.545324][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 22.545327][ T337] ? rcu_gp_is_expedited+0x54/0x70 [ 22.545329][ T337] ? synchronize_rcu+0x22e/0x350 [ 22.545333][ T337] _printk+0xc7/0x100 [ 22.545337][ T337] ? snapshot_read.cold+0x21/0x21 [ 22.545339][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 22.545343][ T337] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 22.545345][ T337] ? lockdep_hardirqs_on+0x91/0x130 [ 22.545349][ T337] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 22.545352][ T337] ? __free_object+0x2ad/0x490 [ 22.545357][ T337] enabled_store.cold+0x178/0x1ae [netconsole] [ 22.545361][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 22.545365][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 22.545367][ T337] ? down_write_killable_nested+0x270/0x270 [ 22.545369][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 22.545372][ T337] ? configfs_write_iter+0x336/0x4b0 [ 22.545376][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 22.545378][ T337] configfs_write_iter+0x2c0/0x4b0 [ 22.545381][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 22.545384][ T337] new_sync_write+0x33e/0x760 [ 22.545388][ T337] ? __lock_acquire+0x518/0xc20 [ 22.545391][ T337] ? new_sync_read+0x750/0x750 [ 22.545394][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 22.545396][ T337] ? ksys_write+0x116/0x250 [ 22.545403][ T337] vfs_write+0x6a2/0xbd0 [ 22.545407][ T337] ksys_write+0x116/0x250 [ 22.545410][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 22.545413][ T337] ? rcu_is_watching+0x16/0xd0 [ 22.545417][ T337] do_syscall_64+0xff/0x530 [ 22.545419][ T337] ? exc_page_fault+0xee/0x100 [ 22.545423][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.545425][ T337] RIP: 0033:0x7f9135ca6312 [ 22.545429][ T337] 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.545431][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 22.545434][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9135ca6312 [ 22.545436][ T337] RDX: 0000000000000001 RSI: 000055bfbbae22b0 RDI: 0000000000000010 [ 22.545437][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 22.545438][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 22.545439][ T337] R13: 000055bfbbae22b0 R14: 0000000000000010 R15: 00007f9135aa10d0 [ 22.545447][ T337] [ 23.059870][ T394] NOTICE: Automounting of tracing to debugfs is deprecated and will be removed in 2030 [ 23.445804][ T337] netcons test #0-0 [ 23.445804][ T337] netcons test #0-1 [ 23.445804][ T337] netcons test #0-2 [ 23.445804][ T337] netcons test #0-3 [ 23.445804][ T337] netcons test #0-4 [ 23.445804][ T337] netcons test #0-5 [ 23.445804][ T337] netcons test #0-6 [ 23.445804][ T337] netcons test #0-7 [ 23.445804][ T337] netcons test #0-8 [ 23.445804][ T337] netcons test #0-9 [ 23.445804][ T337] netcons test #0-10 [ 23.445804][ T337] netcons test #0-11 [ 23.445804][ T337] netcons test #0-12 [ 23.445804][ T337] netcons test #0-13 [ 23.445804][ T337] netcons test #0-14 [ 23.445804][ T337] netcons test #0-15 [ 23.445804][ T337] netcons test #0-16 [ 23.445804][ T337] netcons test #0-17 [ 23.445804][ T337] netcons test #0-18 [ 23.445804][ T337] netcons test #0-19 [ 23.445804][ T337] netcons test #0-20 [ 23.445804][ T337] netcons test #0-21 [ 23.445804][ T337] netcons test #0-22 [ 23.445804][ T337] netcons test #0-23 [ 23.445804][ T337] netcons test #0-24 [ 23.445804][ T337] netcons test #0-25 [ 23.445804][ T337] netcons test #0-26 [ 23.445804][ T337] netcons test #0-27 [ 23.445804][ T337] netcons test #0-28 [ 23.445804][ T337] netcons test #0-29 [ 23.445804][ T337] netcons test #0-30 [ 23.445804][ T337] netcons test #0-31 [ 23.445804][ T337] netcons test #0-32 [ 23.445804][ T337] netcons test #0-33 [ 23.445804][ T337] netcons test #0-34 [ 23.445804][ T337] netcons test #0-35 [ 23.445804][ T337] netcons test #0-36 [ 23.445804][ T337] netcons test #0-37 [ 23.445804][ T337] netcons test #0-38 [ 23.445804][ T337] netcons test #0-39 [ 23.489345][ T337] netconsole: netconsole: local port 1514 [ 23.489610][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 23.489967][ T337] netconsole: netconsole: interface name 'enp1s0' [ 23.490255][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 23.490669][ T337] netconsole: netconsole: remote port 6666 [ 23.490988][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 23.491333][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 23.554901][ T337] netconsole: network logging started [ 23.554923][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 23.554926][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 23.554928][ T337] preempt_count: 1, expected: 0 [ 23.554929][ T337] RCU nest depth: 0, expected: 0 [ 23.554930][ T337] locks held by python3/337: 9, last CPU#5: [ 23.554932][ T337] #0: ff1100000941e2f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 23.554945][ T337] #1: ff1100000a89c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 23.554951][ T337] #2: ff1100000ab0ba80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 23.554957][ T337] #3: ff110000098703b0 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 23.554960][ T337] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 23.554968][ T337] #5: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 23.554974][ T337] #6: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 23.554978][ T337] #7: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 23.554983][ T337] #8: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 23.554987][ T337] irq event stamp: 596670 [ 23.554990][ T337] hardirqs last enabled at (596669): [] __down_trylock_console_sem+0x86/0xa0 [ 23.554993][ T337] hardirqs last disabled at (596670): [] console_emit_next_record+0x3f8/0x4f0 [ 23.554995][ T337] softirqs last enabled at (596622): [] __alloc_skb+0x4c5/0x5f0 [ 23.554999][ T337] softirqs last disabled at (596620): [] __alloc_skb+0x4c5/0x5f0 [ 23.555003][ T337] Preemption disabled at: [ 23.555003][ T337] [] vprintk_emit+0x31b/0x3e0 [ 23.555009][ T337] CPU: 5 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 23.555018][ T337] Tainted: [W]=WARN [ 23.555019][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 23.555021][ T337] Call Trace: [ 23.555023][ T337] [ 23.555025][ T337] dump_stack_lvl+0x6f/0xa0 [ 23.555031][ T337] ? vprintk_emit+0x31b/0x3e0 [ 23.555033][ T337] __might_resched.cold+0x1fe/0x2c1 [ 23.555038][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 23.555042][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 23.555047][ T337] __kmalloc_noprof+0x443/0x760 [ 23.555049][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 23.555056][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 23.555059][ T337] alloc_buf.isra.0+0x4b/0x260 [ 23.555063][ T337] put_chars+0x1e1/0x2f0 [ 23.555066][ T337] ? __send_to_port+0x420/0x420 [ 23.555068][ T337] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 23.555073][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 23.555075][ T337] ? validate_chain+0x38b/0xc20 [ 23.555080][ T337] hvc_console_print+0x292/0x780 [ 23.555083][ T337] ? __lock_acquire+0x518/0xc20 [ 23.555089][ T337] ? hvc_write+0x3a0/0x3a0 [ 23.555092][ T337] ? rcu_is_watching+0x16/0xd0 [ 23.555097][ T337] console_emit_next_record+0x252/0x4f0 [ 23.555101][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 23.555105][ T337] ? rcu_is_watching+0x16/0xd0 [ 23.555108][ T337] ? lock_acquire+0x13c/0x160 [ 23.555112][ T337] console_flush_one_record+0x46f/0x710 [ 23.555116][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 23.555118][ T337] ? __lock_acquire+0x518/0xc20 [ 23.555123][ T337] console_unlock+0xee/0x1f0 [ 23.555126][ T337] ? console_flush_one_record+0x710/0x710 [ 23.555128][ T337] ? rcu_is_watching+0x16/0xd0 [ 23.555130][ T337] ? lock_acquire+0xa0/0x160 [ 23.555134][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 23.555136][ T337] ? vprintk_emit+0x320/0x3e0 [ 23.555139][ T337] vprintk_emit+0x37c/0x3e0 [ 23.555144][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 23.555146][ T337] ? rcu_gp_is_expedited+0x54/0x70 [ 23.555148][ T337] ? synchronize_rcu+0x22e/0x350 [ 23.555152][ T337] _printk+0xc7/0x100 [ 23.555156][ T337] ? snapshot_read.cold+0x21/0x21 [ 23.555157][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 23.555161][ T337] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 23.555163][ T337] ? lockdep_hardirqs_on+0x91/0x130 [ 23.555168][ T337] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 23.555171][ T337] ? __free_object+0x2ad/0x490 [ 23.555176][ T337] enabled_store.cold+0x178/0x1ae [netconsole] [ 23.555179][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 23.555183][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 23.555185][ T337] ? down_write_killable_nested+0x270/0x270 [ 23.555187][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 23.555190][ T337] ? configfs_write_iter+0x336/0x4b0 [ 23.555194][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 23.555196][ T337] configfs_write_iter+0x2c0/0x4b0 [ 23.555198][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 23.555201][ T337] new_sync_write+0x33e/0x760 [ 23.555205][ T337] ? __lock_acquire+0x518/0xc20 [ 23.555207][ T337] ? new_sync_read+0x750/0x750 [ 23.555211][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 23.555213][ T337] ? ksys_write+0x116/0x250 [ 23.555219][ T337] vfs_write+0x6a2/0xbd0 [ 23.555223][ T337] ksys_write+0x116/0x250 [ 23.555226][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 23.555229][ T337] ? rcu_is_watching+0x16/0xd0 [ 23.555232][ T337] do_syscall_64+0xff/0x530 [ 23.555235][ T337] ? exc_page_fault+0xee/0x100 [ 23.555238][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.555240][ T337] RIP: 0033:0x7f9135ca6312 [ 23.555244][ T337] 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.555246][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 23.555249][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9135ca6312 [ 23.555250][ T337] RDX: 0000000000000001 RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 23.555251][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 23.555252][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 23.555253][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 23.555261][ T337] [ 23.992779][ T337] netcons test #1-0 [ 23.992779][ T337] netcons test #1-1 [ 23.992779][ T337] netcons test #1-2 [ 23.992779][ T337] netcons test #1-3 [ 23.992779][ T337] netcons test #1-4 [ 23.992779][ T337] netcons test #1-5 [ 23.992779][ T337] netcons test #1-6 [ 23.992779][ T337] netcons test #1-7 [ 23.992779][ T337] netcons test #1-8 [ 23.992779][ T337] netcons test #1-9 [ 23.992779][ T337] netcons test #1-10 [ 23.992779][ T337] netcons test #1-11 [ 23.992779][ T337] netcons test #1-12 [ 23.992779][ T337] netcons test #1-13 [ 23.992779][ T337] netcons test #1-14 [ 23.992779][ T337] netcons test #1-15 [ 23.992779][ T337] netcons test #1-16 [ 23.992779][ T337] netcons test #1-17 [ 23.992779][ T337] netcons test #1-18 [ 23.992779][ T337] netcons test #1-19 [ 23.992779][ T337] netcons test #1-20 [ 23.992779][ T337] netcons test #1-21 [ 23.992779][ T337] netcons test #1-22 [ 23.992779][ T337] netcons test #1-23 [ 23.992779][ T337] netcons test #1-24 [ 23.992779][ T337] netcons test #1-25 [ 23.992779][ T337] netcons test #1-26 [ 23.992779][ T337] netcons test #1-27 [ 23.992779][ T337] netcons test #1-28 [ 23.992779][ T337] netcons test #1-29 [ 23.992779][ T337] netcons test #1-30 [ 23.992779][ T337] netcons test #1-31 [ 23.992779][ T337] netcons test #1-32 [ 23.992779][ T337] netcons test #1-33 [ 23.992779][ T337] netcons test #1-34 [ 23.992779][ T337] netcons test #1-35 [ 23.992779][ T337] netcons test #1-36 [ 23.992779][ T337] netcons test #1-37 [ 23.992779][ T337] netcons test #1-38 [ 23.992779][ T337] netcons test #1-39 [ 24.010789][ T337] netconsole: netconsole: local port 1514 [ 24.011069][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 24.011434][ T337] netconsole: netconsole: interface name 'enp1s0' [ 24.011733][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 24.014479][ T337] netconsole: netconsole: remote port 6666 [ 24.017144][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 24.017499][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 24.050309][ T337] netconsole: network logging started [ 24.461067][ T337] netcons test #2-0 [ 24.461067][ T337] netcons test #2-1 [ 24.461067][ T337] netcons test #2-2 [ 24.461067][ T337] netcons test #2-3 [ 24.461067][ T337] netcons test #2-4 [ 24.461067][ T337] netcons test #2-5 [ 24.461067][ T337] netcons test #2-6 [ 24.461067][ T337] netcons test #2-7 [ 24.461067][ T337] netcons test #2-8 [ 24.461067][ T337] netcons test #2-9 [ 24.461067][ T337] netcons test #2-10 [ 24.461067][ T337] netcons test #2-11 [ 24.461067][ T337] netcons test #2-12 [ 24.461067][ T337] netcons test #2-13 [ 24.461067][ T337] netcons test #2-14 [ 24.461067][ T337] netcons test #2-15 [ 24.461067][ T337] netcons test #2-16 [ 24.461067][ T337] netcons test #2-17 [ 24.461067][ T337] netcons test #2-18 [ 24.461067][ T337] netcons test #2-19 [ 24.461067][ T337] netcons test #2-20 [ 24.461067][ T337] netcons test #2-21 [ 24.461067][ T337] netcons test #2-22 [ 24.461067][ T337] netcons test #2-23 [ 24.461067][ T337] netcons test #2-24 [ 24.461067][ T337] netcons test #2-25 [ 24.461067][ T337] netcons test #2-26 [ 24.461067][ T337] netcons test #2-27 [ 24.461067][ T337] netcons test #2-28 [ 24.461067][ T337] netcons test #2-29 [ 24.461067][ T337] netcons test #2-30 [ 24.461067][ T337] netcons test #2-31 [ 24.461067][ T337] netcons test #2-32 [ 24.461067][ T337] netcons test #2-33 [ 24.461067][ T337] netcons test #2-34 [ 24.461067][ T337] netcons test #2-35 [ 24.461067][ T337] netcons test #2-36 [ 24.461067][ T337] netcons test #2-37 [ 24.461067][ T337] netcons test #2-38 [ 24.461067][ T337] netcons test #2-39 [ 24.473052][ T337] netconsole: netconsole: local port 1514 [ 24.473318][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 24.473661][ T337] netconsole: netconsole: interface name 'enp1s0' [ 24.473941][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 24.474288][ T337] netconsole: netconsole: remote port 6666 [ 24.474568][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 24.474918][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 24.529269][ T337] netconsole: network logging started [ 24.937949][ T337] netcons test #3-0 [ 24.937949][ T337] netcons test #3-1 [ 24.937949][ T337] netcons test #3-2 [ 24.937949][ T337] netcons test #3-3 [ 24.937949][ T337] netcons test #3-4 [ 24.937949][ T337] netcons test #3-5 [ 24.937949][ T337] netcons test #3-6 [ 24.937949][ T337] netcons test #3-7 [ 24.937949][ T337] netcons test #3-8 [ 24.937949][ T337] netcons test #3-9 [ 24.937949][ T337] netcons test #3-10 [ 24.937949][ T337] netcons test #3-11 [ 24.937949][ T337] netcons test #3-12 [ 24.937949][ T337] netcons test #3-13 [ 24.937949][ T337] netcons test #3-14 [ 24.937949][ T337] netcons test #3-15 [ 24.937949][ T337] netcons test #3-16 [ 24.937949][ T337] netcons test #3-17 [ 24.937949][ T337] netcons test #3-18 [ 24.937949][ T337] netcons test #3-19 [ 24.937949][ T337] netcons test #3-20 [ 24.937949][ T337] netcons test #3-21 [ 24.937949][ T337] netcons test #3-22 [ 24.937949][ T337] netcons test #3-23 [ 24.937949][ T337] netcons test #3-24 [ 24.937949][ T337] netcons test #3-25 [ 24.937949][ T337] netcons test #3-26 [ 24.937949][ T337] netcons test #3-27 [ 24.937949][ T337] netcons test #3-28 [ 24.937949][ T337] netcons test #3-29 [ 24.937949][ T337] netcons test #3-30 [ 24.937949][ T337] netcons test #3-31 [ 24.937949][ T337] netcons test #3-32 [ 24.937949][ T337] netcons test #3-33 [ 24.937949][ T337] netcons test #3-34 [ 24.937949][ T337] netcons test #3-35 [ 24.937949][ T337] netcons test #3-36 [ 24.937949][ T337] netcons test #3-37 [ 24.937949][ T337] netcons test #3-38 [ 24.937949][ T337] netcons test #3-39 [ 24.937981][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.937986][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 24.937988][ T337] preempt_count: 1, expected: 0 [ 24.937989][ T337] RCU nest depth: 0, expected: 0 [ 24.937990][ T337] locks held by python3/337: 4, last CPU#5: [ 24.937992][ T337] #0: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.938006][ T337] #1: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.938011][ T337] #2: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.938020][ T337] #3: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.938024][ T337] irq event stamp: 629498 [ 24.938027][ T337] hardirqs last enabled at (629497): [] __down_trylock_console_sem+0x86/0xa0 [ 24.938030][ T337] hardirqs last disabled at (629498): [] console_emit_next_record+0x3f8/0x4f0 [ 24.938032][ T337] softirqs last enabled at (625694): [] handle_softirqs+0x67c/0x900 [ 24.938035][ T337] softirqs last disabled at (624789): [] __irq_exit_rcu+0x145/0x1c0 [ 24.938038][ T337] Preemption disabled at: [ 24.938038][ T337] [] vprintk_emit+0x31b/0x3e0 [ 24.938046][ T337] CPU: 5 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.938049][ T337] Tainted: [W]=WARN [ 24.938050][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 24.938053][ T337] Call Trace: [ 24.938054][ T337] [ 24.938056][ T337] dump_stack_lvl+0x6f/0xa0 [ 24.938062][ T337] ? vprintk_emit+0x31b/0x3e0 [ 24.938064][ T337] __might_resched.cold+0x1fe/0x2c1 [ 24.938069][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.938073][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 24.938078][ T337] __kmalloc_noprof+0x443/0x760 [ 24.938081][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 24.938087][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 24.938090][ T337] alloc_buf.isra.0+0x4b/0x260 [ 24.938094][ T337] put_chars+0x1e1/0x2f0 [ 24.938097][ T337] ? __send_to_port+0x420/0x420 [ 24.938099][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 24.938103][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.938105][ T337] ? validate_chain+0x38b/0xc20 [ 24.938109][ T337] hvc_console_print+0x292/0x780 [ 24.938113][ T337] ? __lock_acquire+0x518/0xc20 [ 24.938115][ T337] ? __lock_acquire+0x518/0xc20 [ 24.938119][ T337] ? hvc_write+0x3a0/0x3a0 [ 24.938123][ T337] ? rcu_is_watching+0x16/0xd0 [ 24.938126][ T337] ? lock_acquire+0x13c/0x160 [ 24.938129][ T337] console_emit_next_record+0x252/0x4f0 [ 24.938133][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 24.938137][ T337] ? rcu_is_watching+0x16/0xd0 [ 24.938140][ T337] ? lock_acquire+0x13c/0x160 [ 24.938143][ T337] console_flush_one_record+0x46f/0x710 [ 24.938147][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 24.938149][ T337] ? __lock_acquire+0x518/0xc20 [ 24.938154][ T337] console_unlock+0xee/0x1f0 [ 24.938157][ T337] ? console_flush_one_record+0x710/0x710 [ 24.938159][ T337] ? rcu_is_watching+0x16/0xd0 [ 24.938161][ T337] ? lock_acquire+0xa0/0x160 [ 24.938165][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.938166][ T337] ? vprintk_emit+0x320/0x3e0 [ 24.938170][ T337] vprintk_emit+0x37c/0x3e0 [ 24.938173][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 24.938176][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 24.938182][ T337] devkmsg_emit.constprop.0+0xbc/0xf1 [ 24.938185][ T337] ? vprintk_emit.cold+0x107/0x107 [ 24.938189][ T337] ? __kmalloc_noprof+0x302/0x760 [ 24.938191][ T337] ? idr_get_free+0x830/0x830 [ 24.938195][ T337] ? devkmsg_write+0xd1/0x2c0 [ 24.938198][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 24.938200][ T337] devkmsg_write.cold+0x5a/0x8b [ 24.938203][ T337] ? vprintk_default+0x20/0x20 [ 24.938206][ T337] ? __lock_acquire+0x518/0xc20 [ 24.938208][ T337] ? assoc_array_subtree_iterate+0x1b9/0x280 [ 24.938212][ T337] ? vprintk_default+0x20/0x20 [ 24.938214][ T337] new_sync_write+0x33e/0x760 [ 24.938218][ T337] ? static_obj+0x52/0x90 [ 24.938222][ T337] ? new_sync_read+0x750/0x750 [ 24.938226][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 24.938230][ T337] ? __fget_files+0x1e3/0x460 [ 24.938234][ T337] vfs_write+0x6a2/0xbd0 [ 24.938238][ T337] ksys_write+0x116/0x250 [ 24.938241][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 24.938243][ T337] ? rcu_is_watching+0x16/0xd0 [ 24.938247][ T337] do_syscall_64+0xff/0x530 [ 24.938250][ T337] ? irq_exit_rcu+0x1a/0x30 [ 24.938252][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.938255][ T337] RIP: 0033:0x7f9135ca6312 [ 24.938259][ T337] 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.938261][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 24.938265][ T337] RAX: ffffffffffffffda RBX: 00000000000002ee RCX: 00007f9135ca6312 [ 24.938266][ T337] RDX: 00000000000002ee RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 24.938267][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 24.938268][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 24.938269][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 24.938276][ T337] [ 24.978034][ T337] netconsole: netconsole: local port 1514 [ 24.978276][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 24.978607][ T337] netconsole: netconsole: interface name 'enp1s0' [ 24.982719][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 24.983072][ T337] netconsole: netconsole: remote port 6666 [ 24.983354][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 24.983684][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 25.073732][ T337] netconsole: network logging started [ 25.488821][ T337] netcons test #4-0 [ 25.488821][ T337] netcons test #4-1 [ 25.488821][ T337] netcons test #4-2 [ 25.488821][ T337] netcons test #4-3 [ 25.488821][ T337] netcons test #4-4 [ 25.488821][ T337] netcons test #4-5 [ 25.488821][ T337] netcons test #4-6 [ 25.488821][ T337] netcons test #4-7 [ 25.488821][ T337] netcons test #4-8 [ 25.488821][ T337] netcons test #4-9 [ 25.488821][ T337] netcons test #4-10 [ 25.488821][ T337] netcons test #4-11 [ 25.488821][ T337] netcons test #4-12 [ 25.488821][ T337] netcons test #4-13 [ 25.488821][ T337] netcons test #4-14 [ 25.488821][ T337] netcons test #4-15 [ 25.488821][ T337] netcons test #4-16 [ 25.488821][ T337] netcons test #4-17 [ 25.488821][ T337] netcons test #4-18 [ 25.488821][ T337] netcons test #4-19 [ 25.488821][ T337] netcons test #4-20 [ 25.488821][ T337] netcons test #4-21 [ 25.488821][ T337] netcons test #4-22 [ 25.488821][ T337] netcons test #4-23 [ 25.488821][ T337] netcons test #4-24 [ 25.488821][ T337] netcons test #4-25 [ 25.488821][ T337] netcons test #4-26 [ 25.488821][ T337] netcons test #4-27 [ 25.488821][ T337] netcons test #4-28 [ 25.488821][ T337] netcons test #4-29 [ 25.488821][ T337] netcons test #4-30 [ 25.488821][ T337] netcons test #4-31 [ 25.488821][ T337] netcons test #4-32 [ 25.488821][ T337] netcons test #4-33 [ 25.488821][ T337] netcons test #4-34 [ 25.488821][ T337] netcons test #4-35 [ 25.488821][ T337] netcons test #4-36 [ 25.488821][ T337] netcons test #4-37 [ 25.488821][ T337] netcons test #4-38 [ 25.488821][ T337] netcons test #4-39 [ 25.497436][ T337] netconsole: netconsole: local port 1514 [ 25.497692][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 25.505606][ T337] netconsole: netconsole: interface name 'enp1s0' [ 25.505910][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 25.506258][ T337] netconsole: netconsole: remote port 6666 [ 25.506551][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 25.506898][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 25.535167][ T337] netconsole: network logging started [ 25.940577][ T337] netcons test #5-0 [ 25.940577][ T337] netcons test #5-1 [ 25.940577][ T337] netcons test #5-2 [ 25.940577][ T337] netcons test #5-3 [ 25.940577][ T337] netcons test #5-4 [ 25.940577][ T337] netcons test #5-5 [ 25.940577][ T337] netcons test #5-6 [ 25.940577][ T337] netcons test #5-7 [ 25.940577][ T337] netcons test #5-8 [ 25.940577][ T337] netcons test #5-9 [ 25.940577][ T337] netcons test #5-10 [ 25.940577][ T337] netcons test #5-11 [ 25.940577][ T337] netcons test #5-12 [ 25.940577][ T337] netcons test #5-13 [ 25.940577][ T337] netcons test #5-14 [ 25.940577][ T337] netcons test #5-15 [ 25.940577][ T337] netcons test #5-16 [ 25.940577][ T337] netcons test #5-17 [ 25.940577][ T337] netcons test #5-18 [ 25.940577][ T337] netcons test #5-19 [ 25.940577][ T337] netcons test #5-20 [ 25.940577][ T337] netcons test #5-21 [ 25.940577][ T337] netcons test #5-22 [ 25.940577][ T337] netcons test #5-23 [ 25.940577][ T337] netcons test #5-24 [ 25.940577][ T337] netcons test #5-25 [ 25.940577][ T337] netcons test #5-26 [ 25.940577][ T337] netcons test #5-27 [ 25.940577][ T337] netcons test #5-28 [ 25.940577][ T337] netcons test #5-29 [ 25.940577][ T337] netcons test #5-30 [ 25.940577][ T337] netcons test #5-31 [ 25.940577][ T337] netcons test #5-32 [ 25.940577][ T337] netcons test #5-33 [ 25.940577][ T337] netcons test #5-34 [ 25.940577][ T337] netcons test #5-35 [ 25.940577][ T337] netcons test #5-36 [ 25.940577][ T337] netcons test #5-37 [ 25.940577][ T337] netcons test #5-38 [ 25.940577][ T337] netcons test #5-39 [ 25.940613][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.940616][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 25.940618][ T337] preempt_count: 1, expected: 0 [ 25.940619][ T337] RCU nest depth: 0, expected: 0 [ 25.940621][ T337] locks held by python3/337: 4, last CPU#5: [ 25.940623][ T337] #0: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.940637][ T337] #1: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.940642][ T337] #2: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.940647][ T337] #3: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 25.940652][ T337] irq event stamp: 645248 [ 25.940654][ T337] hardirqs last enabled at (645247): [] __down_trylock_console_sem+0x86/0xa0 [ 25.940657][ T337] hardirqs last disabled at (645248): [] console_emit_next_record+0x3f8/0x4f0 [ 25.940659][ T337] softirqs last enabled at (643876): [] handle_softirqs+0x67c/0x900 [ 25.940663][ T337] softirqs last disabled at (642973): [] __irq_exit_rcu+0x145/0x1c0 [ 25.940665][ T337] Preemption disabled at: [ 25.940666][ T337] [] vprintk_emit+0x31b/0x3e0 [ 25.940672][ T337] CPU: 5 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.940675][ T337] Tainted: [W]=WARN [ 25.940677][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 25.940679][ T337] Call Trace: [ 25.940680][ T337] [ 25.940682][ T337] dump_stack_lvl+0x6f/0xa0 [ 25.940688][ T337] ? vprintk_emit+0x31b/0x3e0 [ 25.940690][ T337] __might_resched.cold+0x1fe/0x2c1 [ 25.940695][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.940700][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 25.940705][ T337] __kmalloc_noprof+0x443/0x760 [ 25.940708][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 25.940714][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 25.940717][ T337] alloc_buf.isra.0+0x4b/0x260 [ 25.940721][ T337] put_chars+0x1e1/0x2f0 [ 25.940724][ T337] ? __send_to_port+0x420/0x420 [ 25.940726][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 25.940730][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 25.940733][ T337] ? validate_chain+0x38b/0xc20 [ 25.940737][ T337] hvc_console_print+0x292/0x780 [ 25.940741][ T337] ? __lock_acquire+0x518/0xc20 [ 25.940742][ T337] ? __lock_acquire+0x518/0xc20 [ 25.940747][ T337] ? hvc_write+0x3a0/0x3a0 [ 25.940750][ T337] ? rcu_is_watching+0x16/0xd0 [ 25.940753][ T337] ? lock_acquire+0x13c/0x160 [ 25.940757][ T337] console_emit_next_record+0x252/0x4f0 [ 25.940761][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 25.940765][ T337] ? rcu_is_watching+0x16/0xd0 [ 25.940767][ T337] ? lock_acquire+0x13c/0x160 [ 25.940771][ T337] console_flush_one_record+0x46f/0x710 [ 25.940775][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 25.940779][ T337] ? __lock_acquire+0x518/0xc20 [ 25.940784][ T337] console_unlock+0xee/0x1f0 [ 25.940787][ T337] ? console_flush_one_record+0x710/0x710 [ 25.940789][ T337] ? rcu_is_watching+0x16/0xd0 [ 25.940791][ T337] ? lock_acquire+0xa0/0x160 [ 25.940795][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.940796][ T337] ? vprintk_emit+0x320/0x3e0 [ 25.940800][ T337] vprintk_emit+0x37c/0x3e0 [ 25.940804][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 25.940807][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 25.940812][ T337] devkmsg_emit.constprop.0+0xbc/0xf1 [ 25.940816][ T337] ? vprintk_emit.cold+0x107/0x107 [ 25.940820][ T337] ? __kmalloc_noprof+0x302/0x760 [ 25.940822][ T337] ? idr_get_free+0x830/0x830 [ 25.940825][ T337] ? devkmsg_write+0xd1/0x2c0 [ 25.940828][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 25.940831][ T337] devkmsg_write.cold+0x5a/0x8b [ 25.940834][ T337] ? vprintk_default+0x20/0x20 [ 25.940838][ T337] ? vprintk_default+0x20/0x20 [ 25.940840][ T337] new_sync_write+0x33e/0x760 [ 25.940846][ T337] ? new_sync_read+0x750/0x750 [ 25.940853][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 25.940857][ T337] ? __fget_files+0x1e3/0x460 [ 25.940861][ T337] vfs_write+0x6a2/0xbd0 [ 25.940865][ T337] ksys_write+0x116/0x250 [ 25.940868][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 25.940871][ T337] ? rcu_is_watching+0x16/0xd0 [ 25.940875][ T337] do_syscall_64+0xff/0x530 [ 25.940878][ T337] ? irq_exit_rcu+0x1a/0x30 [ 25.940880][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.940883][ T337] RIP: 0033:0x7f9135ca6312 [ 25.940887][ T337] 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 [ 25.940889][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 25.940892][ T337] RAX: ffffffffffffffda RBX: 00000000000002ee RCX: 00007f9135ca6312 [ 25.940894][ T337] RDX: 00000000000002ee RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 25.940895][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 25.940896][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 25.940897][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 25.940904][ T337] [ 25.984995][ T337] netconsole: netconsole: local port 1514 [ 25.985276][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 25.985614][ T337] netconsole: netconsole: interface name 'enp1s0' [ 25.985903][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 25.986227][ T337] netconsole: netconsole: remote port 6666 [ 25.986492][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 25.986825][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 26.032119][ T337] netconsole: network logging started [ 26.440823][ T337] netcons test #6-0 [ 26.440823][ T337] netcons test #6-1 [ 26.440823][ T337] netcons test #6-2 [ 26.440823][ T337] netcons test #6-3 [ 26.440823][ T337] netcons test #6-4 [ 26.440823][ T337] netcons test #6-5 [ 26.440823][ T337] netcons test #6-6 [ 26.440823][ T337] netcons test #6-7 [ 26.440823][ T337] netcons test #6-8 [ 26.440823][ T337] netcons test #6-9 [ 26.440823][ T337] netcons test #6-10 [ 26.440823][ T337] netcons test #6-11 [ 26.440823][ T337] netcons test #6-12 [ 26.440823][ T337] netcons test #6-13 [ 26.440823][ T337] netcons test #6-14 [ 26.440823][ T337] netcons test #6-15 [ 26.440823][ T337] netcons test #6-16 [ 26.440823][ T337] netcons test #6-17 [ 26.440823][ T337] netcons test #6-18 [ 26.440823][ T337] netcons test #6-19 [ 26.440823][ T337] netcons test #6-20 [ 26.440823][ T337] netcons test #6-21 [ 26.440823][ T337] netcons test #6-22 [ 26.440823][ T337] netcons test #6-23 [ 26.440823][ T337] netcons test #6-24 [ 26.440823][ T337] netcons test #6-25 [ 26.440823][ T337] netcons test #6-26 [ 26.440823][ T337] netcons test #6-27 [ 26.440823][ T337] netcons test #6-28 [ 26.440823][ T337] netcons test #6-29 [ 26.440823][ T337] netcons test #6-30 [ 26.440823][ T337] netcons test #6-31 [ 26.440823][ T337] netcons test #6-32 [ 26.440823][ T337] netcons test #6-33 [ 26.440823][ T337] netcons test #6-34 [ 26.440823][ T337] netcons test #6-35 [ 26.440823][ T337] netcons test #6-36 [ 26.440823][ T337] netcons test #6-37 [ 26.440823][ T337] netcons test #6-38 [ 26.440823][ T337] netcons test #6-39 [ 26.455536][ T337] netconsole: netconsole: local port 1514 [ 26.455914][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 26.456414][ T337] netconsole: netconsole: interface name 'enp1s0' [ 26.456830][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 26.457329][ T337] netconsole: netconsole: remote port 6666 [ 26.461588][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 26.462096][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 26.510314][ T337] netconsole: network logging started [ 26.913753][ T337] netcons test #7-0 [ 26.913753][ T337] netcons test #7-1 [ 26.913753][ T337] netcons test #7-2 [ 26.913753][ T337] netcons test #7-3 [ 26.913753][ T337] netcons test #7-4 [ 26.913753][ T337] netcons test #7-5 [ 26.913753][ T337] netcons test #7-6 [ 26.913753][ T337] netcons test #7-7 [ 26.913753][ T337] netcons test #7-8 [ 26.913753][ T337] netcons test #7-9 [ 26.913753][ T337] netcons test #7-10 [ 26.913753][ T337] netcons test #7-11 [ 26.913753][ T337] netcons test #7-12 [ 26.913753][ T337] netcons test #7-13 [ 26.913753][ T337] netcons test #7-14 [ 26.913753][ T337] netcons test #7-15 [ 26.913753][ T337] netcons test #7-16 [ 26.913753][ T337] netcons test #7-17 [ 26.913753][ T337] netcons test #7-18 [ 26.913753][ T337] netcons test #7-19 [ 26.913753][ T337] netcons test #7-20 [ 26.913753][ T337] netcons test #7-21 [ 26.913753][ T337] netcons test #7-22 [ 26.913753][ T337] netcons test #7-23 [ 26.913753][ T337] netcons test #7-24 [ 26.913753][ T337] netcons test #7-25 [ 26.913753][ T337] netcons test #7-26 [ 26.913753][ T337] netcons test #7-27 [ 26.913753][ T337] netcons test #7-28 [ 26.913753][ T337] netcons test #7-29 [ 26.913753][ T337] netcons test #7-30 [ 26.913753][ T337] netcons test #7-31 [ 26.913753][ T337] netcons test #7-32 [ 26.913753][ T337] netcons test #7-33 [ 26.913753][ T337] netcons test #7-34 [ 26.913753][ T337] netcons test #7-35 [ 26.913753][ T337] netcons test #7-36 [ 26.913753][ T337] netcons test #7-37 [ 26.913753][ T337] netcons test #7-38 [ 26.913753][ T337] netcons test #7-39 [ 26.934690][ T337] netconsole: netconsole: local port 1514 [ 26.938352][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 26.938713][ T337] netconsole: netconsole: interface name 'enp1s0' [ 26.939069][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 26.939417][ T337] netconsole: netconsole: remote port 6666 [ 26.941838][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.941842][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 26.941844][ T337] preempt_count: 1, expected: 0 [ 26.941845][ T337] RCU nest depth: 0, expected: 0 [ 26.941847][ T337] locks held by python3/337: 9, last CPU#5: [ 26.941849][ T337] #0: ff110000094f22f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 26.941862][ T337] #1: ff1100000a89c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 26.941869][ T337] #2: ff11000009472e80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 26.941875][ T337] #3: ff1100000bc1d2b0 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 26.941879][ T337] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 26.941886][ T337] #5: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.941892][ T337] #6: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.941897][ T337] #7: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.941901][ T337] #8: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.941906][ T337] irq event stamp: 663982 [ 26.941908][ T337] hardirqs last enabled at (663981): [] __down_trylock_console_sem+0x86/0xa0 [ 26.941911][ T337] hardirqs last disabled at (663982): [] console_emit_next_record+0x3f8/0x4f0 [ 26.941914][ T337] softirqs last enabled at (663938): [] handle_softirqs+0x67c/0x900 [ 26.941917][ T337] softirqs last disabled at (663847): [] __irq_exit_rcu+0x145/0x1c0 [ 26.941920][ T337] Preemption disabled at: [ 26.941920][ T337] [] vprintk_emit+0x31b/0x3e0 [ 26.941927][ T337] CPU: 5 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.941932][ T337] Tainted: [W]=WARN [ 26.941933][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 26.941936][ T337] Call Trace: [ 26.941938][ T337] [ 26.941940][ T337] dump_stack_lvl+0x6f/0xa0 [ 26.941946][ T337] ? vprintk_emit+0x31b/0x3e0 [ 26.941949][ T337] __might_resched.cold+0x1fe/0x2c1 [ 26.941954][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.941958][ T337] ? kmem_cache_alloc_noprof+0x73/0x5c0 [ 26.941963][ T337] kmem_cache_alloc_noprof+0x315/0x5c0 [ 26.941965][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 26.941968][ T337] ? __alloc_object+0x30/0x260 [ 26.941975][ T337] __alloc_object+0x30/0x260 [ 26.941977][ T337] ? kasan_quarantine_reduce+0x1d1/0x240 [ 26.941980][ T337] __create_object+0x30/0x110 [ 26.941985][ T337] __kmalloc_noprof+0x4e5/0x760 [ 26.941988][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 26.941995][ T337] alloc_buf.isra.0+0x4b/0x260 [ 26.941999][ T337] put_chars+0x1e1/0x2f0 [ 26.942002][ T337] ? __send_to_port+0x420/0x420 [ 26.942005][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 26.942008][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.942011][ T337] ? validate_chain+0x38b/0xc20 [ 26.942016][ T337] hvc_console_print+0x292/0x780 [ 26.942019][ T337] ? __lock_acquire+0x518/0xc20 [ 26.942021][ T337] ? __lock_acquire+0x518/0xc20 [ 26.942030][ T337] ? hvc_write+0x3a0/0x3a0 [ 26.942034][ T337] ? rcu_is_watching+0x16/0xd0 [ 26.942037][ T337] ? lock_acquire+0x13c/0x160 [ 26.942041][ T337] console_emit_next_record+0x252/0x4f0 [ 26.942045][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 26.942050][ T337] ? rcu_is_watching+0x16/0xd0 [ 26.942053][ T337] ? lock_acquire+0x13c/0x160 [ 26.942057][ T337] console_flush_one_record+0x46f/0x710 [ 26.942062][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 26.942064][ T337] ? __lock_acquire+0x518/0xc20 [ 26.942072][ T337] console_unlock+0xee/0x1f0 [ 26.942077][ T337] ? console_flush_one_record+0x710/0x710 [ 26.942080][ T337] ? rcu_is_watching+0x16/0xd0 [ 26.942084][ T337] ? lock_acquire+0xa0/0x160 [ 26.942088][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.942090][ T337] ? vprintk_emit+0x320/0x3e0 [ 26.942094][ T337] vprintk_emit+0x37c/0x3e0 [ 26.942098][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 26.942100][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.942102][ T337] ? validate_chain+0x38b/0xc20 [ 26.942104][ T337] ? enabled_store+0x518/0x750 [netconsole] [ 26.942107][ T337] ? find_held_lock+0x2b/0x80 [ 26.942111][ T337] _printk+0xc7/0x100 [ 26.942115][ T337] ? snapshot_read.cold+0x21/0x21 [ 26.942118][ T337] ? __mutex_unlock_slowpath+0x9e/0x740 [ 26.942122][ T337] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 26.942127][ T337] ? panic_on_this_cpu+0x1a/0x30 [ 26.942131][ T337] netconsole_print_banner+0x1fb/0x2e0 [netconsole] [ 26.942136][ T337] enabled_store.cold+0x104/0x1ae [netconsole] [ 26.942138][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 26.942142][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 26.942144][ T337] ? down_write_killable_nested+0x270/0x270 [ 26.942147][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 26.942149][ T337] ? configfs_write_iter+0x336/0x4b0 [ 26.942154][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 26.942156][ T337] configfs_write_iter+0x2c0/0x4b0 [ 26.942158][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 26.942161][ T337] new_sync_write+0x33e/0x760 [ 26.942165][ T337] ? __lock_acquire+0x518/0xc20 [ 26.942168][ T337] ? new_sync_read+0x750/0x750 [ 26.942171][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 26.942174][ T337] ? ksys_write+0x116/0x250 [ 26.942180][ T337] vfs_write+0x6a2/0xbd0 [ 26.942185][ T337] ksys_write+0x116/0x250 [ 26.942188][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 26.942191][ T337] ? rcu_is_watching+0x16/0xd0 [ 26.942195][ T337] do_syscall_64+0xff/0x530 [ 26.942199][ T337] ? irq_exit_rcu+0x1a/0x30 [ 26.942204][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.942207][ T337] RIP: 0033:0x7f9135ca6312 [ 26.942211][ T337] 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.942213][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 26.942216][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9135ca6312 [ 26.942218][ T337] RDX: 0000000000000001 RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 26.942219][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 26.942220][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 26.942221][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 26.942229][ T337] [ 26.978896][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 26.979253][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 27.008394][ T337] netconsole: network logging started [ 27.418921][ T337] netcons test #8-0 [ 27.418921][ T337] netcons test #8-1 [ 27.418921][ T337] netcons test #8-2 [ 27.418921][ T337] netcons test #8-3 [ 27.418921][ T337] netcons test #8-4 [ 27.418921][ T337] netcons test #8-5 [ 27.418921][ T337] netcons test #8-6 [ 27.418921][ T337] netcons test #8-7 [ 27.418921][ T337] netcons test #8-8 [ 27.418921][ T337] netcons test #8-9 [ 27.418921][ T337] netcons test #8-10 [ 27.418921][ T337] netcons test #8-11 [ 27.418921][ T337] netcons test #8-12 [ 27.418921][ T337] netcons test #8-13 [ 27.418921][ T337] netcons test #8-14 [ 27.418921][ T337] netcons test #8-15 [ 27.418921][ T337] netcons test #8-16 [ 27.418921][ T337] netcons test #8-17 [ 27.418921][ T337] netcons test #8-18 [ 27.418921][ T337] netcons test #8-19 [ 27.418921][ T337] netcons test #8-20 [ 27.418921][ T337] netcons test #8-21 [ 27.418921][ T337] netcons test #8-22 [ 27.418921][ T337] netcons test #8-23 [ 27.418921][ T337] netcons test #8-24 [ 27.418921][ T337] netcons test #8-25 [ 27.418921][ T337] netcons test #8-26 [ 27.418921][ T337] netcons test #8-27 [ 27.418921][ T337] netcons test #8-28 [ 27.418921][ T337] netcons test #8-29 [ 27.418921][ T337] netcons test #8-30 [ 27.418921][ T337] netcons test #8-31 [ 27.418921][ T337] netcons test #8-32 [ 27.418921][ T337] netcons test #8-33 [ 27.418921][ T337] netcons test #8-34 [ 27.418921][ T337] netcons test #8-35 [ 27.418921][ T337] netcons test #8-36 [ 27.418921][ T337] netcons test #8-37 [ 27.418921][ T337] netcons test #8-38 [ 27.418921][ T337] netcons test #8-39 [ 27.432221][ T337] netconsole: netconsole: local port 1514 [ 27.432483][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 27.432840][ T337] netconsole: netconsole: interface name 'enp1s0' [ 27.433153][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 27.433499][ T337] netconsole: netconsole: remote port 6666 [ 27.433786][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 27.434138][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 27.502001][ T337] netconsole: network logging started [ 27.906795][ T337] netcons test #9-0 [ 27.906795][ T337] netcons test #9-1 [ 27.906795][ T337] netcons test #9-2 [ 27.906795][ T337] netcons test #9-3 [ 27.906795][ T337] netcons test #9-4 [ 27.906795][ T337] netcons test #9-5 [ 27.906795][ T337] netcons test #9-6 [ 27.906795][ T337] netcons test #9-7 [ 27.906795][ T337] netcons test #9-8 [ 27.906795][ T337] netcons test #9-9 [ 27.906795][ T337] netcons test #9-10 [ 27.906795][ T337] netcons test #9-11 [ 27.906795][ T337] netcons test #9-12 [ 27.906795][ T337] netcons test #9-13 [ 27.906795][ T337] netcons test #9-14 [ 27.906795][ T337] netcons test #9-15 [ 27.906795][ T337] netcons test #9-16 [ 27.906795][ T337] netcons test #9-17 [ 27.906795][ T337] netcons test #9-18 [ 27.906795][ T337] netcons test #9-19 [ 27.906795][ T337] netcons test #9-20 [ 27.906795][ T337] netcons test #9-21 [ 27.906795][ T337] netcons test #9-22 [ 27.906795][ T337] netcons test #9-23 [ 27.906795][ T337] netcons test #9-24 [ 27.906795][ T337] netcons test #9-25 [ 27.906795][ T337] netcons test #9-26 [ 27.906795][ T337] netcons test #9-27 [ 27.906795][ T337] netcons test #9-28 [ 27.906795][ T337] netcons test #9-29 [ 27.906795][ T337] netcons test #9-30 [ 27.906795][ T337] netcons test #9-31 [ 27.906795][ T337] netcons test #9-32 [ 27.906795][ T337] netcons test #9-33 [ 27.906795][ T337] netcons test #9-34 [ 27.906795][ T337] netcons test #9-35 [ 27.906795][ T337] netcons test #9-36 [ 27.906795][ T337] netcons test #9-37 [ 27.906795][ T337] netcons test #9-38 [ 27.906795][ T337] netcons test #9-39 [ 27.935526][ T337] netconsole: netconsole: local port 1514 [ 27.936086][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 27.936563][ T337] netconsole: netconsole: interface name 'enp1s0' [ 27.936994][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 27.944742][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.944748][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 27.944750][ T337] preempt_count: 1, expected: 0 [ 27.944752][ T337] RCU nest depth: 0, expected: 0 [ 27.944754][ T337] locks held by python3/337: 9, last CPU#1: [ 27.944757][ T337] #0: ff110000094cbbb0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 27.944771][ T337] #1: ff1100000a89c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 27.944777][ T337] #2: ff1100000c032880 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 27.944783][ T337] #3: ff1100000bc1d2b0 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 27.944786][ T337] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 27.944793][ T337] #5: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.944799][ T337] #6: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.944804][ T337] #7: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.944808][ T337] #8: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 27.944813][ T337] irq event stamp: 678288 [ 27.944815][ T337] hardirqs last enabled at (678287): [] __down_trylock_console_sem+0x86/0xa0 [ 27.944818][ T337] hardirqs last disabled at (678288): [] console_emit_next_record+0x3f8/0x4f0 [ 27.944820][ T337] softirqs last enabled at (675294): [] handle_softirqs+0x67c/0x900 [ 27.944823][ T337] softirqs last disabled at (675285): [] __irq_exit_rcu+0x145/0x1c0 [ 27.944826][ T337] Preemption disabled at: [ 27.944827][ T337] [] vprintk_emit+0x31b/0x3e0 [ 27.944833][ T337] CPU: 1 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.944837][ T337] Tainted: [W]=WARN [ 27.944838][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 27.944840][ T337] Call Trace: [ 27.944842][ T337] [ 27.944843][ T337] dump_stack_lvl+0x6f/0xa0 [ 27.944849][ T337] ? vprintk_emit+0x31b/0x3e0 [ 27.944851][ T337] __might_resched.cold+0x1fe/0x2c1 [ 27.944856][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.944861][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 27.944866][ T337] __kmalloc_noprof+0x443/0x760 [ 27.944869][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 27.944876][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 27.944879][ T337] alloc_buf.isra.0+0x4b/0x260 [ 27.944882][ T337] put_chars+0x1e1/0x2f0 [ 27.944886][ T337] ? __send_to_port+0x420/0x420 [ 27.944888][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 27.944892][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.944895][ T337] ? validate_chain+0x38b/0xc20 [ 27.944899][ T337] hvc_console_print+0x292/0x780 [ 27.944903][ T337] ? __lock_acquire+0x518/0xc20 [ 27.944904][ T337] ? __lock_acquire+0x518/0xc20 [ 27.944909][ T337] ? hvc_write+0x3a0/0x3a0 [ 27.944913][ T337] ? rcu_is_watching+0x16/0xd0 [ 27.944916][ T337] ? lock_acquire+0x13c/0x160 [ 27.944921][ T337] console_emit_next_record+0x252/0x4f0 [ 27.944925][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 27.944930][ T337] ? rcu_is_watching+0x16/0xd0 [ 27.944932][ T337] ? lock_acquire+0x13c/0x160 [ 27.944937][ T337] console_flush_one_record+0x46f/0x710 [ 27.944941][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 27.944943][ T337] ? __lock_acquire+0x518/0xc20 [ 27.944949][ T337] console_unlock+0xee/0x1f0 [ 27.944952][ T337] ? console_flush_one_record+0x710/0x710 [ 27.944954][ T337] ? rcu_is_watching+0x16/0xd0 [ 27.944956][ T337] ? lock_acquire+0xa0/0x160 [ 27.944960][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.944962][ T337] ? vprintk_emit+0x320/0x3e0 [ 27.944966][ T337] vprintk_emit+0x37c/0x3e0 [ 27.944970][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 27.944972][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.944974][ T337] ? validate_chain+0x38b/0xc20 [ 27.944976][ T337] ? enabled_store+0x518/0x750 [netconsole] [ 27.944978][ T337] ? find_held_lock+0x2b/0x80 [ 27.944982][ T337] _printk+0xc7/0x100 [ 27.944986][ T337] ? snapshot_read.cold+0x21/0x21 [ 27.944989][ T337] ? __mutex_unlock_slowpath+0x9e/0x740 [ 27.944993][ T337] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 27.944998][ T337] ? panic_on_this_cpu+0x1a/0x30 [ 27.945002][ T337] netconsole_print_banner+0x190/0x2e0 [netconsole] [ 27.945007][ T337] enabled_store.cold+0x104/0x1ae [netconsole] [ 27.945009][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 27.945013][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 27.945015][ T337] ? down_write_killable_nested+0x270/0x270 [ 27.945018][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 27.945020][ T337] ? configfs_write_iter+0x336/0x4b0 [ 27.945029][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 27.945032][ T337] configfs_write_iter+0x2c0/0x4b0 [ 27.945034][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 27.945037][ T337] new_sync_write+0x33e/0x760 [ 27.945041][ T337] ? __lock_acquire+0x518/0xc20 [ 27.945044][ T337] ? new_sync_read+0x750/0x750 [ 27.945048][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 27.945050][ T337] ? ksys_write+0x116/0x250 [ 27.945057][ T337] vfs_write+0x6a2/0xbd0 [ 27.945062][ T337] ksys_write+0x116/0x250 [ 27.945064][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 27.945067][ T337] ? rcu_is_watching+0x16/0xd0 [ 27.945071][ T337] do_syscall_64+0xff/0x530 [ 27.945075][ T337] ? irq_exit_rcu+0x1a/0x30 [ 27.945078][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.945080][ T337] RIP: 0033:0x7f9135ca6312 [ 27.945084][ T337] 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.945086][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 27.945089][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9135ca6312 [ 27.945091][ T337] RDX: 0000000000000001 RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 27.945092][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 27.945093][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 27.945094][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 27.945102][ T337] [ 27.987516][ T337] netconsole: netconsole: remote port 6666 [ 27.987824][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 27.988188][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 28.094160][ T337] netconsole: network logging started [ 28.507756][ T337] netcons test #10-0 [ 28.507756][ T337] netcons test #10-1 [ 28.507756][ T337] netcons test #10-2 [ 28.507756][ T337] netcons test #10-3 [ 28.507756][ T337] netcons test #10-4 [ 28.507756][ T337] netcons test #10-5 [ 28.507756][ T337] netcons test #10-6 [ 28.507756][ T337] netcons test #10-7 [ 28.507756][ T337] netcons test #10-8 [ 28.507756][ T337] netcons test #10-9 [ 28.507756][ T337] netcons test #10-10 [ 28.507756][ T337] netcons test #10-11 [ 28.507756][ T337] netcons test #10-12 [ 28.507756][ T337] netcons test #10-13 [ 28.507756][ T337] netcons test #10-14 [ 28.507756][ T337] netcons test #10-15 [ 28.507756][ T337] netcons test #10-16 [ 28.507756][ T337] netcons test #10-17 [ 28.507756][ T337] netcons test #10-18 [ 28.507756][ T337] netcons test #10-19 [ 28.507756][ T337] netcons test #10-20 [ 28.507756][ T337] netcons test #10-21 [ 28.507756][ T337] netcons test #10-22 [ 28.507756][ T337] netcons test #10-23 [ 28.507756][ T337] netcons test #10-24 [ 28.507756][ T337] netcons test #10-25 [ 28.507756][ T337] netcons test #10-26 [ 28.507756][ T337] netcons test #10-27 [ 28.507756][ T337] netcons test #10-28 [ 28.507756][ T337] netcons test #10-29 [ 28.507756][ T337] netcons test #10-30 [ 28.507756][ T337] netcons test #10-31 [ 28.507756][ T337] netcons test #10-32 [ 28.507756][ T337] netcons test #10-33 [ 28.507756][ T337] netcons test #10-34 [ 28.507756][ T337] netcons test #10-35 [ 28.507756][ T337] netcons test #10-36 [ 28.507756][ T337] netcons test #10-37 [ 28.507756][ T337] netcons test #10-38 [ 28.507756][ T337] netcons test #10-39 [ 28.521355][ T337] netconsole: netconsole: local port 1514 [ 28.521649][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 28.522045][ T337] netconsole: netconsole: interface name 'enp1s0' [ 28.522331][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 28.522748][ T337] netconsole: netconsole: remote port 6666 [ 28.523138][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 28.525996][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 28.559115][ T337] netconsole: network logging started [ 28.976588][ T337] netcons test #11-0 [ 28.976588][ T337] netcons test #11-1 [ 28.976588][ T337] netcons test #11-2 [ 28.976588][ T337] netcons test #11-3 [ 28.976588][ T337] netcons test #11-4 [ 28.976588][ T337] netcons test #11-5 [ 28.976588][ T337] netcons test #11-6 [ 28.976588][ T337] netcons test #11-7 [ 28.976588][ T337] netcons test #11-8 [ 28.976588][ T337] netcons test #11-9 [ 28.976588][ T337] netcons test #11-10 [ 28.976588][ T337] netcons test #11-11 [ 28.976588][ T337] netcons test #11-12 [ 28.976588][ T337] netcons test #11-13 [ 28.976588][ T337] netcons test #11-14 [ 28.976588][ T337] netcons test #11-15 [ 28.976588][ T337] netcons test #11-16 [ 28.976588][ T337] netcons test #11-17 [ 28.976588][ T337] netcons test #11-18 [ 28.976588][ T337] netcons test #11-19 [ 28.976588][ T337] netcons test #11-20 [ 28.976588][ T337] netcons test #11-21 [ 28.976588][ T337] netcons test #11-22 [ 28.976588][ T337] netcons test #11-23 [ 28.976588][ T337] netcons test #11-24 [ 28.976588][ T337] netcons test #11-25 [ 28.976588][ T337] netcons test #11-26 [ 28.976588][ T337] netcons test #11-27 [ 28.976588][ T337] netcons test #11-28 [ 28.976588][ T337] netcons test #11-29 [ 28.976588][ T337] netcons test #11-30 [ 28.976588][ T337] netcons test #11-31 [ 28.976588][ T337] netcons test #11-32 [ 28.976588][ T337] netcons test #11-33 [ 28.976588][ T337] netcons test #11-34 [ 28.976588][ T337] netcons test #11-35 [ 28.976588][ T337] netcons test #11-36 [ 28.976588][ T337] netcons test #11-37 [ 28.976588][ T337] netcons test #11-38 [ 28.976588][ T337] netcons test #11-39 [ 28.976621][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.976624][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 28.976626][ T337] preempt_count: 1, expected: 0 [ 28.976627][ T337] RCU nest depth: 0, expected: 0 [ 28.976628][ T337] locks held by python3/337: 4, last CPU#1: [ 28.976631][ T337] #0: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.976644][ T337] #1: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.976649][ T337] #2: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.976653][ T337] #3: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 28.976658][ T337] irq event stamp: 709312 [ 28.976660][ T337] hardirqs last enabled at (709311): [] __down_trylock_console_sem+0x86/0xa0 [ 28.976663][ T337] hardirqs last disabled at (709312): [] console_emit_next_record+0x3f8/0x4f0 [ 28.976665][ T337] softirqs last enabled at (709110): [] handle_softirqs+0x67c/0x900 [ 28.976668][ T337] softirqs last disabled at (709101): [] __irq_exit_rcu+0x145/0x1c0 [ 28.976671][ T337] Preemption disabled at: [ 28.976671][ T337] [] vprintk_emit+0x31b/0x3e0 [ 28.976677][ T337] CPU: 1 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.976681][ T337] Tainted: [W]=WARN [ 28.976682][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 28.976684][ T337] Call Trace: [ 28.976685][ T337] [ 28.976687][ T337] dump_stack_lvl+0x6f/0xa0 [ 28.976693][ T337] ? vprintk_emit+0x31b/0x3e0 [ 28.976695][ T337] __might_resched.cold+0x1fe/0x2c1 [ 28.976700][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.976704][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 28.976710][ T337] __kmalloc_noprof+0x443/0x760 [ 28.976713][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 28.976723][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 28.976727][ T337] alloc_buf.isra.0+0x4b/0x260 [ 28.976732][ T337] put_chars+0x1e1/0x2f0 [ 28.976737][ T337] ? __send_to_port+0x420/0x420 [ 28.976740][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 28.976745][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.976749][ T337] ? validate_chain+0x38b/0xc20 [ 28.976753][ T337] hvc_console_print+0x292/0x780 [ 28.976757][ T337] ? __lock_acquire+0x518/0xc20 [ 28.976758][ T337] ? __lock_acquire+0x518/0xc20 [ 28.976763][ T337] ? hvc_write+0x3a0/0x3a0 [ 28.976766][ T337] ? rcu_is_watching+0x16/0xd0 [ 28.976769][ T337] ? lock_acquire+0x13c/0x160 [ 28.976773][ T337] console_emit_next_record+0x252/0x4f0 [ 28.976776][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 28.976781][ T337] ? rcu_is_watching+0x16/0xd0 [ 28.976783][ T337] ? lock_acquire+0x13c/0x160 [ 28.976790][ T337] console_flush_one_record+0x46f/0x710 [ 28.976796][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 28.976799][ T337] ? __lock_acquire+0x518/0xc20 [ 28.976805][ T337] console_unlock+0xee/0x1f0 [ 28.976810][ T337] ? console_flush_one_record+0x710/0x710 [ 28.976812][ T337] ? rcu_is_watching+0x16/0xd0 [ 28.976816][ T337] ? lock_acquire+0xa0/0x160 [ 28.976821][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.976824][ T337] ? vprintk_emit+0x320/0x3e0 [ 28.976827][ T337] vprintk_emit+0x37c/0x3e0 [ 28.976831][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 28.976834][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 28.976839][ T337] devkmsg_emit.constprop.0+0xbc/0xf1 [ 28.976844][ T337] ? vprintk_emit.cold+0x107/0x107 [ 28.976850][ T337] ? __kmalloc_noprof+0x302/0x760 [ 28.976852][ T337] ? idr_get_free+0x830/0x830 [ 28.976856][ T337] ? devkmsg_write+0xd1/0x2c0 [ 28.976862][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 28.976866][ T337] devkmsg_write.cold+0x5a/0x8b [ 28.976870][ T337] ? vprintk_default+0x20/0x20 [ 28.976875][ T337] ? vprintk_default+0x20/0x20 [ 28.976879][ T337] new_sync_write+0x33e/0x760 [ 28.976887][ T337] ? new_sync_read+0x750/0x750 [ 28.976894][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 28.976902][ T337] ? __fget_files+0x1e3/0x460 [ 28.976907][ T337] vfs_write+0x6a2/0xbd0 [ 28.976915][ T337] ksys_write+0x116/0x250 [ 28.976920][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 28.976925][ T337] ? rcu_is_watching+0x16/0xd0 [ 28.976931][ T337] do_syscall_64+0xff/0x530 [ 28.976935][ T337] ? irq_exit_rcu+0x1a/0x30 [ 28.976940][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.976944][ T337] RIP: 0033:0x7f9135ca6312 [ 28.976949][ T337] 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.976953][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 28.976957][ T337] RAX: ffffffffffffffda RBX: 0000000000000316 RCX: 00007f9135ca6312 [ 28.976959][ T337] RDX: 0000000000000316 RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 28.976961][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 28.976963][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 28.976964][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 28.976978][ T337] [ 29.019884][ T337] netconsole: netconsole: local port 1514 [ 29.020191][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 29.020531][ T337] netconsole: netconsole: interface name 'enp1s0' [ 29.020863][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 29.021222][ T337] netconsole: netconsole: remote port 6666 [ 29.021538][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 29.021920][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 29.124615][ T337] netconsole: network logging started [ 29.534052][ T337] netcons test #12-0 [ 29.534052][ T337] netcons test #12-1 [ 29.534052][ T337] netcons test #12-2 [ 29.534052][ T337] netcons test #12-3 [ 29.534052][ T337] netcons test #12-4 [ 29.534052][ T337] netcons test #12-5 [ 29.534052][ T337] netcons test #12-6 [ 29.534052][ T337] netcons test #12-7 [ 29.534052][ T337] netcons test #12-8 [ 29.534052][ T337] netcons test #12-9 [ 29.534052][ T337] netcons test #12-10 [ 29.534052][ T337] netcons test #12-11 [ 29.534052][ T337] netcons test #12-12 [ 29.534052][ T337] netcons test #12-13 [ 29.534052][ T337] netcons test #12-14 [ 29.534052][ T337] netcons test #12-15 [ 29.534052][ T337] netcons test #12-16 [ 29.534052][ T337] netcons test #12-17 [ 29.534052][ T337] netcons test #12-18 [ 29.534052][ T337] netcons test #12-19 [ 29.534052][ T337] netcons test #12-20 [ 29.534052][ T337] netcons test #12-21 [ 29.534052][ T337] netcons test #12-22 [ 29.534052][ T337] netcons test #12-23 [ 29.534052][ T337] netcons test #12-24 [ 29.534052][ T337] netcons test #12-25 [ 29.534052][ T337] netcons test #12-26 [ 29.534052][ T337] netcons test #12-27 [ 29.534052][ T337] netcons test #12-28 [ 29.534052][ T337] netcons test #12-29 [ 29.534052][ T337] netcons test #12-30 [ 29.534052][ T337] netcons test #12-31 [ 29.534052][ T337] netcons test #12-32 [ 29.534052][ T337] netcons test #12-33 [ 29.534052][ T337] netcons test #12-34 [ 29.534052][ T337] netcons test #12-35 [ 29.534052][ T337] netcons test #12-36 [ 29.534052][ T337] netcons test #12-37 [ 29.534052][ T337] netcons test #12-38 [ 29.534052][ T337] netcons test #12-39 [ 29.551702][ T337] netconsole: netconsole: local port 1514 [ 29.551979][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 29.552397][ T337] netconsole: netconsole: interface name 'enp1s0' [ 29.552776][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 29.553128][ T337] netconsole: netconsole: remote port 6666 [ 29.553491][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 29.553918][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 29.572541][ T337] netconsole: network logging started [ 29.987303][ T337] netcons test #13-0 [ 29.987303][ T337] netcons test #13-1 [ 29.987303][ T337] netcons test #13-2 [ 29.987303][ T337] netcons test #13-3 [ 29.987303][ T337] netcons test #13-4 [ 29.987303][ T337] netcons test #13-5 [ 29.987303][ T337] netcons test #13-6 [ 29.987303][ T337] netcons test #13-7 [ 29.987303][ T337] netcons test #13-8 [ 29.987303][ T337] netcons test #13-9 [ 29.987303][ T337] netcons test #13-10 [ 29.987303][ T337] netcons test #13-11 [ 29.987303][ T337] netcons test #13-12 [ 29.987303][ T337] netcons test #13-13 [ 29.987303][ T337] netcons test #13-14 [ 29.987303][ T337] netcons test #13-15 [ 29.987303][ T337] netcons test #13-16 [ 29.987303][ T337] netcons test #13-17 [ 29.987303][ T337] netcons test #13-18 [ 29.987303][ T337] netcons test #13-19 [ 29.987303][ T337] netcons test #13-20 [ 29.987303][ T337] netcons test #13-21 [ 29.987303][ T337] netcons test #13-22 [ 29.987303][ T337] netcons test #13-23 [ 29.987303][ T337] netcons test #13-24 [ 29.987303][ T337] netcons test #13-25 [ 29.987303][ T337] netcons test #13-26 [ 29.987303][ T337] netcons test #13-27 [ 29.987303][ T337] netcons test #13-28 [ 29.987303][ T337] netcons test #13-29 [ 29.987303][ T337] netcons test #13-30 [ 29.987303][ T337] netcons test #13-31 [ 29.987303][ T337] netcons test #13-32 [ 29.987303][ T337] netcons test #13-33 [ 29.987303][ T337] netcons test #13-34 [ 29.987303][ T337] netcons test #13-35 [ 29.987303][ T337] netcons test #13-36 [ 29.987303][ T337] netcons test #13-37 [ 29.987303][ T337] netcons test #13-38 [ 29.987303][ T337] netcons test #13-39 [ 29.987348][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.987352][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 29.987356][ T337] preempt_count: 1, expected: 0 [ 29.987357][ T337] RCU nest depth: 0, expected: 0 [ 29.987359][ T337] locks held by python3/337: 4, last CPU#1: [ 29.987362][ T337] #0: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.987378][ T337] #1: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.987383][ T337] #2: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.987387][ T337] #3: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 29.987392][ T337] irq event stamp: 732634 [ 29.987394][ T337] hardirqs last enabled at (732633): [] __down_trylock_console_sem+0x86/0xa0 [ 29.987398][ T337] hardirqs last disabled at (732634): [] console_emit_next_record+0x3f8/0x4f0 [ 29.987400][ T337] softirqs last enabled at (729492): [] handle_softirqs+0x67c/0x900 [ 29.987403][ T337] softirqs last disabled at (729487): [] __irq_exit_rcu+0x145/0x1c0 [ 29.987406][ T337] Preemption disabled at: [ 29.987407][ T337] [] vprintk_emit+0x31b/0x3e0 [ 29.987413][ T337] CPU: 1 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.987417][ T337] Tainted: [W]=WARN [ 29.987418][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 29.987420][ T337] Call Trace: [ 29.987422][ T337] [ 29.987423][ T337] dump_stack_lvl+0x6f/0xa0 [ 29.987430][ T337] ? vprintk_emit+0x31b/0x3e0 [ 29.987432][ T337] __might_resched.cold+0x1fe/0x2c1 [ 29.987437][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.987441][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 29.987446][ T337] __kmalloc_noprof+0x443/0x760 [ 29.987449][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 29.987456][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 29.987459][ T337] alloc_buf.isra.0+0x4b/0x260 [ 29.987463][ T337] put_chars+0x1e1/0x2f0 [ 29.987466][ T337] ? __send_to_port+0x420/0x420 [ 29.987468][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 29.987471][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.987474][ T337] ? validate_chain+0x38b/0xc20 [ 29.987478][ T337] hvc_console_print+0x292/0x780 [ 29.987482][ T337] ? __lock_acquire+0x518/0xc20 [ 29.987484][ T337] ? __lock_acquire+0x518/0xc20 [ 29.987488][ T337] ? hvc_write+0x3a0/0x3a0 [ 29.987492][ T337] ? rcu_is_watching+0x16/0xd0 [ 29.987495][ T337] ? lock_acquire+0x13c/0x160 [ 29.987499][ T337] console_emit_next_record+0x252/0x4f0 [ 29.987503][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 29.987507][ T337] ? rcu_is_watching+0x16/0xd0 [ 29.987509][ T337] ? lock_acquire+0x13c/0x160 [ 29.987513][ T337] console_flush_one_record+0x46f/0x710 [ 29.987517][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 29.987519][ T337] ? __lock_acquire+0x518/0xc20 [ 29.987524][ T337] console_unlock+0xee/0x1f0 [ 29.987527][ T337] ? console_flush_one_record+0x710/0x710 [ 29.987529][ T337] ? rcu_is_watching+0x16/0xd0 [ 29.987531][ T337] ? lock_acquire+0xa0/0x160 [ 29.987535][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.987537][ T337] ? vprintk_emit+0x320/0x3e0 [ 29.987540][ T337] vprintk_emit+0x37c/0x3e0 [ 29.987544][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 29.987547][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 29.987553][ T337] devkmsg_emit.constprop.0+0xbc/0xf1 [ 29.987557][ T337] ? vprintk_emit.cold+0x107/0x107 [ 29.987560][ T337] ? __kmalloc_noprof+0x302/0x760 [ 29.987563][ T337] ? idr_get_free+0x830/0x830 [ 29.987566][ T337] ? devkmsg_write+0xd1/0x2c0 [ 29.987569][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 29.987571][ T337] devkmsg_write.cold+0x5a/0x8b [ 29.987574][ T337] ? vprintk_default+0x20/0x20 [ 29.987579][ T337] ? vprintk_default+0x20/0x20 [ 29.987581][ T337] new_sync_write+0x33e/0x760 [ 29.987587][ T337] ? new_sync_read+0x750/0x750 [ 29.987592][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 29.987596][ T337] ? __fget_files+0x1e3/0x460 [ 29.987600][ T337] vfs_write+0x6a2/0xbd0 [ 29.987604][ T337] ksys_write+0x116/0x250 [ 29.987607][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 29.987610][ T337] ? rcu_is_watching+0x16/0xd0 [ 29.987614][ T337] do_syscall_64+0xff/0x530 [ 29.987617][ T337] ? common_interrupt+0x5a/0xf0 [ 29.987619][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.987622][ T337] RIP: 0033:0x7f9135ca6312 [ 29.987627][ T337] 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.987628][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 29.987631][ T337] RAX: ffffffffffffffda RBX: 0000000000000316 RCX: 00007f9135ca6312 [ 29.987633][ T337] RDX: 0000000000000316 RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 29.987634][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 29.987635][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 29.987636][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 29.987642][ T337] [ 30.030129][ T337] netconsole: netconsole: local port 1514 [ 30.030431][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 30.030800][ T337] netconsole: netconsole: interface name 'enp1s0' [ 30.031104][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 30.031500][ T337] netconsole: netconsole: remote port 6666 [ 30.031798][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 30.032144][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 30.099403][ T337] netconsole: network logging started [ 30.518659][ T337] netcons test #14-0 [ 30.518659][ T337] netcons test #14-1 [ 30.518659][ T337] netcons test #14-2 [ 30.518659][ T337] netcons test #14-3 [ 30.518659][ T337] netcons test #14-4 [ 30.518659][ T337] netcons test #14-5 [ 30.518659][ T337] netcons test #14-6 [ 30.518659][ T337] netcons test #14-7 [ 30.518659][ T337] netcons test #14-8 [ 30.518659][ T337] netcons test #14-9 [ 30.518659][ T337] netcons test #14-10 [ 30.518659][ T337] netcons test #14-11 [ 30.518659][ T337] netcons test #14-12 [ 30.518659][ T337] netcons test #14-13 [ 30.518659][ T337] netcons test #14-14 [ 30.518659][ T337] netcons test #14-15 [ 30.518659][ T337] netcons test #14-16 [ 30.518659][ T337] netcons test #14-17 [ 30.518659][ T337] netcons test #14-18 [ 30.518659][ T337] netcons test #14-19 [ 30.518659][ T337] netcons test #14-20 [ 30.518659][ T337] netcons test #14-21 [ 30.518659][ T337] netcons test #14-22 [ 30.518659][ T337] netcons test #14-23 [ 30.518659][ T337] netcons test #14-24 [ 30.518659][ T337] netcons test #14-25 [ 30.518659][ T337] netcons test #14-26 [ 30.518659][ T337] netcons test #14-27 [ 30.518659][ T337] netcons test #14-28 [ 30.518659][ T337] netcons test #14-29 [ 30.518659][ T337] netcons test #14-30 [ 30.518659][ T337] netcons test #14-31 [ 30.518659][ T337] netcons test #14-32 [ 30.518659][ T337] netcons test #14-33 [ 30.518659][ T337] netcons test #14-34 [ 30.518659][ T337] netcons test #14-35 [ 30.518659][ T337] netcons test #14-36 [ 30.518659][ T337] netcons test #14-37 [ 30.518659][ T337] netcons test #14-38 [ 30.518659][ T337] netcons test #14-39 [ 30.532049][ T337] netconsole: netconsole: local port 1514 [ 30.532308][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 30.532673][ T337] netconsole: netconsole: interface name 'enp1s0' [ 30.532976][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 30.533330][ T337] netconsole: netconsole: remote port 6666 [ 30.533631][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 30.533990][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 30.629352][ T337] netconsole: network logging started [ 31.034086][ T337] netcons test #15-0 [ 31.034086][ T337] netcons test #15-1 [ 31.034086][ T337] netcons test #15-2 [ 31.034086][ T337] netcons test #15-3 [ 31.034086][ T337] netcons test #15-4 [ 31.034086][ T337] netcons test #15-5 [ 31.034086][ T337] netcons test #15-6 [ 31.034086][ T337] netcons test #15-7 [ 31.034086][ T337] netcons test #15-8 [ 31.034086][ T337] netcons test #15-9 [ 31.034086][ T337] netcons test #15-10 [ 31.034086][ T337] netcons test #15-11 [ 31.034086][ T337] netcons test #15-12 [ 31.034086][ T337] netcons test #15-13 [ 31.034086][ T337] netcons test #15-14 [ 31.034086][ T337] netcons test #15-15 [ 31.034086][ T337] netcons test #15-16 [ 31.034086][ T337] netcons test #15-17 [ 31.034086][ T337] netcons test #15-18 [ 31.034086][ T337] netcons test #15-19 [ 31.034086][ T337] netcons test #15-20 [ 31.034086][ T337] netcons test #15-21 [ 31.034086][ T337] netcons test #15-22 [ 31.034086][ T337] netcons test #15-23 [ 31.034086][ T337] netcons test #15-24 [ 31.034086][ T337] netcons test #15-25 [ 31.034086][ T337] netcons test #15-26 [ 31.034086][ T337] netcons test #15-27 [ 31.034086][ T337] netcons test #15-28 [ 31.034086][ T337] netcons test #15-29 [ 31.034086][ T337] netcons test #15-30 [ 31.034086][ T337] netcons test #15-31 [ 31.034086][ T337] netcons test #15-32 [ 31.034086][ T337] netcons test #15-33 [ 31.034086][ T337] netcons test #15-34 [ 31.034086][ T337] netcons test #15-35 [ 31.034086][ T337] netcons test #15-36 [ 31.034086][ T337] netcons test #15-37 [ 31.034086][ T337] netcons test #15-38 [ 31.034086][ T337] netcons test #15-39 [ 31.034279][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.034286][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 31.034288][ T337] preempt_count: 1, expected: 0 [ 31.034289][ T337] RCU nest depth: 0, expected: 0 [ 31.034290][ T337] locks held by python3/337: 4, last CPU#5: [ 31.034292][ T337] #0: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.034306][ T337] #1: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.034312][ T337] #2: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.034316][ T337] #3: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 31.034321][ T337] irq event stamp: 751956 [ 31.034324][ T337] hardirqs last enabled at (751955): [] __down_trylock_console_sem+0x86/0xa0 [ 31.034327][ T337] hardirqs last disabled at (751956): [] console_emit_next_record+0x3f8/0x4f0 [ 31.034329][ T337] softirqs last enabled at (748568): [] handle_softirqs+0x67c/0x900 [ 31.034332][ T337] softirqs last disabled at (747619): [] __irq_exit_rcu+0x145/0x1c0 [ 31.034335][ T337] Preemption disabled at: [ 31.034335][ T337] [] vprintk_emit+0x31b/0x3e0 [ 31.034342][ T337] CPU: 5 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.034345][ T337] Tainted: [W]=WARN [ 31.034346][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 31.034348][ T337] Call Trace: [ 31.034350][ T337] [ 31.034352][ T337] dump_stack_lvl+0x6f/0xa0 [ 31.034358][ T337] ? vprintk_emit+0x31b/0x3e0 [ 31.034360][ T337] __might_resched.cold+0x1fe/0x2c1 [ 31.034364][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.034368][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 31.034374][ T337] __kmalloc_noprof+0x443/0x760 [ 31.034376][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 31.034383][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 31.034386][ T337] alloc_buf.isra.0+0x4b/0x260 [ 31.034390][ T337] put_chars+0x1e1/0x2f0 [ 31.034394][ T337] ? __send_to_port+0x420/0x420 [ 31.034396][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 31.034399][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.034402][ T337] ? validate_chain+0x38b/0xc20 [ 31.034406][ T337] hvc_console_print+0x292/0x780 [ 31.034410][ T337] ? __lock_acquire+0x518/0xc20 [ 31.034412][ T337] ? __lock_acquire+0x518/0xc20 [ 31.034416][ T337] ? hvc_write+0x3a0/0x3a0 [ 31.034420][ T337] ? rcu_is_watching+0x16/0xd0 [ 31.034423][ T337] ? lock_acquire+0x13c/0x160 [ 31.034427][ T337] console_emit_next_record+0x252/0x4f0 [ 31.034431][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 31.034435][ T337] ? rcu_is_watching+0x16/0xd0 [ 31.034438][ T337] ? lock_acquire+0x13c/0x160 [ 31.034442][ T337] console_flush_one_record+0x46f/0x710 [ 31.034446][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 31.034448][ T337] ? __lock_acquire+0x518/0xc20 [ 31.034453][ T337] console_unlock+0xee/0x1f0 [ 31.034456][ T337] ? console_flush_one_record+0x710/0x710 [ 31.034458][ T337] ? rcu_is_watching+0x16/0xd0 [ 31.034460][ T337] ? lock_acquire+0xa0/0x160 [ 31.034464][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.034466][ T337] ? vprintk_emit+0x320/0x3e0 [ 31.034469][ T337] vprintk_emit+0x37c/0x3e0 [ 31.034473][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 31.034477][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 31.034482][ T337] devkmsg_emit.constprop.0+0xbc/0xf1 [ 31.034486][ T337] ? vprintk_emit.cold+0x107/0x107 [ 31.034490][ T337] ? __kmalloc_noprof+0x302/0x760 [ 31.034492][ T337] ? idr_get_free+0x830/0x830 [ 31.034496][ T337] ? devkmsg_write+0xd1/0x2c0 [ 31.034499][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 31.034502][ T337] devkmsg_write.cold+0x5a/0x8b [ 31.034504][ T337] ? vprintk_default+0x20/0x20 [ 31.034509][ T337] ? vprintk_default+0x20/0x20 [ 31.034512][ T337] new_sync_write+0x33e/0x760 [ 31.034517][ T337] ? new_sync_read+0x750/0x750 [ 31.034522][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 31.034526][ T337] ? __fget_files+0x1e3/0x460 [ 31.034530][ T337] vfs_write+0x6a2/0xbd0 [ 31.034534][ T337] ksys_write+0x116/0x250 [ 31.034537][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 31.034540][ T337] ? rcu_is_watching+0x16/0xd0 [ 31.034543][ T337] do_syscall_64+0xff/0x530 [ 31.034546][ T337] ? irq_exit_rcu+0x1a/0x30 [ 31.034549][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.034551][ T337] RIP: 0033:0x7f9135ca6312 [ 31.034555][ T337] 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 [ 31.034558][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 31.034561][ T337] RAX: ffffffffffffffda RBX: 0000000000000316 RCX: 00007f9135ca6312 [ 31.034563][ T337] RDX: 0000000000000316 RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 31.034564][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 31.034565][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 31.034565][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 31.034572][ T337] [ 31.083647][ T337] netconsole: netconsole: local port 1514 [ 31.083918][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 31.084265][ T337] netconsole: netconsole: interface name 'enp1s0' [ 31.084560][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 31.084911][ T337] netconsole: netconsole: remote port 6666 [ 31.085203][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 31.085545][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 31.106840][ T337] netconsole: network logging started [ 31.524931][ T337] netcons test #16-0 [ 31.524931][ T337] netcons test #16-1 [ 31.524931][ T337] netcons test #16-2 [ 31.524931][ T337] netcons test #16-3 [ 31.524931][ T337] netcons test #16-4 [ 31.524931][ T337] netcons test #16-5 [ 31.524931][ T337] netcons test #16-6 [ 31.524931][ T337] netcons test #16-7 [ 31.524931][ T337] netcons test #16-8 [ 31.524931][ T337] netcons test #16-9 [ 31.524931][ T337] netcons test #16-10 [ 31.524931][ T337] netcons test #16-11 [ 31.524931][ T337] netcons test #16-12 [ 31.524931][ T337] netcons test #16-13 [ 31.524931][ T337] netcons test #16-14 [ 31.524931][ T337] netcons test #16-15 [ 31.524931][ T337] netcons test #16-16 [ 31.524931][ T337] netcons test #16-17 [ 31.524931][ T337] netcons test #16-18 [ 31.524931][ T337] netcons test #16-19 [ 31.524931][ T337] netcons test #16-20 [ 31.524931][ T337] netcons test #16-21 [ 31.524931][ T337] netcons test #16-22 [ 31.524931][ T337] netcons test #16-23 [ 31.524931][ T337] netcons test #16-24 [ 31.524931][ T337] netcons test #16-25 [ 31.524931][ T337] netcons test #16-26 [ 31.524931][ T337] netcons test #16-27 [ 31.524931][ T337] netcons test #16-28 [ 31.524931][ T337] netcons test #16-29 [ 31.524931][ T337] netcons test #16-30 [ 31.524931][ T337] netcons test #16-31 [ 31.524931][ T337] netcons test #16-32 [ 31.524931][ T337] netcons test #16-33 [ 31.524931][ T337] netcons test #16-34 [ 31.524931][ T337] netcons test #16-35 [ 31.524931][ T337] netcons test #16-36 [ 31.524931][ T337] netcons test #16-37 [ 31.524931][ T337] netcons test #16-38 [ 31.524931][ T337] netcons test #16-39 [ 31.537070][ T337] netconsole: netconsole: local port 1514 [ 31.537333][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 31.542639][ T337] netconsole: netconsole: interface name 'enp1s0' [ 31.542974][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 31.543401][ T337] netconsole: netconsole: remote port 6666 [ 31.543899][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 31.544255][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 31.580471][ T337] netconsole: network logging started [ 31.990958][ T337] netcons test #17-0 [ 31.990958][ T337] netcons test #17-1 [ 31.990958][ T337] netcons test #17-2 [ 31.990958][ T337] netcons test #17-3 [ 31.990958][ T337] netcons test #17-4 [ 31.990958][ T337] netcons test #17-5 [ 31.990958][ T337] netcons test #17-6 [ 31.990958][ T337] netcons test #17-7 [ 31.990958][ T337] netcons test #17-8 [ 31.990958][ T337] netcons test #17-9 [ 31.990958][ T337] netcons test #17-10 [ 31.990958][ T337] netcons test #17-11 [ 31.990958][ T337] netcons test #17-12 [ 31.990958][ T337] netcons test #17-13 [ 31.990958][ T337] netcons test #17-14 [ 31.990958][ T337] netcons test #17-15 [ 31.990958][ T337] netcons test #17-16 [ 31.990958][ T337] netcons test #17-17 [ 31.990958][ T337] netcons test #17-18 [ 31.990958][ T337] netcons test #17-19 [ 31.990958][ T337] netcons test #17-20 [ 31.990958][ T337] netcons test #17-21 [ 31.990958][ T337] netcons test #17-22 [ 31.990958][ T337] netcons test #17-23 [ 31.990958][ T337] netcons test #17-24 [ 31.990958][ T337] netcons test #17-25 [ 31.990958][ T337] netcons test #17-26 [ 31.990958][ T337] netcons test #17-27 [ 31.990958][ T337] netcons test #17-28 [ 31.990958][ T337] netcons test #17-29 [ 31.990958][ T337] netcons test #17-30 [ 31.990958][ T337] netcons test #17-31 [ 31.990958][ T337] netcons test #17-32 [ 31.990958][ T337] netcons test #17-33 [ 31.990958][ T337] netcons test #17-34 [ 31.990958][ T337] netcons test #17-35 [ 31.990958][ T337] netcons test #17-36 [ 31.990958][ T337] netcons test #17-37 [ 31.990958][ T337] netcons test #17-38 [ 31.990958][ T337] netcons test #17-39 [ 32.006715][ T337] netconsole: netconsole: local port 1514 [ 32.006987][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 32.007437][ T337] netconsole: netconsole: interface name 'enp1s0' [ 32.007811][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 32.008168][ T337] netconsole: netconsole: remote port 6666 [ 32.008460][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 32.008877][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 32.043408][ T337] netconsole: network logging started [ 32.043428][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.043432][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 32.043434][ T337] preempt_count: 1, expected: 0 [ 32.043435][ T337] RCU nest depth: 0, expected: 0 [ 32.043436][ T337] locks held by python3/337: 9, last CPU#5: [ 32.043438][ T337] #0: ff11000009a43070 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 32.043451][ T337] #1: ff1100000a89c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 32.043458][ T337] #2: ff11000009a53480 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 32.043463][ T337] #3: ff1100000bc1c830 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 32.043467][ T337] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 32.043474][ T337] #5: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.043480][ T337] #6: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.043485][ T337] #7: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.043489][ T337] #8: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 32.043494][ T337] irq event stamp: 780026 [ 32.043496][ T337] hardirqs last enabled at (780025): [] __down_trylock_console_sem+0x86/0xa0 [ 32.043499][ T337] hardirqs last disabled at (780026): [] console_emit_next_record+0x3f8/0x4f0 [ 32.043501][ T337] softirqs last enabled at (779962): [] __alloc_skb+0x4c5/0x5f0 [ 32.043506][ T337] softirqs last disabled at (779960): [] __alloc_skb+0x4c5/0x5f0 [ 32.043508][ T337] Preemption disabled at: [ 32.043509][ T337] [] vprintk_emit+0x31b/0x3e0 [ 32.043515][ T337] CPU: 5 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.043518][ T337] Tainted: [W]=WARN [ 32.043519][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 32.043521][ T337] Call Trace: [ 32.043524][ T337] [ 32.043526][ T337] dump_stack_lvl+0x6f/0xa0 [ 32.043532][ T337] ? vprintk_emit+0x31b/0x3e0 [ 32.043534][ T337] __might_resched.cold+0x1fe/0x2c1 [ 32.043539][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.043543][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 32.043548][ T337] __kmalloc_noprof+0x443/0x760 [ 32.043551][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 32.043558][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 32.043561][ T337] alloc_buf.isra.0+0x4b/0x260 [ 32.043565][ T337] put_chars+0x1e1/0x2f0 [ 32.043568][ T337] ? __send_to_port+0x420/0x420 [ 32.043570][ T337] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.043575][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 32.043577][ T337] ? validate_chain+0x38b/0xc20 [ 32.043582][ T337] hvc_console_print+0x292/0x780 [ 32.043585][ T337] ? __lock_acquire+0x518/0xc20 [ 32.043591][ T337] ? hvc_write+0x3a0/0x3a0 [ 32.043594][ T337] ? rcu_is_watching+0x16/0xd0 [ 32.043600][ T337] console_emit_next_record+0x252/0x4f0 [ 32.043605][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 32.043609][ T337] ? rcu_is_watching+0x16/0xd0 [ 32.043612][ T337] ? lock_acquire+0x13c/0x160 [ 32.043616][ T337] console_flush_one_record+0x46f/0x710 [ 32.043620][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 32.043622][ T337] ? __lock_acquire+0x518/0xc20 [ 32.043628][ T337] console_unlock+0xee/0x1f0 [ 32.043631][ T337] ? console_flush_one_record+0x710/0x710 [ 32.043633][ T337] ? rcu_is_watching+0x16/0xd0 [ 32.043635][ T337] ? lock_acquire+0xa0/0x160 [ 32.043639][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.043641][ T337] ? vprintk_emit+0x320/0x3e0 [ 32.043644][ T337] vprintk_emit+0x37c/0x3e0 [ 32.043648][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 32.043651][ T337] ? rcu_gp_is_expedited+0x54/0x70 [ 32.043653][ T337] ? synchronize_rcu+0x22e/0x350 [ 32.043657][ T337] _printk+0xc7/0x100 [ 32.043660][ T337] ? snapshot_read.cold+0x21/0x21 [ 32.043662][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 32.043666][ T337] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 32.043668][ T337] ? lockdep_hardirqs_on+0x91/0x130 [ 32.043672][ T337] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 32.043676][ T337] ? __free_object+0x2ad/0x490 [ 32.043681][ T337] enabled_store.cold+0x178/0x1ae [netconsole] [ 32.043684][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 32.043688][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 32.043690][ T337] ? down_write_killable_nested+0x270/0x270 [ 32.043692][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 32.043695][ T337] ? configfs_write_iter+0x336/0x4b0 [ 32.043699][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 32.043701][ T337] configfs_write_iter+0x2c0/0x4b0 [ 32.043704][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 32.043706][ T337] new_sync_write+0x33e/0x760 [ 32.043710][ T337] ? __lock_acquire+0x518/0xc20 [ 32.043713][ T337] ? new_sync_read+0x750/0x750 [ 32.043717][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 32.043719][ T337] ? ksys_write+0x116/0x250 [ 32.043725][ T337] vfs_write+0x6a2/0xbd0 [ 32.043730][ T337] ksys_write+0x116/0x250 [ 32.043732][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 32.043735][ T337] ? rcu_is_watching+0x16/0xd0 [ 32.043739][ T337] do_syscall_64+0xff/0x530 [ 32.043741][ T337] ? irq_exit_rcu+0x1a/0x30 [ 32.043745][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.043748][ T337] RIP: 0033:0x7f9135ca6312 [ 32.043752][ T337] 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 [ 32.043754][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 32.043757][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9135ca6312 [ 32.043758][ T337] RDX: 0000000000000001 RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 32.043759][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 32.043760][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 32.043761][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 32.043769][ T337] [ 32.496482][ T337] netcons test #18-0 [ 32.496482][ T337] netcons test #18-1 [ 32.496482][ T337] netcons test #18-2 [ 32.496482][ T337] netcons test #18-3 [ 32.496482][ T337] netcons test #18-4 [ 32.496482][ T337] netcons test #18-5 [ 32.496482][ T337] netcons test #18-6 [ 32.496482][ T337] netcons test #18-7 [ 32.496482][ T337] netcons test #18-8 [ 32.496482][ T337] netcons test #18-9 [ 32.496482][ T337] netcons test #18-10 [ 32.496482][ T337] netcons test #18-11 [ 32.496482][ T337] netcons test #18-12 [ 32.496482][ T337] netcons test #18-13 [ 32.496482][ T337] netcons test #18-14 [ 32.496482][ T337] netcons test #18-15 [ 32.496482][ T337] netcons test #18-16 [ 32.496482][ T337] netcons test #18-17 [ 32.496482][ T337] netcons test #18-18 [ 32.496482][ T337] netcons test #18-19 [ 32.496482][ T337] netcons test #18-20 [ 32.496482][ T337] netcons test #18-21 [ 32.496482][ T337] netcons test #18-22 [ 32.496482][ T337] netcons test #18-23 [ 32.496482][ T337] netcons test #18-24 [ 32.496482][ T337] netcons test #18-25 [ 32.496482][ T337] netcons test #18-26 [ 32.496482][ T337] netcons test #18-27 [ 32.496482][ T337] netcons test #18-28 [ 32.496482][ T337] netcons test #18-29 [ 32.496482][ T337] netcons test #18-30 [ 32.496482][ T337] netcons test #18-31 [ 32.496482][ T337] netcons test #18-32 [ 32.496482][ T337] netcons test #18-33 [ 32.496482][ T337] netcons test #18-34 [ 32.496482][ T337] netcons test #18-35 [ 32.496482][ T337] netcons test #18-36 [ 32.496482][ T337] netcons test #18-37 [ 32.496482][ T337] netcons test #18-38 [ 32.496482][ T337] netcons test #18-39 [ 32.507607][ T337] netconsole: netconsole: local port 1514 [ 32.507898][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 32.508335][ T337] netconsole: netconsole: interface name 'enp1s0' [ 32.508644][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 32.509022][ T337] netconsole: netconsole: remote port 6666 [ 32.509332][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 32.509714][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 32.582478][ T337] netconsole: network logging started [ 32.990344][ T337] netcons test #19-0 [ 32.990344][ T337] netcons test #19-1 [ 32.990344][ T337] netcons test #19-2 [ 32.990344][ T337] netcons test #19-3 [ 32.990344][ T337] netcons test #19-4 [ 32.990344][ T337] netcons test #19-5 [ 32.990344][ T337] netcons test #19-6 [ 32.990344][ T337] netcons test #19-7 [ 32.990344][ T337] netcons test #19-8 [ 32.990344][ T337] netcons test #19-9 [ 32.990344][ T337] netcons test #19-10 [ 32.990344][ T337] netcons test #19-11 [ 32.990344][ T337] netcons test #19-12 [ 32.990344][ T337] netcons test #19-13 [ 32.990344][ T337] netcons test #19-14 [ 32.990344][ T337] netcons test #19-15 [ 32.990344][ T337] netcons test #19-16 [ 32.990344][ T337] netcons test #19-17 [ 32.990344][ T337] netcons test #19-18 [ 32.990344][ T337] netcons test #19-19 [ 32.990344][ T337] netcons test #19-20 [ 32.990344][ T337] netcons test #19-21 [ 32.990344][ T337] netcons test #19-22 [ 32.990344][ T337] netcons test #19-23 [ 32.990344][ T337] netcons test #19-24 [ 32.990344][ T337] netcons test #19-25 [ 32.990344][ T337] netcons test #19-26 [ 32.990344][ T337] netcons test #19-27 [ 32.990344][ T337] netcons test #19-28 [ 32.990344][ T337] netcons test #19-29 [ 32.990344][ T337] netcons test #19-30 [ 32.990344][ T337] netcons test #19-31 [ 32.990344][ T337] netcons test #19-32 [ 32.990344][ T337] netcons test #19-33 [ 32.990344][ T337] netcons test #19-34 [ 32.990344][ T337] netcons test #19-35 [ 32.990344][ T337] netcons test #19-36 [ 32.990344][ T337] netcons test #19-37 [ 32.990344][ T337] netcons test #19-38 [ 32.990344][ T337] netcons test #19-39 [ 33.006992][ T337] netconsole: netconsole: local port 1514 [ 33.007262][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 33.007605][ T337] netconsole: netconsole: interface name 'enp1s0' [ 33.007909][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 33.008263][ T337] netconsole: netconsole: remote port 6666 [ 33.008551][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 33.008894][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 33.062388][ T337] netconsole: network logging started [ 33.062414][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.062416][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 33.062418][ T337] preempt_count: 1, expected: 0 [ 33.062419][ T337] RCU nest depth: 0, expected: 0 [ 33.062420][ T337] locks held by python3/337: 9, last CPU#5: [ 33.062423][ T337] #0: ff1100000dab3070 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 33.062435][ T337] #1: ff1100000a89c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 33.062442][ T337] #2: ff1100000e4d1c80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 33.062448][ T337] #3: ff1100000bc1d2b0 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 33.062451][ T337] #4: ffffffffc000a880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 33.062459][ T337] #5: ffffffffa8d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 33.062465][ T337] #6: ffffffffa8d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 33.062469][ T337] #7: ffffffffa8c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 33.062473][ T337] #8: ffffffffa8c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 33.062478][ T337] irq event stamp: 803934 [ 33.062481][ T337] hardirqs last enabled at (803933): [] __down_trylock_console_sem+0x86/0xa0 [ 33.062484][ T337] hardirqs last disabled at (803934): [] console_emit_next_record+0x3f8/0x4f0 [ 33.062486][ T337] softirqs last enabled at (803886): [] __alloc_skb+0x4c5/0x5f0 [ 33.062489][ T337] softirqs last disabled at (803884): [] __alloc_skb+0x4c5/0x5f0 [ 33.062492][ T337] Preemption disabled at: [ 33.062492][ T337] [] vprintk_emit+0x31b/0x3e0 [ 33.062499][ T337] CPU: 5 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.062502][ T337] Tainted: [W]=WARN [ 33.062503][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 33.062506][ T337] Call Trace: [ 33.062507][ T337] [ 33.062509][ T337] dump_stack_lvl+0x6f/0xa0 [ 33.062515][ T337] ? vprintk_emit+0x31b/0x3e0 [ 33.062517][ T337] __might_resched.cold+0x1fe/0x2c1 [ 33.062522][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.062527][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 33.062532][ T337] __kmalloc_noprof+0x443/0x760 [ 33.062535][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 33.062541][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 33.062544][ T337] alloc_buf.isra.0+0x4b/0x260 [ 33.062549][ T337] put_chars+0x1e1/0x2f0 [ 33.062552][ T337] ? __send_to_port+0x420/0x420 [ 33.062554][ T337] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 33.062559][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 33.062561][ T337] ? validate_chain+0x38b/0xc20 [ 33.062566][ T337] hvc_console_print+0x292/0x780 [ 33.062569][ T337] ? __lock_acquire+0x518/0xc20 [ 33.062575][ T337] ? hvc_write+0x3a0/0x3a0 [ 33.062578][ T337] ? rcu_is_watching+0x16/0xd0 [ 33.062584][ T337] console_emit_next_record+0x252/0x4f0 [ 33.062588][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 33.062593][ T337] ? rcu_is_watching+0x16/0xd0 [ 33.062595][ T337] ? lock_acquire+0x13c/0x160 [ 33.062601][ T337] console_flush_one_record+0x46f/0x710 [ 33.062608][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 33.062610][ T337] ? __lock_acquire+0x518/0xc20 [ 33.062616][ T337] console_unlock+0xee/0x1f0 [ 33.062620][ T337] ? console_flush_one_record+0x710/0x710 [ 33.062621][ T337] ? rcu_is_watching+0x16/0xd0 [ 33.062624][ T337] ? lock_acquire+0xa0/0x160 [ 33.062628][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.062630][ T337] ? vprintk_emit+0x320/0x3e0 [ 33.062634][ T337] vprintk_emit+0x37c/0x3e0 [ 33.062638][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 33.062641][ T337] ? rcu_gp_is_expedited+0x54/0x70 [ 33.062643][ T337] ? synchronize_rcu+0x22e/0x350 [ 33.062647][ T337] _printk+0xc7/0x100 [ 33.062651][ T337] ? snapshot_read.cold+0x21/0x21 [ 33.062653][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 33.062658][ T337] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 33.062660][ T337] ? lockdep_hardirqs_on+0x91/0x130 [ 33.062664][ T337] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 33.062668][ T337] ? __free_object+0x2ad/0x490 [ 33.062673][ T337] enabled_store.cold+0x178/0x1ae [netconsole] [ 33.062676][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 33.062680][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 33.062682][ T337] ? down_write_killable_nested+0x270/0x270 [ 33.062685][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 33.062687][ T337] ? configfs_write_iter+0x336/0x4b0 [ 33.062692][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 33.062694][ T337] configfs_write_iter+0x2c0/0x4b0 [ 33.062697][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 33.062700][ T337] new_sync_write+0x33e/0x760 [ 33.062704][ T337] ? __lock_acquire+0x518/0xc20 [ 33.062707][ T337] ? new_sync_read+0x750/0x750 [ 33.062711][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 33.062713][ T337] ? ksys_write+0x116/0x250 [ 33.062720][ T337] vfs_write+0x6a2/0xbd0 [ 33.062724][ T337] ksys_write+0x116/0x250 [ 33.062727][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 33.062730][ T337] ? rcu_is_watching+0x16/0xd0 [ 33.062734][ T337] do_syscall_64+0xff/0x530 [ 33.062736][ T337] ? irq_exit_rcu+0x1a/0x30 [ 33.062741][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.062743][ T337] RIP: 0033:0x7f9135ca6312 [ 33.062747][ T337] 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 [ 33.062749][ T337] RSP: 002b:00007ffc9a5095f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 33.062752][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f9135ca6312 [ 33.062754][ T337] RDX: 0000000000000001 RSI: 000055bfbbae22b0 RDI: 000000000000000b [ 33.062755][ T337] RBP: 00007ffc9a509620 R08: 0000000000000000 R09: 0000000000000000 [ 33.062756][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9135b13390 [ 33.062757][ T337] R13: 000055bfbbae22b0 R14: 000000000000000b R15: 00007f9135aa10d0 [ 33.062765][ T337]