[ 9.643225][ T92] netdevsim netdevsim491 eni491np1: renamed from eth0 [ 9.643281][ T92] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.643284][ T92] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 92, name: (udev-worker) [ 9.643285][ T92] preempt_count: 1, expected: 0 [ 9.643286][ T92] RCU nest depth: 0, expected: 0 [ 9.643287][ T92] locks held by (udev-worker)/92: 6, last CPU#0: [ 9.643290][ T92] #0: ffffffff8c6fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.643301][ T92] #1: ff1100000d60add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.643306][ T92] #2: ffffffff8bf99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.643312][ T92] #3: ffffffff8bf99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.643315][ T92] #4: ffffffff8be89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.643318][ T92] #5: ffffffff8be89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.643322][ T92] irq event stamp: 409558 [ 9.643323][ T92] hardirqs last enabled at (409557): [] __down_trylock_console_sem+0x86/0xa0 [ 9.643325][ T92] hardirqs last disabled at (409558): [] console_emit_next_record+0x3f8/0x4f0 [ 9.643327][ T92] softirqs last enabled at (409552): [] handle_softirqs+0x67c/0x900 [ 9.643331][ T92] softirqs last disabled at (409547): [] do_softirq+0xac/0xe0 [ 9.643333][ T92] Preemption disabled at: [ 9.643334][ T92] [] vprintk_emit+0x31b/0x3e0 [ 9.643340][ T92] CPU: 0 UID: 0 PID: 92 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.643344][ T92] Tainted: [W]=WARN [ 9.643345][ T92] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.643347][ T92] Call Trace: [ 9.643349][ T92] [ 9.643351][ T92] dump_stack_lvl+0x6f/0xa0 [ 9.643356][ T92] ? vprintk_emit+0x31b/0x3e0 [ 9.643358][ T92] __might_resched.cold+0x1fe/0x2c1 [ 9.643363][ T92] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.643366][ T92] ? __kmalloc_noprof+0xdb/0x760 [ 9.643371][ T92] __kmalloc_noprof+0x443/0x760 [ 9.643374][ T92] ? alloc_buf.isra.0+0x4b/0x260 [ 9.643379][ T92] ? do_raw_spin_unlock+0x59/0x250 [ 9.643381][ T92] alloc_buf.isra.0+0x4b/0x260 [ 9.643385][ T92] put_chars+0x1e1/0x2f0 [ 9.643388][ T92] ? __send_to_port+0x420/0x420 [ 9.643391][ T92] ? validate_chain+0x34a/0xc20 [ 9.643396][ T92] hvc_console_print+0x292/0x780 [ 9.643398][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643403][ T92] ? hvc_write+0x3a0/0x3a0 [ 9.643406][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.643412][ T92] console_emit_next_record+0x252/0x4f0 [ 9.643416][ T92] ? devkmsg_read+0x4e0/0x4e0 [ 9.643420][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.643422][ T92] ? lock_acquire+0x13c/0x160 [ 9.643426][ T92] console_flush_one_record+0x46f/0x710 [ 9.643430][ T92] ? console_emit_next_record+0x4f0/0x4f0 [ 9.643431][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643436][ T92] console_unlock+0xee/0x1f0 [ 9.643439][ T92] ? console_flush_one_record+0x710/0x710 [ 9.643440][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.643443][ T92] ? lock_acquire+0x60/0x160 [ 9.643446][ T92] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.643447][ T92] ? vprintk_emit+0x320/0x3e0 [ 9.643450][ T92] vprintk_emit+0x37c/0x3e0 [ 9.643454][ T92] ? wake_up_klogd_work_func+0x90/0x90 [ 9.643456][ T92] ? write_profile+0xf0/0xf0 [ 9.643459][ T92] ? unwind_get_return_address+0x67/0xd0 [ 9.643466][ T92] dev_vprintk_emit+0x27f/0x2c0 [ 9.643471][ T92] ? device_rename.cold+0xa/0xa [ 9.643475][ T92] ? filter_irq_stacks+0xd0/0xd0 [ 9.643481][ T92] dev_printk_emit+0xb9/0xee [ 9.643484][ T92] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.643488][ T92] ? check_prev_add+0x316/0xe90 [ 9.643493][ T92] __netdev_printk+0x160/0x1d0 [ 9.643498][ T92] netdev_info+0xe2/0x116 [ 9.643500][ T92] ? netdev_notice+0x120/0x120 [ 9.643503][ T92] ? find_held_lock+0x2b/0x80 [ 9.643507][ T92] ? __lock_release.isra.0+0x69/0x1a0 [ 9.643509][ T92] ? mark_held_locks+0x40/0x70 [ 9.643512][ T92] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.643515][ T92] netif_change_name.cold+0x4f/0x89 [ 9.643518][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643520][ T92] ? rwsem_optimistic_spin+0x3c7/0x480 [ 9.643522][ T92] ? find_held_lock+0x2/0x80 [ 9.643525][ T92] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.643528][ T92] ? find_held_lock+0x2b/0x80 [ 9.643532][ T92] ? __asan_memset+0x27/0x50 [ 9.643537][ T92] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.643540][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643543][ T92] ? rtnl_link_get_size+0x350/0x350 [ 9.643544][ T92] ? mark_usage+0x61/0x170 [ 9.643546][ T92] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.643548][ T92] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.643550][ T92] ? validate_chain+0x38b/0xc20 [ 9.643560][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643565][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 9.643566][ T92] ? rtnl_setlink+0x29d/0x920 [ 9.643569][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.643571][ T92] ? lock_acquire+0x13c/0x160 [ 9.643573][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.643574][ T92] ? rcu_is_watching+0x16/0xd0 [ 9.643576][ T92] ? trace_contention_end+0xb3/0x180 [ 9.643579][ T92] ? __mutex_lock+0x1db/0x1ea0 [ 9.643582][ T92] ? __mutex_lock+0x9a3/0x1ea0 [ 9.643584][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643585][ T92] ? rtnl_setlink+0x29d/0x920 [ 9.643588][ T92] ? mark_usage+0x61/0x170 [ 9.643590][ T92] ? ww_mutex_lock+0x160/0x160 [ 9.643592][ T92] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.643598][ T92] ? mark_usage+0x61/0x170 [ 9.643601][ T92] ? cap_capable+0x1d7/0x3d0 [ 9.643609][ T92] rtnl_setlink+0x527/0x920 [ 9.643612][ T92] ? __rtnl_newlink+0xa50/0xa50 [ 9.643614][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643635][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 9.643637][ T92] ? find_held_lock+0x2b/0x80 [ 9.643640][ T92] ? __lock_release.isra.0+0x69/0x1a0 [ 9.643642][ T92] ? mark_usage+0x61/0x170 [ 9.643644][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643648][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 9.643649][ T92] ? find_held_lock+0x2b/0x80 [ 9.643652][ T92] ? __rtnl_newlink+0xa50/0xa50 [ 9.643654][ T92] ? __lock_release.isra.0+0x69/0x1a0 [ 9.643657][ T92] ? __rtnl_newlink+0xa50/0xa50 [ 9.643659][ T92] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.643663][ T92] ? rtnl_link_fill+0x900/0x900 [ 9.643664][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643668][ T92] ? lock_acquire.part.0+0xd4/0x280 [ 9.643670][ T92] ? find_held_lock+0x2b/0x80 [ 9.643674][ T92] netlink_rcv_skb+0x14e/0x3a0 [ 9.643677][ T92] ? rtnl_link_fill+0x900/0x900 [ 9.643680][ T92] ? netlink_ack+0xcd0/0xcd0 [ 9.643687][ T92] ? netlink_deliver_tap+0xc5/0x330 [ 9.643689][ T92] ? netlink_deliver_tap+0x13c/0x330 [ 9.643693][ T92] netlink_unicast+0x486/0x750 [ 9.643698][ T92] ? netlink_attachskb+0x810/0x810 [ 9.643700][ T92] ? __lock_acquire+0x518/0xc20 [ 9.643702][ T92] ? do_raw_spin_trylock+0x161/0x180 [ 9.643706][ T92] netlink_sendmsg+0x735/0xc60 [ 9.643710][ T92] ? netlink_unicast+0x750/0x750 [ 9.643713][ T92] ? __might_fault+0x97/0x140 [ 9.643717][ T92] ? __might_fault+0x97/0x140 [ 9.643720][ T92] __sys_sendto+0x2aa/0x400 [ 9.643724][ T92] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.643734][ T92] ? exc_page_fault+0x87/0x100 [ 9.643740][ T92] __x64_sys_sendto+0xe4/0x1f0 [ 9.643741][ T92] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.643745][ T92] ? lockdep_hardirqs_on+0x91/0x130 [ 9.643747][ T92] ? do_syscall_64+0xa6/0x530 [ 9.643748][ T92] do_syscall_64+0xff/0x530 [ 9.643750][ T92] ? exc_page_fault+0xee/0x100 [ 9.643752][ T92] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.643755][ T92] RIP: 0033:0x7f31a923e54e [ 9.643758][ T92] 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 [ 9.643760][ T92] RSP: 002b:00007ffc872d4090 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.643763][ T92] RAX: ffffffffffffffda RBX: 000055e133466ff0 RCX: 00007f31a923e54e [ 9.643764][ T92] RDX: 0000000000000030 RSI: 000055e13360d9e0 RDI: 0000000000000024 [ 9.643765][ T92] RBP: 00007ffc872d40a0 R08: 00007ffc872d40f0 R09: 0000000000000080 [ 9.643766][ T92] R10: 0000000000000000 R11: 0000000000000202 R12: 000055e1336114b0 [ 9.643767][ T92] R13: 00007ffc872d41d4 R14: 0000000000000000 R15: 0000000000000000 [ 9.643773][ T92] [ 9.681344][ T87] netdevsim netdevsim568 eni568np1: renamed from eth1 [ 10.289071][ T167] Could not find device with ifindex 2000 in netnsfd 11 [ 10.289733][ T167] Could not find netns with fd: 2000 [ 10.290368][ T167] Cannot link a netdevsim to itself [ 10.290930][ T167] Format for linking two devices is "netnsfd_a:ifidx_a netnsfd_b:ifidx_b" (int uint int uint).