[ 9.646466][ T188] ip (188) used greatest stack depth: 24336 bytes left [ 9.646482][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.646484][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.646486][ T188] preempt_count: 2, expected: 0 [ 9.646487][ T188] RCU nest depth: 0, expected: 0 [ 9.646488][ T188] locks held by ip/188: 5, last CPU#3: [ 9.646490][ T188] #0: ffffffffa30027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.646503][ T188] #1: ffffffffa3199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.646509][ T188] #2: ffffffffa3199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.646513][ T188] #3: ffffffffa3089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.646516][ T188] #4: ffffffffa3089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.646519][ T188] irq event stamp: 34472 [ 9.646520][ T188] hardirqs last enabled at (34471): [] __down_trylock_console_sem+0x86/0xa0 [ 9.646524][ T188] hardirqs last disabled at (34472): [] console_emit_next_record+0x3f8/0x4f0 [ 9.646526][ T188] softirqs last enabled at (32780): [] netlink_release+0x17b/0xcf0 [ 9.646530][ T188] softirqs last disabled at (32778): [] netlink_release+0xd2/0xcf0 [ 9.646532][ T188] Preemption disabled at: [ 9.646533][ T188] [<0000000000000000>] 0x0 [ 9.646539][ T188] CPU: 3 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.646543][ T188] Tainted: [W]=WARN [ 9.646544][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.646545][ T188] Call Trace: [ 9.646547][ T188] [ 9.646549][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.646555][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.646559][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.646563][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.646568][ T188] __kmalloc_noprof+0x443/0x760 [ 9.646571][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.646577][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.646579][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.646583][ T188] put_chars+0x1e1/0x2f0 [ 9.646587][ T188] ? __send_to_port+0x420/0x420 [ 9.646589][ T188] ? printk_get_next_message+0x2fe/0x7d0 [ 9.646592][ T188] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.646596][ T188] ? validate_chain+0x38b/0xc20 [ 9.646601][ T188] hvc_console_print+0x292/0x780 [ 9.646605][ T188] ? __lock_acquire+0x518/0xc20 [ 9.646606][ T188] ? __lock_acquire+0x518/0xc20 [ 9.646611][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.646615][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.646617][ T188] ? lock_acquire+0x13c/0x160 [ 9.646622][ T188] console_emit_next_record+0x252/0x4f0 [ 9.646626][ T188] ? devkmsg_read+0x4e0/0x4e0 [ 9.646630][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.646632][ T188] ? lock_acquire+0x13c/0x160 [ 9.646636][ T188] console_flush_one_record+0x46f/0x710 [ 9.646640][ T188] ? console_emit_next_record+0x4f0/0x4f0 [ 9.646641][ T188] ? __lock_acquire+0x518/0xc20 [ 9.646647][ T188] console_unlock+0xee/0x1f0 [ 9.646649][ T188] ? console_flush_one_record+0x710/0x710 [ 9.646650][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.646652][ T188] ? lock_acquire+0x60/0x160 [ 9.646656][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.646658][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.646661][ T188] vprintk_emit+0x37c/0x3e0 [ 9.646665][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.646668][ T188] ? __lock_acquire+0x518/0xc20 [ 9.646672][ T188] _printk+0xc7/0x100 [ 9.646676][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.646678][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.646681][ T188] ? __rwlock_init+0x150/0x150 [ 9.646684][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.646686][ T188] do_exit.cold+0x82/0x9c [ 9.646690][ T188] ? exit_notify+0x890/0x890 [ 9.646692][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.646695][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.646699][ T188] do_group_exit+0xb8/0x370 [ 9.646702][ T188] __x64_sys_exit_group+0x3c/0x50 [ 9.646705][ T188] x64_sys_call+0x1567/0x1570 [ 9.646707][ T188] do_syscall_64+0xff/0x530 [ 9.646710][ T188] ? exc_page_fault+0xee/0x100 [ 9.646714][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.646716][ T188] RIP: 0033:0x7fdf7d3071b8 [ 9.646718][ T188] Code: Unable to access opcode bytes at 0x7fdf7d30718e. [ 9.646719][ T188] RSP: 002b:00007ffc28a9df68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.646722][ T188] RAX: ffffffffffffffda RBX: 00007fdf7d437f88 RCX: 00007fdf7d3071b8 [ 9.646723][ T188] RDX: 00007fdf7d051fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.646724][ T188] RBP: 00007ffc28a9dfc0 R08: 0000000000000000 R09: 0000000000000000 [ 9.646725][ T188] R10: 00007ffc28a9dd80 R11: 0000000000000246 R12: 0000000000000001 [ 9.646726][ T188] R13: 0000000000000000 R14: 00007fdf7d436680 R15: 00007fdf7d437fa0 [ 9.646732][ T188] [ 9.956677][ T200] bond0: (slave eth0): Enslaving as a backup interface with a down link [ 9.995632][ T201] bond0: (slave eth1): Enslaving as a backup interface with a down link [ 10.083083][ T204] bond0: (slave eth0): Enslaving as a backup interface with an up link [ 10.116818][ T205] bond0: (slave eth1): Enslaving as a backup interface with an up link [ 16.126985][ T370] tc (370) used greatest stack depth: 23808 bytes left [ 16.127003][ T370] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.127006][ T370] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 370, name: tc [ 16.127008][ T370] preempt_count: 2, expected: 0 [ 16.127009][ T370] RCU nest depth: 0, expected: 0 [ 16.127010][ T370] locks held by tc/370: 5, last CPU#2: [ 16.127012][ T370] #0: ffffffffa30027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 16.127024][ T370] #1: ffffffffa3199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.127029][ T370] #2: ffffffffa3199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.127033][ T370] #3: ffffffffa3089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.127036][ T370] #4: ffffffffa3089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 16.127040][ T370] irq event stamp: 24650 [ 16.127041][ T370] hardirqs last enabled at (24649): [] __down_trylock_console_sem+0x86/0xa0 [ 16.127044][ T370] hardirqs last disabled at (24650): [] console_emit_next_record+0x3f8/0x4f0 [ 16.127046][ T370] softirqs last enabled at (23648): [] handle_softirqs+0x67c/0x900 [ 16.127048][ T370] softirqs last disabled at (23643): [] __irq_exit_rcu+0x145/0x1c0 [ 16.127051][ T370] Preemption disabled at: [ 16.127051][ T370] [<0000000000000000>] 0x0 [ 16.127058][ T370] CPU: 2 UID: 0 PID: 370 Comm: tc Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.127062][ T370] Tainted: [W]=WARN [ 16.127063][ T370] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.127065][ T370] Call Trace: [ 16.127066][ T370] [ 16.127068][ T370] dump_stack_lvl+0x6f/0xa0 [ 16.127074][ T370] __might_resched.cold+0x1fe/0x2c1 [ 16.127079][ T370] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.127082][ T370] ? __kmalloc_noprof+0xdb/0x760 [ 16.127088][ T370] __kmalloc_noprof+0x443/0x760 [ 16.127091][ T370] ? alloc_buf.isra.0+0x4b/0x260 [ 16.127097][ T370] ? do_raw_spin_unlock+0x59/0x250 [ 16.127099][ T370] alloc_buf.isra.0+0x4b/0x260 [ 16.127103][ T370] put_chars+0x1e1/0x2f0 [ 16.127107][ T370] ? __send_to_port+0x420/0x420 [ 16.127109][ T370] ? printk_get_next_message+0x2fe/0x7d0 [ 16.127112][ T370] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.127116][ T370] ? validate_chain+0x38b/0xc20 [ 16.127121][ T370] hvc_console_print+0x292/0x780 [ 16.127125][ T370] ? __lock_acquire+0x518/0xc20 [ 16.127127][ T370] ? __lock_acquire+0x518/0xc20 [ 16.127132][ T370] ? hvc_write+0x3a0/0x3a0 [ 16.127136][ T370] ? rcu_is_watching+0x16/0xd0 [ 16.127138][ T370] ? lock_acquire+0x13c/0x160 [ 16.127143][ T370] console_emit_next_record+0x252/0x4f0 [ 16.127146][ T370] ? devkmsg_read+0x4e0/0x4e0 [ 16.127150][ T370] ? rcu_is_watching+0x16/0xd0 [ 16.127152][ T370] ? lock_acquire+0x13c/0x160 [ 16.127156][ T370] console_flush_one_record+0x46f/0x710 [ 16.127160][ T370] ? console_emit_next_record+0x4f0/0x4f0 [ 16.127162][ T370] ? __lock_acquire+0x518/0xc20 [ 16.127167][ T370] console_unlock+0xee/0x1f0 [ 16.127170][ T370] ? console_flush_one_record+0x710/0x710 [ 16.127171][ T370] ? rcu_is_watching+0x16/0xd0 [ 16.127173][ T370] ? lock_acquire+0x60/0x160 [ 16.127177][ T370] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.127179][ T370] ? vprintk_emit+0x320/0x3e0 [ 16.127182][ T370] vprintk_emit+0x37c/0x3e0 [ 16.127185][ T370] ? wake_up_klogd_work_func+0x90/0x90 [ 16.127189][ T370] ? __lock_acquire+0x518/0xc20 [ 16.127193][ T370] _printk+0xc7/0x100 [ 16.127196][ T370] ? snapshot_read.cold+0x21/0x21 [ 16.127199][ T370] ? do_raw_spin_lock+0x131/0x280 [ 16.127201][ T370] ? __rwlock_init+0x150/0x150 [ 16.127205][ T370] ? do_raw_spin_lock+0x131/0x280 [ 16.127207][ T370] do_exit.cold+0x82/0x9c [ 16.127211][ T370] ? exit_notify+0x890/0x890 [ 16.127213][ T370] ? __lock_release.isra.0+0x69/0x1a0 [ 16.127216][ T370] ? rcu_is_watching+0x16/0xd0 [ 16.127220][ T370] do_group_exit+0xb8/0x370 [ 16.127223][ T370] __x64_sys_exit_group+0x3c/0x50 [ 16.127225][ T370] x64_sys_call+0x1567/0x1570 [ 16.127227][ T370] do_syscall_64+0xff/0x530 [ 16.127230][ T370] ? exc_page_fault+0xee/0x100 [ 16.127234][ T370] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.127236][ T370] RIP: 0033:0x7f18e186e1b8 [ 16.127238][ T370] Code: Unable to access opcode bytes at 0x7f18e186e18e. [ 16.127239][ T370] RSP: 002b:00007ffdb14d3348 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 16.127242][ T370] RAX: ffffffffffffffda RBX: 00007f18e199ef88 RCX: 00007f18e186e1b8 [ 16.127243][ T370] RDX: 00007f18e15b9588 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 16.127244][ T370] RBP: 00007ffdb14d33a0 R08: 0000000000000000 R09: 0000000000000000 [ 16.127245][ T370] R10: 00007ffdb14d3140 R11: 0000000000000246 R12: 0000000000000001 [ 16.127246][ T370] R13: 0000000000000000 R14: 00007f18e199d680 R15: 00007f18e199efa0 [ 16.127253][ T370] [ 77.283289][ T12] bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond [ 77.283351][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 77.283354][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 77.283355][ T12] preempt_count: 202, expected: 0 [ 77.283356][ T12] RCU nest depth: 2, expected: 0 [ 77.283357][ T12] locks held by kworker/u16:0/12: 9, last CPU#3: [ 77.283359][ T12] #0: ff1100000d42e540 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 77.283371][ T12] #1: ffa00000000c7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 77.283374][ T12] #2: ff1100000c39ae98 (&bond->mode_lock){+...}-{3:3}, at: bond_3ad_state_machine_handler+0xd2/0x1f00 [ 77.283380][ T12] #3: ffffffffa31b0b00 (rcu_read_lock){....}-{1:3}, at: bond_3ad_state_machine_handler+0xe9/0x1f00 [ 77.283383][ T12] #4: ffffffffa31b0b00 (rcu_read_lock){....}-{1:3}, at: ad_agg_selection_logic+0xdc/0x1b70 [ 77.283386][ T12] #5: ffffffffa3199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 77.283391][ T12] #6: ffffffffa3199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 77.283394][ T12] #7: ffffffffa3089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 77.283397][ T12] #8: ffffffffa3089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 77.283401][ T12] irq event stamp: 23983 [ 77.283402][ T12] hardirqs last enabled at (23982): [] __down_trylock_console_sem+0x86/0xa0 [ 77.283405][ T12] hardirqs last disabled at (23983): [] console_emit_next_record+0x3f8/0x4f0 [ 77.283407][ T12] softirqs last enabled at (23958): [] handle_softirqs+0x67c/0x900 [ 77.283410][ T12] softirqs last disabled at (23976): [] bond_3ad_state_machine_handler+0xd2/0x1f00 [ 77.283413][ T12] Preemption disabled at: [ 77.283413][ T12] [<0000000000000000>] 0x0 [ 77.283420][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 77.283424][ T12] Tainted: [W]=WARN [ 77.283425][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 77.283427][ T12] Workqueue: bond0 bond_3ad_state_machine_handler [ 77.283430][ T12] Call Trace: [ 77.283432][ T12] [ 77.283433][ T12] dump_stack_lvl+0x6f/0xa0 [ 77.283439][ T12] __might_resched.cold+0x1fe/0x2c1 [ 77.283443][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 77.283447][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 77.283452][ T12] __kmalloc_noprof+0x443/0x760 [ 77.283455][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 77.283461][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 77.283464][ T12] alloc_buf.isra.0+0x4b/0x260 [ 77.283467][ T12] put_chars+0x1e1/0x2f0 [ 77.283471][ T12] ? __send_to_port+0x420/0x420 [ 77.283476][ T12] ? validate_chain+0x34a/0xc20 [ 77.283480][ T12] hvc_console_print+0x292/0x780 [ 77.283484][ T12] ? mark_usage+0x61/0x170 [ 77.283486][ T12] ? __lock_acquire+0x518/0xc20 [ 77.283488][ T12] ? __lock_acquire+0x518/0xc20 [ 77.283493][ T12] ? hvc_write+0x3a0/0x3a0 [ 77.283496][ T12] ? console_emit_next_record+0x202/0x4f0 [ 77.283502][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.283505][ T12] ? lock_acquire+0x13c/0x160 [ 77.283510][ T12] console_emit_next_record+0x252/0x4f0 [ 77.283513][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 77.283518][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.283519][ T12] ? lock_acquire+0x13c/0x160 [ 77.283524][ T12] console_flush_one_record+0x46f/0x710 [ 77.283528][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 77.283529][ T12] ? __lock_acquire+0x518/0xc20 [ 77.283535][ T12] console_unlock+0xee/0x1f0 [ 77.283537][ T12] ? console_flush_one_record+0x710/0x710 [ 77.283539][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.283541][ T12] ? lock_acquire+0x60/0x160 [ 77.283545][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 77.283547][ T12] ? vprintk_emit+0x320/0x3e0 [ 77.283550][ T12] vprintk_emit+0x37c/0x3e0 [ 77.283553][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 77.283555][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 77.283560][ T12] _printk+0xc7/0x100 [ 77.283564][ T12] ? snapshot_read.cold+0x21/0x21 [ 77.283566][ T12] ? ___ratelimit+0x4e7/0xa00 [ 77.283572][ T12] ? idr_get_free+0x830/0x830 [ 77.283577][ T12] ad_agg_selection_logic.cold+0x120/0x16c [ 77.283583][ T12] ? find_held_lock+0x2b/0x80 [ 77.283586][ T12] ? bond_3ad_set_carrier+0x5f0/0x5f0 [ 77.283589][ T12] ? __get_first_agg.isra.0+0xda/0x1c0 [ 77.283593][ T12] ad_port_selection_logic+0x8a8/0x1820 [ 77.283598][ T12] ? bond_3ad_unbind_slave+0x1f80/0x1f80 [ 77.283601][ T12] ? ad_rx_machine+0x282/0x1950 [ 77.283605][ T12] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 77.283610][ T12] ? ad_mux_machine+0x1b50/0x1b50 [ 77.283611][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 77.283614][ T12] ? process_one_work+0xd80/0x1560 [ 77.283616][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.283618][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.283619][ T12] ? lock_acquire+0x13c/0x160 [ 77.283622][ T12] ? rcu_is_watching+0x16/0xd0 [ 77.283625][ T12] process_one_work+0xe3e/0x1560 [ 77.283631][ T12] ? __queue_delayed_work+0x470/0x470 [ 77.283634][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 77.283642][ T12] worker_thread+0x4f1/0xd60 [ 77.283649][ T12] ? rescuer_thread+0x1340/0x1340 [ 77.283650][ T12] kthread+0x367/0x460 [ 77.283653][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 77.283657][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.283660][ T12] ret_from_fork+0x474/0x6b0 [ 77.283665][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 77.283668][ T12] ? __switch_to+0x5a3/0xe00 [ 77.283672][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.283675][ T12] ret_from_fork_asm+0x11/0x20 [ 77.283684][ T12] [ 77.307750][ T12] bond0: (slave eth0): link status definitely up, 10000 Mbps full duplex [ 77.308272][ T12] bond0: (slave eth1): link status definitely up, 10000 Mbps full duplex [ 77.309089][ T12] bond0: active interface up! [ 77.510672][ C1] [ 77.510784][ C1] ======================================================== [ 77.511001][ C1] WARNING: possible irq lock inversion dependency detected [ 77.511209][ C1] 7.2.0-virtme #1 Tainted: G W [ 77.511380][ C1] -------------------------------------------------------- [ 77.511589][ C1] kworker/u16:0/12 just changed the state of lock: [ 77.511760][ C1] ff1100000ca42e98 (&bond->mode_lock){+.-.}-{3:3}, at: bond_3ad_rx_indication+0x242/0x8e0 [ 77.512016][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 77.512214][ C1] (fs_reclaim){+.+.}-{0:0} [ 77.512216][ C1] [ 77.512216][ C1] [ 77.512216][ C1] and interrupts could create inverse lock ordering between them. [ 77.512216][ C1] [ 77.512710][ C1] [ 77.512710][ C1] other info that might help us debug this: [ 77.512916][ C1] Chain exists of: [ 77.512916][ C1] &bond->mode_lock --> console_owner --> fs_reclaim [ 77.512916][ C1] [ 77.513226][ C1] Possible interrupt unsafe locking scenario: [ 77.513226][ C1] [ 77.513428][ C1] CPU0 CPU1 [ 77.513569][ C1] ---- ---- [ 77.513711][ C1] lock(fs_reclaim); [ 77.513818][ C1] local_irq_disable(); [ 77.513987][ C1] lock(&bond->mode_lock); [ 77.514156][ C1] lock(console_owner); [ 77.514325][ C1] [ 77.514428][ C1] lock(&bond->mode_lock); [ 77.514565][ C1] [ 77.514565][ C1] *** DEADLOCK *** [ 77.514565][ C1] [ 77.514763][ C1] locks held by kworker/u16:0/12: 3, last CPU#1: [ 77.514937][ C1] #0: ff1100000d42e540 ((wq_completion)bond0){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 77.515213][ C1] #1: ffa00000000c7d10 ((work_completion)(&(&bond->ad_work)->work)){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 77.515511][ C1] #2: ffffffffa31b0b00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 77.515745][ C1] [ 77.515745][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 77.515981][ C1] -> (fs_reclaim){+.+.}-{0:0} { [ 77.516120][ C1] HARDIRQ-ON-W at: [ 77.516223][ C1] __lock_acquire+0x388/0xc20 [ 77.516401][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.516569][ C1] fs_reclaim_acquire+0xd5/0x120 [ 77.516736][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 77.516952][ C1] kthread_create_worker_on_node+0xea/0x210 [ 77.517151][ C1] workqueue_init+0x2a/0x680 [ 77.517320][ C1] kernel_init_freeable+0x2fe/0x630 [ 77.517524][ C1] kernel_init+0x21/0x150 [ 77.517695][ C1] ret_from_fork+0x474/0x6b0 [ 77.517872][ C1] ret_from_fork_asm+0x11/0x20 [ 77.518047][ C1] SOFTIRQ-ON-W at: [ 77.518148][ C1] __lock_acquire+0x388/0xc20 [ 77.518320][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.518490][ C1] fs_reclaim_acquire+0xd5/0x120 [ 77.518660][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 77.518870][ C1] kthread_create_worker_on_node+0xea/0x210 [ 77.519077][ C1] workqueue_init+0x2a/0x680 [ 77.519245][ C1] kernel_init_freeable+0x2fe/0x630 [ 77.519448][ C1] kernel_init+0x21/0x150 [ 77.519617][ C1] ret_from_fork+0x474/0x6b0 [ 77.519787][ C1] ret_from_fork_asm+0x11/0x20 [ 77.519958][ C1] INITIAL USE at: [ 77.520060][ C1] __lock_acquire+0x388/0xc20 [ 77.520229][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.520396][ C1] fs_reclaim_acquire+0xd5/0x120 [ 77.520564][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 77.520768][ C1] kthread_create_worker_on_node+0xea/0x210 [ 77.520981][ C1] workqueue_init+0x2a/0x680 [ 77.521151][ C1] kernel_init_freeable+0x2fe/0x630 [ 77.521323][ C1] kernel_init+0x21/0x150 [ 77.521492][ C1] ret_from_fork+0x474/0x6b0 [ 77.521661][ C1] ret_from_fork_asm+0x11/0x20 [ 77.521837][ C1] } [ 77.521908][ C1] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 77.522115][ C1] ... acquired at: [ 77.522220][ C1] __lock_acquire+0x518/0xc20 [ 77.522357][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.522491][ C1] fs_reclaim_acquire+0xd5/0x120 [ 77.522641][ C1] __kmalloc_noprof+0xd3/0x760 [ 77.522788][ C1] alloc_buf.isra.0+0x4b/0x260 [ 77.522927][ C1] put_chars+0x1e1/0x2f0 [ 77.523063][ C1] hvc_console_print+0x292/0x780 [ 77.523200][ C1] console_emit_next_record+0x252/0x4f0 [ 77.523336][ C1] console_flush_one_record+0x46f/0x710 [ 77.523475][ C1] console_unlock+0xee/0x1f0 [ 77.523610][ C1] vprintk_emit+0x37c/0x3e0 [ 77.523746][ C1] _printk+0xc7/0x100 [ 77.523857][ C1] i8042_pnp_init+0xf7/0x3c0 [ 77.523994][ C1] i8042_platform_init+0x3f9/0x460 [ 77.524128][ C1] i8042_init+0x45/0x130 [ 77.524261][ C1] do_one_initcall+0x124/0x4f0 [ 77.524399][ C1] kernel_init_freeable+0x596/0x630 [ 77.524536][ C1] kernel_init+0x21/0x150 [ 77.524669][ C1] ret_from_fork+0x474/0x6b0 [ 77.524812][ C1] ret_from_fork_asm+0x11/0x20 [ 77.524949][ C1] [ 77.525020][ C1] -> (console_owner){....}-{0:0} { [ 77.525158][ C1] INITIAL USE at: [ 77.525260][ C1] } [ 77.525328][ C1] ... key at: [] console_owner_dep_map+0x0/0x60 [ 77.525528][ C1] ... acquired at: [ 77.525627][ C1] __lock_acquire+0x518/0xc20 [ 77.525764][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.525909][ C1] console_lock_spinning_enable+0x5c/0x60 [ 77.526078][ C1] console_emit_next_record+0x1f4/0x4f0 [ 77.526210][ C1] console_flush_one_record+0x46f/0x710 [ 77.526342][ C1] console_unlock+0xee/0x1f0 [ 77.526474][ C1] vprintk_emit+0x37c/0x3e0 [ 77.526656][ C1] _printk+0xc7/0x100 [ 77.526759][ C1] ad_agg_selection_logic.cold+0x120/0x16c [ 77.526984][ C1] ad_port_selection_logic+0x8a8/0x1820 [ 77.527117][ C1] bond_3ad_state_machine_handler+0x4a9/0x1f00 [ 77.527328][ C1] process_one_work+0xe3e/0x1560 [ 77.527464][ C1] worker_thread+0x4f1/0xd60 [ 77.527641][ C1] kthread+0x367/0x460 [ 77.527742][ C1] ret_from_fork+0x474/0x6b0 [ 77.527929][ C1] ret_from_fork_asm+0x11/0x20 [ 77.528066][ C1] [ 77.528176][ C1] -> (&bond->mode_lock){+.-.}-{3:3} { [ 77.528310][ C1] HARDIRQ-ON-W at: [ 77.528411][ C1] __lock_acquire+0x388/0xc20 [ 77.528627][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.528847][ C1] _raw_spin_lock_bh+0x38/0x50 [ 77.529022][ C1] bond_3ad_update_lacp_active+0xb8/0x260 [ 77.529268][ C1] bond_option_lacp_active_set+0x77/0x1f0 [ 77.529520][ C1] __bond_opt_set+0x1b1/0x390 [ 77.529688][ C1] bond_changelink+0x1504/0x23e0 [ 77.529910][ C1] bond_newlink+0x9e/0xf0 [ 77.530129][ C1] rtnl_newlink_create+0x2d0/0x850 [ 77.530298][ C1] __rtnl_newlink+0x22b/0xa50 [ 77.530515][ C1] rtnl_newlink+0x9f1/0x11b0 [ 77.530730][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 77.530903][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 77.531121][ C1] netlink_unicast+0x486/0x750 [ 77.531290][ C1] netlink_sendmsg+0x735/0xc60 [ 77.531504][ C1] ____sys_sendmsg+0x415/0x880 [ 77.531718][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 77.531892][ C1] __sys_sendmsg+0x12c/0x1d0 [ 77.532106][ C1] do_syscall_64+0xff/0x530 [ 77.532318][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 77.532520][ C1] IN-SOFTIRQ-W at: [ 77.532667][ C1] __lock_acquire+0x388/0xc20 [ 77.532841][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.533059][ C1] _raw_spin_lock+0x33/0x40 [ 77.533276][ C1] bond_3ad_rx_indication+0x242/0x8e0 [ 77.533443][ C1] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 77.533659][ C1] bond_handle_frame+0x16b/0xca0 [ 77.533834][ C1] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 77.534084][ C1] __netif_receive_skb_one_core+0xa2/0x180 [ 77.534327][ C1] process_backlog+0x431/0x14c0 [ 77.534543][ C1] __napi_poll+0xa7/0x3b0 [ 77.534712][ C1] net_rx_action+0x513/0xf50 [ 77.534930][ C1] handle_softirqs+0x1d3/0x900 [ 77.535103][ C1] do_softirq+0xac/0xe0 [ 77.535318][ C1] __local_bh_enable_ip+0x118/0x150 [ 77.535533][ C1] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.535735][ C1] process_one_work+0xe3e/0x1560 [ 77.535960][ C1] worker_thread+0x4f1/0xd60 [ 77.536173][ C1] kthread+0x367/0x460 [ 77.536310][ C1] ret_from_fork+0x474/0x6b0 [ 77.536524][ C1] ret_from_fork_asm+0x11/0x20 [ 77.536691][ C1] INITIAL USE at: [ 77.536842][ C1] __lock_acquire+0x388/0xc20 [ 77.537016][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.537230][ C1] _raw_spin_lock_bh+0x38/0x50 [ 77.537447][ C1] bond_3ad_update_lacp_active+0xb8/0x260 [ 77.537648][ C1] bond_option_lacp_active_set+0x77/0x1f0 [ 77.537901][ C1] __bond_opt_set+0x1b1/0x390 [ 77.538120][ C1] bond_changelink+0x1504/0x23e0 [ 77.538289][ C1] bond_newlink+0x9e/0xf0 [ 77.538502][ C1] rtnl_newlink_create+0x2d0/0x850 [ 77.538716][ C1] __rtnl_newlink+0x22b/0xa50 [ 77.538891][ C1] rtnl_newlink+0x9f1/0x11b0 [ 77.539109][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 77.539322][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 77.539492][ C1] netlink_unicast+0x486/0x750 [ 77.539706][ C1] netlink_sendmsg+0x735/0xc60 [ 77.539879][ C1] ____sys_sendmsg+0x415/0x880 [ 77.540099][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 77.540311][ C1] __sys_sendmsg+0x12c/0x1d0 [ 77.540481][ C1] do_syscall_64+0xff/0x530 [ 77.540695][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 77.540954][ C1] } [ 77.541021][ C1] ... key at: [] __key.27+0x0/0x40 [ 77.541264][ C1] ... acquired at: [ 77.541364][ C1] mark_lock+0x1d7/0xa00 [ 77.541542][ C1] mark_usage+0x42/0x170 [ 77.541677][ C1] __lock_acquire+0x388/0xc20 [ 77.541863][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.541999][ C1] _raw_spin_lock+0x33/0x40 [ 77.542177][ C1] bond_3ad_rx_indication+0x242/0x8e0 [ 77.542309][ C1] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 77.542486][ C1] bond_handle_frame+0x16b/0xca0 [ 77.542620][ C1] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 77.542839][ C1] __netif_receive_skb_one_core+0xa2/0x180 [ 77.543008][ C1] process_backlog+0x431/0x14c0 [ 77.543188][ C1] __napi_poll+0xa7/0x3b0 [ 77.543321][ C1] net_rx_action+0x513/0xf50 [ 77.543504][ C1] handle_softirqs+0x1d3/0x900 [ 77.543637][ C1] do_softirq+0xac/0xe0 [ 77.543788][ C1] __local_bh_enable_ip+0x118/0x150 [ 77.543923][ C1] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.544135][ C1] process_one_work+0xe3e/0x1560 [ 77.544267][ C1] worker_thread+0x4f1/0xd60 [ 77.544445][ C1] kthread+0x367/0x460 [ 77.544546][ C1] ret_from_fork+0x474/0x6b0 [ 77.544725][ C1] ret_from_fork_asm+0x11/0x20 [ 77.544862][ C1] [ 77.544929][ C1] [ 77.544929][ C1] stack backtrace: [ 77.545144][ C1] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 77.545148][ C1] Tainted: [W]=WARN [ 77.545149][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 77.545151][ C1] Workqueue: bond0 bond_3ad_state_machine_handler [ 77.545154][ C1] Call Trace: [ 77.545155][ C1] [ 77.545157][ C1] dump_stack_lvl+0x6f/0xa0 [ 77.545160][ C1] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 77.545163][ C1] mark_lock_irq+0x989/0x9c0 [ 77.545166][ C1] mark_lock+0x1d7/0xa00 [ 77.545168][ C1] mark_usage+0x42/0x170 [ 77.545170][ C1] __lock_acquire+0x388/0xc20 [ 77.545172][ C1] ? __unwind_start+0x42e/0x900 [ 77.545176][ C1] lock_acquire.part.0+0xd4/0x280 [ 77.545178][ C1] ? bond_3ad_rx_indication+0x242/0x8e0 [ 77.545180][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.545183][ C1] ? lock_acquire+0x13c/0x160 [ 77.545185][ C1] _raw_spin_lock+0x33/0x40 [ 77.545187][ C1] ? bond_3ad_rx_indication+0x242/0x8e0 [ 77.545188][ C1] bond_3ad_rx_indication+0x242/0x8e0 [ 77.545190][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 77.545192][ C1] bond_3ad_lacpdu_recv+0x270/0x4f0 [ 77.545194][ C1] ? bond_3ad_get_active_agg_info+0x120/0x120 [ 77.545197][ C1] bond_handle_frame+0x16b/0xca0 [ 77.545199][ C1] ? bond_net_exit_batch+0x2a0/0x2a0 [ 77.545201][ C1] ? bond_net_exit_batch+0x2a0/0x2a0 [ 77.545203][ C1] __netif_receive_skb_core.constprop.0+0x579/0x2960 [ 77.545205][ C1] ? __lock_acquire+0x518/0xc20 [ 77.545207][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.545208][ C1] ? timerqueue_linked_add+0x207/0x560 [ 77.545210][ C1] ? pick_eevdf+0x4b5/0x800 [ 77.545213][ C1] ? do_xdp_generic+0x4a0/0x4a0 [ 77.545214][ C1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 77.545217][ C1] ? mark_usage+0x61/0x170 [ 77.545219][ C1] ? __lock_acquire+0x518/0xc20 [ 77.545221][ C1] ? process_backlog+0x3f1/0x14c0 [ 77.545223][ C1] __netif_receive_skb_one_core+0xa2/0x180 [ 77.545224][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 77.545226][ C1] ? process_backlog+0x3f1/0x14c0 [ 77.545228][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 77.545229][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.545232][ C1] process_backlog+0x431/0x14c0 [ 77.545234][ C1] __napi_poll+0xa7/0x3b0 [ 77.545236][ C1] net_rx_action+0x513/0xf50 [ 77.545238][ C1] ? __napi_poll+0x3b0/0x3b0 [ 77.545240][ C1] ? validate_chain+0x38b/0xc20 [ 77.545242][ C1] ? pwq_dec_nr_in_flight+0x780/0x780 [ 77.545244][ C1] ? do_raw_spin_lock+0x131/0x280 [ 77.545246][ C1] ? __rwlock_init+0x150/0x150 [ 77.545247][ C1] ? mark_held_locks+0x40/0x70 [ 77.545249][ C1] handle_softirqs+0x1d3/0x900 [ 77.545252][ C1] ? _local_bh_enable+0xc0/0xc0 [ 77.545253][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 77.545255][ C1] ? _raw_spin_unlock+0x2d/0x50 [ 77.545257][ C1] do_softirq+0xac/0xe0 [ 77.545259][ C1] [ 77.545259][ C1] [ 77.545260][ C1] __local_bh_enable_ip+0x118/0x150 [ 77.545262][ C1] bond_3ad_state_machine_handler+0xd60/0x1f00 [ 77.545264][ C1] ? ad_mux_machine+0x1b50/0x1b50 [ 77.545266][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 77.545267][ C1] ? process_one_work+0xd80/0x1560 [ 77.545269][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.545270][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.545272][ C1] ? lock_acquire+0x13c/0x160 [ 77.545273][ C1] ? rcu_is_watching+0x16/0xd0 [ 77.545275][ C1] process_one_work+0xe3e/0x1560 [ 77.545278][ C1] ? __queue_delayed_work+0x470/0x470 [ 77.545279][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 77.545282][ C1] worker_thread+0x4f1/0xd60 [ 77.545285][ C1] ? rescuer_thread+0x1340/0x1340 [ 77.545286][ C1] kthread+0x367/0x460 [ 77.545288][ C1] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 77.545291][ C1] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.545293][ C1] ret_from_fork+0x474/0x6b0 [ 77.545295][ C1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 77.545297][ C1] ? __switch_to+0x5a3/0xe00 [ 77.545300][ C1] ? kthread_affine_preferred+0x4c0/0x4c0 [ 77.545302][ C1] ret_from_fork_asm+0x11/0x20 [ 77.545306][ C1] [ 90.014438][ T3342] bond0: (slave eth0): Releasing backup interface [ 90.014454][ T3342] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 90.014457][ T3342] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3342, name: ip [ 90.014459][ T3342] preempt_count: 1, expected: 0 [ 90.014459][ T3342] RCU nest depth: 0, expected: 0 [ 90.014460][ T3342] INFO: lockdep is turned off. [ 90.014461][ T3342] irq event stamp: 0 [ 90.014462][ T3342] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 90.014466][ T3342] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 90.014473][ T3342] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 90.014475][ T3342] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 90.014477][ T3342] Preemption disabled at: [ 90.014478][ T3342] [] vprintk_emit+0x31b/0x3e0 [ 90.014485][ T3342] CPU: 0 UID: 0 PID: 3342 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 90.014489][ T3342] Tainted: [W]=WARN [ 90.014490][ T3342] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 90.014492][ T3342] Call Trace: [ 90.014494][ T3342] [ 90.014495][ T3342] dump_stack_lvl+0x6f/0xa0 [ 90.014502][ T3342] ? vprintk_emit+0x31b/0x3e0 [ 90.014504][ T3342] __might_resched.cold+0x1fe/0x2c1 [ 90.014508][ T3342] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 90.014511][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014514][ T3342] __kmalloc_noprof+0x443/0x760 [ 90.014519][ T3342] ? __rwlock_init+0x150/0x150 [ 90.014521][ T3342] ? alloc_buf.isra.0+0x4b/0x260 [ 90.014526][ T3342] ? do_raw_spin_unlock+0x59/0x250 [ 90.014527][ T3342] alloc_buf.isra.0+0x4b/0x260 [ 90.014529][ T3342] put_chars+0x1e1/0x2f0 [ 90.014532][ T3342] ? __send_to_port+0x420/0x420 [ 90.014534][ T3342] ? desc_read+0x2f0/0x2f0 [ 90.014537][ T3342] ? console_prepend_replay+0x20/0x20 [ 90.014538][ T3342] ? desc_read+0x219/0x2f0 [ 90.014540][ T3342] hvc_console_print+0x292/0x780 [ 90.014544][ T3342] ? _prb_read_valid+0x450/0x6e0 [ 90.014546][ T3342] ? hvc_write+0x3a0/0x3a0 [ 90.014548][ T3342] ? do_raw_spin_lock+0x131/0x280 [ 90.014549][ T3342] ? __rwlock_init+0x150/0x150 [ 90.014550][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014552][ T3342] ? lock_acquire+0x13c/0x160 [ 90.014555][ T3342] console_emit_next_record+0x252/0x4f0 [ 90.014557][ T3342] ? devkmsg_read+0x4e0/0x4e0 [ 90.014558][ T3342] ? _prb_read_valid+0x6e0/0x6e0 [ 90.014560][ T3342] ? __asan_memmove+0x3c/0x60 [ 90.014563][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014564][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014565][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014566][ T3342] ? lock_acquire+0x13c/0x160 [ 90.014569][ T3342] ? console_flush_one_record+0x111/0x710 [ 90.014570][ T3342] console_flush_one_record+0x46f/0x710 [ 90.014572][ T3342] ? console_emit_next_record+0x4f0/0x4f0 [ 90.014574][ T3342] console_unlock+0xee/0x1f0 [ 90.014576][ T3342] ? lock_acquire+0x13c/0x160 [ 90.014577][ T3342] ? console_flush_one_record+0x710/0x710 [ 90.014579][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014580][ T3342] ? lock_release+0x184/0x1f0 [ 90.014582][ T3342] ? lock_acquire+0x60/0x160 [ 90.014583][ T3342] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 90.014585][ T3342] ? __down_trylock_console_sem+0x5e/0xa0 [ 90.014587][ T3342] ? vprintk_emit+0x320/0x3e0 [ 90.014589][ T3342] vprintk_emit+0x37c/0x3e0 [ 90.014591][ T3342] ? wake_up_klogd_work_func+0x90/0x90 [ 90.014592][ T3342] ? do_raw_spin_lock+0x131/0x280 [ 90.014594][ T3342] ? __rwlock_init+0x150/0x150 [ 90.014595][ T3342] _printk+0xc7/0x100 [ 90.014598][ T3342] ? snapshot_read.cold+0x21/0x21 [ 90.014600][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014601][ T3342] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 90.014604][ T3342] ? do_raw_spin_unlock+0x59/0x250 [ 90.014606][ T3342] ? trace_hardirqs_on+0x36/0x40 [ 90.014607][ T3342] ? netdev_name+0x43/0x60 [ 90.014610][ T3342] ? __netdev_printk+0x17f/0x1d0 [ 90.014612][ T3342] netdev_info+0xe2/0x116 [ 90.014613][ T3342] ? netdev_notice+0x120/0x120 [ 90.014615][ T3342] ? __netdev_upper_dev_unlink+0x1e0/0x1e0 [ 90.014619][ T3342] ? trace_irq_enable.constprop.0+0x30/0x160 [ 90.014621][ T3342] __bond_release_one.cold+0x80/0xa60 [ 90.014625][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014627][ T3342] ? bond_enslave+0x5100/0x5100 [ 90.014629][ T3342] ? lock_release+0x184/0x1f0 [ 90.014631][ T3342] ? unwind_next_frame+0x69b/0x1ea0 [ 90.014634][ T3342] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.014637][ T3342] ? kernel_text_address+0x149/0x170 [ 90.014640][ T3342] do_set_master+0x15c/0x780 [ 90.014644][ T3342] do_setlink.isra.0+0x9ec/0x2a60 [ 90.014646][ T3342] ? stack_trace_save+0x93/0xc0 [ 90.014649][ T3342] ? rtnl_link_get_size+0x350/0x350 [ 90.014650][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014652][ T3342] ? stack_depot_save_flags+0x1bc/0x790 [ 90.014655][ T3342] ? kasan_save_stack+0x3d/0x50 [ 90.014657][ T3342] ? kasan_save_stack+0x2f/0x50 [ 90.014658][ T3342] ? kasan_save_track+0x14/0x30 [ 90.014659][ T3342] ? __kasan_kmalloc+0x7b/0x90 [ 90.014660][ T3342] ? __kmalloc_cache_noprof+0x29a/0x620 [ 90.014662][ T3342] ? rtnl_newlink+0x124/0x11b0 [ 90.014663][ T3342] ? rtnetlink_rcv_msg+0x6fd/0xbd0 [ 90.014665][ T3342] ? netlink_rcv_skb+0x14e/0x3a0 [ 90.014668][ T3342] ? netlink_unicast+0x486/0x750 [ 90.014669][ T3342] ? netlink_sendmsg+0x735/0xc60 [ 90.014671][ T3342] ? ____sys_sendmsg+0x415/0x880 [ 90.014673][ T3342] ? ___sys_sendmsg+0x14e/0x1d0 [ 90.014675][ T3342] ? __sys_sendmsg+0x12c/0x1d0 [ 90.014676][ T3342] ? do_syscall_64+0xff/0x530 [ 90.014679][ T3342] ? entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.014681][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014682][ T3342] ? lock_acquire+0x13c/0x160 [ 90.014684][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014685][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014686][ T3342] ? trace_contention_end+0xb3/0x180 [ 90.014688][ T3342] ? __mutex_lock+0x1db/0x1ea0 [ 90.014690][ T3342] ? __mutex_lock+0x9a3/0x1ea0 [ 90.014691][ T3342] ? rtnl_newlink+0x9a8/0x11b0 [ 90.014693][ T3342] ? ww_mutex_lock+0x160/0x160 [ 90.014695][ T3342] ? nla_get_range_signed+0x3d0/0x3d0 [ 90.014698][ T3342] ? __rtnl_newlink+0x3fa/0xa50 [ 90.014701][ T3342] rtnl_newlink+0x9f1/0x11b0 [ 90.014703][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014705][ T3342] ? rtnl_bridge_getlink+0x850/0x850 [ 90.014706][ T3342] ? lock_acquire+0x13c/0x160 [ 90.014708][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014710][ T3342] ? is_bpf_text_address+0x3e/0x110 [ 90.014713][ T3342] ? is_bpf_text_address+0x72/0x110 [ 90.014714][ T3342] ? kernel_text_address+0x149/0x170 [ 90.014716][ T3342] ? __kernel_text_address+0x12/0x30 [ 90.014717][ T3342] ? write_profile+0xf0/0xf0 [ 90.014719][ T3342] ? unwind_get_return_address+0x67/0xd0 [ 90.014721][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014722][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014723][ T3342] ? cap_capable+0x1d7/0x3d0 [ 90.014726][ T3342] ? lock_acquire+0x13c/0x160 [ 90.014728][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014729][ T3342] ? rtnl_bridge_getlink+0x850/0x850 [ 90.014731][ T3342] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 90.014733][ T3342] ? rtnl_link_fill+0x900/0x900 [ 90.014735][ T3342] ? filter_irq_stacks+0xd0/0xd0 [ 90.014737][ T3342] ? stack_depot_save_flags+0x1bc/0x790 [ 90.014739][ T3342] netlink_rcv_skb+0x14e/0x3a0 [ 90.014741][ T3342] ? rtnl_link_fill+0x900/0x900 [ 90.014743][ T3342] ? lock_release+0x184/0x1f0 [ 90.014745][ T3342] ? netlink_ack+0xcd0/0xcd0 [ 90.014746][ T3342] ? __netlink_lookup+0xb9/0x6b0 [ 90.014749][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014750][ T3342] ? lock_release+0x184/0x1f0 [ 90.014752][ T3342] netlink_unicast+0x486/0x750 [ 90.014754][ T3342] ? netlink_attachskb+0x810/0x810 [ 90.014756][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014757][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014759][ T3342] ? lock_acquire+0x13c/0x160 [ 90.014761][ T3342] netlink_sendmsg+0x735/0xc60 [ 90.014763][ T3342] ? netlink_unicast+0x750/0x750 [ 90.014765][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014766][ T3342] ? lock_release+0x184/0x1f0 [ 90.014768][ T3342] ____sys_sendmsg+0x415/0x880 [ 90.014770][ T3342] ? copy_msghdr_from_user+0x279/0x420 [ 90.014771][ T3342] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 90.014772][ T3342] ? move_addr_to_kernel+0x40/0x40 [ 90.014773][ T3342] ? filter_irq_stacks+0xd0/0xd0 [ 90.014776][ T3342] ___sys_sendmsg+0x14e/0x1d0 [ 90.014778][ T3342] ? copy_msghdr_from_user+0x420/0x420 [ 90.014783][ T3342] __sys_sendmsg+0x12c/0x1d0 [ 90.014784][ T3342] ? __sys_sendmsg_sock+0x20/0x20 [ 90.014787][ T3342] ? rcu_is_watching+0x16/0xd0 [ 90.014789][ T3342] do_syscall_64+0xff/0x530 [ 90.014790][ T3342] ? exc_page_fault+0xee/0x100 [ 90.014792][ T3342] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.014793][ T3342] RIP: 0033:0x7fa26635354e [ 90.014796][ T3342] 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 [ 90.014797][ T3342] RSP: 002b:00007fff32d51620 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 90.014801][ T3342] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fa26635354e [ 90.014803][ T3342] RDX: 0000000000000000 RSI: 00007fff32d516d0 RDI: 0000000000000005 [ 90.014804][ T3342] RBP: 00007fff32d51630 R08: 0000000000000000 R09: 0000000000000000 [ 90.014805][ T3342] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a917ded [ 90.014806][ T3342] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff32d51da0 [ 90.014808][ T3342] [ 90.038445][ T3342] bond0: (slave eth0): the permanent HWaddr of slave - 2a:2c:25:57:04:16 - is still in use by bond - set the HWaddr of slave to a different address to avoid conflicts [ 90.038849][ T3342] bond0: active interface up! [ 90.056104][ T3342] ip (3342) used greatest stack depth: 22888 bytes left [ 90.089337][ T3344] bond0: (slave eth1): Releasing backup interface [ 192.652859][ T71] bond0 (unregistering): (slave eth0): Removing an active aggregator [ 192.652875][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 192.652878][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 192.652879][ T71] preempt_count: 202, expected: 0 [ 192.652880][ T71] RCU nest depth: 0, expected: 0 [ 192.652881][ T71] INFO: lockdep is turned off. [ 192.652882][ T71] irq event stamp: 394 [ 192.652883][ T71] hardirqs last enabled at (393): [] _raw_spin_unlock_irq+0x28/0x50 [ 192.652892][ T71] hardirqs last disabled at (394): [] __schedule+0x1246/0x20e0 [ 192.652895][ T71] softirqs last enabled at (312): [] handle_softirqs+0x67c/0x900 [ 192.652900][ T71] softirqs last disabled at (303): [] __irq_exit_rcu+0x145/0x1c0 [ 192.652902][ T71] Preemption disabled at: [ 192.652903][ T71] [<0000000000000000>] 0x0 [ 192.652909][ T71] CPU: 1 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 192.652913][ T71] Tainted: [W]=WARN [ 192.652914][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 192.652916][ T71] Workqueue: netns cleanup_net [ 192.652922][ T71] Call Trace: [ 192.652923][ T71] [ 192.652925][ T71] dump_stack_lvl+0x6f/0xa0 [ 192.652930][ T71] __might_resched.cold+0x1fe/0x2c1 [ 192.652933][ T71] ? __asan_memcpy+0x3c/0x60 [ 192.652937][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 192.652940][ T71] ? record_print_text+0x2fc/0x3e0 [ 192.652943][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.652948][ T71] __kmalloc_noprof+0x443/0x760 [ 192.652952][ T71] ? __rwlock_init+0x150/0x150 [ 192.652955][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 192.652961][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 192.652962][ T71] alloc_buf.isra.0+0x4b/0x260 [ 192.652965][ T71] put_chars+0x1e1/0x2f0 [ 192.652968][ T71] ? __send_to_port+0x420/0x420 [ 192.652970][ T71] ? desc_read+0x219/0x2f0 [ 192.652973][ T71] hvc_console_print+0x292/0x780 [ 192.652978][ T71] ? hvc_write+0x3a0/0x3a0 [ 192.652980][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.652981][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.652983][ T71] ? lock_acquire+0x13c/0x160 [ 192.652986][ T71] console_emit_next_record+0x252/0x4f0 [ 192.652988][ T71] ? devkmsg_read+0x4e0/0x4e0 [ 192.652989][ T71] ? _prb_read_valid+0x6e0/0x6e0 [ 192.652991][ T71] ? __asan_memmove+0x3c/0x60 [ 192.652993][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.652994][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.652995][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.652997][ T71] ? lock_acquire+0x13c/0x160 [ 192.652999][ T71] ? console_flush_one_record+0x111/0x710 [ 192.653000][ T71] console_flush_one_record+0x46f/0x710 [ 192.653002][ T71] ? console_emit_next_record+0x4f0/0x4f0 [ 192.653005][ T71] console_unlock+0xee/0x1f0 [ 192.653006][ T71] ? lock_acquire+0x13c/0x160 [ 192.653008][ T71] ? console_flush_one_record+0x710/0x710 [ 192.653009][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.653011][ T71] ? lock_release+0x184/0x1f0 [ 192.653012][ T71] ? lock_acquire+0x60/0x160 [ 192.653014][ T71] ? sync_exp_reset_tree_hotplug+0x3a0/0x3f0 [ 192.653016][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 192.653018][ T71] ? vprintk_emit+0x320/0x3e0 [ 192.653020][ T71] vprintk_emit+0x37c/0x3e0 [ 192.653022][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 192.653023][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.653025][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 192.653028][ T71] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 192.653030][ T71] ? __dev_queue_xmit+0x93b/0x1a20 [ 192.653032][ T71] ? __dev_queue_xmit+0x93b/0x1a20 [ 192.653033][ T71] ? trace_hardirqs_on+0x36/0x40 [ 192.653036][ T71] _printk+0xc7/0x100 [ 192.653039][ T71] ? snapshot_read.cold+0x21/0x21 [ 192.653041][ T71] ? kmalloc_reserve+0x103/0x2d0 [ 192.653044][ T71] ? netdev_name+0x43/0x60 [ 192.653047][ T71] ? __netdev_printk+0x17f/0x1d0 [ 192.653049][ T71] netdev_info+0xe2/0x116 [ 192.653051][ T71] ? netdev_notice+0x120/0x120 [ 192.653053][ T71] ? __netdev_alloc_skb+0x3e/0x970 [ 192.653055][ T71] bond_3ad_unbind_slave.cold+0xe0/0x3bf [ 192.653060][ T71] ? ad_agg_selection_logic+0x1b70/0x1b70 [ 192.653063][ T71] ? sync_rcu_exp_select_cpus+0x630/0x700 [ 192.653065][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 192.653066][ T71] ? sysfs_remove_files+0x90/0x120 [ 192.653070][ T71] __bond_release_one+0x7b0/0x970 [ 192.653072][ T71] ? lock_acquire+0x13c/0x160 [ 192.653074][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.653075][ T71] ? bond_enslave+0x5100/0x5100 [ 192.653077][ T71] ? ipvlan_port_create+0x541/0x5a0 [ 192.653079][ T71] ? ipvlan_port_get+0xeb/0x3b0 [ 192.653080][ T71] ? ipvlan_port_create+0x5a0/0x5a0 [ 192.653081][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.653084][ T71] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 192.653086][ T71] ? packet_sendmsg_spkt+0x1350/0x1350 [ 192.653090][ T71] bond_uninit+0x119/0x190 [ 192.653091][ T71] ? ip6_route_dev_notify+0x3d/0x380 [ 192.653094][ T71] ? bond_siocdevprivate+0x170/0x170 [ 192.653096][ T71] unregister_netdevice_many_notify+0xee7/0x1b40 [ 192.653099][ T71] ? unregister_netdevice_queued+0x80/0x80 [ 192.653101][ T71] ? trace_hardirqs_on+0x36/0x40 [ 192.653103][ T71] ? rtnl_is_locked+0x15/0x20 [ 192.653105][ T71] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 192.653109][ T71] ops_undo_list+0x615/0x8f0 [ 192.653111][ T71] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 192.653113][ T71] ? idr_destroy+0x121/0x250 [ 192.653116][ T71] cleanup_net+0x431/0x890 [ 192.653118][ T71] ? net_passive_dec+0x230/0x230 [ 192.653119][ T71] ? update_load_avg+0x141/0xf00 [ 192.653122][ T71] ? lock_acquire+0x13c/0x160 [ 192.653124][ T71] ? rcu_is_watching+0x16/0xd0 [ 192.653126][ T71] process_one_work+0xe3e/0x1560 [ 192.653129][ T71] ? __queue_delayed_work+0x470/0x470 [ 192.653132][ T71] ? __rwlock_init+0x150/0x150 [ 192.653134][ T71] worker_thread+0x4f1/0xd60 [ 192.653136][ T71] ? rescuer_thread+0x1340/0x1340 [ 192.653137][ T71] kthread+0x367/0x460 [ 192.653140][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 192.653142][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 192.653144][ T71] ret_from_fork+0x474/0x6b0 [ 192.653148][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 192.653150][ T71] ? __switch_to+0x5a3/0xe00 [ 192.653153][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 192.653155][ T71] ret_from_fork_asm+0x11/0x20 [ 192.653159][ T71] [ 192.670167][ T71] bond0 (unregistering): (slave eth0): Releasing backup interface [ 192.676352][ T71] bond0 (unregistering): Released all slaves [ 192.693753][ T71] bond0: (slave eth1): Removing an active aggregator [ 192.694022][ T71] bond0: (slave eth1): Releasing backup interface [ 192.768157][ T71] bond0 (unregistering): Released all slaves