[ 8.665494][ T169] netconsole: network logging started [ 8.665510][ T169] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.665513][ T169] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 169, name: modprobe [ 8.665515][ T169] preempt_count: 1, expected: 0 [ 8.665515][ T169] RCU nest depth: 0, expected: 0 [ 8.665516][ T169] locks held by modprobe/169: 4, last CPU#2: [ 8.665519][ T169] #0: ffffffffb0b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.665530][ T169] #1: ffffffffb0b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.665534][ T169] #2: ffffffffb0a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.665537][ T169] #3: ffffffffb0a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.665541][ T169] irq event stamp: 30606 [ 8.665542][ T169] hardirqs last enabled at (30605): [] __down_trylock_console_sem+0x86/0xa0 [ 8.665544][ T169] hardirqs last disabled at (30606): [] console_emit_next_record+0x3f8/0x4f0 [ 8.665546][ T169] softirqs last enabled at (29054): [] handle_softirqs+0x67c/0x900 [ 8.665549][ T169] softirqs last disabled at (29049): [] __irq_exit_rcu+0x145/0x1c0 [ 8.665552][ T169] Preemption disabled at: [ 8.665553][ T169] [] vprintk_emit+0x31b/0x3e0 [ 8.665558][ T169] CPU: 2 UID: 0 PID: 169 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.665562][ T169] Tainted: [W]=WARN [ 8.665562][ T169] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.665564][ T169] Call Trace: [ 8.665566][ T169] [ 8.665568][ T169] dump_stack_lvl+0x6f/0xa0 [ 8.665572][ T169] ? vprintk_emit+0x31b/0x3e0 [ 8.665574][ T169] __might_resched.cold+0x1fe/0x2c1 [ 8.665579][ T169] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.665582][ T169] ? __kmalloc_noprof+0xdb/0x760 [ 8.665587][ T169] __kmalloc_noprof+0x443/0x760 [ 8.665589][ T169] ? alloc_buf.isra.0+0x4b/0x260 [ 8.665594][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 8.665596][ T169] alloc_buf.isra.0+0x4b/0x260 [ 8.665599][ T169] put_chars+0x1e1/0x2f0 [ 8.665602][ T169] ? __send_to_port+0x420/0x420 [ 8.665605][ T169] ? validate_chain+0x38b/0xc20 [ 8.665609][ T169] hvc_console_print+0x292/0x780 [ 8.665615][ T169] ? hvc_write+0x3a0/0x3a0 [ 8.665618][ T169] ? rcu_is_watching+0x16/0xd0 [ 8.665621][ T169] ? lock_acquire+0x13c/0x160 [ 8.665624][ T169] console_emit_next_record+0x252/0x4f0 [ 8.665628][ T169] ? devkmsg_read+0x4e0/0x4e0 [ 8.665632][ T169] ? rcu_is_watching+0x16/0xd0 [ 8.665634][ T169] ? lock_acquire+0x13c/0x160 [ 8.665638][ T169] console_flush_one_record+0x46f/0x710 [ 8.665641][ T169] ? console_emit_next_record+0x4f0/0x4f0 [ 8.665643][ T169] ? __lock_acquire+0x518/0xc20 [ 8.665647][ T169] console_unlock+0xee/0x1f0 [ 8.665650][ T169] ? console_flush_one_record+0x710/0x710 [ 8.665651][ T169] ? rcu_is_watching+0x16/0xd0 [ 8.665653][ T169] ? lock_acquire+0x60/0x160 [ 8.665657][ T169] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.665658][ T169] ? vprintk_emit+0x320/0x3e0 [ 8.665661][ T169] vprintk_emit+0x37c/0x3e0 [ 8.665664][ T169] ? wake_up_klogd_work_func+0x90/0x90 [ 8.665666][ T169] ? find_held_lock+0x2b/0x80 [ 8.665670][ T169] ? __lock_release.isra.0+0x69/0x1a0 [ 8.665671][ T169] ? fast_dput+0x316/0x540 [ 8.665676][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.665680][ T169] _printk+0xc7/0x100 [ 8.665684][ T169] ? snapshot_read.cold+0x21/0x21 [ 8.665686][ T169] ? __up_write+0x2e5/0x5f0 [ 8.665689][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.665693][ T169] ? configfs_register_subsystem+0x340/0x570 [ 8.665698][ T169] init_netconsole+0x4a8/0x1000 [netconsole] [ 8.665701][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.665707][ T169] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.665710][ T169] do_one_initcall+0x124/0x4f0 [ 8.665713][ T169] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 8.665718][ T169] ? do_init_module+0xae/0x8a0 [ 8.665721][ T169] ? kasan_unpoison+0x44/0x70 [ 8.665726][ T169] do_init_module+0x2ad/0x8a0 [ 8.665730][ T169] ? lockdep_hardirqs_on+0x91/0x130 [ 8.665734][ T169] ? free_module+0x470/0x470 [ 8.665736][ T169] ? kfree+0x123/0x590 [ 8.665740][ T169] load_module+0x1424/0x1bb0 [ 8.665747][ T169] ? layout_and_allocate.isra.0+0x680/0x680 [ 8.665750][ T169] ? __ia32_sys_fsconfig+0x180/0x180 [ 8.665753][ T169] ? ovl_real_file+0x172/0x1e0 [ 8.665757][ T169] ? backing_file_read_iter+0x541/0x790 [ 8.665760][ T169] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.665764][ T169] init_module_from_file+0x11f/0x1a0 [ 8.665767][ T169] ? __do_sys_init_module+0x220/0x220 [ 8.665774][ T169] ? __rwlock_init+0x150/0x150 [ 8.665778][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 8.665780][ T169] idempotent_init_module+0x37b/0x7c0 [ 8.665784][ T169] ? init_module_from_file+0x1a0/0x1a0 [ 8.665790][ T169] ? rcu_is_watching+0x16/0xd0 [ 8.665792][ T169] ? cap_capable+0x1d7/0x3d0 [ 8.665798][ T169] __x64_sys_finit_module+0xdf/0x190 [ 8.665800][ T169] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.665804][ T169] do_syscall_64+0xff/0x530 [ 8.665805][ T169] ? exc_page_fault+0xee/0x100 [ 8.665808][ T169] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.665810][ T169] RIP: 0033:0x7ff9c22a037d [ 8.665814][ T169] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 8.665816][ T169] RSP: 002b:00007fff77b9af28 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 8.665818][ T169] RAX: ffffffffffffffda RBX: 000055d1fe948700 RCX: 00007ff9c22a037d [ 8.665820][ T169] RDX: 0000000000000000 RSI: 000055d1f9fc7ffd RDI: 0000000000000005 [ 8.665820][ T169] RBP: 00007fff77b9afc0 R08: 0000000000000000 R09: 0000000000000000 [ 8.665821][ T169] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d1f9fc7ffd [ 8.665822][ T169] R13: 000055d1fe948810 R14: 0000000000040000 R15: 0000000000000000 [ 8.665829][ T169] [ 10.883387][ T157] MSG1=MSG2=MSG3=MSG4=MSG5=MSG6=MSG7=MSG8=MSG9=MSG10=MSG11=MSG12=MSG13=MSG14=MSG15=MSG16=MSG17=MSG18=MSG19=MSG20=MSG21=MSG22=MSG23=MSG24=MSG25=MSG26=MSG27=MSG28=MSG29=MSG30=MSG31=MSG32=MSG33=MSG34=MSG35=MSG36=MSG37=MSG38=MSG39=MSG40=MSG41=MSG42=MSG43=MSG44=MSG45=MSG46=MSG47=MSG48=MSG49=MSG50=MSG51=MSG52=MSG53=MSG54=MSG55=MSG56=MSG57=MSG58=MSG59=MSG60=MSG61=MSG62=MSG63=MSG64=MSG65=MSG66=MSG67=MSG68=MSG69=MSG70=MSG71=MSG72=MSG73=MSG74=MSG75=MSG76=MSG77=MSG78=MSG79=MSG80=MSG81=MSG82=MSG83=MSG84=MSG85=MSG86=MSG87=MSG88=MSG89=MSG90=MSG91=MSG92=MSG93=MSG94=MSG95=MSG96=MSG97=MSG98=MSG99=MSG100=MSG101=MSG102=MSG103=MSG104=MSG105=MSG106=MSG107=MSG108=MSG109=MSG110=MSG111=MSG112=MSG113=MSG114=MSG115=MSG116=MSG117=MSG118=MSG119=MSG120=MSG121=MSG122=MSG123=MSG124=MSG125=MSG126=MSG127=MSG128=MSG129=MSG130=MSG131=MSG132=MSG133=MSG134=MSG135=MSG136=MSG137=MSG138=MSG139=MSG140=MSG141=MSG142=MSG143=MSG144=MSG145=MSG146=MSG147=MSG148=MSG149=MSG150=: netcons_HWQ1U [ 10.883410][ T157] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.883413][ T157] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 157, name: bash [ 10.883414][ T157] preempt_count: 1, expected: 0 [ 10.883415][ T157] RCU nest depth: 0, expected: 0 [ 10.883416][ T157] locks held by bash/157: 4, last CPU#0: [ 10.883419][ T157] #0: ffffffffb0b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.883431][ T157] #1: ffffffffb0b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.883436][ T157] #2: ffffffffb0a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.883440][ T157] #3: ffffffffb0a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.883444][ T157] irq event stamp: 159142 [ 10.883445][ T157] hardirqs last enabled at (159141): [] __down_trylock_console_sem+0x86/0xa0 [ 10.883448][ T157] hardirqs last disabled at (159142): [] console_emit_next_record+0x3f8/0x4f0 [ 10.883449][ T157] softirqs last enabled at (159130): [] handle_softirqs+0x67c/0x900 [ 10.883453][ T157] softirqs last disabled at (159125): [] __irq_exit_rcu+0x145/0x1c0 [ 10.883456][ T157] Preemption disabled at: [ 10.883457][ T157] [] vprintk_emit+0x31b/0x3e0 [ 10.883462][ T157] CPU: 0 UID: 0 PID: 157 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.883466][ T157] Tainted: [W]=WARN [ 10.883467][ T157] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.883468][ T157] Call Trace: [ 10.883470][ T157] [ 10.883472][ T157] dump_stack_lvl+0x6f/0xa0 [ 10.883477][ T157] ? vprintk_emit+0x31b/0x3e0 [ 10.883479][ T157] __might_resched.cold+0x1fe/0x2c1 [ 10.883483][ T157] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.883486][ T157] ? __kmalloc_noprof+0xdb/0x760 [ 10.883491][ T157] __kmalloc_noprof+0x443/0x760 [ 10.883493][ T157] ? alloc_buf.isra.0+0x4b/0x260 [ 10.883498][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 10.883500][ T157] alloc_buf.isra.0+0x4b/0x260 [ 10.883503][ T157] put_chars+0x1e1/0x2f0 [ 10.883506][ T157] ? __send_to_port+0x420/0x420 [ 10.883507][ T157] ? printk_get_next_message+0x2fe/0x7d0 [ 10.883510][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.883513][ T157] ? validate_chain+0x38b/0xc20 [ 10.883517][ T157] hvc_console_print+0x292/0x780 [ 10.883520][ T157] ? __lock_acquire+0x518/0xc20 [ 10.883521][ T157] ? __lock_acquire+0x518/0xc20 [ 10.883525][ T157] ? hvc_write+0x3a0/0x3a0 [ 10.883528][ T157] ? rcu_is_watching+0x16/0xd0 [ 10.883531][ T157] ? lock_acquire+0x13c/0x160 [ 10.883534][ T157] console_emit_next_record+0x252/0x4f0 [ 10.883538][ T157] ? devkmsg_read+0x4e0/0x4e0 [ 10.883542][ T157] ? rcu_is_watching+0x16/0xd0 [ 10.883544][ T157] ? lock_acquire+0x13c/0x160 [ 10.883548][ T157] console_flush_one_record+0x46f/0x710 [ 10.883551][ T157] ? console_emit_next_record+0x4f0/0x4f0 [ 10.883553][ T157] ? __lock_acquire+0x518/0xc20 [ 10.883558][ T157] console_unlock+0xee/0x1f0 [ 10.883560][ T157] ? console_flush_one_record+0x710/0x710 [ 10.883562][ T157] ? rcu_is_watching+0x16/0xd0 [ 10.883564][ T157] ? lock_acquire+0x60/0x160 [ 10.883567][ T157] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.883568][ T157] ? vprintk_emit+0x320/0x3e0 [ 10.883571][ T157] vprintk_emit+0x37c/0x3e0 [ 10.883574][ T157] ? wake_up_klogd_work_func+0x90/0x90 [ 10.883577][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 10.883583][ T157] devkmsg_emit.constprop.0+0xbc/0xf1 [ 10.883587][ T157] ? vprintk_emit.cold+0x107/0x107 [ 10.883591][ T157] ? __kmalloc_noprof+0x302/0x760 [ 10.883592][ T157] ? idr_get_free+0x830/0x830 [ 10.883596][ T157] ? devkmsg_write+0xd1/0x2c0 [ 10.883599][ T157] ? _copy_from_iter+0x1bb/0x1810 [ 10.883602][ T157] devkmsg_write.cold+0x5a/0x8b [ 10.883605][ T157] ? vprintk_default+0x20/0x20 [ 10.883606][ T157] ? __lock_acquire+0x518/0xc20 [ 10.883608][ T157] ? vfs_lock_file+0x1b0/0x1b0 [ 10.883612][ T157] ? vprintk_default+0x20/0x20 [ 10.883615][ T157] new_sync_write+0x33e/0x760 [ 10.883619][ T157] ? new_sync_read+0x750/0x750 [ 10.883621][ T157] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.883628][ T157] vfs_write+0x6a2/0xbd0 [ 10.883632][ T157] ksys_write+0x116/0x250 [ 10.883635][ T157] ? __ia32_sys_read+0xc0/0xc0 [ 10.883637][ T157] ? do_raw_spin_unlock+0x59/0x250 [ 10.883639][ T157] ? rcu_is_watching+0x16/0xd0 [ 10.883643][ T157] do_syscall_64+0xff/0x530 [ 10.883645][ T157] ? exc_page_fault+0xee/0x100 [ 10.883648][ T157] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.883650][ T157] RIP: 0033:0x7ff21fdff54e [ 10.883654][ T157] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 10.883656][ T157] RSP: 002b:00007ffd262c5980 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 10.883659][ T157] RAX: ffffffffffffffda RBX: 00007ff21ff80580 RCX: 00007ff21fdff54e [ 10.883661][ T157] RDX: 00000000000003be RSI: 0000563bc8aed390 RDI: 0000000000000001 [ 10.883662][ T157] RBP: 00007ffd262c5990 R08: 0000000000000000 R09: 0000000000000000 [ 10.883663][ T157] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000003be [ 10.883664][ T157] R13: 00000000000003be R14: 0000563bc8aed390 R15: 0000000000000000 [ 10.883670][ T157] [ 11.120352][ T157] FOOBAR1=FOOBAR2=FOOBAR3=FOOBAR4=FOOBAR5=FOOBAR6=FOOBAR7=FOOBAR8=FOOBAR9=FOOBAR10=FOOBAR11=FOOBAR12=FOOBAR13=FOOBAR14=FOOBAR15=FOOBAR16=FOOBAR17=FOOBAR18=FOOBAR19=FOOBAR20=FOOBAR21=FOOBAR22=FOOBAR23=FOOBAR24=FOOBAR25=FOOBAR26=FOOBAR27=FOOBAR28=FOOBAR29=FOOBAR30=FOOBAR31=FOOBAR32=FOOBAR33=FOOBAR34=FOOBAR35=FOOBAR36=FOOBAR37=FOOBAR38=FOOBAR39=FOOBAR40=FOOBAR41=FOOBAR42=FOOBAR43=FOOBAR44=FOOBAR45=FOOBAR46=FOOBAR47=FOOBAR48=FOOBAR49=FOOBAR50=FOOBAR51=FOOBAR52=FOOBAR53=FOOBAR54=FOOBAR55=FOOBAR56=FOOBAR57=FOOBAR58=FOOBAR59=FOOBAR60=FOOBAR61=FOOBAR62=FOOBAR63=FOOBAR64=FOOBAR65=FOOBAR66=FOOBAR67=FOOBAR68=FOOBAR69=FOOBAR70=FOOBAR71=FOOBAR72=FOOBAR73=FOOBAR74=FOOBAR75=FOOBAR76=FOOBAR77=FOOBAR78=FOOBAR79=FOOBAR80=FOOBAR81=FOOBAR82=FOOBAR83=FOOBAR84=FOOBAR85=FOOBAR86=FOOBAR87=FOOBAR88=FOOBAR89=FOOBAR90=FOOBAR91=FOOBAR92=FOOBAR93=FOOBAR94=FOOBAR95=FOOBAR96=FOOBAR97=FOOBAR98=FOOBAR99=FOOBAR100=: netcons_HWQ1U