[ 9.894251][ T171] netconsole: network logging started [ 9.894267][ T171] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.894269][ T171] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 171, name: modprobe [ 9.894271][ T171] preempt_count: 1, expected: 0 [ 9.894272][ T171] RCU nest depth: 0, expected: 0 [ 9.894273][ T171] locks held by modprobe/171: 4, last CPU#0: [ 9.894276][ T171] #0: ffffffff9a799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.894287][ T171] #1: ffffffff9a799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.894292][ T171] #2: ffffffff9a689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.894295][ T171] #3: ffffffff9a689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.894299][ T171] irq event stamp: 31064 [ 9.894300][ T171] hardirqs last enabled at (31063): [] __down_trylock_console_sem+0x86/0xa0 [ 9.894302][ T171] hardirqs last disabled at (31064): [] console_emit_next_record+0x3f8/0x4f0 [ 9.894303][ T171] softirqs last enabled at (31058): [] handle_softirqs+0x67c/0x900 [ 9.894307][ T171] softirqs last disabled at (31051): [] __irq_exit_rcu+0x145/0x1c0 [ 9.894310][ T171] Preemption disabled at: [ 9.894311][ T171] [] vprintk_emit+0x31b/0x3e0 [ 9.894316][ T171] CPU: 0 UID: 0 PID: 171 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.894319][ T171] Tainted: [W]=WARN [ 9.894320][ T171] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.894322][ T171] Call Trace: [ 9.894323][ T171] [ 9.894325][ T171] dump_stack_lvl+0x6f/0xa0 [ 9.894331][ T171] ? vprintk_emit+0x31b/0x3e0 [ 9.894333][ T171] __might_resched.cold+0x1fe/0x2c1 [ 9.894337][ T171] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.894341][ T171] ? __kmalloc_noprof+0xdb/0x760 [ 9.894346][ T171] __kmalloc_noprof+0x443/0x760 [ 9.894348][ T171] ? alloc_buf.isra.0+0x4b/0x260 [ 9.894354][ T171] ? do_raw_spin_unlock+0x59/0x250 [ 9.894356][ T171] alloc_buf.isra.0+0x4b/0x260 [ 9.894359][ T171] put_chars+0x1e1/0x2f0 [ 9.894362][ T171] ? __send_to_port+0x420/0x420 [ 9.894365][ T171] ? validate_chain+0x38b/0xc20 [ 9.894370][ T171] hvc_console_print+0x292/0x780 [ 9.894376][ T171] ? hvc_write+0x3a0/0x3a0 [ 9.894378][ T171] ? rcu_is_watching+0x16/0xd0 [ 9.894382][ T171] ? lock_acquire+0x13c/0x160 [ 9.894385][ T171] console_emit_next_record+0x252/0x4f0 [ 9.894389][ T171] ? devkmsg_read+0x4e0/0x4e0 [ 9.894393][ T171] ? rcu_is_watching+0x16/0xd0 [ 9.894395][ T171] ? lock_acquire+0x13c/0x160 [ 9.894399][ T171] console_flush_one_record+0x46f/0x710 [ 9.894403][ T171] ? console_emit_next_record+0x4f0/0x4f0 [ 9.894405][ T171] ? __lock_acquire+0x518/0xc20 [ 9.894410][ T171] console_unlock+0xee/0x1f0 [ 9.894412][ T171] ? console_flush_one_record+0x710/0x710 [ 9.894414][ T171] ? rcu_is_watching+0x16/0xd0 [ 9.894416][ T171] ? lock_acquire+0x60/0x160 [ 9.894419][ T171] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.894421][ T171] ? vprintk_emit+0x320/0x3e0 [ 9.894424][ T171] vprintk_emit+0x37c/0x3e0 [ 9.894427][ T171] ? wake_up_klogd_work_func+0x90/0x90 [ 9.894430][ T171] ? configfs_register_subsystem+0x340/0x570 [ 9.894436][ T171] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 9.894440][ T171] _printk+0xc7/0x100 [ 9.894444][ T171] ? snapshot_read.cold+0x21/0x21 [ 9.894447][ T171] ? __up_write+0x2e5/0x5f0 [ 9.894451][ T171] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 9.894455][ T171] ? configfs_register_subsystem+0x340/0x570 [ 9.894458][ T171] init_netconsole+0x4a8/0x1000 [netconsole] [ 9.894461][ T171] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 9.894468][ T171] ? cleanup_netconsole+0x1140/0x1140 [netconsole] [ 9.894470][ T171] do_one_initcall+0x124/0x4f0 [ 9.894474][ T171] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.894479][ T171] ? do_init_module+0xae/0x8a0 [ 9.894482][ T171] ? kasan_unpoison+0x44/0x70 [ 9.894488][ T171] do_init_module+0x2ad/0x8a0 [ 9.894491][ T171] ? lockdep_hardirqs_on+0x91/0x130 [ 9.894496][ T171] ? free_module+0x470/0x470 [ 9.894499][ T171] ? kfree+0x123/0x590 [ 9.894503][ T171] load_module+0x1424/0x1bb0 [ 9.894510][ T171] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.894513][ T171] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.894516][ T171] ? ovl_real_file+0x172/0x1e0 [ 9.894520][ T171] ? backing_file_read_iter+0x541/0x790 [ 9.894524][ T171] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.894528][ T171] init_module_from_file+0x11f/0x1a0 [ 9.894531][ T171] ? __do_sys_init_module+0x220/0x220 [ 9.894539][ T171] ? __rwlock_init+0x150/0x150 [ 9.894542][ T171] ? do_raw_spin_unlock+0x59/0x250 [ 9.894545][ T171] idempotent_init_module+0x37b/0x7c0 [ 9.894549][ T171] ? init_module_from_file+0x1a0/0x1a0 [ 9.894555][ T171] ? rcu_is_watching+0x16/0xd0 [ 9.894557][ T171] ? cap_capable+0x1d7/0x3d0 [ 9.894563][ T171] __x64_sys_finit_module+0xdf/0x190 [ 9.894565][ T171] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.894569][ T171] do_syscall_64+0xff/0x530 [ 9.894571][ T171] ? exc_page_fault+0xee/0x100 [ 9.894574][ T171] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.894576][ T171] RIP: 0033:0x7fdb9e4a137d [ 9.894579][ T171] 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 [ 9.894581][ T171] RSP: 002b:00007fff8410c4c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.894584][ T171] RAX: ffffffffffffffda RBX: 000055e34e0be700 RCX: 00007fdb9e4a137d [ 9.894585][ T171] RDX: 0000000000000000 RSI: 000055e30f759ffd RDI: 0000000000000005 [ 9.894586][ T171] RBP: 00007fff8410c560 R08: 0000000000000000 R09: 0000000000000000 [ 9.894587][ T171] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e30f759ffd [ 9.894587][ T171] R13: 000055e34e0be810 R14: 0000000000040000 R15: 0000000000000000 [ 9.894594][ T171] [ 12.280119][ T159] 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_J6o3M [ 12.280146][ T159] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.280148][ T159] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 159, name: bash [ 12.280150][ T159] preempt_count: 1, expected: 0 [ 12.280151][ T159] RCU nest depth: 0, expected: 0 [ 12.280152][ T159] locks held by bash/159: 4, last CPU#0: [ 12.280155][ T159] #0: ffffffff9a799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.280168][ T159] #1: ffffffff9a799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.280173][ T159] #2: ffffffff9a689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.280177][ T159] #3: ffffffff9a689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.280182][ T159] irq event stamp: 140450 [ 12.280183][ T159] hardirqs last enabled at (140449): [] __down_trylock_console_sem+0x86/0xa0 [ 12.280186][ T159] hardirqs last disabled at (140450): [] console_emit_next_record+0x3f8/0x4f0 [ 12.280188][ T159] softirqs last enabled at (140194): [] restore_fpregs_from_user+0x1cf/0x490 [ 12.280192][ T159] softirqs last disabled at (140192): [] restore_fpregs_from_user+0xc3/0x490 [ 12.280194][ T159] Preemption disabled at: [ 12.280195][ T159] [] vprintk_emit+0x31b/0x3e0 [ 12.280201][ T159] CPU: 0 UID: 0 PID: 159 Comm: bash Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.280205][ T159] Tainted: [W]=WARN [ 12.280206][ T159] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.280207][ T159] Call Trace: [ 12.280209][ T159] [ 12.280211][ T159] dump_stack_lvl+0x6f/0xa0 [ 12.280217][ T159] ? vprintk_emit+0x31b/0x3e0 [ 12.280219][ T159] __might_resched.cold+0x1fe/0x2c1 [ 12.280224][ T159] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.280227][ T159] ? __kmalloc_noprof+0xdb/0x760 [ 12.280232][ T159] __kmalloc_noprof+0x443/0x760 [ 12.280234][ T159] ? alloc_buf.isra.0+0x4b/0x260 [ 12.280241][ T159] ? do_raw_spin_unlock+0x59/0x250 [ 12.280246][ T159] alloc_buf.isra.0+0x4b/0x260 [ 12.280249][ T159] put_chars+0x1e1/0x2f0 [ 12.280253][ T159] ? __send_to_port+0x420/0x420 [ 12.280254][ T159] ? printk_get_next_message+0x2fe/0x7d0 [ 12.280258][ T159] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.280261][ T159] ? validate_chain+0x38b/0xc20 [ 12.280265][ T159] hvc_console_print+0x292/0x780 [ 12.280268][ T159] ? __lock_acquire+0x518/0xc20 [ 12.280269][ T159] ? __lock_acquire+0x518/0xc20 [ 12.280274][ T159] ? hvc_write+0x3a0/0x3a0 [ 12.280277][ T159] ? rcu_is_watching+0x16/0xd0 [ 12.280280][ T159] ? lock_acquire+0x13c/0x160 [ 12.280284][ T159] console_emit_next_record+0x252/0x4f0 [ 12.280287][ T159] ? devkmsg_read+0x4e0/0x4e0 [ 12.280292][ T159] ? rcu_is_watching+0x16/0xd0 [ 12.280294][ T159] ? lock_acquire+0x13c/0x160 [ 12.280297][ T159] console_flush_one_record+0x46f/0x710 [ 12.280301][ T159] ? console_emit_next_record+0x4f0/0x4f0 [ 12.280303][ T159] ? __lock_acquire+0x518/0xc20 [ 12.280308][ T159] console_unlock+0xee/0x1f0 [ 12.280311][ T159] ? console_flush_one_record+0x710/0x710 [ 12.280313][ T159] ? rcu_is_watching+0x16/0xd0 [ 12.280315][ T159] ? lock_acquire+0x60/0x160 [ 12.280318][ T159] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.280320][ T159] ? vprintk_emit+0x320/0x3e0 [ 12.280323][ T159] vprintk_emit+0x37c/0x3e0 [ 12.280326][ T159] ? wake_up_klogd_work_func+0x90/0x90 [ 12.280329][ T159] ? _copy_from_iter+0x1bb/0x1810 [ 12.280335][ T159] devkmsg_emit.constprop.0+0xbc/0xf1 [ 12.280340][ T159] ? vprintk_emit.cold+0x107/0x107 [ 12.280343][ T159] ? __kmalloc_noprof+0x302/0x760 [ 12.280345][ T159] ? idr_get_free+0x830/0x830 [ 12.280349][ T159] ? devkmsg_write+0xd1/0x2c0 [ 12.280352][ T159] ? _copy_from_iter+0x1bb/0x1810 [ 12.280355][ T159] devkmsg_write.cold+0x5a/0x8b [ 12.280358][ T159] ? vprintk_default+0x20/0x20 [ 12.280360][ T159] ? __lock_acquire+0x518/0xc20 [ 12.280362][ T159] ? vfs_lock_file+0x1b0/0x1b0 [ 12.280367][ T159] ? vprintk_default+0x20/0x20 [ 12.280369][ T159] new_sync_write+0x33e/0x760 [ 12.280374][ T159] ? new_sync_read+0x750/0x750 [ 12.280376][ T159] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.280384][ T159] vfs_write+0x6a2/0xbd0 [ 12.280388][ T159] ksys_write+0x116/0x250 [ 12.280391][ T159] ? __ia32_sys_read+0xc0/0xc0 [ 12.280393][ T159] ? do_raw_spin_unlock+0x59/0x250 [ 12.280395][ T159] ? rcu_is_watching+0x16/0xd0 [ 12.280399][ T159] do_syscall_64+0xff/0x530 [ 12.280401][ T159] ? exc_page_fault+0xee/0x100 [ 12.280404][ T159] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.280406][ T159] RIP: 0033:0x7fb8dfb3054e [ 12.280410][ T159] 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 [ 12.280412][ T159] RSP: 002b:00007ffde3d62e00 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 12.280415][ T159] RAX: ffffffffffffffda RBX: 00007fb8dfcb1580 RCX: 00007fb8dfb3054e [ 12.280417][ T159] RDX: 00000000000003be RSI: 0000556091036390 RDI: 0000000000000001 [ 12.280418][ T159] RBP: 00007ffde3d62e10 R08: 0000000000000000 R09: 0000000000000000 [ 12.280419][ T159] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000003be [ 12.280420][ T159] R13: 00000000000003be R14: 0000556091036390 R15: 0000000000000000 [ 12.280427][ T159] [ 12.543687][ T159] 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_J6o3M