virtme: waiting for virtiofsd to start virtme: use 'microvm' QEMU architecture [ 1.250176][ T1] IPv4 over IPsec tunneling driver [ 1.250194][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 1.250196][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0 [ 1.250197][ T1] preempt_count: 1, expected: 0 [ 1.250198][ T1] RCU nest depth: 0, expected: 0 [ 1.250199][ T1] locks held by swapper/0/1: 4, last CPU#0: [ 1.250201][ T1] #0: ffffffffa697ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 1.250212][ T1] #1: ffffffffa697de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 1.250217][ T1] #2: ffffffffa689d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 1.250221][ T1] #3: ffffffffa689d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 1.250225][ T1] irq event stamp: 333728 [ 1.250226][ T1] hardirqs last enabled at (333727): [] __down_trylock_console_sem+0x86/0xa0 [ 1.250229][ T1] hardirqs last disabled at (333728): [] console_emit_next_record+0x3d4/0x4c0 [ 1.250231][ T1] softirqs last enabled at (333620): [] __alloc_skb+0x4c2/0x5f0 [ 1.250236][ T1] softirqs last disabled at (333616): [] __alloc_skb+0x4c2/0x5f0 [ 1.250239][ T1] Preemption disabled at: [ 1.250239][ T1] [] vprintk_emit+0x31b/0x3e0 [ 1.250244][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-virtme #1 PREEMPT(full) [ 1.250246][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.250248][ T1] Call Trace: [ 1.250250][ T1] [ 1.250253][ T1] dump_stack_lvl+0x6f/0xa0 [ 1.250259][ T1] ? vprintk_emit+0x31b/0x3e0 [ 1.250261][ T1] __might_resched.cold+0x1fe/0x2c1 [ 1.250266][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 1.250270][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 1.250274][ T1] __kmalloc_noprof+0x443/0x760 [ 1.250276][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 1.250283][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 1.250285][ T1] alloc_buf.isra.0+0x4b/0x260 [ 1.250289][ T1] put_chars+0x1e1/0x2f0 [ 1.250290][ T1] ? desc_read_finalized_seq+0x79/0x120 [ 1.250293][ T1] ? __send_to_port+0x420/0x420 [ 1.250296][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.250299][ T1] ? validate_chain+0x38b/0xc20 [ 1.250304][ T1] hvc_console_print+0x292/0x780 [ 1.250307][ T1] ? __lock_acquire+0x518/0xc20 [ 1.250309][ T1] ? __lock_acquire+0x518/0xc20 [ 1.250314][ T1] ? hvc_write+0x3a0/0x3a0 [ 1.250316][ T1] ? console_emit_next_record+0x1df/0x4c0 [ 1.250319][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.250321][ T1] ? lock_acquire+0x13c/0x160 [ 1.250325][ T1] console_emit_next_record+0x22f/0x4c0 [ 1.250329][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 1.250331][ T1] ? console_flush_one_record+0x106/0x710 [ 1.250335][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.250336][ T1] ? lock_acquire+0x13c/0x160 [ 1.250341][ T1] console_flush_one_record+0x46f/0x710 [ 1.250345][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 1.250347][ T1] ? __lock_acquire+0x518/0xc20 [ 1.250352][ T1] console_unlock+0xee/0x1f0 [ 1.250355][ T1] ? console_flush_one_record+0x710/0x710 [ 1.250357][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.250359][ T1] ? lock_acquire+0xe0/0x160 [ 1.250363][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 1.250365][ T1] ? vprintk_emit+0x320/0x3e0 [ 1.250367][ T1] vprintk_emit+0x37c/0x3e0 [ 1.250370][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 1.250375][ T1] ? udp_tunnel_nic_init_module+0xd0/0xd0 [ 1.250380][ T1] _printk+0xc7/0x100 [ 1.250383][ T1] ? snapshot_read.cold+0x21/0x21 [ 1.250386][ T1] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 1.250389][ T1] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 1.250391][ T1] ? add_device_randomness+0xbb/0x100 [ 1.250394][ T1] ? random_write_iter+0x20/0x20 [ 1.250397][ T1] ? do_one_initcall+0x113/0x4f0 [ 1.250401][ T1] vti_init+0x17/0x110 [ 1.250403][ T1] do_one_initcall+0x124/0x4f0 [ 1.250405][ T1] ? sysvec_apic_timer_interrupt+0xaa/0xe0 [ 1.250408][ T1] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 1.250416][ T1] kernel_init_freeable+0x596/0x630 [ 1.250421][ T1] ? rest_init+0x280/0x280 [ 1.250424][ T1] kernel_init+0x21/0x150 [ 1.250427][ T1] ? rest_init+0x280/0x280 [ 1.250428][ T1] ret_from_fork+0x474/0x6b0 [ 1.250433][ T1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 1.250436][ T1] ? __switch_to+0x5a3/0xe00 [ 1.250440][ T1] ? rest_init+0x280/0x280 [ 1.250443][ T1] ret_from_fork_asm+0x11/0x20 [ 1.250451][ T1] [ 1.270996][ T1] NET: Registered PF_INET6 protocol family [ 1.279271][ T1] Segment Routing with IPv6 [ 1.279644][ T1] RPL Segment Routing with IPv6 [ 1.280085][ T1] In-situ OAM (IOAM) with IPv6 [ 1.283567][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.290342][ T1] NET: Registered PF_PACKET protocol family [ 1.290808][ T1] 8021q: 802.1Q VLAN Support v1.8 [ 1.291253][ T1] sctp: Hash tables configured (bind 32/56) [ 1.291949][ T1] 9pnet: Installing 9P2000 support [ 1.292332][ T1] Key type dns_resolver registered [ 1.293135][ T1] NET: Registered PF_VSOCK protocol family [ 1.298375][ T1] IPI shorthand broadcast: enabled [ 1.405199][ T1] sched_clock: Marking stable (1369001939, 35526827)->(1485840943, -81312177) [ 1.409489][ T1] registered taskstats version 1 [ 1.412274][ T1] Loading compiled-in X.509 certificates [ 1.527795][ T1] Demotion targets for Node 0: null [ 1.528227][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 11805) [ 1.528615][ T1] page_owner is disabled [ 1.529503][ T1] PM: Magic number: 6:972:534 [ 1.530077][ T1] netconsole: network logging started [ 1.532464][ T1] ALSA device list: [ 1.533123][ T1] No soundcards found. [ 1.534277][ T72] kwatchdog (72) used greatest stack depth: 28688 bytes left [ 1.534904][ T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 1.537659][ T1] VFS: Mounted root (virtiofs filesystem) readonly on device 0:25. [ 1.538677][ T1] devtmpfs: mounted [ 1.539033][ T1] VFS: Pivoted into new rootfs [ 1.567488][ T1] Freeing unused kernel image (initmem) memory: 2624K [ 1.570351][ T1] Write protecting the kernel read-only data: 65536k [ 1.571204][ T1] Freeing unused kernel image (text/rodata gap) memory: 100K [ 1.571695][ T1] Freeing unused kernel image (rodata/data gap) memory: 312K [ 1.572968][ T1] Run /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init as init process [ 1.573602][ T1] with arguments: [ 1.574030][ T1] /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init [ 1.574338][ T1] with environment: [ 1.574509][ T1] HOME=/ [ 1.574703][ T1] TERM=dumb [ 1.574866][ T1] virtme_hostname=vmksft-net-dbg,debug-threads=on [ 1.575127][ T1] nr_open=2147483584 [ 1.575290][ T1] virtme_link_mods=/srv/vmksft/testing/wt-2/.virtme_mods/lib/modules/0.0.0 [ 1.575667][ T1] virtme_rw_overlay0=/etc [ 1.575869][ T1] virtme_rw_overlay1=/lib [ 1.576079][ T1] virtme_rw_overlay2=/home [ 1.576296][ T1] virtme_rw_overlay3=/opt [ 1.576509][ T1] virtme_rw_overlay4=/srv [ 1.578016][ T1] virtme_rw_overlay5=/usr [ 1.578246][ T1] virtme_rw_overlay6=/var [ 1.578449][ T1] virtme_rw_overlay7=/tmp [ 1.578683][ T1] virtme_console=ttyS0 [ 1.578901][ T1] virtme_chdir=srv/vmksft/testing/wt-2 [ 1.596306][ T1] virtme-ng-init: mount devtmpfs -> /dev: EBUSY: Device or resource busy [ 1.597953][ T1] virtme-ng-init: Setting hostname to vmksft-net-dbg,debug-threads=on... [ 1.612849][ T1] overlayfs: failed to set xattr on upper [ 1.613148][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.613572][ T1] overlayfs: ...falling back to uuid=null. [ 1.616420][ T1] overlayfs: failed to set xattr on upper [ 1.616676][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.616966][ T1] overlayfs: ...falling back to uuid=null. [ 1.619260][ T1] overlayfs: failed to set xattr on upper [ 1.619503][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.619931][ T1] overlayfs: ...falling back to uuid=null. [ 1.622199][ T1] overlayfs: failed to set xattr on upper [ 1.622465][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.622770][ T1] overlayfs: ...falling back to uuid=null. [ 1.625059][ T1] overlayfs: failed to set xattr on upper [ 1.625304][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.626212][ T1] overlayfs: ...falling back to uuid=null. [ 1.628257][ T1] overlayfs: failed to set xattr on upper [ 1.628498][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.628933][ T1] overlayfs: ...falling back to uuid=null. [ 1.631625][ T1] overlayfs: failed to set xattr on upper [ 1.631869][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.632185][ T1] overlayfs: ...falling back to uuid=null. [ 1.634388][ T1] overlayfs: failed to set xattr on upper [ 1.635271][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.635574][ T1] overlayfs: ...falling back to uuid=null. [ 1.648119][ T1] virtme-ng-init: running systemd-tmpfiles [ 4.018293][ T74] systemd-tmpfile (74) used greatest stack depth: 24864 bytes left [ 4.018317][ T74] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 4.018320][ T74] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 74, name: systemd-tmpfile [ 4.018322][ T74] preempt_count: 2, expected: 0 [ 4.018323][ T74] RCU nest depth: 0, expected: 0 [ 4.018325][ T74] locks held by systemd-tmpfile/74: 5, last CPU#0: [ 4.018327][ T74] #0: ffffffffa68167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 4.018342][ T74] #1: ffffffffa697ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 4.018349][ T74] #2: ffffffffa697de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 4.018356][ T74] #3: ffffffffa689d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 4.018362][ T74] #4: ffffffffa689d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 4.018369][ T74] irq event stamp: 2261844 [ 4.018370][ T74] hardirqs last enabled at (2261843): [] __down_trylock_console_sem+0x86/0xa0 [ 4.018374][ T74] hardirqs last disabled at (2261844): [] console_emit_next_record+0x3d4/0x4c0 [ 4.018378][ T74] softirqs last enabled at (2260652): [] handle_softirqs+0x67c/0x900 [ 4.018381][ T74] softirqs last disabled at (2260647): [] __irq_exit_rcu+0x145/0x1c0 [ 4.018385][ T74] Preemption disabled at: [ 4.018386][ T74] [<0000000000000000>] 0x0 [ 4.018395][ T74] CPU: 0 UID: 0 PID: 74 Comm: systemd-tmpfile Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 4.018400][ T74] Tainted: [W]=WARN [ 4.018401][ T74] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.018404][ T74] Call Trace: [ 4.018406][ T74] [ 4.018408][ T74] dump_stack_lvl+0x6f/0xa0 [ 4.018416][ T74] __might_resched.cold+0x1fe/0x2c1 [ 4.018423][ T74] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 4.018429][ T74] ? __kmalloc_noprof+0xdb/0x760 [ 4.018437][ T74] __kmalloc_noprof+0x443/0x760 [ 4.018440][ T74] ? alloc_buf.isra.0+0x4b/0x260 [ 4.018450][ T74] ? do_raw_spin_unlock+0x59/0x250 [ 4.018454][ T74] alloc_buf.isra.0+0x4b/0x260 [ 4.018460][ T74] put_chars+0x1e1/0x2f0 [ 4.018464][ T74] ? __send_to_port+0x420/0x420 [ 4.018466][ T74] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 4.018472][ T74] ? validate_chain+0x38b/0xc20 [ 4.018482][ T74] hvc_console_print+0x292/0x780 [ 4.018494][ T74] ? hvc_write+0x3a0/0x3a0 [ 4.018498][ T74] ? rcu_is_watching+0x16/0xd0 [ 4.018502][ T74] ? lock_acquire+0x13c/0x160 [ 4.018509][ T74] console_emit_next_record+0x22f/0x4c0 [ 4.018516][ T74] ? devkmsg_read+0x4b0/0x4b0 [ 4.018519][ T74] ? console_flush_one_record+0x106/0x710 [ 4.018524][ T74] ? rcu_is_watching+0x16/0xd0 [ 4.018529][ T74] ? lock_acquire+0x13c/0x160 [ 4.018536][ T74] console_flush_one_record+0x46f/0x710 [ 4.018544][ T74] ? console_emit_next_record+0x4c0/0x4c0 [ 4.018547][ T74] ? __lock_acquire+0x518/0xc20 [ 4.018557][ T74] console_unlock+0xee/0x1f0 [ 4.018562][ T74] ? console_flush_one_record+0x710/0x710 [ 4.018565][ T74] ? rcu_is_watching+0x16/0xd0 [ 4.018568][ T74] ? lock_acquire+0xe0/0x160 [ 4.018574][ T74] ? __down_trylock_console_sem+0x5e/0xa0 [ 4.018577][ T74] ? vprintk_emit+0x320/0x3e0 [ 4.018582][ T74] vprintk_emit+0x37c/0x3e0 [ 4.018588][ T74] ? wake_up_klogd_work_func+0x90/0x90 [ 4.018593][ T74] ? __lock_acquire+0x518/0xc20 [ 4.018600][ T74] _printk+0xc7/0x100 [ 4.018605][ T74] ? snapshot_read.cold+0x21/0x21 [ 4.018610][ T74] ? do_raw_spin_lock+0x131/0x280 [ 4.018614][ T74] ? __rwlock_init+0x150/0x150 [ 4.018621][ T74] ? do_raw_spin_lock+0x131/0x280 [ 4.018626][ T74] do_exit.cold+0x82/0x9c [ 4.018632][ T74] ? exit_notify+0x890/0x890 [ 4.018634][ T74] ? __lock_release.isra.0+0x69/0x1a0 [ 4.018639][ T74] ? rcu_is_watching+0x16/0xd0 [ 4.018646][ T74] do_group_exit+0xb8/0x370 [ 4.018651][ T74] __x64_sys_exit_group+0x3c/0x50 [ 4.018654][ T74] x64_sys_call+0x1567/0x1570 [ 4.018658][ T74] do_syscall_64+0xff/0x530 [ 4.018663][ T74] ? exc_page_fault+0xee/0x100 [ 4.018668][ T74] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 4.018672][ T74] RIP: 0033:0x7f027c1e11b8 [ 4.018675][ T74] Code: Unable to access opcode bytes at 0x7f027c1e118e. [ 4.018677][ T74] RSP: 002b:00007ffe2873c458 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 4.018680][ T74] RAX: ffffffffffffffda RBX: 00007f027c311f88 RCX: 00007f027c1e11b8 [ 4.018682][ T74] RDX: 00007f027ba3f4c8 RSI: fffffffffffffe90 RDI: 0000000000000049 [ 4.018684][ T74] RBP: 00007ffe2873c4b0 R08: 0000000000000000 R09: 0000000000001000 [ 4.018685][ T74] R10: 00007ffe2873c270 R11: 0000000000000246 R12: 0000000000000001 [ 4.018687][ T74] R13: 0000000000000049 R14: 00007f027c310680 R15: 00007f027c311fa0 [ 4.018700][ T74] [ 4.018716][ T1] virtme-ng-init: Failed to read '/usr/lib/tmpfiles.d/audit.conf': Permission denied [ 4.018716][ T1] Failed to create directory or subvolume "/var/spool/at/spool": Permission denied [ 4.018716][ T1] Failed to create file /var/spool/at/.SEQ: Permission denied [ 4.018716][ T1] Failed to opendir() '/proc/self/fd/6': Permission denied [ 4.028692][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 4.028726][ C0] [ 4.028728][ C0] ======================================================== [ 4.028729][ C0] WARNING: possible irq lock inversion dependency detected [ 4.028731][ C0] 7.2.0-virtme #1 Tainted: G W [ 4.028733][ C0] -------------------------------------------------------- [ 4.028734][ C0] swapper/0/0 just changed the state of lock: [ 4.028736][ C0] ffffffffa689d760 (console_owner){..-.}-{0:0}, at: console_trylock_spinning+0xa4/0x1e0 [ 4.028748][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 4.028750][ C0] (fs_reclaim){+.+.}-{0:0} [ 4.028752][ C0] [ 4.028752][ C0] [ 4.028752][ C0] and interrupts could create inverse lock ordering between them. [ 4.028752][ C0] [ 4.028753][ C0] [ 4.028753][ C0] other info that might help us debug this: [ 4.028755][ C0] Possible interrupt unsafe locking scenario: [ 4.028755][ C0] [ 4.028756][ C0] CPU0 CPU1 [ 4.028756][ C0] ---- ---- [ 4.028757][ C0] lock(fs_reclaim); [ 4.028759][ C0] local_irq_disable(); [ 4.028760][ C0] lock(console_owner); [ 4.028762][ C0] lock(fs_reclaim); [ 4.028764][ C0] [ 4.028764][ C0] lock(console_owner); [ 4.028766][ C0] [ 4.028766][ C0] *** DEADLOCK *** [ 4.028766][ C0] [ 4.028767][ C0] locks held by swapper/0/0: 2, last CPU#0: [ 4.028769][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 4.028777][ C0] #1: ffffffffa69e29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 4.028783][ C0] [ 4.028783][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 4.028789][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 4.028793][ C0] HARDIRQ-ON-W at: [ 4.028795][ C0] __lock_acquire+0x388/0xc20 [ 4.028799][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.028802][ C0] fs_reclaim_acquire+0xd5/0x120 [ 4.028806][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 4.028809][ C0] kthread_create_worker_on_node+0xea/0x210 [ 4.028812][ C0] workqueue_init+0x2a/0x680 [ 4.028817][ C0] kernel_init_freeable+0x2fe/0x630 [ 4.028821][ C0] kernel_init+0x21/0x150 [ 4.028825][ C0] ret_from_fork+0x474/0x6b0 [ 4.028829][ C0] ret_from_fork_asm+0x11/0x20 [ 4.028832][ C0] SOFTIRQ-ON-W at: [ 4.028834][ C0] __lock_acquire+0x388/0xc20 [ 4.028837][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.028839][ C0] fs_reclaim_acquire+0xd5/0x120 [ 4.028841][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 4.028843][ C0] kthread_create_worker_on_node+0xea/0x210 [ 4.028846][ C0] workqueue_init+0x2a/0x680 [ 4.028848][ C0] kernel_init_freeable+0x2fe/0x630 [ 4.028850][ C0] kernel_init+0x21/0x150 [ 4.028853][ C0] ret_from_fork+0x474/0x6b0 [ 4.028855][ C0] ret_from_fork_asm+0x11/0x20 [ 4.028857][ C0] INITIAL USE at: [ 4.028858][ C0] __lock_acquire+0x388/0xc20 [ 4.028861][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.028863][ C0] fs_reclaim_acquire+0xd5/0x120 [ 4.028865][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 4.028867][ C0] kthread_create_worker_on_node+0xea/0x210 [ 4.028869][ C0] workqueue_init+0x2a/0x680 [ 4.028872][ C0] kernel_init_freeable+0x2fe/0x630 [ 4.028874][ C0] kernel_init+0x21/0x150 [ 4.028877][ C0] ret_from_fork+0x474/0x6b0 [ 4.028879][ C0] ret_from_fork_asm+0x11/0x20 [ 4.028881][ C0] } [ 4.028882][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 4.028887][ C0] ... acquired at: [ 4.028888][ C0] __lock_acquire+0x518/0xc20 [ 4.028890][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.028892][ C0] fs_reclaim_acquire+0xd5/0x120 [ 4.028895][ C0] __kmalloc_noprof+0xd3/0x760 [ 4.028896][ C0] alloc_buf.isra.0+0x4b/0x260 [ 4.028901][ C0] put_chars+0x1e1/0x2f0 [ 4.028902][ C0] hvc_console_print+0x292/0x780 [ 4.028906][ C0] console_emit_next_record+0x22f/0x4c0 [ 4.028909][ C0] console_flush_one_record+0x46f/0x710 [ 4.028912][ C0] console_unlock+0xee/0x1f0 [ 4.028914][ C0] vprintk_emit+0x37c/0x3e0 [ 4.028916][ C0] _printk+0xc7/0x100 [ 4.028920][ C0] vti_init+0x17/0x110 [ 4.028923][ C0] do_one_initcall+0x124/0x4f0 [ 4.028925][ C0] kernel_init_freeable+0x596/0x630 [ 4.028928][ C0] kernel_init+0x21/0x150 [ 4.028930][ C0] ret_from_fork+0x474/0x6b0 [ 4.028932][ C0] ret_from_fork_asm+0x11/0x20 [ 4.028934][ C0] [ 4.028935][ C0] -> (console_owner){..-.}-{0:0} { [ 4.028938][ C0] IN-SOFTIRQ-W at: [ 4.028940][ C0] __lock_acquire+0x388/0xc20 [ 4.028942][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.028944][ C0] console_trylock_spinning+0xb5/0x1e0 [ 4.028946][ C0] vprintk_emit+0x320/0x3e0 [ 4.028948][ C0] _printk+0xc7/0x100 [ 4.028950][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 4.028954][ C0] call_timer_fn+0x160/0x4d0 [ 4.028956][ C0] __run_timers+0x68f/0xaa0 [ 4.028959][ C0] run_timer_softirq+0xf0/0x160 [ 4.028961][ C0] handle_softirqs+0x1d3/0x900 [ 4.028965][ C0] __irq_exit_rcu+0x145/0x1c0 [ 4.028965][ T1] virtme-ng-init: basic initialization done [ 4.028967][ C0] irq_exit_rcu+0xe/0x30 [ 4.028969][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 4.028972][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 4.028974][ C0] pv_native_safe_halt+0xf/0x10 [ 4.028977][ C0] default_idle+0x9/0x10 [ 4.028979][ C0] default_idle_call+0x6e/0xb0 [ 4.028981][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 4.028984][ C0] do_idle+0xd8/0x190 [ 4.028987][ C0] cpu_startup_entry+0x53/0x70 [ 4.028989][ C0] rest_init+0x279/0x280 [ 4.028991][ C0] start_kernel+0x3b9/0x3c0 [ 4.028993][ C0] x86_64_start_reservations+0x24/0x30 [ 4.028996][ C0] x86_64_start_kernel+0x12b/0x130 [ 4.028998][ C0] common_startup_64+0x13e/0x148 [ 4.029002][ C0] INITIAL USE at: [ 4.029004][ C0] } [ 4.029004][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 4.029008][ C0] ... acquired at: [ 4.029008][ C0] mark_lock+0x1d7/0xa00 [ 4.029011][ C0] mark_usage+0x42/0x170 [ 4.029018][ C0] __lock_acquire+0x388/0xc20 [ 4.029020][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.029022][ C0] console_trylock_spinning+0xb5/0x1e0 [ 4.029025][ C0] vprintk_emit+0x320/0x3e0 [ 4.029026][ C0] _printk+0xc7/0x100 [ 4.029028][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 4.029030][ C0] call_timer_fn+0x160/0x4d0 [ 4.029033][ C0] __run_timers+0x68f/0xaa0 [ 4.029035][ C0] run_timer_softirq+0xf0/0x160 [ 4.029037][ C0] handle_softirqs+0x1d3/0x900 [ 4.029040][ C0] __irq_exit_rcu+0x145/0x1c0 [ 4.029042][ C0] irq_exit_rcu+0xe/0x30 [ 4.029044][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 4.029046][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 4.029048][ C0] pv_native_safe_halt+0xf/0x10 [ 4.029050][ C0] default_idle+0x9/0x10 [ 4.029052][ C0] default_idle_call+0x6e/0xb0 [ 4.029054][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 4.029056][ C0] do_idle+0xd8/0x190 [ 4.029058][ C0] cpu_startup_entry+0x53/0x70 [ 4.029060][ C0] rest_init+0x279/0x280 [ 4.029062][ C0] start_kernel+0x3b9/0x3c0 [ 4.029064][ C0] x86_64_start_reservations+0x24/0x30 [ 4.029066][ C0] x86_64_start_kernel+0x12b/0x130 [ 4.029068][ C0] common_startup_64+0x13e/0x148 [ 4.029071][ C0] [ 4.029071][ C0] [ 4.029071][ C0] stack backtrace: [ 4.029074][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 4.029079][ C0] Tainted: [W]=WARN [ 4.029080][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.029082][ C0] Call Trace: [ 4.029084][ C0] [ 4.029085][ C0] dump_stack_lvl+0x6f/0xa0 [ 4.029091][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 4.029095][ C0] mark_lock_irq+0x989/0x9c0 [ 4.029098][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 4.029102][ C0] mark_lock+0x1d7/0xa00 [ 4.029106][ C0] mark_usage+0x42/0x170 [ 4.029108][ C0] __lock_acquire+0x388/0xc20 [ 4.029112][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.029115][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 4.029118][ C0] ? rcu_is_watching+0x16/0xd0 [ 4.029121][ C0] ? lock_acquire+0x13c/0x160 [ 4.029124][ C0] console_trylock_spinning+0xb5/0x1e0 [ 4.029127][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 4.029130][ C0] vprintk_emit+0x320/0x3e0 [ 4.029133][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 4.029136][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 4.029139][ C0] _printk+0xc7/0x100 [ 4.029142][ C0] ? snapshot_read.cold+0x21/0x21 [ 4.029145][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 4.029148][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 4.029152][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 4.029154][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 4.029157][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 4.029160][ C0] call_timer_fn+0x160/0x4d0 [ 4.029163][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 4.029166][ C0] ? debug_object_active_state+0x430/0x430 [ 4.029170][ C0] ? find_held_lock+0x2b/0x80 [ 4.029173][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 4.029175][ C0] ? rcu_is_watching+0x16/0xd0 [ 4.029178][ C0] __run_timers+0x68f/0xaa0 [ 4.029181][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 4.029185][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 4.029188][ C0] ? __lock_acquire+0x518/0xc20 [ 4.029192][ C0] ? __rwlock_init+0x150/0x150 [ 4.029197][ C0] run_timer_softirq+0xf0/0x160 [ 4.029200][ C0] ? __run_timers+0xaa0/0xaa0 [ 4.029203][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 4.029206][ C0] ? rcu_is_watching+0x16/0xd0 [ 4.029209][ C0] handle_softirqs+0x1d3/0x900 [ 4.029212][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 4.029214][ C0] ? _local_bh_enable+0xc0/0xc0 [ 4.029218][ C0] __irq_exit_rcu+0x145/0x1c0 [ 4.029220][ C0] irq_exit_rcu+0xe/0x30 [ 4.029223][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 4.029225][ C0] [ 4.029226][ C0] [ 4.029227][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 4.029230][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 4.029232][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 4.029236][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 4.029238][ C0] RSP: 0018:ffffffffa6607cf8 EFLAGS: 00000296 [ 4.029241][ C0] RAX: 0000000000019043 RBX: ffffffffa6630600 RCX: ffffffffa2d06247 [ 4.029243][ C0] RDX: ffffffffa6630600 RSI: ffffffffa5f11011 RDI: ffffffffa58949e0 [ 4.029244][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 4.029246][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff4cc0fa2 [ 4.029247][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 4.029250][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 4.029253][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 4.029256][ C0] default_idle+0x9/0x10 [ 4.029258][ C0] default_idle_call+0x6e/0xb0 [ 4.029260][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 4.029263][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 4.029266][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 4.029270][ C0] ? rcu_is_watching+0x16/0xd0 [ 4.029272][ C0] do_idle+0xd8/0x190 [ 4.029275][ C0] cpu_startup_entry+0x53/0x70 [ 4.029277][ C0] rest_init+0x279/0x280 [ 4.029280][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 4.029284][ C0] ? rest_init+0x280/0x280 [ 4.029287][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 4.029291][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 4.029294][ C0] ? acpi_enable+0x1e4/0x330 [ 4.029297][ C0] start_kernel+0x3b9/0x3c0 [ 4.029300][ C0] x86_64_start_reservations+0x24/0x30 [ 4.029303][ C0] x86_64_start_kernel+0x12b/0x130 [ 4.029305][ C0] common_startup_64+0x13e/0x148 [ 4.029310][ C0] [ 4.134695][ T75] virtme-ng-init: Starting systemd-udevd version 259.8-1.fc44 [ 4.134943][ T75] virtme-ng-init: triggering udev coldplug [ 4.143389][ T79] ip (79) used greatest stack depth: 24784 bytes left [ 5.525087][ T75] virtme-ng-init: waiting for udev to settle [ 5.525102][ T75] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 5.525106][ T75] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 75, name: virtme-ng-init [ 5.525108][ T75] preempt_count: 1, expected: 0 [ 5.525109][ T75] RCU nest depth: 0, expected: 0 [ 5.525110][ T75] INFO: lockdep is turned off. [ 5.525112][ T75] irq event stamp: 0 [ 5.525113][ T75] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 5.525118][ T75] hardirqs last disabled at (0): [] copy_process+0x1d3b/0x62b0 [ 5.525126][ T75] softirqs last enabled at (0): [] copy_process+0x1d8f/0x62b0 [ 5.525129][ T75] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 5.525131][ T75] Preemption disabled at: [ 5.525132][ T75] [] vprintk_emit+0x31b/0x3e0 [ 5.525141][ T75] CPU: 3 UID: 0 PID: 75 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 5.525146][ T75] Tainted: [W]=WARN [ 5.525147][ T75] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 5.525149][ T75] Call Trace: [ 5.525151][ T75] [ 5.525152][ T75] dump_stack_lvl+0x6f/0xa0 [ 5.525159][ T75] ? vprintk_emit+0x31b/0x3e0 [ 5.525161][ T75] __might_resched.cold+0x1fe/0x2c1 [ 5.525166][ T75] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 5.525170][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.525174][ T75] __kmalloc_noprof+0x443/0x760 [ 5.525177][ T75] ? __rwlock_init+0x150/0x150 [ 5.525181][ T75] ? alloc_buf.isra.0+0x4b/0x260 [ 5.525187][ T75] ? do_raw_spin_unlock+0x59/0x250 [ 5.525189][ T75] alloc_buf.isra.0+0x4b/0x260 [ 5.525193][ T75] put_chars+0x1e1/0x2f0 [ 5.525195][ T75] ? __send_to_port+0x420/0x420 [ 5.525198][ T75] ? console_prepend_replay+0x20/0x20 [ 5.525202][ T75] hvc_console_print+0x292/0x780 [ 5.525208][ T75] ? hvc_write+0x3a0/0x3a0 [ 5.525211][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.525213][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.525214][ T75] ? lock_acquire+0x13c/0x160 [ 5.525218][ T75] console_emit_next_record+0x22f/0x4c0 [ 5.525222][ T75] ? devkmsg_read+0x4b0/0x4b0 [ 5.525225][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.525227][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.525228][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.525230][ T75] ? lock_acquire+0x13c/0x160 [ 5.525233][ T75] ? console_flush_one_record+0x111/0x710 [ 5.525236][ T75] console_flush_one_record+0x46f/0x710 [ 5.525239][ T75] ? console_emit_next_record+0x4c0/0x4c0 [ 5.525243][ T75] console_unlock+0xee/0x1f0 [ 5.525246][ T75] ? lock_acquire+0x13c/0x160 [ 5.525248][ T75] ? console_flush_one_record+0x710/0x710 [ 5.525251][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.525252][ T75] ? lock_release+0x184/0x1f0 [ 5.525254][ T75] ? lock_acquire+0xe0/0x160 [ 5.525257][ T75] ? __rcu_read_lock+0x70/0x70 [ 5.525259][ T75] ? __down_trylock_console_sem+0x5e/0xa0 [ 5.525262][ T75] ? vprintk_emit+0x320/0x3e0 [ 5.525264][ T75] vprintk_emit+0x37c/0x3e0 [ 5.525267][ T75] ? wake_up_klogd_work_func+0x90/0x90 [ 5.525269][ T75] ? lock_release+0x184/0x1f0 [ 5.525271][ T75] ? _copy_from_iter+0x1bb/0x1810 [ 5.525276][ T75] devkmsg_emit.constprop.0+0xbc/0xf1 [ 5.525280][ T75] ? vprintk_emit.cold+0x107/0x107 [ 5.525282][ T75] ? simple_strntoull+0x10f/0x140 [ 5.525286][ T75] ? date_str+0x1e0/0x1e0 [ 5.525289][ T75] ? devkmsg_write+0xd1/0x2c0 [ 5.525291][ T75] devkmsg_write.cold+0x5a/0x8b [ 5.525294][ T75] ? vprintk_default+0x20/0x20 [ 5.525297][ T75] ? vprintk_default+0x20/0x20 [ 5.525299][ T75] new_sync_write+0x33e/0x760 [ 5.525303][ T75] ? trace_hardirqs_on+0x36/0x40 [ 5.525307][ T75] ? new_sync_read+0x750/0x750 [ 5.525309][ T75] ? kmem_cache_free+0xf8/0x550 [ 5.525311][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.525314][ T75] ? __fget_files+0x54/0x460 [ 5.525317][ T75] ? __fget_files+0x1e3/0x460 [ 5.525320][ T75] vfs_write+0x655/0x970 [ 5.525323][ T75] ksys_write+0x116/0x250 [ 5.525326][ T75] ? __ia32_sys_read+0xc0/0xc0 [ 5.525328][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.525331][ T75] do_syscall_64+0xff/0x530 [ 5.525334][ T75] ? exc_page_fault+0xee/0x100 [ 5.525337][ T75] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 5.525340][ T75] RIP: 0033:0x7fad7791ced2 [ 5.525343][ T75] Code: 08 0f 85 51 ec ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 55 48 89 e5 [ 5.525345][ T75] RSP: 002b:00007fad77863c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 5.525350][ T75] RAX: ffffffffffffffda RBX: 000000000000002e RCX: 00007fad7791ced2 [ 5.525352][ T75] RDX: 000000000000002e RSI: 00007fad700012c0 RDI: 0000000000000003 [ 5.525353][ T75] RBP: 00007fad77863c90 R08: 0000000000000000 R09: 0000000000000000 [ 5.525354][ T75] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fad779a70a0 [ 5.525356][ T75] R13: 00007fad778a53e0 R14: 00007fad700012c0 R15: 00007fad77863da8 [ 5.525360][ T75] [ 6.163064][ T75] virtme-ng-init: udev is done [ 6.165080][ T1] virtme-ng-init: initialization done