[ 9.645342][ T81] netdevsim netdevsim417 eni417np1: renamed from eth0 [ 9.645449][ T81] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.645451][ T81] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 81, name: (udev-worker) [ 9.645453][ T81] preempt_count: 1, expected: 0 [ 9.645454][ T81] RCU nest depth: 0, expected: 0 [ 9.645455][ T81] locks held by (udev-worker)/81: 6, last CPU#0: [ 9.645457][ T81] #0: ffffffffb66fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.645469][ T81] #1: ff1100000c562dd8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.645473][ T81] #2: ffffffffb5f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.645479][ T81] #3: ffffffffb5f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.645483][ T81] #4: ffffffffb5e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.645486][ T81] #5: ffffffffb5e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.645490][ T81] irq event stamp: 380286 [ 9.645491][ T81] hardirqs last enabled at (380285): [] __down_trylock_console_sem+0x86/0xa0 [ 9.645493][ T81] hardirqs last disabled at (380286): [] console_emit_next_record+0x3f8/0x4f0 [ 9.645495][ T81] softirqs last enabled at (380278): [] netif_change_name+0x216/0x8c0 [ 9.645497][ T81] softirqs last disabled at (380276): [] netif_change_name+0x1ad/0x8c0 [ 9.645499][ T81] Preemption disabled at: [ 9.645500][ T81] [] vprintk_emit+0x31b/0x3e0 [ 9.645506][ T81] CPU: 0 UID: 0 PID: 81 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.645509][ T81] Tainted: [W]=WARN [ 9.645510][ T81] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.645513][ T81] Call Trace: [ 9.645514][ T81] [ 9.645516][ T81] dump_stack_lvl+0x6f/0xa0 [ 9.645521][ T81] ? vprintk_emit+0x31b/0x3e0 [ 9.645523][ T81] __might_resched.cold+0x1fe/0x2c1 [ 9.645528][ T81] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.645532][ T81] ? __kmalloc_noprof+0xdb/0x760 [ 9.645537][ T81] __kmalloc_noprof+0x443/0x760 [ 9.645539][ T81] ? alloc_buf.isra.0+0x4b/0x260 [ 9.645544][ T81] ? do_raw_spin_unlock+0x59/0x250 [ 9.645546][ T81] alloc_buf.isra.0+0x4b/0x260 [ 9.645550][ T81] put_chars+0x1e1/0x2f0 [ 9.645553][ T81] ? __send_to_port+0x420/0x420 [ 9.645556][ T81] ? validate_chain+0x34a/0xc20 [ 9.645561][ T81] hvc_console_print+0x292/0x780 [ 9.645564][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645569][ T81] ? hvc_write+0x3a0/0x3a0 [ 9.645571][ T81] ? rcu_is_watching+0x16/0xd0 [ 9.645577][ T81] console_emit_next_record+0x252/0x4f0 [ 9.645581][ T81] ? devkmsg_read+0x4e0/0x4e0 [ 9.645585][ T81] ? rcu_is_watching+0x16/0xd0 [ 9.645587][ T81] ? lock_acquire+0x13c/0x160 [ 9.645591][ T81] console_flush_one_record+0x46f/0x710 [ 9.645595][ T81] ? console_emit_next_record+0x4f0/0x4f0 [ 9.645597][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645602][ T81] console_unlock+0xee/0x1f0 [ 9.645604][ T81] ? console_flush_one_record+0x710/0x710 [ 9.645606][ T81] ? rcu_is_watching+0x16/0xd0 [ 9.645608][ T81] ? lock_acquire+0x60/0x160 [ 9.645611][ T81] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.645613][ T81] ? vprintk_emit+0x320/0x3e0 [ 9.645616][ T81] vprintk_emit+0x37c/0x3e0 [ 9.645619][ T81] ? wake_up_klogd_work_func+0x90/0x90 [ 9.645622][ T81] ? write_profile+0xf0/0xf0 [ 9.645625][ T81] ? unwind_get_return_address+0x67/0xd0 [ 9.645632][ T81] dev_vprintk_emit+0x27f/0x2c0 [ 9.645637][ T81] ? device_rename.cold+0xa/0xa [ 9.645641][ T81] ? filter_irq_stacks+0xd0/0xd0 [ 9.645647][ T81] dev_printk_emit+0xb9/0xee [ 9.645650][ T81] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.645654][ T81] ? check_prev_add+0x316/0xe90 [ 9.645659][ T81] __netdev_printk+0x160/0x1d0 [ 9.645664][ T81] netdev_info+0xe2/0x116 [ 9.645667][ T81] ? netdev_notice+0x120/0x120 [ 9.645671][ T81] ? find_held_lock+0x2b/0x80 [ 9.645675][ T81] ? __lock_release.isra.0+0x69/0x1a0 [ 9.645677][ T81] ? mark_held_locks+0x40/0x70 [ 9.645680][ T81] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.645683][ T81] netif_change_name.cold+0x4f/0x89 [ 9.645686][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645687][ T81] ? rwsem_optimistic_spin+0x3c7/0x480 [ 9.645690][ T81] ? find_held_lock+0x2/0x80 [ 9.645693][ T81] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.645703][ T81] ? find_held_lock+0x2b/0x80 [ 9.645706][ T81] ? __asan_memset+0x27/0x50 [ 9.645712][ T81] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.645715][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645717][ T81] ? rtnl_link_get_size+0x350/0x350 [ 9.645719][ T81] ? mark_usage+0x61/0x170 [ 9.645720][ T81] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.645723][ T81] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.645726][ T81] ? validate_chain+0x38b/0xc20 [ 9.645730][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645734][ T81] ? lock_acquire.part.0+0xd4/0x280 [ 9.645735][ T81] ? rtnl_setlink+0x29d/0x920 [ 9.645738][ T81] ? rcu_is_watching+0x16/0xd0 [ 9.645741][ T81] ? lock_acquire+0x13c/0x160 [ 9.645742][ T81] ? rcu_is_watching+0x16/0xd0 [ 9.645743][ T81] ? rcu_is_watching+0x16/0xd0 [ 9.645745][ T81] ? trace_contention_end+0xb3/0x180 [ 9.645748][ T81] ? __mutex_lock+0x1db/0x1ea0 [ 9.645751][ T81] ? __mutex_lock+0x9a3/0x1ea0 [ 9.645752][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645754][ T81] ? rtnl_setlink+0x29d/0x920 [ 9.645757][ T81] ? mark_usage+0x61/0x170 [ 9.645759][ T81] ? ww_mutex_lock+0x160/0x160 [ 9.645761][ T81] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.645767][ T81] ? mark_usage+0x61/0x170 [ 9.645770][ T81] ? cap_capable+0x1d7/0x3d0 [ 9.645777][ T81] rtnl_setlink+0x527/0x920 [ 9.645781][ T81] ? __rtnl_newlink+0xa50/0xa50 [ 9.645782][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645805][ T81] ? lock_acquire.part.0+0xd4/0x280 [ 9.645807][ T81] ? find_held_lock+0x2b/0x80 [ 9.645810][ T81] ? __lock_release.isra.0+0x69/0x1a0 [ 9.645812][ T81] ? mark_usage+0x61/0x170 [ 9.645813][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645817][ T81] ? lock_acquire.part.0+0xd4/0x280 [ 9.645819][ T81] ? find_held_lock+0x2b/0x80 [ 9.645821][ T81] ? __rtnl_newlink+0xa50/0xa50 [ 9.645823][ T81] ? __lock_release.isra.0+0x69/0x1a0 [ 9.645827][ T81] ? __rtnl_newlink+0xa50/0xa50 [ 9.645829][ T81] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.645833][ T81] ? rtnl_link_fill+0x900/0x900 [ 9.645834][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645838][ T81] ? lock_acquire.part.0+0xd4/0x280 [ 9.645840][ T81] ? find_held_lock+0x2b/0x80 [ 9.645844][ T81] netlink_rcv_skb+0x14e/0x3a0 [ 9.645847][ T81] ? rtnl_link_fill+0x900/0x900 [ 9.645850][ T81] ? netlink_ack+0xcd0/0xcd0 [ 9.645857][ T81] ? netlink_deliver_tap+0xc5/0x330 [ 9.645859][ T81] ? netlink_deliver_tap+0x13c/0x330 [ 9.645863][ T81] netlink_unicast+0x486/0x750 [ 9.645867][ T81] ? netlink_attachskb+0x810/0x810 [ 9.645870][ T81] ? __lock_acquire+0x518/0xc20 [ 9.645872][ T81] ? do_raw_spin_trylock+0x161/0x180 [ 9.645876][ T81] netlink_sendmsg+0x735/0xc60 [ 9.645880][ T81] ? netlink_unicast+0x750/0x750 [ 9.645883][ T81] ? __might_fault+0x97/0x140 [ 9.645887][ T81] ? __might_fault+0x97/0x140 [ 9.645890][ T81] __sys_sendto+0x2aa/0x400 [ 9.645894][ T81] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.645904][ T81] ? exc_page_fault+0x87/0x100 [ 9.645910][ T81] __x64_sys_sendto+0xe4/0x1f0 [ 9.645912][ T81] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.645916][ T81] ? lockdep_hardirqs_on+0x91/0x130 [ 9.645917][ T81] ? do_syscall_64+0xa6/0x530 [ 9.645919][ T81] do_syscall_64+0xff/0x530 [ 9.645921][ T81] ? exc_page_fault+0xee/0x100 [ 9.645923][ T81] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.645926][ T81] RIP: 0033:0x7fb20ce7054e [ 9.645929][ T81] 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.645931][ T81] RSP: 002b:00007fff341313b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.645934][ T81] RAX: ffffffffffffffda RBX: 0000563a96256f50 RCX: 00007fb20ce7054e [ 9.645935][ T81] RDX: 0000000000000030 RSI: 0000563a9624f740 RDI: 0000000000000011 [ 9.645936][ T81] RBP: 00007fff341313c0 R08: 00007fff34131410 R09: 0000000000000080 [ 9.645937][ T81] R10: 0000000000000000 R11: 0000000000000202 R12: 0000563a963aad70 [ 9.645938][ T81] R13: 00007fff341314f4 R14: 0000000000000000 R15: 0000000000000000 [ 9.645945][ T81] [ 9.687255][ T83] netdevsim netdevsim675 eni675np1: renamed from eth1 [ 10.311264][ T166] Could not find device with ifindex 2000 in netnsfd 11 [ 10.311970][ T166] Could not find netns with fd: 2000 [ 10.312525][ T166] Cannot link a netdevsim to itself [ 10.313142][ T166] Format for linking two devices is "netnsfd_a:ifidx_a netnsfd_b:ifidx_b" (int uint int uint).