[ 8.806874][ T170] netconsole: network logging started [ 8.806889][ T170] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.806891][ T170] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 170, name: modprobe [ 8.806892][ T170] preempt_count: 1, expected: 0 [ 8.806893][ T170] RCU nest depth: 0, expected: 0 [ 8.806894][ T170] locks held by modprobe/170: 4, last CPU#2: [ 8.806897][ T170] #0: ffffffff9ed99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.806908][ T170] #1: ffffffff9ed99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.806912][ T170] #2: ffffffff9ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.806916][ T170] #3: ffffffff9ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.806919][ T170] irq event stamp: 33556 [ 8.806920][ T170] hardirqs last enabled at (33555): [] __down_trylock_console_sem+0x86/0xa0 [ 8.806922][ T170] hardirqs last disabled at (33556): [] console_emit_next_record+0x3f8/0x4f0 [ 8.806924][ T170] softirqs last enabled at (32952): [] handle_softirqs+0x67c/0x900 [ 8.806927][ T170] softirqs last disabled at (32945): [] __irq_exit_rcu+0x145/0x1c0 [ 8.806930][ T170] Preemption disabled at: [ 8.806931][ T170] [] vprintk_emit+0x31b/0x3e0 [ 8.806935][ T170] CPU: 2 UID: 0 PID: 170 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.806939][ T170] Tainted: [W]=WARN [ 8.806940][ T170] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.806941][ T170] Call Trace: [ 8.806943][ T170] [ 8.806944][ T170] dump_stack_lvl+0x6f/0xa0 [ 8.806949][ T170] ? vprintk_emit+0x31b/0x3e0 [ 8.806951][ T170] __might_resched.cold+0x1fe/0x2c1 [ 8.806956][ T170] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.806959][ T170] ? __kmalloc_noprof+0xdb/0x760 [ 8.806964][ T170] __kmalloc_noprof+0x443/0x760 [ 8.806966][ T170] ? alloc_buf.isra.0+0x4b/0x260 [ 8.806971][ T170] ? do_raw_spin_unlock+0x59/0x250 [ 8.806974][ T170] alloc_buf.isra.0+0x4b/0x260 [ 8.806976][ T170] put_chars+0x1e1/0x2f0 [ 8.806979][ T170] ? __send_to_port+0x420/0x420 [ 8.806982][ T170] ? validate_chain+0x38b/0xc20 [ 8.806987][ T170] hvc_console_print+0x292/0x780 [ 8.806993][ T170] ? hvc_write+0x3a0/0x3a0 [ 8.806995][ T170] ? rcu_is_watching+0x16/0xd0 [ 8.806998][ T170] ? lock_acquire+0x13c/0x160 [ 8.807002][ T170] console_emit_next_record+0x252/0x4f0 [ 8.807005][ T170] ? devkmsg_read+0x4e0/0x4e0 [ 8.807009][ T170] ? rcu_is_watching+0x16/0xd0 [ 8.807011][ T170] ? lock_acquire+0x13c/0x160 [ 8.807015][ T170] console_flush_one_record+0x46f/0x710 [ 8.807019][ T170] ? console_emit_next_record+0x4f0/0x4f0 [ 8.807020][ T170] ? __lock_acquire+0x518/0xc20 [ 8.807025][ T170] console_unlock+0xee/0x1f0 [ 8.807027][ T170] ? console_flush_one_record+0x710/0x710 [ 8.807029][ T170] ? rcu_is_watching+0x16/0xd0 [ 8.807031][ T170] ? lock_acquire+0x60/0x160 [ 8.807034][ T170] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.807035][ T170] ? vprintk_emit+0x320/0x3e0 [ 8.807042][ T170] vprintk_emit+0x37c/0x3e0 [ 8.807046][ T170] ? wake_up_klogd_work_func+0x90/0x90 [ 8.807048][ T170] ? find_held_lock+0x2b/0x80 [ 8.807051][ T170] ? __lock_release.isra.0+0x69/0x1a0 [ 8.807053][ T170] ? fast_dput+0x316/0x540 [ 8.807057][ T170] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.807061][ T170] _printk+0xc7/0x100 [ 8.807065][ T170] ? snapshot_read.cold+0x21/0x21 [ 8.807067][ T170] ? __up_write+0x2e5/0x5f0 [ 8.807071][ T170] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.807074][ T170] ? configfs_register_subsystem+0x340/0x570 [ 8.807079][ T170] init_netconsole+0x4a8/0x1000 [netconsole] [ 8.807083][ T170] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.807089][ T170] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 8.807092][ T170] do_one_initcall+0x124/0x4f0 [ 8.807095][ T170] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 8.807100][ T170] ? do_init_module+0xae/0x8a0 [ 8.807103][ T170] ? kasan_unpoison+0x44/0x70 [ 8.807108][ T170] do_init_module+0x2ad/0x8a0 [ 8.807112][ T170] ? lockdep_hardirqs_on+0x91/0x130 [ 8.807116][ T170] ? free_module+0x470/0x470 [ 8.807118][ T170] ? kfree+0x123/0x590 [ 8.807122][ T170] load_module+0x1424/0x1bb0 [ 8.807128][ T170] ? layout_and_allocate.isra.0+0x680/0x680 [ 8.807132][ T170] ? __ia32_sys_fsconfig+0x180/0x180 [ 8.807135][ T170] ? ovl_real_file+0x172/0x1e0 [ 8.807138][ T170] ? find_held_lock+0x2b/0x80 [ 8.807140][ T170] ? backing_file_read_iter+0x541/0x790 [ 8.807144][ T170] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.807147][ T170] init_module_from_file+0x11f/0x1a0 [ 8.807151][ T170] ? __do_sys_init_module+0x220/0x220 [ 8.807158][ T170] ? __rwlock_init+0x150/0x150 [ 8.807161][ T170] ? do_raw_spin_unlock+0x59/0x250 [ 8.807164][ T170] idempotent_init_module+0x37b/0x7c0 [ 8.807167][ T170] ? init_module_from_file+0x1a0/0x1a0 [ 8.807173][ T170] ? rcu_is_watching+0x16/0xd0 [ 8.807175][ T170] ? cap_capable+0x1d7/0x3d0 [ 8.807180][ T170] __x64_sys_finit_module+0xdf/0x190 [ 8.807182][ T170] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.807186][ T170] do_syscall_64+0xff/0x530 [ 8.807188][ T170] ? exc_page_fault+0xee/0x100 [ 8.807191][ T170] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.807193][ T170] RIP: 0033:0x7fb6cf41b37d [ 8.807196][ T170] 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.807198][ T170] RSP: 002b:00007fffdcea2df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 8.807200][ T170] RAX: ffffffffffffffda RBX: 0000560c66f0f700 RCX: 00007fb6cf41b37d [ 8.807202][ T170] RDX: 0000000000000000 RSI: 0000560c3fcd2ffd RDI: 0000000000000005 [ 8.807203][ T170] RBP: 00007fffdcea2e90 R08: 0000000000000000 R09: 0000000000000000 [ 8.807204][ T170] R10: 0000000000000000 R11: 0000000000000246 R12: 0000560c3fcd2ffd [ 8.807204][ T170] R13: 0000560c66f0f810 R14: 0000000000040000 R15: 0000000000000000 [ 8.807211][ T170] [ 10.815091][ T158] 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_A1rqi [ 10.815501][ T158] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.815503][ T158] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 158, name: bash [ 10.815505][ T158] preempt_count: 1, expected: 0 [ 10.815506][ T158] RCU nest depth: 0, expected: 0 [ 10.815507][ T158] locks held by bash/158: 4, last CPU#2: [ 10.815509][ T158] #0: ffffffff9ed99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.815522][ T158] #1: ffffffff9ed99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.815527][ T158] #2: ffffffff9ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.815530][ T158] #3: ffffffff9ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.815535][ T158] irq event stamp: 152970 [ 10.815536][ T158] hardirqs last enabled at (152969): [] __down_trylock_console_sem+0x86/0xa0 [ 10.815539][ T158] hardirqs last disabled at (152970): [] console_emit_next_record+0x3f8/0x4f0 [ 10.815540][ T158] softirqs last enabled at (152720): [] restore_fpregs_from_user+0x1cf/0x490 [ 10.815544][ T158] softirqs last disabled at (152718): [] restore_fpregs_from_user+0xc3/0x490 [ 10.815546][ T158] Preemption disabled at: [ 10.815547][ T158] [] vprintk_emit+0x31b/0x3e0 [ 10.815552][ T158] CPU: 2 UID: 0 PID: 158 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.815555][ T158] Tainted: [W]=WARN [ 10.815556][ T158] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.815558][ T158] Call Trace: [ 10.815560][ T158] [ 10.815561][ T158] dump_stack_lvl+0x6f/0xa0 [ 10.815566][ T158] ? vprintk_emit+0x31b/0x3e0 [ 10.815568][ T158] __might_resched.cold+0x1fe/0x2c1 [ 10.815573][ T158] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.815577][ T158] ? __kmalloc_noprof+0xdb/0x760 [ 10.815581][ T158] __kmalloc_noprof+0x443/0x760 [ 10.815583][ T158] ? alloc_buf.isra.0+0x4b/0x260 [ 10.815589][ T158] ? do_raw_spin_unlock+0x59/0x250 [ 10.815591][ T158] alloc_buf.isra.0+0x4b/0x260 [ 10.815594][ T158] put_chars+0x1e1/0x2f0 [ 10.815597][ T158] ? __send_to_port+0x420/0x420 [ 10.815599][ T158] ? printk_get_next_message+0x2fe/0x7d0 [ 10.815602][ T158] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.815605][ T158] ? validate_chain+0x38b/0xc20 [ 10.815609][ T158] hvc_console_print+0x292/0x780 [ 10.815612][ T158] ? __lock_acquire+0x518/0xc20 [ 10.815613][ T158] ? __lock_acquire+0x518/0xc20 [ 10.815617][ T158] ? hvc_write+0x3a0/0x3a0 [ 10.815620][ T158] ? rcu_is_watching+0x16/0xd0 [ 10.815623][ T158] ? lock_acquire+0x13c/0x160 [ 10.815627][ T158] console_emit_next_record+0x252/0x4f0 [ 10.815630][ T158] ? devkmsg_read+0x4e0/0x4e0 [ 10.815634][ T158] ? rcu_is_watching+0x16/0xd0 [ 10.815637][ T158] ? lock_acquire+0x13c/0x160 [ 10.815640][ T158] console_flush_one_record+0x46f/0x710 [ 10.815644][ T158] ? console_emit_next_record+0x4f0/0x4f0 [ 10.815646][ T158] ? __lock_acquire+0x518/0xc20 [ 10.815650][ T158] console_unlock+0xee/0x1f0 [ 10.815653][ T158] ? console_flush_one_record+0x710/0x710 [ 10.815655][ T158] ? rcu_is_watching+0x16/0xd0 [ 10.815657][ T158] ? lock_acquire+0x60/0x160 [ 10.815660][ T158] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.815661][ T158] ? vprintk_emit+0x320/0x3e0 [ 10.815665][ T158] vprintk_emit+0x37c/0x3e0 [ 10.815668][ T158] ? wake_up_klogd_work_func+0x90/0x90 [ 10.815671][ T158] ? _copy_from_iter+0x1bb/0x1810 [ 10.815676][ T158] devkmsg_emit.constprop.0+0xbc/0xf1 [ 10.815681][ T158] ? vprintk_emit.cold+0x107/0x107 [ 10.815684][ T158] ? __kmalloc_noprof+0x302/0x760 [ 10.815686][ T158] ? idr_get_free+0x830/0x830 [ 10.815690][ T158] ? devkmsg_write+0xd1/0x2c0 [ 10.815693][ T158] ? _copy_from_iter+0x1bb/0x1810 [ 10.815696][ T158] devkmsg_write.cold+0x5a/0x8b [ 10.815698][ T158] ? vprintk_default+0x20/0x20 [ 10.815700][ T158] ? __lock_acquire+0x518/0xc20 [ 10.815702][ T158] ? vfs_lock_file+0x1b0/0x1b0 [ 10.815706][ T158] ? vprintk_default+0x20/0x20 [ 10.815709][ T158] new_sync_write+0x33e/0x760 [ 10.815714][ T158] ? new_sync_read+0x750/0x750 [ 10.815715][ T158] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.815723][ T158] vfs_write+0x6a2/0xbd0 [ 10.815727][ T158] ksys_write+0x116/0x250 [ 10.815730][ T158] ? __ia32_sys_read+0xc0/0xc0 [ 10.815732][ T158] ? do_raw_spin_unlock+0x59/0x250 [ 10.815734][ T158] ? rcu_is_watching+0x16/0xd0 [ 10.815737][ T158] do_syscall_64+0xff/0x530 [ 10.815740][ T158] ? exc_page_fault+0xee/0x100 [ 10.815743][ T158] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.815745][ T158] RIP: 0033:0x7f64499d554e [ 10.815749][ T158] 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.815750][ T158] RSP: 002b:00007ffdbb5d5b10 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 10.815753][ T158] RAX: ffffffffffffffda RBX: 00007f6449b56580 RCX: 00007f64499d554e [ 10.815755][ T158] RDX: 00000000000003be RSI: 00005626d6579390 RDI: 0000000000000001 [ 10.815756][ T158] RBP: 00007ffdbb5d5b20 R08: 0000000000000000 R09: 0000000000000000 [ 10.815757][ T158] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000003be [ 10.815758][ T158] R13: 00000000000003be R14: 00005626d6579390 R15: 0000000000000000 [ 10.815764][ T158] [ 11.067622][ T158] 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_A1rqi