[ 19.186517][ T338] netconsole: network logging started [ 19.186533][ T338] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.186535][ T338] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 338, name: modprobe [ 19.186537][ T338] preempt_count: 1, expected: 0 [ 19.186538][ T338] RCU nest depth: 0, expected: 0 [ 19.186538][ T338] locks held by modprobe/338: 4, last CPU#1: [ 19.186541][ T338] #0: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.186552][ T338] #1: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.186556][ T338] #2: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.186560][ T338] #3: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.186564][ T338] irq event stamp: 46798 [ 19.186565][ T338] hardirqs last enabled at (46797): [] __down_trylock_console_sem+0x86/0xa0 [ 19.186567][ T338] hardirqs last disabled at (46798): [] console_emit_next_record+0x3f8/0x4f0 [ 19.186569][ T338] softirqs last enabled at (46490): [] handle_softirqs+0x67c/0x900 [ 19.186572][ T338] softirqs last disabled at (46481): [] __irq_exit_rcu+0x145/0x1c0 [ 19.186574][ T338] Preemption disabled at: [ 19.186574][ T338] [] vprintk_emit+0x31b/0x3e0 [ 19.186580][ T338] CPU: 1 UID: 0 PID: 338 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.186583][ T338] Tainted: [W]=WARN [ 19.186584][ T338] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 19.186586][ T338] Call Trace: [ 19.186587][ T338] [ 19.186589][ T338] dump_stack_lvl+0x6f/0xa0 [ 19.186594][ T338] ? vprintk_emit+0x31b/0x3e0 [ 19.186596][ T338] __might_resched.cold+0x1fe/0x2c1 [ 19.186600][ T338] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.186604][ T338] ? __kmalloc_noprof+0xdb/0x760 [ 19.186609][ T338] __kmalloc_noprof+0x443/0x760 [ 19.186611][ T338] ? alloc_buf.isra.0+0x4b/0x260 [ 19.186618][ T338] ? do_raw_spin_unlock+0x59/0x250 [ 19.186620][ T338] alloc_buf.isra.0+0x4b/0x260 [ 19.186624][ T338] put_chars+0x1e1/0x2f0 [ 19.186627][ T338] ? __send_to_port+0x420/0x420 [ 19.186630][ T338] ? validate_chain+0x38b/0xc20 [ 19.186635][ T338] hvc_console_print+0x292/0x780 [ 19.186641][ T338] ? hvc_write+0x3a0/0x3a0 [ 19.186644][ T338] ? rcu_is_watching+0x16/0xd0 [ 19.186647][ T338] ? lock_acquire+0x13c/0x160 [ 19.186655][ T338] console_emit_next_record+0x252/0x4f0 [ 19.186659][ T338] ? devkmsg_read+0x4e0/0x4e0 [ 19.186663][ T338] ? rcu_is_watching+0x16/0xd0 [ 19.186665][ T338] ? lock_acquire+0x13c/0x160 [ 19.186669][ T338] console_flush_one_record+0x46f/0x710 [ 19.186673][ T338] ? console_emit_next_record+0x4f0/0x4f0 [ 19.186674][ T338] ? __lock_acquire+0x518/0xc20 [ 19.186679][ T338] console_unlock+0xee/0x1f0 [ 19.186682][ T338] ? console_flush_one_record+0x710/0x710 [ 19.186683][ T338] ? rcu_is_watching+0x16/0xd0 [ 19.186685][ T338] ? lock_acquire+0xa0/0x160 [ 19.186689][ T338] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.186690][ T338] ? vprintk_emit+0x320/0x3e0 [ 19.186693][ T338] vprintk_emit+0x37c/0x3e0 [ 19.186697][ T338] ? wake_up_klogd_work_func+0x90/0x90 [ 19.186699][ T338] ? find_held_lock+0x2b/0x80 [ 19.186701][ T338] ? __lock_release.isra.0+0x69/0x1a0 [ 19.186703][ T338] ? fast_dput+0x316/0x540 [ 19.186707][ T338] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 19.186711][ T338] _printk+0xc7/0x100 [ 19.186714][ T338] ? snapshot_read.cold+0x21/0x21 [ 19.186717][ T338] ? __up_write+0x2e5/0x5f0 [ 19.186720][ T338] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 19.186724][ T338] ? configfs_register_subsystem+0x340/0x570 [ 19.186728][ T338] init_netconsole+0x4a8/0x1000 [netconsole] [ 19.186731][ T338] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 19.186737][ T338] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 19.186739][ T338] do_one_initcall+0x124/0x4f0 [ 19.186743][ T338] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 19.186747][ T338] ? do_init_module+0xae/0x8a0 [ 19.186750][ T338] ? kasan_unpoison+0x44/0x70 [ 19.186755][ T338] do_init_module+0x2ad/0x8a0 [ 19.186758][ T338] ? lockdep_hardirqs_on+0x91/0x130 [ 19.186763][ T338] ? free_module+0x470/0x470 [ 19.186766][ T338] ? kfree+0x123/0x590 [ 19.186769][ T338] load_module+0x1424/0x1bb0 [ 19.186776][ T338] ? layout_and_allocate.isra.0+0x680/0x680 [ 19.186779][ T338] ? __ia32_sys_fsconfig+0x180/0x180 [ 19.186782][ T338] ? add_chain_cache+0x12d/0x590 [ 19.186787][ T338] init_module_from_file+0x11f/0x1a0 [ 19.186790][ T338] ? __ia32_sys_init_module+0xc0/0xc0 [ 19.186797][ T338] ? __rwlock_init+0x150/0x150 [ 19.186801][ T338] ? do_raw_spin_unlock+0x59/0x250 [ 19.186803][ T338] idempotent_init_module+0x37b/0x7c0 [ 19.186807][ T338] ? init_module_from_file+0x1a0/0x1a0 [ 19.186812][ T338] ? rcu_is_watching+0x16/0xd0 [ 19.186814][ T338] ? cap_capable+0x1d7/0x3d0 [ 19.186820][ T338] __x64_sys_finit_module+0xdf/0x190 [ 19.186822][ T338] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.186826][ T338] do_syscall_64+0xff/0x530 [ 19.186828][ T338] ? exc_page_fault+0xee/0x100 [ 19.186830][ T338] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.186832][ T338] RIP: 0033:0x7efff433b37d [ 19.186836][ 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 [ 19.186837][ T338] RSP: 002b:00007fff818295d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 19.186840][ T338] RAX: ffffffffffffffda RBX: 000055e443710700 RCX: 00007efff433b37d [ 19.186841][ T338] RDX: 0000000000000000 RSI: 000055e40be3bffd RDI: 0000000000000005 [ 19.186842][ T338] RBP: 00007fff81829670 R08: 0000000000000000 R09: 0000000000000000 [ 19.186843][ T338] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e40be3bffd [ 19.186844][ T338] R13: 000055e443710810 R14: 0000000000040000 R15: 0000000000000000 [ 19.186850][ T338] [ 20.069241][ T337] printk: console [netcon_ext0] enabled [ 20.069679][ T337] netconsole: netconsole: local port 1514 [ 20.070096][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 20.070454][ T337] netconsole: netconsole: interface name 'enp1s0' [ 20.070757][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 20.071125][ T337] netconsole: netconsole: remote port 6666 [ 20.071402][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 20.071760][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 20.107674][ T337] netconsole: network logging started [ 20.117760][ T337] netcons test #0-0 [ 20.117760][ T337] netcons test #0-1 [ 20.117760][ T337] netcons test #0-2 [ 20.117760][ T337] netcons test #0-3 [ 20.117760][ T337] netcons test #0-4 [ 20.117760][ T337] netcons test #0-5 [ 20.117760][ T337] netcons test #0-6 [ 20.117760][ T337] netcons test #0-7 [ 20.117760][ T337] netcons test #0-8 [ 20.117760][ T337] netcons test #0-9 [ 20.117760][ T337] netcons test #0-10 [ 20.117760][ T337] netcons test #0-11 [ 20.117760][ T337] netcons test #0-12 [ 20.117760][ T337] netcons test #0-13 [ 20.117760][ T337] netcons test #0-14 [ 20.117760][ T337] netcons test #0-15 [ 20.117760][ T337] netcons test #0-16 [ 20.117760][ T337] netcons test #0-17 [ 20.117760][ T337] netcons test #0-18 [ 20.117760][ T337] netcons test #0-19 [ 20.117760][ T337] netcons test #0-20 [ 20.117760][ T337] netcons test #0-21 [ 20.117760][ T337] netcons test #0-22 [ 20.117760][ T337] netcons test #0-23 [ 20.117760][ T337] netcons test #0-24 [ 20.117760][ T337] netcons test #0-25 [ 20.117760][ T337] netcons test #0-26 [ 20.117760][ T337] netcons test #0-27 [ 20.117760][ T337] netcons test #0-28 [ 20.117760][ T337] netcons test #0-29 [ 20.117760][ T337] netcons test #0-30 [ 20.117760][ T337] netcons test #0-31 [ 20.117760][ T337] netcons test #0-32 [ 20.117760][ T337] netcons test #0-33 [ 20.117760][ T337] netcons test #0-34 [ 20.117760][ T337] netcons test #0-35 [ 20.117760][ T337] netcons test #0-36 [ 20.117760][ T337] netcons test #0-37 [ 20.117760][ T337] netcons test #0-38 [ 20.117760][ T337] netcons test #0-39 [ 20.133689][ T337] netconsole: netconsole: local port 1514 [ 20.133928][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 20.134272][ T337] netconsole: netconsole: interface name 'enp1s0' [ 20.134547][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 20.134889][ T337] netconsole: netconsole: remote port 6666 [ 20.135184][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 20.135516][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 20.161805][ T337] netconsole: network logging started [ 20.580959][ T337] netcons test #1-0 [ 20.580959][ T337] netcons test #1-1 [ 20.580959][ T337] netcons test #1-2 [ 20.580959][ T337] netcons test #1-3 [ 20.580959][ T337] netcons test #1-4 [ 20.580959][ T337] netcons test #1-5 [ 20.580959][ T337] netcons test #1-6 [ 20.580959][ T337] netcons test #1-7 [ 20.580959][ T337] netcons test #1-8 [ 20.580959][ T337] netcons test #1-9 [ 20.580959][ T337] netcons test #1-10 [ 20.580959][ T337] netcons test #1-11 [ 20.580959][ T337] netcons test #1-12 [ 20.580959][ T337] netcons test #1-13 [ 20.580959][ T337] netcons test #1-14 [ 20.580959][ T337] netcons test #1-15 [ 20.580959][ T337] netcons test #1-16 [ 20.580959][ T337] netcons test #1-17 [ 20.580959][ T337] netcons test #1-18 [ 20.580959][ T337] netcons test #1-19 [ 20.580959][ T337] netcons test #1-20 [ 20.580959][ T337] netcons test #1-21 [ 20.580959][ T337] netcons test #1-22 [ 20.580959][ T337] netcons test #1-23 [ 20.580959][ T337] netcons test #1-24 [ 20.580959][ T337] netcons test #1-25 [ 20.580959][ T337] netcons test #1-26 [ 20.580959][ T337] netcons test #1-27 [ 20.580959][ T337] netcons test #1-28 [ 20.580959][ T337] netcons test #1-29 [ 20.580959][ T337] netcons test #1-30 [ 20.580959][ T337] netcons test #1-31 [ 20.580959][ T337] netcons test #1-32 [ 20.580959][ T337] netcons test #1-33 [ 20.580959][ T337] netcons test #1-34 [ 20.580959][ T337] netcons test #1-35 [ 20.580959][ T337] netcons test #1-36 [ 20.580959][ T337] netcons test #1-37 [ 20.580959][ T337] netcons test #1-38 [ 20.580959][ T337] netcons test #1-39 [ 20.580990][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.580994][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 20.580996][ T337] preempt_count: 1, expected: 0 [ 20.580997][ T337] RCU nest depth: 0, expected: 0 [ 20.580998][ T337] locks held by python3/337: 4, last CPU#0: [ 20.581001][ T337] #0: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.581014][ T337] #1: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.581019][ T337] #2: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.581023][ T337] #3: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 20.581028][ T337] irq event stamp: 357050 [ 20.581030][ T337] hardirqs last enabled at (357049): [] __down_trylock_console_sem+0x86/0xa0 [ 20.581033][ T337] hardirqs last disabled at (357050): [] console_emit_next_record+0x3f8/0x4f0 [ 20.581035][ T337] softirqs last enabled at (353490): [] handle_softirqs+0x67c/0x900 [ 20.581038][ T337] softirqs last disabled at (353481): [] __irq_exit_rcu+0x145/0x1c0 [ 20.581042][ T337] Preemption disabled at: [ 20.581043][ T337] [] vprintk_emit+0x31b/0x3e0 [ 20.581049][ T337] CPU: 0 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.581053][ T337] Tainted: [W]=WARN [ 20.581054][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 20.581055][ T337] Call Trace: [ 20.581057][ T337] [ 20.581059][ T337] dump_stack_lvl+0x6f/0xa0 [ 20.581064][ T337] ? vprintk_emit+0x31b/0x3e0 [ 20.581067][ T337] __might_resched.cold+0x1fe/0x2c1 [ 20.581071][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.581075][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 20.581080][ T337] __kmalloc_noprof+0x443/0x760 [ 20.581082][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 20.581089][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 20.581092][ T337] alloc_buf.isra.0+0x4b/0x260 [ 20.581096][ T337] put_chars+0x1e1/0x2f0 [ 20.581099][ T337] ? __send_to_port+0x420/0x420 [ 20.581101][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 20.581104][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.581107][ T337] ? validate_chain+0x38b/0xc20 [ 20.581111][ T337] hvc_console_print+0x292/0x780 [ 20.581115][ T337] ? __lock_acquire+0x518/0xc20 [ 20.581116][ T337] ? __lock_acquire+0x518/0xc20 [ 20.581120][ T337] ? hvc_write+0x3a0/0x3a0 [ 20.581124][ T337] ? rcu_is_watching+0x16/0xd0 [ 20.581127][ T337] ? lock_acquire+0x13c/0x160 [ 20.581130][ T337] console_emit_next_record+0x252/0x4f0 [ 20.581134][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 20.581138][ T337] ? rcu_is_watching+0x16/0xd0 [ 20.581140][ T337] ? lock_acquire+0x13c/0x160 [ 20.581144][ T337] console_flush_one_record+0x46f/0x710 [ 20.581148][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 20.581150][ T337] ? __lock_acquire+0x518/0xc20 [ 20.581155][ T337] console_unlock+0xee/0x1f0 [ 20.581157][ T337] ? console_flush_one_record+0x710/0x710 [ 20.581159][ T337] ? rcu_is_watching+0x16/0xd0 [ 20.581161][ T337] ? lock_acquire+0xa0/0x160 [ 20.581165][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.581167][ T337] ? vprintk_emit+0x320/0x3e0 [ 20.581170][ T337] vprintk_emit+0x37c/0x3e0 [ 20.581173][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 20.581176][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 20.581181][ T337] devkmsg_emit.constprop.0+0xbc/0xf1 [ 20.581185][ T337] ? vprintk_emit.cold+0x107/0x107 [ 20.581189][ T337] ? __kmalloc_noprof+0x302/0x760 [ 20.581191][ T337] ? idr_get_free+0x830/0x830 [ 20.581194][ T337] ? devkmsg_write+0xd1/0x2c0 [ 20.581197][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 20.581200][ T337] devkmsg_write.cold+0x5a/0x8b [ 20.581202][ T337] ? vprintk_default+0x20/0x20 [ 20.581207][ T337] ? vprintk_default+0x20/0x20 [ 20.581209][ T337] new_sync_write+0x33e/0x760 [ 20.581214][ T337] ? new_sync_read+0x750/0x750 [ 20.581218][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 20.581223][ T337] ? __fget_files+0x1e3/0x460 [ 20.581226][ T337] vfs_write+0x6a2/0xbd0 [ 20.581230][ T337] ksys_write+0x116/0x250 [ 20.581233][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 20.581235][ T337] ? rcu_is_watching+0x16/0xd0 [ 20.581239][ T337] do_syscall_64+0xff/0x530 [ 20.581241][ T337] ? exc_page_fault+0xee/0x100 [ 20.581245][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.581247][ T337] RIP: 0033:0x7ff23d8ff312 [ 20.581251][ 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 [ 20.581253][ T337] RSP: 002b:00007ffc11fc1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 20.581255][ T337] RAX: ffffffffffffffda RBX: 00000000000002ee RCX: 00007ff23d8ff312 [ 20.581257][ T337] RDX: 00000000000002ee RSI: 0000563cd3f122b0 RDI: 0000000000000009 [ 20.581258][ T337] RBP: 00007ffc11fc18c0 R08: 0000000000000000 R09: 0000000000000000 [ 20.581259][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff23d76c390 [ 20.581260][ T337] R13: 0000563cd3f122b0 R14: 0000000000000009 R15: 00007ff23d6f90d0 [ 20.581266][ T337] [ 20.622800][ T337] netconsole: netconsole: local port 1514 [ 20.623051][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 20.623382][ T337] netconsole: netconsole: interface name 'enp1s0' [ 20.623660][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 20.623989][ T337] netconsole: netconsole: remote port 6666 [ 20.624282][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 20.624606][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 20.694325][ T337] netconsole: network logging started [ 20.817566][ T395] NOTICE: Automounting of tracing to debugfs is deprecated and will be removed in 2030 [ 21.099627][ T337] netcons test #2-0 [ 21.099627][ T337] netcons test #2-1 [ 21.099627][ T337] netcons test #2-2 [ 21.099627][ T337] netcons test #2-3 [ 21.099627][ T337] netcons test #2-4 [ 21.099627][ T337] netcons test #2-5 [ 21.099627][ T337] netcons test #2-6 [ 21.099627][ T337] netcons test #2-7 [ 21.099627][ T337] netcons test #2-8 [ 21.099627][ T337] netcons test #2-9 [ 21.099627][ T337] netcons test #2-10 [ 21.099627][ T337] netcons test #2-11 [ 21.099627][ T337] netcons test #2-12 [ 21.099627][ T337] netcons test #2-13 [ 21.099627][ T337] netcons test #2-14 [ 21.099627][ T337] netcons test #2-15 [ 21.099627][ T337] netcons test #2-16 [ 21.099627][ T337] netcons test #2-17 [ 21.099627][ T337] netcons test #2-18 [ 21.099627][ T337] netcons test #2-19 [ 21.099627][ T337] netcons test #2-20 [ 21.099627][ T337] netcons test #2-21 [ 21.099627][ T337] netcons test #2-22 [ 21.099627][ T337] netcons test #2-23 [ 21.099627][ T337] netcons test #2-24 [ 21.099627][ T337] netcons test #2-25 [ 21.099627][ T337] netcons test #2-26 [ 21.099627][ T337] netcons test #2-27 [ 21.099627][ T337] netcons test #2-28 [ 21.099627][ T337] netcons test #2-29 [ 21.099627][ T337] netcons test #2-30 [ 21.099627][ T337] netcons test #2-31 [ 21.099627][ T337] netcons test #2-32 [ 21.099627][ T337] netcons test #2-33 [ 21.099627][ T337] netcons test #2-34 [ 21.099627][ T337] netcons test #2-35 [ 21.099627][ T337] netcons test #2-36 [ 21.099627][ T337] netcons test #2-37 [ 21.099627][ T337] netcons test #2-38 [ 21.099627][ T337] netcons test #2-39 [ 21.114583][ T337] netconsole: netconsole: local port 1514 [ 21.114915][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 21.115315][ T337] netconsole: netconsole: interface name 'enp1s0' [ 21.115647][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 21.116155][ T337] netconsole: netconsole: remote port 6666 [ 21.116489][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 21.116871][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 21.140023][ T337] netconsole: network logging started [ 21.549724][ T337] netcons test #3-0 [ 21.549724][ T337] netcons test #3-1 [ 21.549724][ T337] netcons test #3-2 [ 21.549724][ T337] netcons test #3-3 [ 21.549724][ T337] netcons test #3-4 [ 21.549724][ T337] netcons test #3-5 [ 21.549724][ T337] netcons test #3-6 [ 21.549724][ T337] netcons test #3-7 [ 21.549724][ T337] netcons test #3-8 [ 21.549724][ T337] netcons test #3-9 [ 21.549724][ T337] netcons test #3-10 [ 21.549724][ T337] netcons test #3-11 [ 21.549724][ T337] netcons test #3-12 [ 21.549724][ T337] netcons test #3-13 [ 21.549724][ T337] netcons test #3-14 [ 21.549724][ T337] netcons test #3-15 [ 21.549724][ T337] netcons test #3-16 [ 21.549724][ T337] netcons test #3-17 [ 21.549724][ T337] netcons test #3-18 [ 21.549724][ T337] netcons test #3-19 [ 21.549724][ T337] netcons test #3-20 [ 21.549724][ T337] netcons test #3-21 [ 21.549724][ T337] netcons test #3-22 [ 21.549724][ T337] netcons test #3-23 [ 21.549724][ T337] netcons test #3-24 [ 21.549724][ T337] netcons test #3-25 [ 21.549724][ T337] netcons test #3-26 [ 21.549724][ T337] netcons test #3-27 [ 21.549724][ T337] netcons test #3-28 [ 21.549724][ T337] netcons test #3-29 [ 21.549724][ T337] netcons test #3-30 [ 21.549724][ T337] netcons test #3-31 [ 21.549724][ T337] netcons test #3-32 [ 21.549724][ T337] netcons test #3-33 [ 21.549724][ T337] netcons test #3-34 [ 21.549724][ T337] netcons test #3-35 [ 21.549724][ T337] netcons test #3-36 [ 21.549724][ T337] netcons test #3-37 [ 21.549724][ T337] netcons test #3-38 [ 21.549724][ T337] netcons test #3-39 [ 21.563460][ T337] netconsole: netconsole: local port 1514 [ 21.563845][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 21.564173][ T337] netconsole: netconsole: interface name 'enp1s0' [ 21.564440][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 21.564762][ T337] netconsole: netconsole: remote port 6666 [ 21.565035][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 21.565429][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 21.595847][ T337] netconsole: network logging started [ 21.595865][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.595868][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 21.595869][ T337] preempt_count: 1, expected: 0 [ 21.595870][ T337] RCU nest depth: 0, expected: 0 [ 21.595871][ T337] locks held by python3/337: 9, last CPU#1: [ 21.595874][ T337] #0: ff1100000a7fa530 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 21.595885][ T337] #1: ff1100000a74c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 21.595892][ T337] #2: ff1100000b87ba80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 21.595897][ T337] #3: ff110000070a0830 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 21.595901][ T337] #4: ffffffffc0132880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 21.595907][ T337] #5: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.595913][ T337] #6: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.595917][ T337] #7: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.595921][ T337] #8: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.595926][ T337] irq event stamp: 385546 [ 21.595927][ T337] hardirqs last enabled at (385545): [] __down_trylock_console_sem+0x86/0xa0 [ 21.595930][ T337] hardirqs last disabled at (385546): [] console_emit_next_record+0x3f8/0x4f0 [ 21.595932][ T337] softirqs last enabled at (381392): [] __alloc_skb+0x4c5/0x5f0 [ 21.595936][ T337] softirqs last disabled at (381390): [] __alloc_skb+0x4c5/0x5f0 [ 21.595938][ T337] Preemption disabled at: [ 21.595939][ T337] [] vprintk_emit+0x31b/0x3e0 [ 21.595944][ T337] CPU: 1 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.595947][ T337] Tainted: [W]=WARN [ 21.595948][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 21.595950][ T337] Call Trace: [ 21.595952][ T337] [ 21.595955][ T337] dump_stack_lvl+0x6f/0xa0 [ 21.595961][ T337] ? vprintk_emit+0x31b/0x3e0 [ 21.595963][ T337] __might_resched.cold+0x1fe/0x2c1 [ 21.595967][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.595971][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 21.595976][ T337] __kmalloc_noprof+0x443/0x760 [ 21.595979][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 21.595985][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 21.595988][ T337] alloc_buf.isra.0+0x4b/0x260 [ 21.595991][ T337] put_chars+0x1e1/0x2f0 [ 21.595995][ T337] ? __send_to_port+0x420/0x420 [ 21.595997][ T337] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.596001][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.596003][ T337] ? validate_chain+0x38b/0xc20 [ 21.596008][ T337] hvc_console_print+0x292/0x780 [ 21.596012][ T337] ? __lock_acquire+0x518/0xc20 [ 21.596017][ T337] ? hvc_write+0x3a0/0x3a0 [ 21.596020][ T337] ? rcu_is_watching+0x16/0xd0 [ 21.596025][ T337] console_emit_next_record+0x252/0x4f0 [ 21.596029][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 21.596034][ T337] ? rcu_is_watching+0x16/0xd0 [ 21.596036][ T337] ? lock_acquire+0x13c/0x160 [ 21.596044][ T337] console_flush_one_record+0x46f/0x710 [ 21.596049][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 21.596051][ T337] ? __lock_acquire+0x518/0xc20 [ 21.596056][ T337] console_unlock+0xee/0x1f0 [ 21.596059][ T337] ? console_flush_one_record+0x710/0x710 [ 21.596061][ T337] ? rcu_is_watching+0x16/0xd0 [ 21.596063][ T337] ? lock_acquire+0xa0/0x160 [ 21.596067][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.596068][ T337] ? vprintk_emit+0x320/0x3e0 [ 21.596072][ T337] vprintk_emit+0x37c/0x3e0 [ 21.596076][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 21.596079][ T337] ? rcu_gp_is_expedited+0x54/0x70 [ 21.596080][ T337] ? synchronize_rcu+0x22e/0x350 [ 21.596085][ T337] _printk+0xc7/0x100 [ 21.596088][ T337] ? snapshot_read.cold+0x21/0x21 [ 21.596090][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 21.596094][ T337] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 21.596096][ T337] ? lockdep_hardirqs_on+0x91/0x130 [ 21.596100][ T337] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 21.596103][ T337] ? __free_object+0x2ad/0x490 [ 21.596108][ T337] enabled_store.cold+0x178/0x1ae [netconsole] [ 21.596110][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 21.596114][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 21.596116][ T337] ? down_write_killable_nested+0x270/0x270 [ 21.596118][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 21.596121][ T337] ? configfs_write_iter+0x336/0x4b0 [ 21.596125][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 21.596127][ T337] configfs_write_iter+0x2c0/0x4b0 [ 21.596129][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 21.596132][ T337] new_sync_write+0x33e/0x760 [ 21.596136][ T337] ? __lock_acquire+0x518/0xc20 [ 21.596138][ T337] ? new_sync_read+0x750/0x750 [ 21.596142][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 21.596144][ T337] ? ksys_write+0x116/0x250 [ 21.596150][ T337] vfs_write+0x6a2/0xbd0 [ 21.596154][ T337] ksys_write+0x116/0x250 [ 21.596157][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 21.596160][ T337] ? rcu_is_watching+0x16/0xd0 [ 21.596163][ T337] do_syscall_64+0xff/0x530 [ 21.596165][ T337] ? exc_page_fault+0xee/0x100 [ 21.596168][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.596171][ T337] RIP: 0033:0x7ff23d8ff312 [ 21.596175][ 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 [ 21.596177][ T337] RSP: 002b:00007ffc11fc1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 21.596179][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff23d8ff312 [ 21.596181][ T337] RDX: 0000000000000001 RSI: 0000563cd3f122b0 RDI: 0000000000000009 [ 21.596182][ T337] RBP: 00007ffc11fc18c0 R08: 0000000000000000 R09: 0000000000000000 [ 21.596183][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff23d76c390 [ 21.596184][ T337] R13: 0000563cd3f122b0 R14: 0000000000000009 R15: 00007ff23d6f90d0 [ 21.596191][ T337] [ 22.041005][ T337] netcons test #4-0 [ 22.041005][ T337] netcons test #4-1 [ 22.041005][ T337] netcons test #4-2 [ 22.041005][ T337] netcons test #4-3 [ 22.041005][ T337] netcons test #4-4 [ 22.041005][ T337] netcons test #4-5 [ 22.041005][ T337] netcons test #4-6 [ 22.041005][ T337] netcons test #4-7 [ 22.041005][ T337] netcons test #4-8 [ 22.041005][ T337] netcons test #4-9 [ 22.041005][ T337] netcons test #4-10 [ 22.041005][ T337] netcons test #4-11 [ 22.041005][ T337] netcons test #4-12 [ 22.041005][ T337] netcons test #4-13 [ 22.041005][ T337] netcons test #4-14 [ 22.041005][ T337] netcons test #4-15 [ 22.041005][ T337] netcons test #4-16 [ 22.041005][ T337] netcons test #4-17 [ 22.041005][ T337] netcons test #4-18 [ 22.041005][ T337] netcons test #4-19 [ 22.041005][ T337] netcons test #4-20 [ 22.041005][ T337] netcons test #4-21 [ 22.041005][ T337] netcons test #4-22 [ 22.041005][ T337] netcons test #4-23 [ 22.041005][ T337] netcons test #4-24 [ 22.041005][ T337] netcons test #4-25 [ 22.041005][ T337] netcons test #4-26 [ 22.041005][ T337] netcons test #4-27 [ 22.041005][ T337] netcons test #4-28 [ 22.041005][ T337] netcons test #4-29 [ 22.041005][ T337] netcons test #4-30 [ 22.041005][ T337] netcons test #4-31 [ 22.041005][ T337] netcons test #4-32 [ 22.041005][ T337] netcons test #4-33 [ 22.041005][ T337] netcons test #4-34 [ 22.041005][ T337] netcons test #4-35 [ 22.041005][ T337] netcons test #4-36 [ 22.041005][ T337] netcons test #4-37 [ 22.041005][ T337] netcons test #4-38 [ 22.041005][ T337] netcons test #4-39 [ 22.057855][ T337] netconsole: netconsole: local port 1514 [ 22.058094][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 22.058407][ T337] netconsole: netconsole: interface name 'enp1s0' [ 22.058680][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 22.058994][ T337] netconsole: netconsole: remote port 6666 [ 22.059269][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 22.059594][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 22.176239][ T337] netconsole: network logging started [ 22.580990][ T337] netcons test #5-0 [ 22.580990][ T337] netcons test #5-1 [ 22.580990][ T337] netcons test #5-2 [ 22.580990][ T337] netcons test #5-3 [ 22.580990][ T337] netcons test #5-4 [ 22.580990][ T337] netcons test #5-5 [ 22.580990][ T337] netcons test #5-6 [ 22.580990][ T337] netcons test #5-7 [ 22.580990][ T337] netcons test #5-8 [ 22.580990][ T337] netcons test #5-9 [ 22.580990][ T337] netcons test #5-10 [ 22.580990][ T337] netcons test #5-11 [ 22.580990][ T337] netcons test #5-12 [ 22.580990][ T337] netcons test #5-13 [ 22.580990][ T337] netcons test #5-14 [ 22.580990][ T337] netcons test #5-15 [ 22.580990][ T337] netcons test #5-16 [ 22.580990][ T337] netcons test #5-17 [ 22.580990][ T337] netcons test #5-18 [ 22.580990][ T337] netcons test #5-19 [ 22.580990][ T337] netcons test #5-20 [ 22.580990][ T337] netcons test #5-21 [ 22.580990][ T337] netcons test #5-22 [ 22.580990][ T337] netcons test #5-23 [ 22.580990][ T337] netcons test #5-24 [ 22.580990][ T337] netcons test #5-25 [ 22.580990][ T337] netcons test #5-26 [ 22.580990][ T337] netcons test #5-27 [ 22.580990][ T337] netcons test #5-28 [ 22.580990][ T337] netcons test #5-29 [ 22.580990][ T337] netcons test #5-30 [ 22.580990][ T337] netcons test #5-31 [ 22.580990][ T337] netcons test #5-32 [ 22.580990][ T337] netcons test #5-33 [ 22.580990][ T337] netcons test #5-34 [ 22.580990][ T337] netcons test #5-35 [ 22.580990][ T337] netcons test #5-36 [ 22.580990][ T337] netcons test #5-37 [ 22.580990][ T337] netcons test #5-38 [ 22.580990][ T337] netcons test #5-39 [ 22.591584][ T337] netconsole: netconsole: local port 1514 [ 22.591820][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 22.592141][ T337] netconsole: netconsole: interface name 'enp1s0' [ 22.592404][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 22.592733][ T337] netconsole: netconsole: remote port 6666 [ 22.593001][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 22.593324][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 22.644383][ T337] netconsole: network logging started [ 22.644392][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.644395][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 22.644397][ T337] preempt_count: 1, expected: 0 [ 22.644398][ T337] RCU nest depth: 0, expected: 0 [ 22.644399][ T337] locks held by python3/337: 9, last CPU#1: [ 22.644401][ T337] #0: ff1100000884b970 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 22.644413][ T337] #1: ff1100000a74c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 22.644419][ T337] #2: ff110000094a5980 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 22.644424][ T337] #3: ff1100000be70e30 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 22.644428][ T337] #4: ffffffffc0132880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 22.644435][ T337] #5: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.644441][ T337] #6: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.644445][ T337] #7: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.644448][ T337] #8: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 22.644453][ T337] irq event stamp: 413210 [ 22.644455][ T337] hardirqs last enabled at (413209): [] __down_trylock_console_sem+0x86/0xa0 [ 22.644457][ T337] hardirqs last disabled at (413210): [] console_emit_next_record+0x3f8/0x4f0 [ 22.644460][ T337] softirqs last enabled at (413162): [] __alloc_skb+0x4c5/0x5f0 [ 22.644463][ T337] softirqs last disabled at (413160): [] __alloc_skb+0x4c5/0x5f0 [ 22.644466][ T337] Preemption disabled at: [ 22.644466][ T337] [] vprintk_emit+0x31b/0x3e0 [ 22.644472][ T337] CPU: 1 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.644476][ T337] Tainted: [W]=WARN [ 22.644477][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 22.644478][ T337] Call Trace: [ 22.644480][ T337] [ 22.644482][ T337] dump_stack_lvl+0x6f/0xa0 [ 22.644487][ T337] ? vprintk_emit+0x31b/0x3e0 [ 22.644490][ T337] __might_resched.cold+0x1fe/0x2c1 [ 22.644494][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.644498][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 22.644503][ T337] __kmalloc_noprof+0x443/0x760 [ 22.644505][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 22.644512][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 22.644514][ T337] alloc_buf.isra.0+0x4b/0x260 [ 22.644518][ T337] put_chars+0x1e1/0x2f0 [ 22.644522][ T337] ? __send_to_port+0x420/0x420 [ 22.644523][ T337] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.644528][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.644530][ T337] ? validate_chain+0x38b/0xc20 [ 22.644535][ T337] hvc_console_print+0x292/0x780 [ 22.644538][ T337] ? __lock_acquire+0x518/0xc20 [ 22.644544][ T337] ? hvc_write+0x3a0/0x3a0 [ 22.644547][ T337] ? rcu_is_watching+0x16/0xd0 [ 22.644552][ T337] console_emit_next_record+0x252/0x4f0 [ 22.644556][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 22.644560][ T337] ? rcu_is_watching+0x16/0xd0 [ 22.644563][ T337] ? lock_acquire+0x13c/0x160 [ 22.644567][ T337] console_flush_one_record+0x46f/0x710 [ 22.644571][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 22.644573][ T337] ? __lock_acquire+0x518/0xc20 [ 22.644578][ T337] console_unlock+0xee/0x1f0 [ 22.644581][ T337] ? console_flush_one_record+0x710/0x710 [ 22.644583][ T337] ? rcu_is_watching+0x16/0xd0 [ 22.644585][ T337] ? lock_acquire+0xa0/0x160 [ 22.644589][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.644590][ T337] ? vprintk_emit+0x320/0x3e0 [ 22.644594][ T337] vprintk_emit+0x37c/0x3e0 [ 22.644597][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 22.644600][ T337] ? rcu_gp_is_expedited+0x54/0x70 [ 22.644602][ T337] ? synchronize_rcu+0x22e/0x350 [ 22.644606][ T337] _printk+0xc7/0x100 [ 22.644609][ T337] ? snapshot_read.cold+0x21/0x21 [ 22.644611][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 22.644615][ T337] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 22.644617][ T337] ? lockdep_hardirqs_on+0x91/0x130 [ 22.644621][ T337] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 22.644624][ T337] ? __free_object+0x2ad/0x490 [ 22.644629][ T337] enabled_store.cold+0x178/0x1ae [netconsole] [ 22.644632][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 22.644635][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 22.644637][ T337] ? down_write_killable_nested+0x270/0x270 [ 22.644639][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 22.644642][ T337] ? configfs_write_iter+0x336/0x4b0 [ 22.644646][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 22.644648][ T337] configfs_write_iter+0x2c0/0x4b0 [ 22.644650][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 22.644653][ T337] new_sync_write+0x33e/0x760 [ 22.644657][ T337] ? __lock_acquire+0x518/0xc20 [ 22.644660][ T337] ? new_sync_read+0x750/0x750 [ 22.644667][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 22.644669][ T337] ? ksys_write+0x116/0x250 [ 22.644676][ T337] vfs_write+0x6a2/0xbd0 [ 22.644680][ T337] ksys_write+0x116/0x250 [ 22.644683][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 22.644685][ T337] ? rcu_is_watching+0x16/0xd0 [ 22.644689][ T337] do_syscall_64+0xff/0x530 [ 22.644691][ T337] ? exc_page_fault+0xee/0x100 [ 22.644694][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.644697][ T337] RIP: 0033:0x7ff23d8ff312 [ 22.644700][ 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.644702][ T337] RSP: 002b:00007ffc11fc1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 22.644705][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff23d8ff312 [ 22.644707][ T337] RDX: 0000000000000001 RSI: 0000563cd3f122b0 RDI: 0000000000000009 [ 22.644708][ T337] RBP: 00007ffc11fc18c0 R08: 0000000000000000 R09: 0000000000000000 [ 22.644709][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff23d76c390 [ 22.644710][ T337] R13: 0000563cd3f122b0 R14: 0000000000000009 R15: 00007ff23d6f90d0 [ 22.644717][ T337] [ 23.096196][ T337] netcons test #6-0 [ 23.096196][ T337] netcons test #6-1 [ 23.096196][ T337] netcons test #6-2 [ 23.096196][ T337] netcons test #6-3 [ 23.096196][ T337] netcons test #6-4 [ 23.096196][ T337] netcons test #6-5 [ 23.096196][ T337] netcons test #6-6 [ 23.096196][ T337] netcons test #6-7 [ 23.096196][ T337] netcons test #6-8 [ 23.096196][ T337] netcons test #6-9 [ 23.096196][ T337] netcons test #6-10 [ 23.096196][ T337] netcons test #6-11 [ 23.096196][ T337] netcons test #6-12 [ 23.096196][ T337] netcons test #6-13 [ 23.096196][ T337] netcons test #6-14 [ 23.096196][ T337] netcons test #6-15 [ 23.096196][ T337] netcons test #6-16 [ 23.096196][ T337] netcons test #6-17 [ 23.096196][ T337] netcons test #6-18 [ 23.096196][ T337] netcons test #6-19 [ 23.096196][ T337] netcons test #6-20 [ 23.096196][ T337] netcons test #6-21 [ 23.096196][ T337] netcons test #6-22 [ 23.096196][ T337] netcons test #6-23 [ 23.096196][ T337] netcons test #6-24 [ 23.096196][ T337] netcons test #6-25 [ 23.096196][ T337] netcons test #6-26 [ 23.096196][ T337] netcons test #6-27 [ 23.096196][ T337] netcons test #6-28 [ 23.096196][ T337] netcons test #6-29 [ 23.096196][ T337] netcons test #6-30 [ 23.096196][ T337] netcons test #6-31 [ 23.096196][ T337] netcons test #6-32 [ 23.096196][ T337] netcons test #6-33 [ 23.096196][ T337] netcons test #6-34 [ 23.096196][ T337] netcons test #6-35 [ 23.096196][ T337] netcons test #6-36 [ 23.096196][ T337] netcons test #6-37 [ 23.096196][ T337] netcons test #6-38 [ 23.096196][ T337] netcons test #6-39 [ 23.110517][ T337] netconsole: netconsole: local port 1514 [ 23.110757][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 23.111076][ T337] netconsole: netconsole: interface name 'enp1s0' [ 23.111338][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 23.111640][ T337] netconsole: netconsole: remote port 6666 [ 23.114798][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 23.115134][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 23.171260][ T337] netconsole: network logging started [ 23.584484][ T337] netcons test #7-0 [ 23.584484][ T337] netcons test #7-1 [ 23.584484][ T337] netcons test #7-2 [ 23.584484][ T337] netcons test #7-3 [ 23.584484][ T337] netcons test #7-4 [ 23.584484][ T337] netcons test #7-5 [ 23.584484][ T337] netcons test #7-6 [ 23.584484][ T337] netcons test #7-7 [ 23.584484][ T337] netcons test #7-8 [ 23.584484][ T337] netcons test #7-9 [ 23.584484][ T337] netcons test #7-10 [ 23.584484][ T337] netcons test #7-11 [ 23.584484][ T337] netcons test #7-12 [ 23.584484][ T337] netcons test #7-13 [ 23.584484][ T337] netcons test #7-14 [ 23.584484][ T337] netcons test #7-15 [ 23.584484][ T337] netcons test #7-16 [ 23.584484][ T337] netcons test #7-17 [ 23.584484][ T337] netcons test #7-18 [ 23.584484][ T337] netcons test #7-19 [ 23.584484][ T337] netcons test #7-20 [ 23.584484][ T337] netcons test #7-21 [ 23.584484][ T337] netcons test #7-22 [ 23.584484][ T337] netcons test #7-23 [ 23.584484][ T337] netcons test #7-24 [ 23.584484][ T337] netcons test #7-25 [ 23.584484][ T337] netcons test #7-26 [ 23.584484][ T337] netcons test #7-27 [ 23.584484][ T337] netcons test #7-28 [ 23.584484][ T337] netcons test #7-29 [ 23.584484][ T337] netcons test #7-30 [ 23.584484][ T337] netcons test #7-31 [ 23.584484][ T337] netcons test #7-32 [ 23.584484][ T337] netcons test #7-33 [ 23.584484][ T337] netcons test #7-34 [ 23.584484][ T337] netcons test #7-35 [ 23.584484][ T337] netcons test #7-36 [ 23.584484][ T337] netcons test #7-37 [ 23.584484][ T337] netcons test #7-38 [ 23.584484][ T337] netcons test #7-39 [ 23.599760][ T337] netconsole: netconsole: local port 1514 [ 23.600004][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 23.600327][ T337] netconsole: netconsole: interface name 'enp1s0' [ 23.600613][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 23.600929][ T337] netconsole: netconsole: remote port 6666 [ 23.601202][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 23.601510][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 23.635531][ T337] netconsole: network logging started [ 24.043652][ T337] netcons test #8-0 [ 24.043652][ T337] netcons test #8-1 [ 24.043652][ T337] netcons test #8-2 [ 24.043652][ T337] netcons test #8-3 [ 24.043652][ T337] netcons test #8-4 [ 24.043652][ T337] netcons test #8-5 [ 24.043652][ T337] netcons test #8-6 [ 24.043652][ T337] netcons test #8-7 [ 24.043652][ T337] netcons test #8-8 [ 24.043652][ T337] netcons test #8-9 [ 24.043652][ T337] netcons test #8-10 [ 24.043652][ T337] netcons test #8-11 [ 24.043652][ T337] netcons test #8-12 [ 24.043652][ T337] netcons test #8-13 [ 24.043652][ T337] netcons test #8-14 [ 24.043652][ T337] netcons test #8-15 [ 24.043652][ T337] netcons test #8-16 [ 24.043652][ T337] netcons test #8-17 [ 24.043652][ T337] netcons test #8-18 [ 24.043652][ T337] netcons test #8-19 [ 24.043652][ T337] netcons test #8-20 [ 24.043652][ T337] netcons test #8-21 [ 24.043652][ T337] netcons test #8-22 [ 24.043652][ T337] netcons test #8-23 [ 24.043652][ T337] netcons test #8-24 [ 24.043652][ T337] netcons test #8-25 [ 24.043652][ T337] netcons test #8-26 [ 24.043652][ T337] netcons test #8-27 [ 24.043652][ T337] netcons test #8-28 [ 24.043652][ T337] netcons test #8-29 [ 24.043652][ T337] netcons test #8-30 [ 24.043652][ T337] netcons test #8-31 [ 24.043652][ T337] netcons test #8-32 [ 24.043652][ T337] netcons test #8-33 [ 24.043652][ T337] netcons test #8-34 [ 24.043652][ T337] netcons test #8-35 [ 24.043652][ T337] netcons test #8-36 [ 24.043652][ T337] netcons test #8-37 [ 24.043652][ T337] netcons test #8-38 [ 24.043652][ T337] netcons test #8-39 [ 24.043690][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.043695][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 24.043697][ T337] preempt_count: 1, expected: 0 [ 24.043698][ T337] RCU nest depth: 0, expected: 0 [ 24.043699][ T337] locks held by python3/337: 4, last CPU#1: [ 24.043701][ T337] #0: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.043713][ T337] #1: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.043718][ T337] #2: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.043722][ T337] #3: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.043727][ T337] irq event stamp: 454718 [ 24.043728][ T337] hardirqs last enabled at (454717): [] __down_trylock_console_sem+0x86/0xa0 [ 24.043731][ T337] hardirqs last disabled at (454718): [] console_emit_next_record+0x3f8/0x4f0 [ 24.043733][ T337] softirqs last enabled at (453342): [] handle_softirqs+0x67c/0x900 [ 24.043736][ T337] softirqs last disabled at (452413): [] __irq_exit_rcu+0x145/0x1c0 [ 24.043738][ T337] Preemption disabled at: [ 24.043739][ T337] [] vprintk_emit+0x31b/0x3e0 [ 24.043744][ T337] CPU: 1 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.043748][ T337] Tainted: [W]=WARN [ 24.043749][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 24.043751][ T337] Call Trace: [ 24.043752][ T337] [ 24.043754][ T337] dump_stack_lvl+0x6f/0xa0 [ 24.043760][ T337] ? vprintk_emit+0x31b/0x3e0 [ 24.043762][ T337] __might_resched.cold+0x1fe/0x2c1 [ 24.043766][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.043770][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 24.043775][ T337] __kmalloc_noprof+0x443/0x760 [ 24.043778][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 24.043784][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 24.043786][ T337] alloc_buf.isra.0+0x4b/0x260 [ 24.043790][ T337] put_chars+0x1e1/0x2f0 [ 24.043793][ T337] ? __send_to_port+0x420/0x420 [ 24.043795][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 24.043798][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 24.043801][ T337] ? validate_chain+0x38b/0xc20 [ 24.043805][ T337] hvc_console_print+0x292/0x780 [ 24.043809][ T337] ? __lock_acquire+0x518/0xc20 [ 24.043811][ T337] ? __lock_acquire+0x518/0xc20 [ 24.043815][ T337] ? hvc_write+0x3a0/0x3a0 [ 24.043818][ T337] ? rcu_is_watching+0x16/0xd0 [ 24.043821][ T337] ? lock_acquire+0x13c/0x160 [ 24.043825][ T337] console_emit_next_record+0x252/0x4f0 [ 24.043828][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 24.043833][ T337] ? rcu_is_watching+0x16/0xd0 [ 24.043835][ T337] ? lock_acquire+0x13c/0x160 [ 24.043839][ T337] console_flush_one_record+0x46f/0x710 [ 24.043842][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 24.043844][ T337] ? __lock_acquire+0x518/0xc20 [ 24.043849][ T337] console_unlock+0xee/0x1f0 [ 24.043852][ T337] ? console_flush_one_record+0x710/0x710 [ 24.043853][ T337] ? rcu_is_watching+0x16/0xd0 [ 24.043856][ T337] ? lock_acquire+0xa0/0x160 [ 24.043859][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.043861][ T337] ? vprintk_emit+0x320/0x3e0 [ 24.043864][ T337] vprintk_emit+0x37c/0x3e0 [ 24.043867][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 24.043871][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 24.043876][ T337] devkmsg_emit.constprop.0+0xbc/0xf1 [ 24.043879][ T337] ? vprintk_emit.cold+0x107/0x107 [ 24.043883][ T337] ? __kmalloc_noprof+0x302/0x760 [ 24.043885][ T337] ? idr_get_free+0x830/0x830 [ 24.043889][ T337] ? devkmsg_write+0xd1/0x2c0 [ 24.043892][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 24.043894][ T337] devkmsg_write.cold+0x5a/0x8b [ 24.043897][ T337] ? vprintk_default+0x20/0x20 [ 24.043901][ T337] ? vprintk_default+0x20/0x20 [ 24.043903][ T337] new_sync_write+0x33e/0x760 [ 24.043909][ T337] ? new_sync_read+0x750/0x750 [ 24.043913][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 24.043918][ T337] ? __fget_files+0x1e3/0x460 [ 24.043921][ T337] vfs_write+0x6a2/0xbd0 [ 24.043925][ T337] ksys_write+0x116/0x250 [ 24.043928][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 24.043930][ T337] ? rcu_is_watching+0x16/0xd0 [ 24.043934][ T337] do_syscall_64+0xff/0x530 [ 24.043936][ T337] ? exc_page_fault+0xee/0x100 [ 24.043939][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.043942][ T337] RIP: 0033:0x7ff23d8ff312 [ 24.043946][ 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.043948][ T337] RSP: 002b:00007ffc11fc1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 24.043951][ T337] RAX: ffffffffffffffda RBX: 00000000000002ee RCX: 00007ff23d8ff312 [ 24.043953][ T337] RDX: 00000000000002ee RSI: 0000563cd3f122b0 RDI: 0000000000000009 [ 24.043954][ T337] RBP: 00007ffc11fc18c0 R08: 0000000000000000 R09: 0000000000000000 [ 24.043955][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff23d76c390 [ 24.043955][ T337] R13: 0000563cd3f122b0 R14: 0000000000000009 R15: 00007ff23d6f90d0 [ 24.043962][ T337] [ 24.088741][ T337] netconsole: netconsole: local port 1514 [ 24.088974][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 24.089461][ T337] netconsole: netconsole: interface name 'enp1s0' [ 24.089736][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 24.090065][ T337] netconsole: netconsole: remote port 6666 [ 24.090331][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 24.090648][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 24.125065][ T337] netconsole: network logging started [ 24.534874][ T337] netcons test #9-0 [ 24.534874][ T337] netcons test #9-1 [ 24.534874][ T337] netcons test #9-2 [ 24.534874][ T337] netcons test #9-3 [ 24.534874][ T337] netcons test #9-4 [ 24.534874][ T337] netcons test #9-5 [ 24.534874][ T337] netcons test #9-6 [ 24.534874][ T337] netcons test #9-7 [ 24.534874][ T337] netcons test #9-8 [ 24.534874][ T337] netcons test #9-9 [ 24.534874][ T337] netcons test #9-10 [ 24.534874][ T337] netcons test #9-11 [ 24.534874][ T337] netcons test #9-12 [ 24.534874][ T337] netcons test #9-13 [ 24.534874][ T337] netcons test #9-14 [ 24.534874][ T337] netcons test #9-15 [ 24.534874][ T337] netcons test #9-16 [ 24.534874][ T337] netcons test #9-17 [ 24.534874][ T337] netcons test #9-18 [ 24.534874][ T337] netcons test #9-19 [ 24.534874][ T337] netcons test #9-20 [ 24.534874][ T337] netcons test #9-21 [ 24.534874][ T337] netcons test #9-22 [ 24.534874][ T337] netcons test #9-23 [ 24.534874][ T337] netcons test #9-24 [ 24.534874][ T337] netcons test #9-25 [ 24.534874][ T337] netcons test #9-26 [ 24.534874][ T337] netcons test #9-27 [ 24.534874][ T337] netcons test #9-28 [ 24.534874][ T337] netcons test #9-29 [ 24.534874][ T337] netcons test #9-30 [ 24.534874][ T337] netcons test #9-31 [ 24.534874][ T337] netcons test #9-32 [ 24.534874][ T337] netcons test #9-33 [ 24.534874][ T337] netcons test #9-34 [ 24.534874][ T337] netcons test #9-35 [ 24.534874][ T337] netcons test #9-36 [ 24.534874][ T337] netcons test #9-37 [ 24.534874][ T337] netcons test #9-38 [ 24.534874][ T337] netcons test #9-39 [ 24.542463][ T337] netconsole: netconsole: local port 1514 [ 24.542703][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 24.543019][ T337] netconsole: netconsole: interface name 'enp1s0' [ 24.543284][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 24.543606][ T337] netconsole: netconsole: remote port 6666 [ 24.543874][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 24.544187][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 24.622926][ T337] netconsole: network logging started [ 25.029820][ T337] netcons test #10-0 [ 25.029820][ T337] netcons test #10-1 [ 25.029820][ T337] netcons test #10-2 [ 25.029820][ T337] netcons test #10-3 [ 25.029820][ T337] netcons test #10-4 [ 25.029820][ T337] netcons test #10-5 [ 25.029820][ T337] netcons test #10-6 [ 25.029820][ T337] netcons test #10-7 [ 25.029820][ T337] netcons test #10-8 [ 25.029820][ T337] netcons test #10-9 [ 25.029820][ T337] netcons test #10-10 [ 25.029820][ T337] netcons test #10-11 [ 25.029820][ T337] netcons test #10-12 [ 25.029820][ T337] netcons test #10-13 [ 25.029820][ T337] netcons test #10-14 [ 25.029820][ T337] netcons test #10-15 [ 25.029820][ T337] netcons test #10-16 [ 25.029820][ T337] netcons test #10-17 [ 25.029820][ T337] netcons test #10-18 [ 25.029820][ T337] netcons test #10-19 [ 25.029820][ T337] netcons test #10-20 [ 25.029820][ T337] netcons test #10-21 [ 25.029820][ T337] netcons test #10-22 [ 25.029820][ T337] netcons test #10-23 [ 25.029820][ T337] netcons test #10-24 [ 25.029820][ T337] netcons test #10-25 [ 25.029820][ T337] netcons test #10-26 [ 25.029820][ T337] netcons test #10-27 [ 25.029820][ T337] netcons test #10-28 [ 25.029820][ T337] netcons test #10-29 [ 25.029820][ T337] netcons test #10-30 [ 25.029820][ T337] netcons test #10-31 [ 25.029820][ T337] netcons test #10-32 [ 25.029820][ T337] netcons test #10-33 [ 25.029820][ T337] netcons test #10-34 [ 25.029820][ T337] netcons test #10-35 [ 25.029820][ T337] netcons test #10-36 [ 25.029820][ T337] netcons test #10-37 [ 25.029820][ T337] netcons test #10-38 [ 25.029820][ T337] netcons test #10-39 [ 25.040714][ T337] netconsole: netconsole: local port 1514 [ 25.040968][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 25.041291][ T337] netconsole: netconsole: interface name 'enp1s0' [ 25.041545][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 25.041862][ T337] netconsole: netconsole: remote port 6666 [ 25.042136][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 25.044321][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.044325][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 25.044327][ T337] preempt_count: 1, expected: 0 [ 25.044328][ T337] RCU nest depth: 0, expected: 0 [ 25.044329][ T337] locks held by python3/337: 9, last CPU#1: [ 25.044331][ T337] #0: ff1100000968d570 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 25.044343][ T337] #1: ff1100000a74c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 25.044349][ T337] #2: ff11000007797a80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 25.044354][ T337] #3: ff1100000be70b30 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 25.044358][ T337] #4: ffffffffc0132880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 25.044364][ T337] #5: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.044370][ T337] #6: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.044374][ T337] #7: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.044378][ T337] #8: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 25.044383][ T337] irq event stamp: 477790 [ 25.044385][ T337] hardirqs last enabled at (477789): [] __down_trylock_console_sem+0x86/0xa0 [ 25.044388][ T337] hardirqs last disabled at (477790): [] console_emit_next_record+0x3f8/0x4f0 [ 25.044390][ T337] softirqs last enabled at (477778): [] handle_softirqs+0x67c/0x900 [ 25.044393][ T337] softirqs last disabled at (477769): [] __irq_exit_rcu+0x145/0x1c0 [ 25.044395][ T337] Preemption disabled at: [ 25.044396][ T337] [] vprintk_emit+0x31b/0x3e0 [ 25.044402][ T337] CPU: 1 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.044406][ T337] Tainted: [W]=WARN [ 25.044407][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 25.044409][ T337] Call Trace: [ 25.044410][ T337] [ 25.044412][ T337] dump_stack_lvl+0x6f/0xa0 [ 25.044417][ T337] ? vprintk_emit+0x31b/0x3e0 [ 25.044420][ T337] __might_resched.cold+0x1fe/0x2c1 [ 25.044424][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.044428][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 25.044433][ T337] __kmalloc_noprof+0x443/0x760 [ 25.044436][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 25.044443][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 25.044445][ T337] alloc_buf.isra.0+0x4b/0x260 [ 25.044449][ T337] put_chars+0x1e1/0x2f0 [ 25.044452][ T337] ? __send_to_port+0x420/0x420 [ 25.044454][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 25.044458][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 25.044460][ T337] ? validate_chain+0x38b/0xc20 [ 25.044465][ T337] hvc_console_print+0x292/0x780 [ 25.044468][ T337] ? __lock_acquire+0x518/0xc20 [ 25.044470][ T337] ? __lock_acquire+0x518/0xc20 [ 25.044474][ T337] ? hvc_write+0x3a0/0x3a0 [ 25.044478][ T337] ? rcu_is_watching+0x16/0xd0 [ 25.044481][ T337] ? lock_acquire+0x13c/0x160 [ 25.044485][ T337] console_emit_next_record+0x252/0x4f0 [ 25.044489][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 25.044493][ T337] ? rcu_is_watching+0x16/0xd0 [ 25.044496][ T337] ? lock_acquire+0x13c/0x160 [ 25.044500][ T337] console_flush_one_record+0x46f/0x710 [ 25.044504][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 25.044506][ T337] ? __lock_acquire+0x518/0xc20 [ 25.044511][ T337] console_unlock+0xee/0x1f0 [ 25.044514][ T337] ? console_flush_one_record+0x710/0x710 [ 25.044516][ T337] ? rcu_is_watching+0x16/0xd0 [ 25.044518][ T337] ? lock_acquire+0xa0/0x160 [ 25.044522][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.044524][ T337] ? vprintk_emit+0x320/0x3e0 [ 25.044527][ T337] vprintk_emit+0x37c/0x3e0 [ 25.044531][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 25.044533][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 25.044535][ T337] ? validate_chain+0x38b/0xc20 [ 25.044536][ T337] ? enabled_store+0x518/0x750 [netconsole] [ 25.044539][ T337] ? find_held_lock+0x2b/0x80 [ 25.044543][ T337] _printk+0xc7/0x100 [ 25.044546][ T337] ? snapshot_read.cold+0x21/0x21 [ 25.044550][ T337] ? __mutex_unlock_slowpath+0x9e/0x740 [ 25.044553][ T337] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 25.044558][ T337] ? panic_on_this_cpu+0x1a/0x30 [ 25.044562][ T337] netconsole_print_banner+0x28e/0x2e0 [netconsole] [ 25.044566][ T337] enabled_store.cold+0x104/0x1ae [netconsole] [ 25.044568][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 25.044572][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 25.044574][ T337] ? down_write_killable_nested+0x270/0x270 [ 25.044576][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 25.044579][ T337] ? configfs_write_iter+0x336/0x4b0 [ 25.044583][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 25.044585][ T337] configfs_write_iter+0x2c0/0x4b0 [ 25.044587][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 25.044590][ T337] new_sync_write+0x33e/0x760 [ 25.044594][ T337] ? __lock_acquire+0x518/0xc20 [ 25.044596][ T337] ? new_sync_read+0x750/0x750 [ 25.044600][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 25.044602][ T337] ? ksys_write+0x116/0x250 [ 25.044608][ T337] vfs_write+0x6a2/0xbd0 [ 25.044612][ T337] ksys_write+0x116/0x250 [ 25.044615][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 25.044618][ T337] ? rcu_is_watching+0x16/0xd0 [ 25.044621][ T337] do_syscall_64+0xff/0x530 [ 25.044624][ T337] ? exc_page_fault+0xee/0x100 [ 25.044628][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.044630][ T337] RIP: 0033:0x7ff23d8ff312 [ 25.044634][ 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.044636][ T337] RSP: 002b:00007ffc11fc1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 25.044638][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff23d8ff312 [ 25.044640][ T337] RDX: 0000000000000001 RSI: 0000563cd3f122b0 RDI: 0000000000000009 [ 25.044641][ T337] RBP: 00007ffc11fc18c0 R08: 0000000000000000 R09: 0000000000000000 [ 25.044642][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff23d76c390 [ 25.044643][ T337] R13: 0000563cd3f122b0 R14: 0000000000000009 R15: 00007ff23d6f90d0 [ 25.044650][ T337] [ 25.081310][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 25.122518][ T337] netconsole: network logging started [ 25.543036][ T337] netcons test #11-0 [ 25.543036][ T337] netcons test #11-1 [ 25.543036][ T337] netcons test #11-2 [ 25.543036][ T337] netcons test #11-3 [ 25.543036][ T337] netcons test #11-4 [ 25.543036][ T337] netcons test #11-5 [ 25.543036][ T337] netcons test #11-6 [ 25.543036][ T337] netcons test #11-7 [ 25.543036][ T337] netcons test #11-8 [ 25.543036][ T337] netcons test #11-9 [ 25.543036][ T337] netcons test #11-10 [ 25.543036][ T337] netcons test #11-11 [ 25.543036][ T337] netcons test #11-12 [ 25.543036][ T337] netcons test #11-13 [ 25.543036][ T337] netcons test #11-14 [ 25.543036][ T337] netcons test #11-15 [ 25.543036][ T337] netcons test #11-16 [ 25.543036][ T337] netcons test #11-17 [ 25.543036][ T337] netcons test #11-18 [ 25.543036][ T337] netcons test #11-19 [ 25.543036][ T337] netcons test #11-20 [ 25.543036][ T337] netcons test #11-21 [ 25.543036][ T337] netcons test #11-22 [ 25.543036][ T337] netcons test #11-23 [ 25.543036][ T337] netcons test #11-24 [ 25.543036][ T337] netcons test #11-25 [ 25.543036][ T337] netcons test #11-26 [ 25.543036][ T337] netcons test #11-27 [ 25.543036][ T337] netcons test #11-28 [ 25.543036][ T337] netcons test #11-29 [ 25.543036][ T337] netcons test #11-30 [ 25.543036][ T337] netcons test #11-31 [ 25.543036][ T337] netcons test #11-32 [ 25.543036][ T337] netcons test #11-33 [ 25.543036][ T337] netcons test #11-34 [ 25.543036][ T337] netcons test #11-35 [ 25.543036][ T337] netcons test #11-36 [ 25.543036][ T337] netcons test #11-37 [ 25.543036][ T337] netcons test #11-38 [ 25.543036][ T337] netcons test #11-39 [ 25.557722][ T337] netconsole: netconsole: local port 1514 [ 25.558003][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 25.558342][ T337] netconsole: netconsole: interface name 'enp1s0' [ 25.558616][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 25.558957][ T337] netconsole: netconsole: remote port 6666 [ 25.559236][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 25.559634][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 25.582104][ T337] netconsole: network logging started [ 25.983953][ T337] netcons test #12-0 [ 25.983953][ T337] netcons test #12-1 [ 25.983953][ T337] netcons test #12-2 [ 25.983953][ T337] netcons test #12-3 [ 25.983953][ T337] netcons test #12-4 [ 25.983953][ T337] netcons test #12-5 [ 25.983953][ T337] netcons test #12-6 [ 25.983953][ T337] netcons test #12-7 [ 25.983953][ T337] netcons test #12-8 [ 25.983953][ T337] netcons test #12-9 [ 25.983953][ T337] netcons test #12-10 [ 25.983953][ T337] netcons test #12-11 [ 25.983953][ T337] netcons test #12-12 [ 25.983953][ T337] netcons test #12-13 [ 25.983953][ T337] netcons test #12-14 [ 25.983953][ T337] netcons test #12-15 [ 25.983953][ T337] netcons test #12-16 [ 25.983953][ T337] netcons test #12-17 [ 25.983953][ T337] netcons test #12-18 [ 25.983953][ T337] netcons test #12-19 [ 25.983953][ T337] netcons test #12-20 [ 25.983953][ T337] netcons test #12-21 [ 25.983953][ T337] netcons test #12-22 [ 25.983953][ T337] netcons test #12-23 [ 25.983953][ T337] netcons test #12-24 [ 25.983953][ T337] netcons test #12-25 [ 25.983953][ T337] netcons test #12-26 [ 25.983953][ T337] netcons test #12-27 [ 25.983953][ T337] netcons test #12-28 [ 25.983953][ T337] netcons test #12-29 [ 25.983953][ T337] netcons test #12-30 [ 25.983953][ T337] netcons test #12-31 [ 25.983953][ T337] netcons test #12-32 [ 25.983953][ T337] netcons test #12-33 [ 25.983953][ T337] netcons test #12-34 [ 25.983953][ T337] netcons test #12-35 [ 25.983953][ T337] netcons test #12-36 [ 25.983953][ T337] netcons test #12-37 [ 25.983953][ T337] netcons test #12-38 [ 25.983953][ T337] netcons test #12-39 [ 25.997737][ T337] netconsole: netconsole: local port 1514 [ 25.998002][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 25.998352][ T337] netconsole: netconsole: interface name 'enp1s0' [ 25.998633][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 25.998959][ T337] netconsole: netconsole: remote port 6666 [ 25.999244][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 25.999568][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 26.126900][ T337] netconsole: network logging started [ 26.126916][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.126919][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 26.126921][ T337] preempt_count: 1, expected: 0 [ 26.126922][ T337] RCU nest depth: 0, expected: 0 [ 26.126923][ T337] locks held by python3/337: 9, last CPU#5: [ 26.126926][ T337] #0: ff110000052272b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 26.126939][ T337] #1: ff1100000a74c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 26.126945][ T337] #2: ff1100000bda4d80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 26.126950][ T337] #3: ff1100000be709b0 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 26.126954][ T337] #4: ffffffffc0132880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 26.126961][ T337] #5: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.126967][ T337] #6: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.126971][ T337] #7: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.126975][ T337] #8: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.126980][ T337] irq event stamp: 499614 [ 26.126982][ T337] hardirqs last enabled at (499613): [] __down_trylock_console_sem+0x86/0xa0 [ 26.126985][ T337] hardirqs last disabled at (499614): [] console_emit_next_record+0x3f8/0x4f0 [ 26.126987][ T337] softirqs last enabled at (499566): [] __alloc_skb+0x4c5/0x5f0 [ 26.126990][ T337] softirqs last disabled at (499564): [] __alloc_skb+0x4c5/0x5f0 [ 26.126993][ T337] Preemption disabled at: [ 26.126993][ T337] [] vprintk_emit+0x31b/0x3e0 [ 26.127000][ T337] CPU: 5 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.127004][ T337] Tainted: [W]=WARN [ 26.127004][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 26.127006][ T337] Call Trace: [ 26.127008][ T337] [ 26.127010][ T337] dump_stack_lvl+0x6f/0xa0 [ 26.127016][ T337] ? vprintk_emit+0x31b/0x3e0 [ 26.127018][ T337] __might_resched.cold+0x1fe/0x2c1 [ 26.127023][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.127027][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 26.127032][ T337] __kmalloc_noprof+0x443/0x760 [ 26.127034][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 26.127042][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 26.127045][ T337] alloc_buf.isra.0+0x4b/0x260 [ 26.127049][ T337] put_chars+0x1e1/0x2f0 [ 26.127052][ T337] ? __send_to_port+0x420/0x420 [ 26.127054][ T337] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.127059][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.127061][ T337] ? validate_chain+0x38b/0xc20 [ 26.127066][ T337] hvc_console_print+0x292/0x780 [ 26.127069][ T337] ? __lock_acquire+0x518/0xc20 [ 26.127075][ T337] ? hvc_write+0x3a0/0x3a0 [ 26.127078][ T337] ? rcu_is_watching+0x16/0xd0 [ 26.127083][ T337] console_emit_next_record+0x252/0x4f0 [ 26.127087][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 26.127092][ T337] ? rcu_is_watching+0x16/0xd0 [ 26.127094][ T337] ? lock_acquire+0x13c/0x160 [ 26.127098][ T337] console_flush_one_record+0x46f/0x710 [ 26.127102][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 26.127104][ T337] ? __lock_acquire+0x518/0xc20 [ 26.127110][ T337] console_unlock+0xee/0x1f0 [ 26.127113][ T337] ? console_flush_one_record+0x710/0x710 [ 26.127114][ T337] ? rcu_is_watching+0x16/0xd0 [ 26.127117][ T337] ? lock_acquire+0xa0/0x160 [ 26.127120][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.127122][ T337] ? vprintk_emit+0x320/0x3e0 [ 26.127126][ T337] vprintk_emit+0x37c/0x3e0 [ 26.127130][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 26.127133][ T337] ? rcu_gp_is_expedited+0x54/0x70 [ 26.127134][ T337] ? synchronize_rcu+0x22e/0x350 [ 26.127139][ T337] _printk+0xc7/0x100 [ 26.127142][ T337] ? snapshot_read.cold+0x21/0x21 [ 26.127144][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 26.127148][ T337] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 26.127150][ T337] ? lockdep_hardirqs_on+0x91/0x130 [ 26.127154][ T337] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 26.127157][ T337] ? __free_object+0x2ad/0x490 [ 26.127162][ T337] enabled_store.cold+0x178/0x1ae [netconsole] [ 26.127165][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 26.127169][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 26.127171][ T337] ? down_write_killable_nested+0x270/0x270 [ 26.127173][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 26.127176][ T337] ? configfs_write_iter+0x336/0x4b0 [ 26.127180][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 26.127182][ T337] configfs_write_iter+0x2c0/0x4b0 [ 26.127184][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 26.127187][ T337] new_sync_write+0x33e/0x760 [ 26.127191][ T337] ? __lock_acquire+0x518/0xc20 [ 26.127193][ T337] ? new_sync_read+0x750/0x750 [ 26.127197][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 26.127199][ T337] ? ksys_write+0x116/0x250 [ 26.127205][ T337] vfs_write+0x6a2/0xbd0 [ 26.127209][ T337] ksys_write+0x116/0x250 [ 26.127212][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 26.127215][ T337] ? rcu_is_watching+0x16/0xd0 [ 26.127218][ T337] do_syscall_64+0xff/0x530 [ 26.127221][ T337] ? common_interrupt+0x5a/0xf0 [ 26.127224][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.127227][ T337] RIP: 0033:0x7ff23d8ff312 [ 26.127230][ 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.127232][ T337] RSP: 002b:00007ffc11fc1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 26.127235][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff23d8ff312 [ 26.127236][ T337] RDX: 0000000000000001 RSI: 0000563cd3f122b0 RDI: 0000000000000009 [ 26.127237][ T337] RBP: 00007ffc11fc18c0 R08: 0000000000000000 R09: 0000000000000000 [ 26.127238][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff23d76c390 [ 26.127239][ T337] R13: 0000563cd3f122b0 R14: 0000000000000009 R15: 00007ff23d6f90d0 [ 26.127247][ T337] [ 26.574616][ T337] netcons test #13-0 [ 26.574616][ T337] netcons test #13-1 [ 26.574616][ T337] netcons test #13-2 [ 26.574616][ T337] netcons test #13-3 [ 26.574616][ T337] netcons test #13-4 [ 26.574616][ T337] netcons test #13-5 [ 26.574616][ T337] netcons test #13-6 [ 26.574616][ T337] netcons test #13-7 [ 26.574616][ T337] netcons test #13-8 [ 26.574616][ T337] netcons test #13-9 [ 26.574616][ T337] netcons test #13-10 [ 26.574616][ T337] netcons test #13-11 [ 26.574616][ T337] netcons test #13-12 [ 26.574616][ T337] netcons test #13-13 [ 26.574616][ T337] netcons test #13-14 [ 26.574616][ T337] netcons test #13-15 [ 26.574616][ T337] netcons test #13-16 [ 26.574616][ T337] netcons test #13-17 [ 26.574616][ T337] netcons test #13-18 [ 26.574616][ T337] netcons test #13-19 [ 26.574616][ T337] netcons test #13-20 [ 26.574616][ T337] netcons test #13-21 [ 26.574616][ T337] netcons test #13-22 [ 26.574616][ T337] netcons test #13-23 [ 26.574616][ T337] netcons test #13-24 [ 26.574616][ T337] netcons test #13-25 [ 26.574616][ T337] netcons test #13-26 [ 26.574616][ T337] netcons test #13-27 [ 26.574616][ T337] netcons test #13-28 [ 26.574616][ T337] netcons test #13-29 [ 26.574616][ T337] netcons test #13-30 [ 26.574616][ T337] netcons test #13-31 [ 26.574616][ T337] netcons test #13-32 [ 26.574616][ T337] netcons test #13-33 [ 26.574616][ T337] netcons test #13-34 [ 26.574616][ T337] netcons test #13-35 [ 26.574616][ T337] netcons test #13-36 [ 26.574616][ T337] netcons test #13-37 [ 26.574616][ T337] netcons test #13-38 [ 26.574616][ T337] netcons test #13-39 [ 26.586842][ T337] netconsole: netconsole: local port 1514 [ 26.587096][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 26.587447][ T337] netconsole: netconsole: interface name 'enp1s0' [ 26.587734][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 26.588073][ T337] netconsole: netconsole: remote port 6666 [ 26.588344][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 26.588665][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 26.662207][ T337] netconsole: network logging started [ 27.070900][ T337] netcons test #14-0 [ 27.070900][ T337] netcons test #14-1 [ 27.070900][ T337] netcons test #14-2 [ 27.070900][ T337] netcons test #14-3 [ 27.070900][ T337] netcons test #14-4 [ 27.070900][ T337] netcons test #14-5 [ 27.070900][ T337] netcons test #14-6 [ 27.070900][ T337] netcons test #14-7 [ 27.070900][ T337] netcons test #14-8 [ 27.070900][ T337] netcons test #14-9 [ 27.070900][ T337] netcons test #14-10 [ 27.070900][ T337] netcons test #14-11 [ 27.070900][ T337] netcons test #14-12 [ 27.070900][ T337] netcons test #14-13 [ 27.070900][ T337] netcons test #14-14 [ 27.070900][ T337] netcons test #14-15 [ 27.070900][ T337] netcons test #14-16 [ 27.070900][ T337] netcons test #14-17 [ 27.070900][ T337] netcons test #14-18 [ 27.070900][ T337] netcons test #14-19 [ 27.070900][ T337] netcons test #14-20 [ 27.070900][ T337] netcons test #14-21 [ 27.070900][ T337] netcons test #14-22 [ 27.070900][ T337] netcons test #14-23 [ 27.070900][ T337] netcons test #14-24 [ 27.070900][ T337] netcons test #14-25 [ 27.070900][ T337] netcons test #14-26 [ 27.070900][ T337] netcons test #14-27 [ 27.070900][ T337] netcons test #14-28 [ 27.070900][ T337] netcons test #14-29 [ 27.070900][ T337] netcons test #14-30 [ 27.070900][ T337] netcons test #14-31 [ 27.070900][ T337] netcons test #14-32 [ 27.070900][ T337] netcons test #14-33 [ 27.070900][ T337] netcons test #14-34 [ 27.070900][ T337] netcons test #14-35 [ 27.070900][ T337] netcons test #14-36 [ 27.070900][ T337] netcons test #14-37 [ 27.070900][ T337] netcons test #14-38 [ 27.070900][ T337] netcons test #14-39 [ 27.079243][ T337] netconsole: netconsole: local port 1514 [ 27.079489][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 27.079824][ T337] netconsole: netconsole: interface name 'enp1s0' [ 27.080112][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 27.080439][ T337] netconsole: netconsole: remote port 6666 [ 27.080718][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 27.081038][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 27.115129][ T337] netconsole: network logging started [ 27.526861][ T337] netcons test #15-0 [ 27.526861][ T337] netcons test #15-1 [ 27.526861][ T337] netcons test #15-2 [ 27.526861][ T337] netcons test #15-3 [ 27.526861][ T337] netcons test #15-4 [ 27.526861][ T337] netcons test #15-5 [ 27.526861][ T337] netcons test #15-6 [ 27.526861][ T337] netcons test #15-7 [ 27.526861][ T337] netcons test #15-8 [ 27.526861][ T337] netcons test #15-9 [ 27.526861][ T337] netcons test #15-10 [ 27.526861][ T337] netcons test #15-11 [ 27.526861][ T337] netcons test #15-12 [ 27.526861][ T337] netcons test #15-13 [ 27.526861][ T337] netcons test #15-14 [ 27.526861][ T337] netcons test #15-15 [ 27.526861][ T337] netcons test #15-16 [ 27.526861][ T337] netcons test #15-17 [ 27.526861][ T337] netcons test #15-18 [ 27.526861][ T337] netcons test #15-19 [ 27.526861][ T337] netcons test #15-20 [ 27.526861][ T337] netcons test #15-21 [ 27.526861][ T337] netcons test #15-22 [ 27.526861][ T337] netcons test #15-23 [ 27.526861][ T337] netcons test #15-24 [ 27.526861][ T337] netcons test #15-25 [ 27.526861][ T337] netcons test #15-26 [ 27.526861][ T337] netcons test #15-27 [ 27.526861][ T337] netcons test #15-28 [ 27.526861][ T337] netcons test #15-29 [ 27.526861][ T337] netcons test #15-30 [ 27.526861][ T337] netcons test #15-31 [ 27.526861][ T337] netcons test #15-32 [ 27.526861][ T337] netcons test #15-33 [ 27.526861][ T337] netcons test #15-34 [ 27.526861][ T337] netcons test #15-35 [ 27.526861][ T337] netcons test #15-36 [ 27.526861][ T337] netcons test #15-37 [ 27.526861][ T337] netcons test #15-38 [ 27.526861][ T337] netcons test #15-39 [ 27.526894][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.526898][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 27.526900][ T337] preempt_count: 1, expected: 0 [ 27.526901][ T337] RCU nest depth: 0, expected: 0 [ 27.526903][ T337] locks held by python3/337: 4, last CPU#0: [ 27.526905][ T337] #0: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.526918][ T337] #1: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.526923][ T337] #2: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.526927][ T337] #3: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 27.526932][ T337] irq event stamp: 526760 [ 27.526934][ T337] hardirqs last enabled at (526759): [] __down_trylock_console_sem+0x86/0xa0 [ 27.526937][ T337] hardirqs last disabled at (526760): [] console_emit_next_record+0x3f8/0x4f0 [ 27.526939][ T337] softirqs last enabled at (525174): [] handle_softirqs+0x67c/0x900 [ 27.526942][ T337] softirqs last disabled at (525165): [] __irq_exit_rcu+0x145/0x1c0 [ 27.526944][ T337] Preemption disabled at: [ 27.526945][ T337] [] vprintk_emit+0x31b/0x3e0 [ 27.526951][ T337] CPU: 0 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.526954][ T337] Tainted: [W]=WARN [ 27.526955][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 27.526957][ T337] Call Trace: [ 27.526959][ T337] [ 27.526961][ T337] dump_stack_lvl+0x6f/0xa0 [ 27.526966][ T337] ? vprintk_emit+0x31b/0x3e0 [ 27.526968][ T337] __might_resched.cold+0x1fe/0x2c1 [ 27.526973][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.526977][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 27.526982][ T337] __kmalloc_noprof+0x443/0x760 [ 27.526985][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 27.526991][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 27.526994][ T337] alloc_buf.isra.0+0x4b/0x260 [ 27.526997][ T337] put_chars+0x1e1/0x2f0 [ 27.527001][ T337] ? __send_to_port+0x420/0x420 [ 27.527002][ T337] ? printk_get_next_message+0x2fe/0x7d0 [ 27.527006][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.527009][ T337] ? validate_chain+0x38b/0xc20 [ 27.527012][ T337] hvc_console_print+0x292/0x780 [ 27.527016][ T337] ? __lock_acquire+0x518/0xc20 [ 27.527018][ T337] ? __lock_acquire+0x518/0xc20 [ 27.527022][ T337] ? hvc_write+0x3a0/0x3a0 [ 27.527025][ T337] ? rcu_is_watching+0x16/0xd0 [ 27.527029][ T337] ? lock_acquire+0x13c/0x160 [ 27.527032][ T337] console_emit_next_record+0x252/0x4f0 [ 27.527036][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 27.527042][ T337] ? rcu_is_watching+0x16/0xd0 [ 27.527044][ T337] ? lock_acquire+0x13c/0x160 [ 27.527048][ T337] console_flush_one_record+0x46f/0x710 [ 27.527052][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 27.527054][ T337] ? __lock_acquire+0x518/0xc20 [ 27.527059][ T337] console_unlock+0xee/0x1f0 [ 27.527061][ T337] ? console_flush_one_record+0x710/0x710 [ 27.527063][ T337] ? rcu_is_watching+0x16/0xd0 [ 27.527065][ T337] ? lock_acquire+0xa0/0x160 [ 27.527068][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.527070][ T337] ? vprintk_emit+0x320/0x3e0 [ 27.527073][ T337] vprintk_emit+0x37c/0x3e0 [ 27.527077][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 27.527080][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 27.527085][ T337] devkmsg_emit.constprop.0+0xbc/0xf1 [ 27.527089][ T337] ? vprintk_emit.cold+0x107/0x107 [ 27.527093][ T337] ? __kmalloc_noprof+0x302/0x760 [ 27.527095][ T337] ? idr_get_free+0x830/0x830 [ 27.527098][ T337] ? devkmsg_write+0xd1/0x2c0 [ 27.527101][ T337] ? _copy_from_iter+0x1bb/0x1810 [ 27.527103][ T337] devkmsg_write.cold+0x5a/0x8b [ 27.527106][ T337] ? vprintk_default+0x20/0x20 [ 27.527110][ T337] ? vprintk_default+0x20/0x20 [ 27.527113][ T337] new_sync_write+0x33e/0x760 [ 27.527118][ T337] ? new_sync_read+0x750/0x750 [ 27.527122][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 27.527126][ T337] ? __fget_files+0x1e3/0x460 [ 27.527130][ T337] vfs_write+0x6a2/0xbd0 [ 27.527134][ T337] ksys_write+0x116/0x250 [ 27.527136][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 27.527139][ T337] ? rcu_is_watching+0x16/0xd0 [ 27.527143][ T337] do_syscall_64+0xff/0x530 [ 27.527145][ T337] ? irq_exit_rcu+0x1a/0x30 [ 27.527147][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.527150][ T337] RIP: 0033:0x7ff23d8ff312 [ 27.527154][ 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.527156][ T337] RSP: 002b:00007ffc11fc1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 27.527159][ T337] RAX: ffffffffffffffda RBX: 0000000000000316 RCX: 00007ff23d8ff312 [ 27.527160][ T337] RDX: 0000000000000316 RSI: 0000563cd3f122b0 RDI: 0000000000000009 [ 27.527161][ T337] RBP: 00007ffc11fc18c0 R08: 0000000000000000 R09: 0000000000000000 [ 27.527162][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff23d76c390 [ 27.527164][ T337] R13: 0000563cd3f122b0 R14: 0000000000000009 R15: 00007ff23d6f90d0 [ 27.527171][ T337] [ 27.569935][ T337] netconsole: netconsole: local port 1514 [ 27.570194][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 27.575077][ T337] netconsole: netconsole: interface name 'enp1s0' [ 27.575356][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 27.575702][ T337] netconsole: netconsole: remote port 6666 [ 27.575983][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 27.576318][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 27.617922][ T337] netconsole: network logging started [ 28.033248][ T337] netcons test #16-0 [ 28.033248][ T337] netcons test #16-1 [ 28.033248][ T337] netcons test #16-2 [ 28.033248][ T337] netcons test #16-3 [ 28.033248][ T337] netcons test #16-4 [ 28.033248][ T337] netcons test #16-5 [ 28.033248][ T337] netcons test #16-6 [ 28.033248][ T337] netcons test #16-7 [ 28.033248][ T337] netcons test #16-8 [ 28.033248][ T337] netcons test #16-9 [ 28.033248][ T337] netcons test #16-10 [ 28.033248][ T337] netcons test #16-11 [ 28.033248][ T337] netcons test #16-12 [ 28.033248][ T337] netcons test #16-13 [ 28.033248][ T337] netcons test #16-14 [ 28.033248][ T337] netcons test #16-15 [ 28.033248][ T337] netcons test #16-16 [ 28.033248][ T337] netcons test #16-17 [ 28.033248][ T337] netcons test #16-18 [ 28.033248][ T337] netcons test #16-19 [ 28.033248][ T337] netcons test #16-20 [ 28.033248][ T337] netcons test #16-21 [ 28.033248][ T337] netcons test #16-22 [ 28.033248][ T337] netcons test #16-23 [ 28.033248][ T337] netcons test #16-24 [ 28.033248][ T337] netcons test #16-25 [ 28.033248][ T337] netcons test #16-26 [ 28.033248][ T337] netcons test #16-27 [ 28.033248][ T337] netcons test #16-28 [ 28.033248][ T337] netcons test #16-29 [ 28.033248][ T337] netcons test #16-30 [ 28.033248][ T337] netcons test #16-31 [ 28.033248][ T337] netcons test #16-32 [ 28.033248][ T337] netcons test #16-33 [ 28.033248][ T337] netcons test #16-34 [ 28.033248][ T337] netcons test #16-35 [ 28.033248][ T337] netcons test #16-36 [ 28.033248][ T337] netcons test #16-37 [ 28.033248][ T337] netcons test #16-38 [ 28.033248][ T337] netcons test #16-39 [ 28.044166][ T337] netconsole: netconsole: local port 1514 [ 28.044417][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 28.044850][ T337] netconsole: netconsole: interface name 'enp1s0' [ 28.045244][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 28.045577][ T337] netconsole: netconsole: remote port 6666 [ 28.045866][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 28.046205][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 28.068227][ T337] netconsole: network logging started [ 28.476124][ T337] netcons test #17-0 [ 28.476124][ T337] netcons test #17-1 [ 28.476124][ T337] netcons test #17-2 [ 28.476124][ T337] netcons test #17-3 [ 28.476124][ T337] netcons test #17-4 [ 28.476124][ T337] netcons test #17-5 [ 28.476124][ T337] netcons test #17-6 [ 28.476124][ T337] netcons test #17-7 [ 28.476124][ T337] netcons test #17-8 [ 28.476124][ T337] netcons test #17-9 [ 28.476124][ T337] netcons test #17-10 [ 28.476124][ T337] netcons test #17-11 [ 28.476124][ T337] netcons test #17-12 [ 28.476124][ T337] netcons test #17-13 [ 28.476124][ T337] netcons test #17-14 [ 28.476124][ T337] netcons test #17-15 [ 28.476124][ T337] netcons test #17-16 [ 28.476124][ T337] netcons test #17-17 [ 28.476124][ T337] netcons test #17-18 [ 28.476124][ T337] netcons test #17-19 [ 28.476124][ T337] netcons test #17-20 [ 28.476124][ T337] netcons test #17-21 [ 28.476124][ T337] netcons test #17-22 [ 28.476124][ T337] netcons test #17-23 [ 28.476124][ T337] netcons test #17-24 [ 28.476124][ T337] netcons test #17-25 [ 28.476124][ T337] netcons test #17-26 [ 28.476124][ T337] netcons test #17-27 [ 28.476124][ T337] netcons test #17-28 [ 28.476124][ T337] netcons test #17-29 [ 28.476124][ T337] netcons test #17-30 [ 28.476124][ T337] netcons test #17-31 [ 28.476124][ T337] netcons test #17-32 [ 28.476124][ T337] netcons test #17-33 [ 28.476124][ T337] netcons test #17-34 [ 28.476124][ T337] netcons test #17-35 [ 28.476124][ T337] netcons test #17-36 [ 28.476124][ T337] netcons test #17-37 [ 28.476124][ T337] netcons test #17-38 [ 28.476124][ T337] netcons test #17-39 [ 28.515928][ T337] netconsole: netconsole: local port 1514 [ 28.516245][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 28.516592][ T337] netconsole: netconsole: interface name 'enp1s0' [ 28.518096][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 28.518481][ T337] netconsole: netconsole: remote port 6666 [ 28.518767][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 28.519112][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 28.566055][ T337] netconsole: network logging started [ 28.566082][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 28.566086][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 28.566088][ T337] preempt_count: 1, expected: 0 [ 28.566089][ T337] RCU nest depth: 0, expected: 0 [ 28.566090][ T337] locks held by python3/337: 9, last CPU#0: [ 28.566092][ T337] #0: ff11000004bbd7b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 28.566105][ T337] #1: ff1100000a74c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 28.566111][ T337] #2: ff110000079edc80 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 28.566117][ T337] #3: ff1100000be70b30 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 28.566120][ T337] #4: ffffffffc0132880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 28.566128][ T337] #5: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 28.566134][ T337] #6: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 28.566138][ T337] #7: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 28.566142][ T337] #8: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 28.566146][ T337] irq event stamp: 571790 [ 28.566148][ T337] hardirqs last enabled at (571789): [] __down_trylock_console_sem+0x86/0xa0 [ 28.566151][ T337] hardirqs last disabled at (571790): [] console_emit_next_record+0x3f8/0x4f0 [ 28.566153][ T337] softirqs last enabled at (571742): [] __alloc_skb+0x4c5/0x5f0 [ 28.566157][ T337] softirqs last disabled at (571740): [] __alloc_skb+0x4c5/0x5f0 [ 28.566159][ T337] Preemption disabled at: [ 28.566160][ T337] [] vprintk_emit+0x31b/0x3e0 [ 28.566166][ T337] CPU: 0 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 28.566169][ T337] Tainted: [W]=WARN [ 28.566170][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 28.566172][ T337] Call Trace: [ 28.566174][ T337] [ 28.566175][ T337] dump_stack_lvl+0x6f/0xa0 [ 28.566181][ T337] ? vprintk_emit+0x31b/0x3e0 [ 28.566183][ T337] __might_resched.cold+0x1fe/0x2c1 [ 28.566188][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 28.566192][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 28.566197][ T337] __kmalloc_noprof+0x443/0x760 [ 28.566199][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 28.566206][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 28.566209][ T337] alloc_buf.isra.0+0x4b/0x260 [ 28.566213][ T337] put_chars+0x1e1/0x2f0 [ 28.566216][ T337] ? __send_to_port+0x420/0x420 [ 28.566218][ T337] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 28.566223][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 28.566225][ T337] ? validate_chain+0x38b/0xc20 [ 28.566230][ T337] hvc_console_print+0x292/0x780 [ 28.566233][ T337] ? __lock_acquire+0x518/0xc20 [ 28.566238][ T337] ? hvc_write+0x3a0/0x3a0 [ 28.566242][ T337] ? rcu_is_watching+0x16/0xd0 [ 28.566247][ T337] console_emit_next_record+0x252/0x4f0 [ 28.566250][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 28.566255][ T337] ? rcu_is_watching+0x16/0xd0 [ 28.566257][ T337] ? lock_acquire+0x13c/0x160 [ 28.566261][ T337] console_flush_one_record+0x46f/0x710 [ 28.566266][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 28.566268][ T337] ? __lock_acquire+0x518/0xc20 [ 28.566273][ T337] console_unlock+0xee/0x1f0 [ 28.566276][ T337] ? console_flush_one_record+0x710/0x710 [ 28.566278][ T337] ? rcu_is_watching+0x16/0xd0 [ 28.566280][ T337] ? lock_acquire+0xa0/0x160 [ 28.566284][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 28.566285][ T337] ? vprintk_emit+0x320/0x3e0 [ 28.566289][ T337] vprintk_emit+0x37c/0x3e0 [ 28.566293][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 28.566296][ T337] ? rcu_gp_is_expedited+0x54/0x70 [ 28.566297][ T337] ? synchronize_rcu+0x22e/0x350 [ 28.566301][ T337] _printk+0xc7/0x100 [ 28.566305][ T337] ? snapshot_read.cold+0x21/0x21 [ 28.566307][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 28.566311][ T337] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 28.566313][ T337] ? lockdep_hardirqs_on+0x91/0x130 [ 28.566317][ T337] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 28.566320][ T337] ? __free_object+0x2ad/0x490 [ 28.566324][ T337] enabled_store.cold+0x178/0x1ae [netconsole] [ 28.566328][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 28.566332][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 28.566334][ T337] ? down_write_killable_nested+0x270/0x270 [ 28.566336][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 28.566338][ T337] ? configfs_write_iter+0x336/0x4b0 [ 28.566342][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 28.566344][ T337] configfs_write_iter+0x2c0/0x4b0 [ 28.566347][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 28.566350][ T337] new_sync_write+0x33e/0x760 [ 28.566353][ T337] ? __lock_acquire+0x518/0xc20 [ 28.566356][ T337] ? new_sync_read+0x750/0x750 [ 28.566360][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 28.566361][ T337] ? ksys_write+0x116/0x250 [ 28.566368][ T337] vfs_write+0x6a2/0xbd0 [ 28.566372][ T337] ksys_write+0x116/0x250 [ 28.566374][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 28.566377][ T337] ? rcu_is_watching+0x16/0xd0 [ 28.566381][ T337] do_syscall_64+0xff/0x530 [ 28.566383][ T337] ? common_interrupt+0x5a/0xf0 [ 28.566386][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 28.566389][ T337] RIP: 0033:0x7ff23d8ff312 [ 28.566392][ 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.566394][ T337] RSP: 002b:00007ffc11fc1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 28.566397][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff23d8ff312 [ 28.566399][ T337] RDX: 0000000000000001 RSI: 0000563cd3f122b0 RDI: 0000000000000009 [ 28.566400][ T337] RBP: 00007ffc11fc18c0 R08: 0000000000000000 R09: 0000000000000000 [ 28.566401][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff23d76c390 [ 28.566402][ T337] R13: 0000563cd3f122b0 R14: 0000000000000009 R15: 00007ff23d6f90d0 [ 28.566409][ T337] [ 29.018278][ T337] netcons test #18-0 [ 29.018278][ T337] netcons test #18-1 [ 29.018278][ T337] netcons test #18-2 [ 29.018278][ T337] netcons test #18-3 [ 29.018278][ T337] netcons test #18-4 [ 29.018278][ T337] netcons test #18-5 [ 29.018278][ T337] netcons test #18-6 [ 29.018278][ T337] netcons test #18-7 [ 29.018278][ T337] netcons test #18-8 [ 29.018278][ T337] netcons test #18-9 [ 29.018278][ T337] netcons test #18-10 [ 29.018278][ T337] netcons test #18-11 [ 29.018278][ T337] netcons test #18-12 [ 29.018278][ T337] netcons test #18-13 [ 29.018278][ T337] netcons test #18-14 [ 29.018278][ T337] netcons test #18-15 [ 29.018278][ T337] netcons test #18-16 [ 29.018278][ T337] netcons test #18-17 [ 29.018278][ T337] netcons test #18-18 [ 29.018278][ T337] netcons test #18-19 [ 29.018278][ T337] netcons test #18-20 [ 29.018278][ T337] netcons test #18-21 [ 29.018278][ T337] netcons test #18-22 [ 29.018278][ T337] netcons test #18-23 [ 29.018278][ T337] netcons test #18-24 [ 29.018278][ T337] netcons test #18-25 [ 29.018278][ T337] netcons test #18-26 [ 29.018278][ T337] netcons test #18-27 [ 29.018278][ T337] netcons test #18-28 [ 29.018278][ T337] netcons test #18-29 [ 29.018278][ T337] netcons test #18-30 [ 29.018278][ T337] netcons test #18-31 [ 29.018278][ T337] netcons test #18-32 [ 29.018278][ T337] netcons test #18-33 [ 29.018278][ T337] netcons test #18-34 [ 29.018278][ T337] netcons test #18-35 [ 29.018278][ T337] netcons test #18-36 [ 29.018278][ T337] netcons test #18-37 [ 29.018278][ T337] netcons test #18-38 [ 29.018278][ T337] netcons test #18-39 [ 29.047827][ T337] netconsole: netconsole: local port 1514 [ 29.048521][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 29.048891][ T337] netconsole: netconsole: interface name 'enp1s0' [ 29.049444][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 29.050098][ T337] netconsole: netconsole: remote port 6666 [ 29.050587][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 29.051432][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 29.080286][ T337] netconsole: network logging started [ 29.511463][ T337] netcons test #19-0 [ 29.511463][ T337] netcons test #19-1 [ 29.511463][ T337] netcons test #19-2 [ 29.511463][ T337] netcons test #19-3 [ 29.511463][ T337] netcons test #19-4 [ 29.511463][ T337] netcons test #19-5 [ 29.511463][ T337] netcons test #19-6 [ 29.511463][ T337] netcons test #19-7 [ 29.511463][ T337] netcons test #19-8 [ 29.511463][ T337] netcons test #19-9 [ 29.511463][ T337] netcons test #19-10 [ 29.511463][ T337] netcons test #19-11 [ 29.511463][ T337] netcons test #19-12 [ 29.511463][ T337] netcons test #19-13 [ 29.511463][ T337] netcons test #19-14 [ 29.511463][ T337] netcons test #19-15 [ 29.511463][ T337] netcons test #19-16 [ 29.511463][ T337] netcons test #19-17 [ 29.511463][ T337] netcons test #19-18 [ 29.511463][ T337] netcons test #19-19 [ 29.511463][ T337] netcons test #19-20 [ 29.511463][ T337] netcons test #19-21 [ 29.511463][ T337] netcons test #19-22 [ 29.511463][ T337] netcons test #19-23 [ 29.511463][ T337] netcons test #19-24 [ 29.511463][ T337] netcons test #19-25 [ 29.511463][ T337] netcons test #19-26 [ 29.511463][ T337] netcons test #19-27 [ 29.511463][ T337] netcons test #19-28 [ 29.511463][ T337] netcons test #19-29 [ 29.511463][ T337] netcons test #19-30 [ 29.511463][ T337] netcons test #19-31 [ 29.511463][ T337] netcons test #19-32 [ 29.511463][ T337] netcons test #19-33 [ 29.511463][ T337] netcons test #19-34 [ 29.511463][ T337] netcons test #19-35 [ 29.511463][ T337] netcons test #19-36 [ 29.511463][ T337] netcons test #19-37 [ 29.511463][ T337] netcons test #19-38 [ 29.511463][ T337] netcons test #19-39 [ 29.527856][ T337] netconsole: netconsole: local port 1514 [ 29.528516][ T337] netconsole: netconsole: local IPv6 address 2001:db8:1::1 [ 29.529168][ T337] netconsole: netconsole: interface name 'enp1s0' [ 29.529720][ T337] netconsole: netconsole: local ethernet address '00:00:00:00:00:00' [ 29.530090][ T337] netconsole: netconsole: remote port 6666 [ 29.530535][ T337] netconsole: netconsole: remote IPv6 address 2001:db8:1::2 [ 29.531205][ T337] netconsole: netconsole: remote ethernet address 00:00:00:00:00:00 [ 29.560800][ T337] netconsole: network logging started [ 29.567421][ T337] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.567426][ T337] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 337, name: python3 [ 29.567428][ T337] preempt_count: 1, expected: 0 [ 29.567430][ T337] RCU nest depth: 0, expected: 0 [ 29.567431][ T337] locks held by python3/337: 9, last CPU#4: [ 29.567433][ T337] #0: ff11000004bbdc30 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x22c/0x310 [ 29.567445][ T337] #1: ff1100000a74c430 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 29.567452][ T337] #2: ff1100000a706280 (&buffer->mutex){+.+.}-{4:4}, at: configfs_write_iter+0x71/0x4b0 [ 29.567457][ T337] #3: ff1100000be70b30 (&p->frag_sem){++++}-{4:4}, at: configfs_write_iter+0x1db/0x4b0 [ 29.567461][ T337] #4: ffffffffc0132880 (dynamic_netconsole_mutex){+.+.}-{4:4}, at: enabled_store+0xa0/0x750 [netconsole] [ 29.567467][ T337] #5: ffffffffad599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.567473][ T337] #6: ffffffffad599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.567477][ T337] #7: ffffffffad489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.567481][ T337] #8: ffffffffad489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 29.567486][ T337] irq event stamp: 598160 [ 29.567488][ T337] hardirqs last enabled at (598159): [] __down_trylock_console_sem+0x86/0xa0 [ 29.567491][ T337] hardirqs last disabled at (598160): [] console_emit_next_record+0x3f8/0x4f0 [ 29.567493][ T337] softirqs last enabled at (598112): [] __alloc_skb+0x4c5/0x5f0 [ 29.567496][ T337] softirqs last disabled at (598110): [] __alloc_skb+0x4c5/0x5f0 [ 29.567498][ T337] Preemption disabled at: [ 29.567499][ T337] [] vprintk_emit+0x31b/0x3e0 [ 29.567505][ T337] CPU: 4 UID: 0 PID: 337 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.567509][ T337] Tainted: [W]=WARN [ 29.567510][ T337] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 29.567511][ T337] Call Trace: [ 29.567513][ T337] [ 29.567514][ T337] dump_stack_lvl+0x6f/0xa0 [ 29.567520][ T337] ? vprintk_emit+0x31b/0x3e0 [ 29.567522][ T337] __might_resched.cold+0x1fe/0x2c1 [ 29.567526][ T337] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.567530][ T337] ? __kmalloc_noprof+0xdb/0x760 [ 29.567535][ T337] __kmalloc_noprof+0x443/0x760 [ 29.567538][ T337] ? alloc_buf.isra.0+0x4b/0x260 [ 29.567544][ T337] ? do_raw_spin_unlock+0x59/0x250 [ 29.567547][ T337] alloc_buf.isra.0+0x4b/0x260 [ 29.567550][ T337] put_chars+0x1e1/0x2f0 [ 29.567553][ T337] ? __send_to_port+0x420/0x420 [ 29.567555][ T337] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 29.567559][ T337] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.567562][ T337] ? validate_chain+0x38b/0xc20 [ 29.567566][ T337] hvc_console_print+0x292/0x780 [ 29.567570][ T337] ? __lock_acquire+0x518/0xc20 [ 29.567575][ T337] ? hvc_write+0x3a0/0x3a0 [ 29.567578][ T337] ? rcu_is_watching+0x16/0xd0 [ 29.567583][ T337] console_emit_next_record+0x252/0x4f0 [ 29.567587][ T337] ? devkmsg_read+0x4e0/0x4e0 [ 29.567592][ T337] ? rcu_is_watching+0x16/0xd0 [ 29.567594][ T337] ? lock_acquire+0x13c/0x160 [ 29.567598][ T337] console_flush_one_record+0x46f/0x710 [ 29.567602][ T337] ? console_emit_next_record+0x4f0/0x4f0 [ 29.567604][ T337] ? __lock_acquire+0x518/0xc20 [ 29.567609][ T337] console_unlock+0xee/0x1f0 [ 29.567612][ T337] ? console_flush_one_record+0x710/0x710 [ 29.567614][ T337] ? rcu_is_watching+0x16/0xd0 [ 29.567616][ T337] ? lock_acquire+0xa0/0x160 [ 29.567620][ T337] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.567622][ T337] ? vprintk_emit+0x320/0x3e0 [ 29.567625][ T337] vprintk_emit+0x37c/0x3e0 [ 29.567629][ T337] ? wake_up_klogd_work_func+0x90/0x90 [ 29.567631][ T337] ? rcu_gp_is_expedited+0x54/0x70 [ 29.567633][ T337] ? synchronize_rcu+0x22e/0x350 [ 29.567637][ T337] _printk+0xc7/0x100 [ 29.567641][ T337] ? snapshot_read.cold+0x21/0x21 [ 29.567642][ T337] ? __lock_release.isra.0+0x69/0x1a0 [ 29.567646][ T337] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 29.567648][ T337] ? lockdep_hardirqs_on+0x91/0x130 [ 29.567652][ T337] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 29.567655][ T337] ? __free_object+0x2ad/0x490 [ 29.567660][ T337] enabled_store.cold+0x178/0x1ae [netconsole] [ 29.567663][ T337] ? __kasan_kmalloc+0x7b/0x90 [ 29.567666][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 29.567668][ T337] ? down_write_killable_nested+0x270/0x270 [ 29.567670][ T337] ? __kmalloc_cache_noprof+0x281/0x620 [ 29.567673][ T337] ? configfs_write_iter+0x336/0x4b0 [ 29.567677][ T337] ? netconsole_write_ext+0x20/0x20 [netconsole] [ 29.567679][ T337] configfs_write_iter+0x2c0/0x4b0 [ 29.567681][ T337] ? configfs_bin_write_iter+0x530/0x530 [ 29.567684][ T337] new_sync_write+0x33e/0x760 [ 29.567690][ T337] ? __lock_acquire+0x518/0xc20 [ 29.567693][ T337] ? new_sync_read+0x750/0x750 [ 29.567696][ T337] ? lock_acquire.part.0+0xd4/0x280 [ 29.567698][ T337] ? ksys_write+0x116/0x250 [ 29.567705][ T337] vfs_write+0x6a2/0xbd0 [ 29.567709][ T337] ksys_write+0x116/0x250 [ 29.567711][ T337] ? __ia32_sys_read+0xc0/0xc0 [ 29.567714][ T337] ? rcu_is_watching+0x16/0xd0 [ 29.567718][ T337] do_syscall_64+0xff/0x530 [ 29.567720][ T337] ? common_interrupt+0x5a/0xf0 [ 29.567723][ T337] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.567726][ T337] RIP: 0033:0x7ff23d8ff312 [ 29.567730][ 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.567731][ T337] RSP: 002b:00007ffc11fc1898 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 29.567734][ T337] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff23d8ff312 [ 29.567736][ T337] RDX: 0000000000000001 RSI: 0000563cd3f122b0 RDI: 0000000000000009 [ 29.567737][ T337] RBP: 00007ffc11fc18c0 R08: 0000000000000000 R09: 0000000000000000 [ 29.567738][ T337] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff23d76c390 [ 29.567739][ T337] R13: 0000563cd3f122b0 R14: 0000000000000009 R15: 00007ff23d6f90d0 [ 29.567746][ T337]