virtme: waiting for virtiofsd to start virtme: use 'microvm' QEMU architecture [ 1.022933][ T1] rtc_cmos PNP0B00:00: registered as rtc0 [ 1.022971][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 1.022973][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0 [ 1.022975][ T1] preempt_count: 1, expected: 0 [ 1.022976][ T1] RCU nest depth: 0, expected: 0 [ 1.022977][ T1] locks held by swapper/0/1: 5, last CPU#1: [ 1.022979][ T1] #0: ff110000027c3938 (&dev->mutex){....}-{4:4}, at: __driver_attach+0x1ad/0x540 [ 1.022990][ T1] #1: ffffffff9df69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 1.022996][ T1] #2: ffffffff9df69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 1.023000][ T1] #3: ffffffff9de89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 1.023003][ T1] #4: ffffffff9de89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 1.023007][ T1] irq event stamp: 307744 [ 1.023008][ T1] hardirqs last enabled at (307743): [] __down_trylock_console_sem+0x86/0xa0 [ 1.023010][ T1] hardirqs last disabled at (307744): [] console_emit_next_record+0x3d4/0x4c0 [ 1.023012][ T1] softirqs last enabled at (307618): [] handle_softirqs+0x67c/0x900 [ 1.023016][ T1] softirqs last disabled at (307415): [] __irq_exit_rcu+0x145/0x1c0 [ 1.023018][ T1] Preemption disabled at: [ 1.023019][ T1] [] vprintk_emit+0x31b/0x3e0 [ 1.023024][ T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-virtme #1 PREEMPT(full) [ 1.023027][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.023029][ T1] Call Trace: [ 1.023030][ T1] [ 1.023034][ T1] dump_stack_lvl+0x6f/0xa0 [ 1.023039][ T1] ? vprintk_emit+0x31b/0x3e0 [ 1.023041][ T1] __might_resched.cold+0x1fe/0x2c1 [ 1.023046][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 1.023049][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 1.023054][ T1] __kmalloc_noprof+0x443/0x760 [ 1.023056][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 1.023062][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 1.023064][ T1] alloc_buf.isra.0+0x4b/0x260 [ 1.023068][ T1] put_chars+0x1e1/0x2f0 [ 1.023070][ T1] ? __send_to_port+0x420/0x420 [ 1.023074][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.023077][ T1] ? validate_chain+0x38b/0xc20 [ 1.023081][ T1] hvc_console_print+0x292/0x780 [ 1.023084][ T1] ? __lock_acquire+0x518/0xc20 [ 1.023086][ T1] ? __lock_acquire+0x518/0xc20 [ 1.023090][ T1] ? hvc_write+0x3a0/0x3a0 [ 1.023093][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.023096][ T1] ? lock_acquire+0x13c/0x160 [ 1.023100][ T1] console_emit_next_record+0x22f/0x4c0 [ 1.023104][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 1.023105][ T1] ? console_flush_one_record+0x106/0x710 [ 1.023108][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.023110][ T1] ? lock_acquire+0x13c/0x160 [ 1.023114][ T1] console_flush_one_record+0x46f/0x710 [ 1.023118][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 1.023119][ T1] ? __lock_acquire+0x518/0xc20 [ 1.023124][ T1] console_unlock+0xee/0x1f0 [ 1.023127][ T1] ? console_flush_one_record+0x710/0x710 [ 1.023128][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.023131][ T1] ? lock_acquire+0x60/0x160 [ 1.023134][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 1.023135][ T1] ? vprintk_emit+0x320/0x3e0 [ 1.023139][ T1] vprintk_emit+0x37c/0x3e0 [ 1.023142][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 1.023144][ T1] ? find_held_lock+0x2b/0x80 [ 1.023147][ T1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 1.023150][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.023153][ T1] dev_vprintk_emit+0x27f/0x2c0 [ 1.023158][ T1] ? device_rename.cold+0xa/0xa [ 1.023160][ T1] ? __lock_acquire+0x518/0xc20 [ 1.023164][ T1] ? lock_acquire.part.0+0xd4/0x280 [ 1.023166][ T1] ? find_held_lock+0x2b/0x80 [ 1.023170][ T1] dev_printk_emit+0xb9/0xee [ 1.023172][ T1] ? dev_vprintk_emit+0x2c0/0x2c0 [ 1.023175][ T1] ? _raw_write_unlock+0x2d/0x50 [ 1.023179][ T1] ? proc_register+0x368/0x8b0 [ 1.023185][ T1] _dev_info+0xe2/0x116 [ 1.023188][ T1] ? _dev_notice+0x120/0x120 [ 1.023192][ T1] ? rtc_proc_add_device+0x106/0x120 [ 1.023196][ T1] ? rtc_proc_show+0x400/0x400 [ 1.023201][ T1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 1.023205][ T1] ? devm_rtc_unregister_device+0xd0/0xd0 [ 1.023211][ T1] ? __setup_irq+0xec4/0x1ee0 [ 1.023217][ T1] ? request_threaded_irq+0x1dd/0x330 [ 1.023221][ T1] cmos_do_probe+0x73b/0x98a [ 1.023223][ T1] ? cmos_platform_shutdown+0x370/0x370 [ 1.023226][ T1] ? cmos_irq_disable.cold+0x3a/0x3a [ 1.023227][ T1] ? acpi_dev_pm_attach+0x1f3/0x250 [ 1.023234][ T1] ? cmos_read_alarm_callback+0x340/0x340 [ 1.023235][ T1] ? mc146818_set_time+0x500/0x500 [ 1.023239][ T1] ? irq_get_irq_data+0xe/0x20 [ 1.023241][ T1] ? platform_get_irq_affinity+0x21f/0x450 [ 1.023247][ T1] platform_probe+0xfe/0x1f0 [ 1.023250][ T1] call_driver_probe+0x61/0x1c0 [ 1.023252][ T1] really_probe+0x199/0x760 [ 1.023255][ T1] ? __device_attach_driver+0x280/0x280 [ 1.023257][ T1] __driver_probe_device+0x24f/0x440 [ 1.023260][ T1] ? __device_attach_driver+0x280/0x280 [ 1.023261][ T1] ? __device_attach_driver+0x280/0x280 [ 1.023263][ T1] driver_probe_device+0x4a/0xf0 [ 1.023265][ T1] __driver_attach+0x1b8/0x540 [ 1.023267][ T1] ? do_raw_spin_lock+0x131/0x280 [ 1.023269][ T1] bus_for_each_dev+0x130/0x1e0 [ 1.023273][ T1] ? bus_remove_file+0x50/0x50 [ 1.023275][ T1] ? __lock_release.isra.0+0x69/0x1a0 [ 1.023278][ T1] ? rtc_dev_init+0x40/0x40 [ 1.023283][ T1] ? rtc_dev_init+0x40/0x40 [ 1.023285][ T1] bus_add_driver+0x2c8/0x530 [ 1.023288][ T1] driver_register+0x1a3/0x390 [ 1.023291][ T1] __platform_driver_probe+0x13f/0x270 [ 1.023294][ T1] cmos_init+0x31/0x40 [ 1.023296][ T1] do_one_initcall+0x124/0x4f0 [ 1.023299][ T1] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 1.023302][ T1] ? parameq+0x110/0x110 [ 1.023310][ T1] ? kernel_init_freeable+0x3f1/0x630 [ 1.023315][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.023318][ T1] kernel_init_freeable+0x596/0x630 [ 1.023321][ T1] ? rest_init+0x280/0x280 [ 1.023325][ T1] kernel_init+0x21/0x150 [ 1.023327][ T1] ? rest_init+0x280/0x280 [ 1.023329][ T1] ret_from_fork+0x474/0x6b0 [ 1.023333][ T1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 1.023337][ T1] ? __switch_to+0x5a3/0xe00 [ 1.023340][ T1] ? rest_init+0x280/0x280 [ 1.023342][ T1] ret_from_fork_asm+0x11/0x20 [ 1.023350][ T1] [ 1.055743][ T1] rtc_cmos PNP0B00:00: setting system clock to 2026-08-28T12:33:56 UTC (1787920436) [ 1.056865][ T1] rtc_cmos PNP0B00:00: alarms up to one day, 242 bytes nvram [ 1.060210][ T1] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev [ 1.068877][ T1] NET: Registered PF_INET6 protocol family [ 1.073392][ T1] Segment Routing with IPv6 [ 1.073833][ T1] In-situ OAM (IOAM) with IPv6 [ 1.074485][ T1] NET: Registered PF_PACKET protocol family [ 1.074776][ T1] 9pnet: Installing 9P2000 support [ 1.075175][ T1] Key type dns_resolver registered [ 1.075936][ T1] NET: Registered PF_VSOCK protocol family [ 1.080613][ T1] IPI shorthand broadcast: enabled [ 1.188665][ T1] sched_clock: Marking stable (1153003842, 35545358)->(1301691001, -113141801) [ 1.191899][ T1] registered taskstats version 1 [ 1.193771][ T1] Loading compiled-in X.509 certificates [ 1.299564][ T1] Demotion targets for Node 0: null [ 1.299917][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 11725) [ 1.300226][ T1] page_owner is disabled [ 1.300981][ T1] PM: Magic number: 6:419:583 [ 1.301449][ T1] netconsole: network logging started [ 1.304181][ T1] ALSA device list: [ 1.304374][ T1] No soundcards found. [ 1.305268][ T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 1.307992][ T1] VFS: Mounted root (virtiofs filesystem) readonly on device 0:24. [ 1.308830][ T1] devtmpfs: mounted [ 1.309153][ T1] VFS: Pivoted into new rootfs [ 1.340668][ T1] Freeing unused kernel image (initmem) memory: 2544K [ 1.340986][ T1] Write protecting the kernel read-only data: 55296k [ 1.341616][ T1] Freeing unused kernel image (text/rodata gap) memory: 340K [ 1.342071][ T1] Freeing unused kernel image (rodata/data gap) memory: 336K [ 1.342570][ T1] Run /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init as init process [ 1.343006][ T1] with arguments: [ 1.343184][ T1] /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init [ 1.343493][ T1] with environment: [ 1.343683][ T1] HOME=/ [ 1.343871][ T1] TERM=dumb [ 1.344048][ T1] virtme_hostname=vmksft-ynl,debug-threads=on [ 1.344317][ T1] nr_open=2147483584 [ 1.344483][ T1] virtme_link_mods=/srv/vmksft/testing/wt-50/.virtme_mods/lib/modules/0.0.0 [ 1.344846][ T1] virtme_rw_overlay0=/etc [ 1.345064][ T1] virtme_rw_overlay1=/lib [ 1.345279][ T1] virtme_rw_overlay2=/home [ 1.345520][ T1] virtme_rw_overlay3=/opt [ 1.345741][ T1] virtme_rw_overlay4=/srv [ 1.345943][ T1] virtme_rw_overlay5=/usr [ 1.346174][ T1] virtme_rw_overlay6=/var [ 1.346398][ T1] virtme_rw_overlay7=/tmp [ 1.346700][ T1] virtme_console=ttyS0 [ 1.346904][ T1] virtme_chdir=srv/vmksft/testing/wt-50 [ 1.364667][ T1] virtme-ng-init: mount devtmpfs -> /dev: EBUSY: Device or resource busy [ 1.366070][ T1] virtme-ng-init: Setting hostname to vmksft-ynl,debug-threads=on... [ 1.376663][ T1] overlayfs: failed to set xattr on upper [ 1.377005][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.377338][ T1] overlayfs: ...falling back to uuid=null. [ 1.379963][ T1] overlayfs: failed to set xattr on upper [ 1.380213][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.380532][ T1] overlayfs: ...falling back to uuid=null. [ 1.382891][ T1] overlayfs: failed to set xattr on upper [ 1.383139][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.383463][ T1] overlayfs: ...falling back to uuid=null. [ 1.385590][ T1] overlayfs: failed to set xattr on upper [ 1.385831][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.386137][ T1] overlayfs: ...falling back to uuid=null. [ 1.388383][ T1] overlayfs: failed to set xattr on upper [ 1.388640][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.388952][ T1] overlayfs: ...falling back to uuid=null. [ 1.390977][ T1] overlayfs: failed to set xattr on upper [ 1.391218][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.392181][ T1] overlayfs: ...falling back to uuid=null. [ 1.394215][ T1] overlayfs: failed to set xattr on upper [ 1.394468][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.395127][ T1] overlayfs: ...falling back to uuid=null. [ 1.397265][ T1] overlayfs: failed to set xattr on upper [ 1.397510][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.397814][ T1] overlayfs: ...falling back to uuid=null. [ 1.410170][ T1] virtme-ng-init: running systemd-tmpfiles [ 1.426343][ T72] kwatchdog (72) used greatest stack depth: 29688 bytes left [ 3.888141][ T71] systemd-tmpfile (71) used greatest stack depth: 24864 bytes left [ 3.888159][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 3.888161][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: systemd-tmpfile [ 3.888163][ T71] preempt_count: 2, expected: 0 [ 3.888164][ T71] RCU nest depth: 0, expected: 0 [ 3.888165][ T71] locks held by systemd-tmpfile/71: 5, last CPU#1: [ 3.888167][ T71] #0: ffffffff9de027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 3.888180][ T71] #1: ffffffff9df69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 3.888185][ T71] #2: ffffffff9df69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 3.888189][ T71] #3: ffffffff9de89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 3.888193][ T71] #4: ffffffff9de89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 3.888196][ T71] irq event stamp: 2309912 [ 3.888197][ T71] hardirqs last enabled at (2309911): [] __down_trylock_console_sem+0x86/0xa0 [ 3.888200][ T71] hardirqs last disabled at (2309912): [] console_emit_next_record+0x3d4/0x4c0 [ 3.888202][ T71] softirqs last enabled at (2309546): [] handle_softirqs+0x67c/0x900 [ 3.888204][ T71] softirqs last disabled at (2309541): [] __irq_exit_rcu+0x145/0x1c0 [ 3.888207][ T71] Preemption disabled at: [ 3.888208][ T71] [<0000000000000000>] 0x0 [ 3.888216][ T71] CPU: 1 UID: 0 PID: 71 Comm: systemd-tmpfile Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 3.888220][ T71] Tainted: [W]=WARN [ 3.888221][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.888222][ T71] Call Trace: [ 3.888224][ T71] [ 3.888226][ T71] dump_stack_lvl+0x6f/0xa0 [ 3.888232][ T71] __might_resched.cold+0x1fe/0x2c1 [ 3.888237][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 3.888241][ T71] ? __kmalloc_noprof+0xdb/0x760 [ 3.888245][ T71] __kmalloc_noprof+0x443/0x760 [ 3.888247][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 3.888254][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 3.888257][ T71] alloc_buf.isra.0+0x4b/0x260 [ 3.888260][ T71] put_chars+0x1e1/0x2f0 [ 3.888263][ T71] ? __send_to_port+0x420/0x420 [ 3.888265][ T71] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 3.888270][ T71] ? validate_chain+0x38b/0xc20 [ 3.888275][ T71] hvc_console_print+0x292/0x780 [ 3.888282][ T71] ? hvc_write+0x3a0/0x3a0 [ 3.888284][ T71] ? rcu_is_watching+0x16/0xd0 [ 3.888287][ T71] ? lock_acquire+0x13c/0x160 [ 3.888291][ T71] console_emit_next_record+0x22f/0x4c0 [ 3.888294][ T71] ? devkmsg_read+0x4b0/0x4b0 [ 3.888296][ T71] ? console_flush_one_record+0x106/0x710 [ 3.888299][ T71] ? rcu_is_watching+0x16/0xd0 [ 3.888301][ T71] ? lock_acquire+0x13c/0x160 [ 3.888305][ T71] console_flush_one_record+0x46f/0x710 [ 3.888309][ T71] ? console_emit_next_record+0x4c0/0x4c0 [ 3.888310][ T71] ? __lock_acquire+0x518/0xc20 [ 3.888315][ T71] console_unlock+0xee/0x1f0 [ 3.888318][ T71] ? console_flush_one_record+0x710/0x710 [ 3.888329][ T71] ? rcu_is_watching+0x16/0xd0 [ 3.888331][ T71] ? lock_acquire+0x60/0x160 [ 3.888335][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 3.888336][ T71] ? vprintk_emit+0x320/0x3e0 [ 3.888339][ T71] vprintk_emit+0x37c/0x3e0 [ 3.888343][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 3.888346][ T71] ? __lock_acquire+0x518/0xc20 [ 3.888349][ T71] _printk+0xc7/0x100 [ 3.888353][ T71] ? snapshot_read.cold+0x21/0x21 [ 3.888356][ T71] ? do_raw_spin_lock+0x131/0x280 [ 3.888359][ T71] ? __rwlock_init+0x150/0x150 [ 3.888362][ T71] ? do_raw_spin_lock+0x131/0x280 [ 3.888365][ T71] do_exit.cold+0x82/0x9c [ 3.888369][ T71] ? exit_notify+0x890/0x890 [ 3.888371][ T71] ? __lock_release.isra.0+0x69/0x1a0 [ 3.888373][ T71] ? rcu_is_watching+0x16/0xd0 [ 3.888377][ T71] do_group_exit+0xb8/0x370 [ 3.888380][ T71] __x64_sys_exit_group+0x3c/0x50 [ 3.888383][ T71] x64_sys_call+0x1567/0x1570 [ 3.888385][ T71] do_syscall_64+0xff/0x530 [ 3.888389][ T71] ? exc_page_fault+0xee/0x100 [ 3.888392][ T71] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 3.888394][ T71] RIP: 0033:0x7f05b09931b8 [ 3.888397][ T71] Code: Unable to access opcode bytes at 0x7f05b099318e. [ 3.888398][ T71] RSP: 002b:00007fff6ca5b748 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 3.888400][ T71] RAX: ffffffffffffffda RBX: 00007f05b0ac3f88 RCX: 00007f05b09931b8 [ 3.888402][ T71] RDX: 00007f05b01f14c8 RSI: fffffffffffffe90 RDI: 0000000000000049 [ 3.888402][ T71] RBP: 00007fff6ca5b7a0 R08: 0000000000000000 R09: 0000000000001000 [ 3.888403][ T71] R10: 00007fff6ca5b560 R11: 0000000000000246 R12: 0000000000000001 [ 3.888404][ T71] R13: 0000000000000049 R14: 00007f05b0ac2680 R15: 00007f05b0ac3fa0 [ 3.888411][ T71] [ 3.888511][ T1] virtme-ng-init: Failed to read '/usr/lib/tmpfiles.d/audit.conf': Permission denied [ 3.888511][ T1] Failed to create directory or subvolume "/var/spool/at/spool": Permission denied [ 3.888511][ T1] Failed to create file /var/spool/at/.SEQ: Permission denied [ 3.888511][ T1] Failed to opendir() '/proc/self/fd/6': Permission denied [ 3.921683][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 3.921709][ C0] [ 3.921711][ C0] ======================================================== [ 3.921712][ C0] WARNING: possible irq lock inversion dependency detected [ 3.921714][ C0] 7.2.0-virtme #1 Tainted: G W [ 3.921716][ C0] -------------------------------------------------------- [ 3.921716][ C0] swapper/0/0 just changed the state of lock: [ 3.921717][ C0] ffffffff9de89660 (console_owner){..-.}-{0:0}, at: console_trylock_spinning+0xa4/0x1e0 [ 3.921730][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 3.921731][ C0] (fs_reclaim){+.+.}-{0:0} [ 3.921733][ C0] [ 3.921733][ C0] [ 3.921733][ C0] and interrupts could create inverse lock ordering between them. [ 3.921733][ C0] [ 3.921734][ C0] [ 3.921734][ C0] other info that might help us debug this: [ 3.921735][ C0] Possible interrupt unsafe locking scenario: [ 3.921735][ C0] [ 3.921735][ C0] CPU0 CPU1 [ 3.921736][ C0] ---- ---- [ 3.921736][ C0] lock(fs_reclaim); [ 3.921737][ C0] local_irq_disable(); [ 3.921738][ C0] lock(console_owner); [ 3.921739][ C0] lock(fs_reclaim); [ 3.921740][ C0] [ 3.921740][ C0] lock(console_owner); [ 3.921741][ C0] [ 3.921741][ C0] *** DEADLOCK *** [ 3.921741][ C0] [ 3.921741][ C0] locks held by swapper/0/0: 2, last CPU#0: [ 3.921743][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 3.921748][ C0] #1: ffffffff9dfce8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 3.921753][ C0] [ 3.921753][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 3.921757][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 3.921759][ C0] HARDIRQ-ON-W at: [ 3.921761][ C0] __lock_acquire+0x388/0xc20 [ 3.921764][ C0] lock_acquire.part.0+0xd4/0x280 [ 3.921765][ C0] fs_reclaim_acquire+0xd5/0x120 [ 3.921769][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 3.921771][ C0] kthread_create_worker_on_node+0xea/0x210 [ 3.921774][ C0] workqueue_init+0x2a/0x680 [ 3.921778][ C0] kernel_init_freeable+0x2fe/0x630 [ 3.921781][ C0] kernel_init+0x21/0x150 [ 3.921785][ C0] ret_from_fork+0x474/0x6b0 [ 3.921788][ C0] ret_from_fork_asm+0x11/0x20 [ 3.921791][ C0] SOFTIRQ-ON-W at: [ 3.921791][ C0] __lock_acquire+0x388/0xc20 [ 3.921793][ C0] lock_acquire.part.0+0xd4/0x280 [ 3.921794][ C0] fs_reclaim_acquire+0xd5/0x120 [ 3.921795][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 3.921796][ C0] kthread_create_worker_on_node+0xea/0x210 [ 3.921798][ C0] workqueue_init+0x2a/0x680 [ 3.921799][ C0] kernel_init_freeable+0x2fe/0x630 [ 3.921801][ C0] kernel_init+0x21/0x150 [ 3.921802][ C0] ret_from_fork+0x474/0x6b0 [ 3.921804][ C0] ret_from_fork_asm+0x11/0x20 [ 3.921805][ C0] INITIAL USE at: [ 3.921805][ C0] __lock_acquire+0x388/0xc20 [ 3.921807][ C0] lock_acquire.part.0+0xd4/0x280 [ 3.921808][ C0] fs_reclaim_acquire+0xd5/0x120 [ 3.921809][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 3.921810][ C0] kthread_create_worker_on_node+0xea/0x210 [ 3.921811][ C0] workqueue_init+0x2a/0x680 [ 3.921813][ C0] kernel_init_freeable+0x2fe/0x630 [ 3.921815][ C0] kernel_init+0x21/0x150 [ 3.921816][ C0] ret_from_fork+0x474/0x6b0 [ 3.921817][ C0] ret_from_fork_asm+0x11/0x20 [ 3.921818][ C0] } [ 3.921819][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 3.921823][ C0] ... acquired at: [ 3.921824][ C0] __lock_acquire+0x518/0xc20 [ 3.921825][ C0] lock_acquire.part.0+0xd4/0x280 [ 3.921826][ C0] fs_reclaim_acquire+0xd5/0x120 [ 3.921828][ C0] __kmalloc_noprof+0xd3/0x760 [ 3.921829][ C0] alloc_buf.isra.0+0x4b/0x260 [ 3.921833][ C0] put_chars+0x1e1/0x2f0 [ 3.921834][ C0] hvc_console_print+0x292/0x780 [ 3.921837][ C0] console_emit_next_record+0x22f/0x4c0 [ 3.921838][ C0] console_flush_one_record+0x46f/0x710 [ 3.921840][ C0] console_unlock+0xee/0x1f0 [ 3.921841][ C0] vprintk_emit+0x37c/0x3e0 [ 3.921842][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 3.921846][ C0] dev_printk_emit+0xb9/0xee [ 3.921847][ C0] _dev_info+0xe2/0x116 [ 3.921849][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 3.921851][ C0] cmos_do_probe+0x73b/0x98a [ 3.921852][ C0] platform_probe+0xfe/0x1f0 [ 3.921855][ C0] call_driver_probe+0x61/0x1c0 [ 3.921857][ C0] really_probe+0x199/0x760 [ 3.921858][ C0] __driver_probe_device+0x24f/0x440 [ 3.921859][ C0] driver_probe_device+0x4a/0xf0 [ 3.921860][ C0] __driver_attach+0x1b8/0x540 [ 3.921862][ C0] bus_for_each_dev+0x130/0x1e0 [ 3.921864][ C0] bus_add_driver+0x2c8/0x530 [ 3.921865][ C0] driver_register+0x1a3/0x390 [ 3.921866][ C0] __platform_driver_probe+0x13f/0x270 [ 3.921868][ C0] cmos_init+0x31/0x40 [ 3.921870][ C0] do_one_initcall+0x124/0x4f0 [ 3.921872][ C0] kernel_init_freeable+0x596/0x630 [ 3.921874][ C0] kernel_init+0x21/0x150 [ 3.921875][ C0] ret_from_fork+0x474/0x6b0 [ 3.921877][ C0] ret_from_fork_asm+0x11/0x20 [ 3.921878][ C0] [ 3.921878][ C0] -> (console_owner){..-.}-{0:0} { [ 3.921880][ C0] IN-SOFTIRQ-W at: [ 3.921881][ C0] __lock_acquire+0x388/0xc20 [ 3.921882][ C0] lock_acquire.part.0+0xd4/0x280 [ 3.921883][ C0] console_trylock_spinning+0xb5/0x1e0 [ 3.921884][ C0] vprintk_emit+0x320/0x3e0 [ 3.921886][ C0] _printk+0xc7/0x100 [ 3.921889][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 3.921891][ C0] call_timer_fn+0x160/0x4d0 [ 3.921892][ C0] __run_timers+0x68f/0xaa0 [ 3.921894][ C0] run_timer_softirq+0xf0/0x160 [ 3.921895][ C0] handle_softirqs+0x1d3/0x900 [ 3.921898][ C0] __irq_exit_rcu+0x145/0x1c0 [ 3.921900][ C0] irq_exit_rcu+0xe/0x30 [ 3.921902][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 3.921904][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 3.921905][ C0] pv_native_safe_halt+0xf/0x10 [ 3.921907][ C0] default_idle+0x9/0x10 [ 3.921908][ C0] default_idle_call+0x6e/0xb0 [ 3.921909][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 3.921912][ C0] do_idle+0xd8/0x190 [ 3.921914][ C0] cpu_startup_entry+0x53/0x70 [ 3.921916][ C0] rest_init+0x279/0x280 [ 3.921917][ C0] start_kernel+0x3af/0x3b0 [ 3.921918][ C0] x86_64_start_reservations+0x24/0x30 [ 3.921920][ C0] x86_64_start_kernel+0x12b/0x130 [ 3.921921][ C0] common_startup_64+0x13e/0x148 [ 3.921924][ C0] INITIAL USE at: [ 3.921925][ C0] } [ 3.921926][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 3.921929][ C0] ... acquired at: [ 3.921930][ C0] mark_lock+0x1d7/0xa00 [ 3.921931][ C0] mark_usage+0x42/0x170 [ 3.921932][ C0] __lock_acquire+0x388/0xc20 [ 3.921933][ C0] lock_acquire.part.0+0xd4/0x280 [ 3.921934][ C0] console_trylock_spinning+0xb5/0x1e0 [ 3.921935][ C0] vprintk_emit+0x320/0x3e0 [ 3.921936][ C0] _printk+0xc7/0x100 [ 3.921938][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 3.921939][ C0] call_timer_fn+0x160/0x4d0 [ 3.921940][ C0] __run_timers+0x68f/0xaa0 [ 3.921941][ C0] run_timer_softirq+0xf0/0x160 [ 3.921942][ C0] handle_softirqs+0x1d3/0x900 [ 3.921944][ C0] __irq_exit_rcu+0x145/0x1c0 [ 3.921946][ C0] irq_exit_rcu+0xe/0x30 [ 3.921947][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 3.921949][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 3.921950][ C0] pv_native_safe_halt+0xf/0x10 [ 3.921951][ C0] default_idle+0x9/0x10 [ 3.921952][ C0] default_idle_call+0x6e/0xb0 [ 3.921953][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 3.921955][ C0] do_idle+0xd8/0x190 [ 3.921957][ C0] cpu_startup_entry+0x53/0x70 [ 3.921958][ C0] rest_init+0x279/0x280 [ 3.921960][ C0] start_kernel+0x3af/0x3b0 [ 3.921961][ C0] x86_64_start_reservations+0x24/0x30 [ 3.921962][ C0] x86_64_start_kernel+0x12b/0x130 [ 3.921963][ C0] common_startup_64+0x13e/0x148 [ 3.921965][ C0] [ 3.921965][ C0] [ 3.921965][ C0] stack backtrace: [ 3.921969][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 3.921972][ C0] Tainted: [W]=WARN [ 3.921973][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.921974][ C0] Call Trace: [ 3.921975][ C0] [ 3.921977][ C0] dump_stack_lvl+0x6f/0xa0 [ 3.921980][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 3.921983][ C0] mark_lock_irq+0x989/0x9c0 [ 3.921984][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 3.921989][ C0] mark_lock+0x1d7/0xa00 [ 3.921990][ C0] mark_usage+0x42/0x170 [ 3.921992][ C0] __lock_acquire+0x388/0xc20 [ 3.921994][ C0] lock_acquire.part.0+0xd4/0x280 [ 3.921995][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 3.921997][ C0] ? rcu_is_watching+0x16/0xd0 [ 3.922000][ C0] ? lock_acquire+0x13c/0x160 [ 3.922002][ C0] console_trylock_spinning+0xb5/0x1e0 [ 3.922003][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 3.922004][ C0] vprintk_emit+0x320/0x3e0 [ 3.922006][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 3.922009][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 3.922010][ C0] _printk+0xc7/0x100 [ 3.922012][ C0] ? snapshot_read.cold+0x21/0x21 [ 3.922014][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 3.922015][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 3.922018][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 3.922019][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 3.922020][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 3.922022][ C0] call_timer_fn+0x160/0x4d0 [ 3.922023][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 3.922025][ C0] ? debug_object_active_state+0x430/0x430 [ 3.922028][ C0] ? find_held_lock+0x2b/0x80 [ 3.922030][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 3.922031][ C0] ? rcu_is_watching+0x16/0xd0 [ 3.922033][ C0] __run_timers+0x68f/0xaa0 [ 3.922035][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 3.922037][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 3.922038][ C0] ? __lock_acquire+0x518/0xc20 [ 3.922041][ C0] ? __rwlock_init+0x150/0x150 [ 3.922043][ C0] run_timer_softirq+0xf0/0x160 [ 3.922045][ C0] ? __run_timers+0xaa0/0xaa0 [ 3.922047][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 3.922050][ C0] ? rcu_is_watching+0x16/0xd0 [ 3.922051][ C0] handle_softirqs+0x1d3/0x900 [ 3.922054][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 3.922055][ C0] ? _local_bh_enable+0xc0/0xc0 [ 3.922057][ C0] __irq_exit_rcu+0x145/0x1c0 [ 3.922059][ C0] irq_exit_rcu+0xe/0x30 [ 3.922061][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 3.922063][ C0] [ 3.922063][ C0] [ 3.922064][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 3.922065][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 3.922067][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 3.922070][ C0] Code: 48 8b 3d 94 72 f5 01 e8 1f 00 00 00 48 2b 05 58 43 99 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 c6 11 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 3.922071][ C0] RSP: 0018:ffffffff9dc07cf8 EFLAGS: 00000296 [ 3.922074][ C0] RAX: 000000000001a9d1 RBX: ffffffff9dc1c600 RCX: ffffffff9acee307 [ 3.922075][ C0] RDX: ffffffff9dc1c600 RSI: ffffffff9da6ef5b RDI: ffffffff9d48d8e0 [ 3.922076][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 3.922077][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3b80fa2 [ 3.922077][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 3.922079][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 3.922082][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 3.922083][ C0] default_idle+0x9/0x10 [ 3.922085][ C0] default_idle_call+0x6e/0xb0 [ 3.922086][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 3.922088][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 3.922090][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 3.922094][ C0] ? rcu_is_watching+0x16/0xd0 [ 3.922096][ C0] do_idle+0xd8/0x190 [ 3.922098][ C0] cpu_startup_entry+0x53/0x70 [ 3.922099][ C0] rest_init+0x279/0x280 [ 3.922101][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 3.922104][ C0] ? rest_init+0x280/0x280 [ 3.922105][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 3.922109][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 3.922111][ C0] ? acpi_enable+0x1e4/0x330 [ 3.922113][ C0] start_kernel+0x3af/0x3b0 [ 3.922115][ C0] x86_64_start_reservations+0x24/0x30 [ 3.922116][ C0] x86_64_start_kernel+0x12b/0x130 [ 3.922118][ C0] common_startup_64+0x13e/0x148 [ 3.922121][ C0] [ 3.962686][ T1] virtme-ng-init: basic initialization done [ 4.033051][ T74] virtme-ng-init: Starting systemd-udevd version 259.8-1.fc44 [ 4.033316][ T74] virtme-ng-init: triggering udev coldplug [ 5.340362][ T74] virtme-ng-init: waiting for udev to settle [ 5.340373][ T74] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 5.340376][ T74] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 74, name: virtme-ng-init [ 5.340378][ T74] preempt_count: 1, expected: 0 [ 5.340379][ T74] RCU nest depth: 0, expected: 0 [ 5.340380][ T74] INFO: lockdep is turned off. [ 5.340381][ T74] irq event stamp: 0 [ 5.340382][ T74] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 5.340386][ T74] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 5.340393][ T74] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 5.340395][ T74] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 5.340397][ T74] Preemption disabled at: [ 5.340398][ T74] [] vprintk_emit+0x31b/0x3e0 [ 5.340405][ T74] CPU: 1 UID: 0 PID: 74 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 5.340409][ T74] Tainted: [W]=WARN [ 5.340409][ T74] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 5.340411][ T74] Call Trace: [ 5.340412][ T74] [ 5.340413][ T74] dump_stack_lvl+0x6f/0xa0 [ 5.340418][ T74] ? vprintk_emit+0x31b/0x3e0 [ 5.340420][ T74] __might_resched.cold+0x1fe/0x2c1 [ 5.340424][ T74] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 5.340427][ T74] ? __asan_memcpy+0x3c/0x60 [ 5.340430][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.340434][ T74] __kmalloc_noprof+0x443/0x760 [ 5.340436][ T74] ? __rwlock_init+0x150/0x150 [ 5.340439][ T74] ? alloc_buf.isra.0+0x4b/0x260 [ 5.340443][ T74] ? do_raw_spin_unlock+0x59/0x250 [ 5.340445][ T74] alloc_buf.isra.0+0x4b/0x260 [ 5.340447][ T74] put_chars+0x1e1/0x2f0 [ 5.340449][ T74] ? __send_to_port+0x420/0x420 [ 5.340452][ T74] ? console_prepend_replay+0x20/0x20 [ 5.340454][ T74] hvc_console_print+0x292/0x780 [ 5.340458][ T74] ? hvc_write+0x3a0/0x3a0 [ 5.340460][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.340461][ T74] ? lock_acquire+0x13c/0x160 [ 5.340463][ T74] console_emit_next_record+0x22f/0x4c0 [ 5.340465][ T74] ? devkmsg_read+0x4b0/0x4b0 [ 5.340467][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.340469][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.340470][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.340471][ T74] ? lock_acquire+0x13c/0x160 [ 5.340473][ T74] ? console_flush_one_record+0x111/0x710 [ 5.340475][ T74] console_flush_one_record+0x46f/0x710 [ 5.340477][ T74] ? console_emit_next_record+0x4c0/0x4c0 [ 5.340479][ T74] console_unlock+0xee/0x1f0 [ 5.340481][ T74] ? lock_acquire+0x13c/0x160 [ 5.340482][ T74] ? console_flush_one_record+0x710/0x710 [ 5.340483][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.340485][ T74] ? lock_release+0x184/0x1f0 [ 5.340486][ T74] ? lock_acquire+0x60/0x160 [ 5.340487][ T74] ? __rcu_read_lock+0x30/0x70 [ 5.340489][ T74] ? __down_trylock_console_sem+0x5e/0xa0 [ 5.340491][ T74] ? vprintk_emit+0x320/0x3e0 [ 5.340492][ T74] vprintk_emit+0x37c/0x3e0 [ 5.340494][ T74] ? wake_up_klogd_work_func+0x90/0x90 [ 5.340496][ T74] ? lock_release+0x184/0x1f0 [ 5.340497][ T74] ? _copy_from_iter+0x1bb/0x1810 [ 5.340501][ T74] devkmsg_emit.constprop.0+0xbc/0xf1 [ 5.340504][ T74] ? vprintk_emit.cold+0x107/0x107 [ 5.340506][ T74] ? simple_strntoull+0x10f/0x140 [ 5.340510][ T74] ? date_str+0x1e0/0x1e0 [ 5.340512][ T74] ? devkmsg_write+0xd1/0x2c0 [ 5.340514][ T74] devkmsg_write.cold+0x5a/0x8b [ 5.340516][ T74] ? vprintk_default+0x20/0x20 [ 5.340519][ T74] ? vprintk_default+0x20/0x20 [ 5.340520][ T74] new_sync_write+0x33e/0x760 [ 5.340523][ T74] ? trace_hardirqs_on+0x36/0x40 [ 5.340526][ T74] ? new_sync_read+0x750/0x750 [ 5.340528][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.340530][ T74] ? lock_release+0x184/0x1f0 [ 5.340531][ T74] ? __fget_files+0x54/0x460 [ 5.340534][ T74] ? __fget_files+0x1e3/0x460 [ 5.340536][ T74] vfs_write+0x6a2/0xbd0 [ 5.340538][ T74] ksys_write+0x116/0x250 [ 5.340540][ T74] ? __ia32_sys_read+0xc0/0xc0 [ 5.340542][ T74] ? fpregs_restore_userregs+0x14b/0x300 [ 5.340548][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.340550][ T74] do_syscall_64+0xff/0x530 [ 5.340553][ T74] ? exc_page_fault+0xee/0x100 [ 5.340555][ T74] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 5.340557][ T74] RIP: 0033:0x7ffa3d876ed2 [ 5.340559][ T74] 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.340561][ T74] RSP: 002b:00007ffa3d7bdc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 5.340566][ T74] RAX: ffffffffffffffda RBX: 000000000000002e RCX: 00007ffa3d876ed2 [ 5.340568][ T74] RDX: 000000000000002e RSI: 00007ffa380012c0 RDI: 0000000000000003 [ 5.340570][ T74] RBP: 00007ffa3d7bdc90 R08: 0000000000000000 R09: 0000000000000000 [ 5.340571][ T74] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffa3d9010a0 [ 5.340572][ T74] R13: 00007ffa3d7ff3e0 R14: 00007ffa380012c0 R15: 00007ffa3d7bdda8 [ 5.340576][ T74] [ 5.655950][ T74] virtme-ng-init: udev is done [ 5.657959][ T1] virtme-ng-init: initialization done