[ 8.878903][ T90] netdevsim netdevsim649 eni649np1: renamed from eth1 [ 8.878954][ T90] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.878956][ T90] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 90, name: (udev-worker) [ 8.878958][ T90] preempt_count: 1, expected: 0 [ 8.878959][ T90] RCU nest depth: 0, expected: 0 [ 8.878960][ T90] locks held by (udev-worker)/90: 6, last CPU#1: [ 8.878962][ T90] #0: ffffffffbc0fe280 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 8.878974][ T90] #1: ff1100000c23add8 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 8.878978][ T90] #2: ffffffffbb999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.878983][ T90] #3: ffffffffbb999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.878987][ T90] #4: ffffffffbb889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.878990][ T90] #5: ffffffffbb889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.878993][ T90] irq event stamp: 426838 [ 8.878994][ T90] hardirqs last enabled at (426837): [] __down_trylock_console_sem+0x86/0xa0 [ 8.878996][ T90] hardirqs last disabled at (426838): [] console_emit_next_record+0x3f8/0x4f0 [ 8.878998][ T90] softirqs last enabled at (426832): [] netif_change_name+0x216/0x8c0 [ 8.879000][ T90] softirqs last disabled at (426828): [] netif_change_name+0x1ad/0x8c0 [ 8.879002][ T90] Preemption disabled at: [ 8.879003][ T90] [] vprintk_emit+0x31b/0x3e0 [ 8.879008][ T90] CPU: 1 UID: 0 PID: 90 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.879011][ T90] Tainted: [W]=WARN [ 8.879012][ T90] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.879014][ T90] Call Trace: [ 8.879015][ T90] [ 8.879017][ T90] dump_stack_lvl+0x6f/0xa0 [ 8.879022][ T90] ? vprintk_emit+0x31b/0x3e0 [ 8.879024][ T90] __might_resched.cold+0x1fe/0x2c1 [ 8.879029][ T90] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.879032][ T90] ? __kmalloc_noprof+0xdb/0x760 [ 8.879037][ T90] __kmalloc_noprof+0x443/0x760 [ 8.879039][ T90] ? alloc_buf.isra.0+0x4b/0x260 [ 8.879045][ T90] ? do_raw_spin_unlock+0x59/0x250 [ 8.879047][ T90] alloc_buf.isra.0+0x4b/0x260 [ 8.879050][ T90] put_chars+0x1e1/0x2f0 [ 8.879053][ T90] ? __send_to_port+0x420/0x420 [ 8.879056][ T90] ? validate_chain+0x34a/0xc20 [ 8.879061][ T90] hvc_console_print+0x292/0x780 [ 8.879063][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879068][ T90] ? hvc_write+0x3a0/0x3a0 [ 8.879071][ T90] ? rcu_is_watching+0x16/0xd0 [ 8.879077][ T90] console_emit_next_record+0x252/0x4f0 [ 8.879080][ T90] ? devkmsg_read+0x4e0/0x4e0 [ 8.879084][ T90] ? rcu_is_watching+0x16/0xd0 [ 8.879086][ T90] ? lock_acquire+0x13c/0x160 [ 8.879090][ T90] console_flush_one_record+0x46f/0x710 [ 8.879094][ T90] ? console_emit_next_record+0x4f0/0x4f0 [ 8.879096][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879101][ T90] console_unlock+0xee/0x1f0 [ 8.879103][ T90] ? console_flush_one_record+0x710/0x710 [ 8.879105][ T90] ? rcu_is_watching+0x16/0xd0 [ 8.879107][ T90] ? lock_acquire+0x60/0x160 [ 8.879110][ T90] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.879111][ T90] ? vprintk_emit+0x320/0x3e0 [ 8.879115][ T90] vprintk_emit+0x37c/0x3e0 [ 8.879118][ T90] ? wake_up_klogd_work_func+0x90/0x90 [ 8.879120][ T90] ? write_profile+0xf0/0xf0 [ 8.879127][ T90] ? unwind_get_return_address+0x67/0xd0 [ 8.879134][ T90] dev_vprintk_emit+0x27f/0x2c0 [ 8.879139][ T90] ? device_rename.cold+0xa/0xa [ 8.879143][ T90] ? filter_irq_stacks+0xd0/0xd0 [ 8.879148][ T90] dev_printk_emit+0xb9/0xee [ 8.879151][ T90] ? dev_vprintk_emit+0x2c0/0x2c0 [ 8.879155][ T90] ? check_prev_add+0x316/0xe90 [ 8.879159][ T90] __netdev_printk+0x160/0x1d0 [ 8.879164][ T90] netdev_info+0xe2/0x116 [ 8.879166][ T90] ? netdev_notice+0x120/0x120 [ 8.879169][ T90] ? find_held_lock+0x2b/0x80 [ 8.879172][ T90] ? __lock_release.isra.0+0x69/0x1a0 [ 8.879175][ T90] ? mark_held_locks+0x40/0x70 [ 8.879178][ T90] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 8.879180][ T90] netif_change_name.cold+0x4f/0x89 [ 8.879183][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879185][ T90] ? rwsem_optimistic_spin+0x3c7/0x480 [ 8.879187][ T90] ? find_held_lock+0x2/0x80 [ 8.879190][ T90] ? netdev_adjacent_rename_links+0x470/0x470 [ 8.879192][ T90] ? find_held_lock+0x2b/0x80 [ 8.879195][ T90] ? __asan_memset+0x27/0x50 [ 8.879201][ T90] do_setlink.isra.0+0x1f7d/0x2a60 [ 8.879203][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879206][ T90] ? rtnl_link_get_size+0x350/0x350 [ 8.879208][ T90] ? mark_usage+0x61/0x170 [ 8.879209][ T90] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.879211][ T90] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.879214][ T90] ? validate_chain+0x38b/0xc20 [ 8.879218][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879222][ T90] ? lock_acquire.part.0+0xd4/0x280 [ 8.879223][ T90] ? rtnl_setlink+0x29d/0x920 [ 8.879226][ T90] ? rcu_is_watching+0x16/0xd0 [ 8.879228][ T90] ? lock_acquire+0x13c/0x160 [ 8.879229][ T90] ? rcu_is_watching+0x16/0xd0 [ 8.879231][ T90] ? rcu_is_watching+0x16/0xd0 [ 8.879233][ T90] ? trace_contention_end+0xb3/0x180 [ 8.879235][ T90] ? __mutex_lock+0x1db/0x1ea0 [ 8.879238][ T90] ? __mutex_lock+0x9a3/0x1ea0 [ 8.879240][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879241][ T90] ? rtnl_setlink+0x29d/0x920 [ 8.879244][ T90] ? mark_usage+0x61/0x170 [ 8.879246][ T90] ? ww_mutex_lock+0x160/0x160 [ 8.879248][ T90] ? nla_get_range_signed+0x3d0/0x3d0 [ 8.879254][ T90] ? mark_usage+0x61/0x170 [ 8.879256][ T90] ? cap_capable+0x1d7/0x3d0 [ 8.879264][ T90] rtnl_setlink+0x527/0x920 [ 8.879267][ T90] ? __rtnl_newlink+0xa50/0xa50 [ 8.879269][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879291][ T90] ? lock_acquire.part.0+0xd4/0x280 [ 8.879292][ T90] ? find_held_lock+0x2b/0x80 [ 8.879295][ T90] ? __lock_release.isra.0+0x69/0x1a0 [ 8.879297][ T90] ? mark_usage+0x61/0x170 [ 8.879298][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879302][ T90] ? lock_acquire.part.0+0xd4/0x280 [ 8.879304][ T90] ? find_held_lock+0x2b/0x80 [ 8.879309][ T90] ? __rtnl_newlink+0xa50/0xa50 [ 8.879311][ T90] ? __lock_release.isra.0+0x69/0x1a0 [ 8.879314][ T90] ? __rtnl_newlink+0xa50/0xa50 [ 8.879317][ T90] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 8.879320][ T90] ? rtnl_link_fill+0x900/0x900 [ 8.879322][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879326][ T90] ? lock_acquire.part.0+0xd4/0x280 [ 8.879327][ T90] ? find_held_lock+0x2b/0x80 [ 8.879331][ T90] netlink_rcv_skb+0x14e/0x3a0 [ 8.879334][ T90] ? rtnl_link_fill+0x900/0x900 [ 8.879337][ T90] ? netlink_ack+0xcd0/0xcd0 [ 8.879344][ T90] ? netlink_deliver_tap+0xc5/0x330 [ 8.879346][ T90] ? netlink_deliver_tap+0x13c/0x330 [ 8.879350][ T90] netlink_unicast+0x486/0x750 [ 8.879354][ T90] ? netlink_attachskb+0x810/0x810 [ 8.879357][ T90] ? __lock_acquire+0x518/0xc20 [ 8.879359][ T90] ? do_raw_spin_trylock+0x161/0x180 [ 8.879362][ T90] netlink_sendmsg+0x735/0xc60 [ 8.879366][ T90] ? netlink_unicast+0x750/0x750 [ 8.879370][ T90] ? __might_fault+0x97/0x140 [ 8.879373][ T90] ? __might_fault+0x97/0x140 [ 8.879376][ T90] __sys_sendto+0x2aa/0x400 [ 8.879380][ T90] ? __ia32_sys_getpeername+0xd0/0xd0 [ 8.879390][ T90] ? exc_page_fault+0x87/0x100 [ 8.879396][ T90] __x64_sys_sendto+0xe4/0x1f0 [ 8.879398][ T90] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.879401][ T90] ? lockdep_hardirqs_on+0x91/0x130 [ 8.879403][ T90] ? do_syscall_64+0xa6/0x530 [ 8.879404][ T90] do_syscall_64+0xff/0x530 [ 8.879406][ T90] ? exc_page_fault+0xee/0x100 [ 8.879408][ T90] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.879410][ T90] RIP: 0033:0x7ff0dceee54e [ 8.879414][ T90] 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 [ 8.879416][ T90] RSP: 002b:00007fff05458ca0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 8.879419][ T90] RAX: ffffffffffffffda RBX: 000055f75f4fbf40 RCX: 00007ff0dceee54e [ 8.879420][ T90] RDX: 0000000000000030 RSI: 000055f75f6ab230 RDI: 0000000000000020 [ 8.879421][ T90] RBP: 00007fff05458cb0 R08: 00007fff05458d00 R09: 0000000000000080 [ 8.879421][ T90] R10: 0000000000000000 R11: 0000000000000202 R12: 000055f75f6aa9d0 [ 8.879422][ T90] R13: 00007fff05458de4 R14: 0000000000000000 R15: 0000000000000000 [ 8.879429][ T90] [ 8.915366][ T83] netdevsim netdevsim309 eni309np1: renamed from eth0 [ 9.505936][ T166] Could not find device with ifindex 2000 in netnsfd 11 [ 9.506517][ T166] Could not find netns with fd: 2000 [ 9.512028][ T166] Cannot link a netdevsim to itself [ 9.512528][ T166] Format for linking two devices is "netnsfd_a:ifidx_a netnsfd_b:ifidx_b" (int uint int uint).