[ 9.040367][ T90] netdevsim netdevsim1337 eni1337np1: renamed from eth0 [ 9.040422][ T90] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.040425][ T90] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 90, name: (udev-worker) [ 9.040426][ T90] preempt_count: 1, expected: 0 [ 9.040427][ T90] RCU nest depth: 0, expected: 0 [ 9.040428][ T90] locks held by (udev-worker)/90: 6, last CPU#1: [ 9.040431][ T90] #0: ffffffffb04cfcc0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_setlink+0x29d/0x920 [ 9.040443][ T90] #1: ff1100000c912dd0 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: do_setlink.isra.0+0x27a/0x2a60 [ 9.040448][ T90] #2: ffffffffafd69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.040453][ T90] #3: ffffffffafd69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.040457][ T90] #4: ffffffffafc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.040460][ T90] #5: ffffffffafc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.040464][ T90] irq event stamp: 404740 [ 9.040465][ T90] hardirqs last enabled at (404739): [] __down_trylock_console_sem+0x86/0xa0 [ 9.040467][ T90] hardirqs last disabled at (404740): [] console_emit_next_record+0x3d4/0x4c0 [ 9.040469][ T90] softirqs last enabled at (404734): [] netif_change_name+0x216/0x8c0 [ 9.040472][ T90] softirqs last disabled at (404732): [] netif_change_name+0x1ad/0x8c0 [ 9.040474][ T90] Preemption disabled at: [ 9.040474][ T90] [] vprintk_emit+0x31b/0x3e0 [ 9.040480][ T90] CPU: 1 UID: 0 PID: 90 Comm: (udev-worker) Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.040484][ T90] Tainted: [W]=WARN [ 9.040485][ T90] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.040486][ T90] Call Trace: [ 9.040488][ T90] [ 9.040490][ T90] dump_stack_lvl+0x6f/0xa0 [ 9.040495][ T90] ? vprintk_emit+0x31b/0x3e0 [ 9.040498][ T90] __might_resched.cold+0x1fe/0x2c1 [ 9.040502][ T90] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.040506][ T90] ? __kmalloc_noprof+0xdb/0x760 [ 9.040511][ T90] __kmalloc_noprof+0x443/0x760 [ 9.040513][ T90] ? alloc_buf.isra.0+0x4b/0x260 [ 9.040520][ T90] ? do_raw_spin_unlock+0x59/0x250 [ 9.040522][ T90] alloc_buf.isra.0+0x4b/0x260 [ 9.040526][ T90] put_chars+0x1e1/0x2f0 [ 9.040529][ T90] ? __send_to_port+0x420/0x420 [ 9.040534][ T90] ? validate_chain+0x34a/0xc20 [ 9.040538][ T90] hvc_console_print+0x292/0x780 [ 9.040541][ T90] ? mark_usage+0x61/0x170 [ 9.040543][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040544][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040548][ T90] ? hvc_write+0x3a0/0x3a0 [ 9.040551][ T90] ? console_emit_next_record+0x1df/0x4c0 [ 9.040554][ T90] ? rcu_is_watching+0x16/0xd0 [ 9.040561][ T90] ? lock_acquire+0x13c/0x160 [ 9.040564][ T90] console_emit_next_record+0x22f/0x4c0 [ 9.040568][ T90] ? devkmsg_read+0x4b0/0x4b0 [ 9.040570][ T90] ? console_flush_one_record+0x106/0x710 [ 9.040573][ T90] ? rcu_is_watching+0x16/0xd0 [ 9.040575][ T90] ? lock_acquire+0x13c/0x160 [ 9.040579][ T90] console_flush_one_record+0x46f/0x710 [ 9.040583][ T90] ? console_emit_next_record+0x4c0/0x4c0 [ 9.040584][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040590][ T90] console_unlock+0xee/0x1f0 [ 9.040592][ T90] ? console_flush_one_record+0x710/0x710 [ 9.040594][ T90] ? rcu_is_watching+0x16/0xd0 [ 9.040596][ T90] ? lock_acquire+0x60/0x160 [ 9.040600][ T90] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.040601][ T90] ? vprintk_emit+0x320/0x3e0 [ 9.040604][ T90] vprintk_emit+0x37c/0x3e0 [ 9.040608][ T90] ? wake_up_klogd_work_func+0x90/0x90 [ 9.040610][ T90] ? write_profile+0xf0/0xf0 [ 9.040613][ T90] ? unwind_get_return_address+0x67/0xd0 [ 9.040620][ T90] dev_vprintk_emit+0x27f/0x2c0 [ 9.040624][ T90] ? device_rename.cold+0xa/0xa [ 9.040629][ T90] ? filter_irq_stacks+0xd0/0xd0 [ 9.040635][ T90] dev_printk_emit+0xb9/0xee [ 9.040637][ T90] ? dev_vprintk_emit+0x2c0/0x2c0 [ 9.040641][ T90] ? check_prev_add+0x316/0xe90 [ 9.040646][ T90] __netdev_printk+0x160/0x1d0 [ 9.040652][ T90] netdev_info+0xe2/0x116 [ 9.040654][ T90] ? netdev_notice+0x120/0x120 [ 9.040656][ T90] ? find_held_lock+0x2b/0x80 [ 9.040661][ T90] ? __lock_release.isra.0+0x69/0x1a0 [ 9.040663][ T90] ? mark_held_locks+0x40/0x70 [ 9.040666][ T90] ? do_setlink.isra.0+0x1f7d/0x2a60 [ 9.040669][ T90] netif_change_name.cold+0x4f/0x89 [ 9.040672][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040673][ T90] ? __lock_acquire+0x7/0xc20 [ 9.040675][ T90] ? find_held_lock+0x2/0x80 [ 9.040678][ T90] ? netdev_adjacent_rename_links+0x470/0x470 [ 9.040680][ T90] ? find_held_lock+0x2b/0x80 [ 9.040683][ T90] ? __asan_memset+0x27/0x50 [ 9.040689][ T90] do_setlink.isra.0+0x1f7d/0x2a60 [ 9.040692][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040695][ T90] ? rtnl_link_get_size+0x350/0x350 [ 9.040697][ T90] ? mark_usage+0x61/0x170 [ 9.040698][ T90] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.040701][ T90] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.040703][ T90] ? validate_chain+0x38b/0xc20 [ 9.040707][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040712][ T90] ? lock_acquire.part.0+0xd4/0x280 [ 9.040713][ T90] ? rtnl_setlink+0x29d/0x920 [ 9.040716][ T90] ? rcu_is_watching+0x16/0xd0 [ 9.040718][ T90] ? lock_acquire+0x13c/0x160 [ 9.040720][ T90] ? rcu_is_watching+0x16/0xd0 [ 9.040721][ T90] ? rcu_is_watching+0x16/0xd0 [ 9.040723][ T90] ? trace_contention_end+0xb3/0x180 [ 9.040726][ T90] ? __mutex_lock+0x1db/0x1ea0 [ 9.040730][ T90] ? __mutex_lock+0x9a3/0x1ea0 [ 9.040732][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040734][ T90] ? rtnl_setlink+0x29d/0x920 [ 9.040736][ T90] ? mark_usage+0x61/0x170 [ 9.040739][ T90] ? ww_mutex_lock+0x160/0x160 [ 9.040741][ T90] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.040747][ T90] ? mark_usage+0x61/0x170 [ 9.040750][ T90] ? cap_capable+0x1d7/0x3d0 [ 9.040758][ T90] rtnl_setlink+0x527/0x920 [ 9.040761][ T90] ? __rtnl_newlink+0xa50/0xa50 [ 9.040763][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040786][ T90] ? lock_acquire.part.0+0xd4/0x280 [ 9.040788][ T90] ? find_held_lock+0x2b/0x80 [ 9.040791][ T90] ? __lock_release.isra.0+0x69/0x1a0 [ 9.040793][ T90] ? mark_usage+0x61/0x170 [ 9.040795][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040799][ T90] ? lock_acquire.part.0+0xd4/0x280 [ 9.040801][ T90] ? find_held_lock+0x2b/0x80 [ 9.040803][ T90] ? __rtnl_newlink+0xa50/0xa50 [ 9.040805][ T90] ? __lock_release.isra.0+0x69/0x1a0 [ 9.040809][ T90] ? __rtnl_newlink+0xa50/0xa50 [ 9.040811][ T90] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.040814][ T90] ? rtnl_link_fill+0x900/0x900 [ 9.040816][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040820][ T90] ? lock_acquire.part.0+0xd4/0x280 [ 9.040822][ T90] ? find_held_lock+0x2b/0x80 [ 9.040826][ T90] netlink_rcv_skb+0x14e/0x3a0 [ 9.040829][ T90] ? rtnl_link_fill+0x900/0x900 [ 9.040832][ T90] ? netlink_ack+0xcd0/0xcd0 [ 9.040839][ T90] ? netlink_deliver_tap+0xc5/0x330 [ 9.040840][ T90] ? netlink_deliver_tap+0x13c/0x330 [ 9.040845][ T90] netlink_unicast+0x486/0x750 [ 9.040849][ T90] ? netlink_attachskb+0x810/0x810 [ 9.040851][ T90] ? __lock_acquire+0x518/0xc20 [ 9.040856][ T90] netlink_sendmsg+0x735/0xc60 [ 9.040860][ T90] ? netlink_unicast+0x750/0x750 [ 9.040864][ T90] ? __might_fault+0x97/0x140 [ 9.040867][ T90] ? __might_fault+0x97/0x140 [ 9.040870][ T90] __sys_sendto+0x2aa/0x400 [ 9.040875][ T90] ? __ia32_sys_getpeername+0xd0/0xd0 [ 9.040886][ T90] ? exc_page_fault+0x87/0x100 [ 9.040892][ T90] __x64_sys_sendto+0xe4/0x1f0 [ 9.040894][ T90] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.040898][ T90] ? lockdep_hardirqs_on+0x91/0x130 [ 9.040899][ T90] ? do_syscall_64+0xa6/0x530 [ 9.040902][ T90] do_syscall_64+0xff/0x530 [ 9.040904][ T90] ? exc_page_fault+0xee/0x100 [ 9.040906][ T90] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.040909][ T90] RIP: 0033:0x7f5c1605554e [ 9.040913][ 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 [ 9.040921][ T90] RSP: 002b:00007fff8843d0f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 9.040923][ T90] RAX: ffffffffffffffda RBX: 0000562e0325ef70 RCX: 00007f5c1605554e [ 9.040925][ T90] RDX: 0000000000000030 RSI: 0000562e033ba180 RDI: 0000000000000022 [ 9.040926][ T90] RBP: 00007fff8843d100 R08: 00007fff8843d150 R09: 0000000000000080 [ 9.040926][ T90] R10: 0000000000000000 R11: 0000000000000202 R12: 0000562e033bb3f0 [ 9.040927][ T90] R13: 00007fff8843d234 R14: 0000000000000000 R15: 0000000000000000 [ 9.040934][ T90] [ 9.215463][ T138] netdevsim netdevsim1337 nsim0: renamed from eni1337np1