virtme: waiting for virtiofsd to start virtme: use 'microvm' QEMU architecture [ 1.050038][ T1] rtc_cmos PNP0B00:00: registered as rtc0 [ 1.050061][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 1.050063][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0 [ 1.050064][ T1] preempt_count: 1, expected: 0 [ 1.050065][ T1] RCU nest depth: 0, expected: 0 [ 1.050066][ T1] locks held by swapper/0/1: 5, last CPU#0: [ 1.050068][ T1] #0: ff1100000290b938 (&dev->mutex){....}-{4:4}, at: __driver_attach+0x1ad/0x540 [ 1.050081][ T1] #1: ffffffff8b969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 1.050087][ T1] #2: ffffffff8b969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 1.050090][ T1] #3: ffffffff8b889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 1.050095][ T1] #4: ffffffff8b889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 1.050099][ T1] irq event stamp: 306128 [ 1.050100][ T1] hardirqs last enabled at (306127): [] __down_trylock_console_sem+0x86/0xa0 [ 1.050101][ T1] hardirqs last disabled at (306128): [] console_emit_next_record+0x3d4/0x4c0 [ 1.050101][ T1] softirqs last enabled at (305544): [] handle_softirqs+0x67c/0x900 [ 1.050101][ T1] softirqs last disabled at (305539): [] __irq_exit_rcu+0x145/0x1c0 [ 1.050101][ T1] Preemption disabled at: [ 1.050101][ T1] [] vprintk_emit+0x31b/0x3e0 [ 1.050101][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-virtme #1 PREEMPT(full) [ 1.050101][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.050101][ T1] Call Trace: [ 1.050101][ T1] [ 1.050101][ T1] dump_stack_lvl+0x6f/0xa0 [ 1.050101][ T1] ? vprintk_emit+0x31b/0x3e0 [ 1.050101][ T1] __might_resched.cold+0x1fe/0x2c1 [ 1.050101][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 1.050101][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 1.050101][ T1] __kmalloc_noprof+0x443/0x760 [ 1.050101][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 1.050101][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 1.050101][ T1] alloc_buf.isra.0+0x4b/0x260 [ 1.050101][ T1] put_chars+0x1e1/0x2f0 [ 1.050101][ T1] ? __send_to_port+0x420/0x420 [ 1.050101][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.050101][ T1] ? validate_chain+0x38b/0xc20 [ 1.050101][ T1] hvc_console_print+0x292/0x780 [ 1.050101][ T1] ? __lock_acquire+0x518/0xc20 [ 1.050101][ T1] ? __lock_acquire+0x518/0xc20 [ 1.050101][ T1] ? hvc_write+0x3a0/0x3a0 [ 1.050101][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.050101][ T1] ? lock_acquire+0x13c/0x160 [ 1.050101][ T1] console_emit_next_record+0x22f/0x4c0 [ 1.050101][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 1.050101][ T1] ? console_flush_one_record+0x106/0x710 [ 1.050101][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.050101][ T1] ? lock_acquire+0x13c/0x160 [ 1.050101][ T1] console_flush_one_record+0x46f/0x710 [ 1.050101][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 1.050101][ T1] ? __lock_acquire+0x518/0xc20 [ 1.050101][ T1] console_unlock+0xee/0x1f0 [ 1.050101][ T1] ? console_flush_one_record+0x710/0x710 [ 1.050101][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.050101][ T1] ? lock_acquire+0x60/0x160 [ 1.050101][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 1.050101][ T1] ? vprintk_emit+0x320/0x3e0 [ 1.050101][ T1] vprintk_emit+0x37c/0x3e0 [ 1.050101][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 1.050101][ T1] ? find_held_lock+0x2b/0x80 [ 1.050101][ T1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 1.050101][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.050101][ T1] dev_vprintk_emit+0x27f/0x2c0 [ 1.050101][ T1] ? device_rename.cold+0xa/0xa [ 1.050101][ T1] ? __lock_acquire+0x518/0xc20 [ 1.050101][ T1] ? lock_acquire.part.0+0xd4/0x280 [ 1.050101][ T1] ? find_held_lock+0x2b/0x80 [ 1.050101][ T1] dev_printk_emit+0xb9/0xee [ 1.050101][ T1] ? dev_vprintk_emit+0x2c0/0x2c0 [ 1.050101][ T1] ? _raw_write_unlock+0x2d/0x50 [ 1.050101][ T1] ? proc_register+0x368/0x8b0 [ 1.050101][ T1] _dev_info+0xe2/0x116 [ 1.050101][ T1] ? _dev_notice+0x120/0x120 [ 1.050101][ T1] ? rtc_proc_add_device+0x106/0x120 [ 1.050101][ T1] ? rtc_proc_show+0x400/0x400 [ 1.050101][ T1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 1.050101][ T1] ? devm_rtc_unregister_device+0xd0/0xd0 [ 1.050101][ T1] ? __setup_irq+0xec4/0x1ee0 [ 1.050101][ T1] ? request_threaded_irq+0x1dd/0x330 [ 1.050101][ T1] cmos_do_probe+0x73b/0x98a [ 1.050101][ T1] ? cmos_platform_shutdown+0x370/0x370 [ 1.050101][ T1] ? cmos_irq_disable.cold+0x3a/0x3a [ 1.050101][ T1] ? acpi_dev_pm_attach+0x1f3/0x250 [ 1.050101][ T1] ? cmos_read_alarm_callback+0x340/0x340 [ 1.050101][ T1] ? mc146818_set_time+0x500/0x500 [ 1.050101][ T1] ? irq_get_irq_data+0xe/0x20 [ 1.050101][ T1] ? platform_get_irq_affinity+0x21f/0x450 [ 1.050101][ T1] platform_probe+0xfe/0x1f0 [ 1.050101][ T1] call_driver_probe+0x61/0x1c0 [ 1.050101][ T1] really_probe+0x199/0x760 [ 1.050101][ T1] ? __device_attach_driver+0x280/0x280 [ 1.050101][ T1] __driver_probe_device+0x24f/0x440 [ 1.050101][ T1] ? __device_attach_driver+0x280/0x280 [ 1.050101][ T1] ? __device_attach_driver+0x280/0x280 [ 1.050101][ T1] driver_probe_device+0x4a/0xf0 [ 1.050101][ T1] __driver_attach+0x1b8/0x540 [ 1.050101][ T1] ? do_raw_spin_lock+0x131/0x280 [ 1.050101][ T1] bus_for_each_dev+0x130/0x1e0 [ 1.050101][ T1] ? bus_remove_file+0x50/0x50 [ 1.050101][ T1] ? __lock_release.isra.0+0x69/0x1a0 [ 1.050101][ T1] ? rtc_dev_init+0x40/0x40 [ 1.050101][ T1] ? rtc_dev_init+0x40/0x40 [ 1.050101][ T1] bus_add_driver+0x2c8/0x530 [ 1.050101][ T1] driver_register+0x1a3/0x390 [ 1.050101][ T1] __platform_driver_probe+0x13f/0x270 [ 1.050101][ T1] cmos_init+0x31/0x40 [ 1.050101][ T1] do_one_initcall+0x124/0x4f0 [ 1.050101][ T1] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 1.050101][ T1] ? parameq+0x110/0x110 [ 1.050101][ T1] ? kernel_init_freeable+0x3f1/0x630 [ 1.050101][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.050101][ T1] kernel_init_freeable+0x596/0x630 [ 1.050101][ T1] ? rest_init+0x280/0x280 [ 1.050101][ T1] kernel_init+0x21/0x150 [ 1.050101][ T1] ? rest_init+0x280/0x280 [ 1.050101][ T1] ret_from_fork+0x474/0x6b0 [ 1.050101][ T1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 1.050101][ T1] ? __switch_to+0x5a3/0xe00 [ 1.050101][ T1] ? rest_init+0x280/0x280 [ 1.050101][ T1] ret_from_fork_asm+0x11/0x20 [ 1.050101][ T1] [ 1.083353][ T1] rtc_cmos PNP0B00:00: setting system clock to 2026-08-28T01:37:43 UTC (1787881063) [ 1.084479][ T1] rtc_cmos PNP0B00:00: alarms up to one day, 242 bytes nvram [ 1.087852][ T1] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev [ 1.094994][ T1] NET: Registered PF_INET6 protocol family [ 1.099625][ T1] Segment Routing with IPv6 [ 1.100089][ T1] In-situ OAM (IOAM) with IPv6 [ 1.100544][ T1] NET: Registered PF_PACKET protocol family [ 1.100862][ T1] 9pnet: Installing 9P2000 support [ 1.101229][ T1] Key type dns_resolver registered [ 1.101963][ T1] NET: Registered PF_VSOCK protocol family [ 1.109059][ T1] IPI shorthand broadcast: enabled [ 1.209601][ T1] sched_clock: Marking stable (1175002067, 34093027)->(1310916618, -101821524) [ 1.213078][ T1] registered taskstats version 1 [ 1.214952][ T1] Loading compiled-in X.509 certificates [ 1.315180][ T1] Demotion targets for Node 0: null [ 1.315595][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 12241) [ 1.315964][ T1] page_owner is disabled [ 1.316762][ T1] PM: Magic number: 6:800:610 [ 1.317272][ T1] netconsole: network logging started [ 1.318789][ T1] ALSA device list: [ 1.319623][ T1] No soundcards found. [ 1.320735][ T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 1.323471][ T1] VFS: Mounted root (virtiofs filesystem) readonly on device 0:24. [ 1.324334][ T1] devtmpfs: mounted [ 1.324714][ T1] VFS: Pivoted into new rootfs [ 1.352212][ T1] Freeing unused kernel image (initmem) memory: 2536K [ 1.352516][ T1] Write protecting the kernel read-only data: 55296k [ 1.353897][ T1] Freeing unused kernel image (text/rodata gap) memory: 664K [ 1.354384][ T1] Freeing unused kernel image (rodata/data gap) memory: 624K [ 1.355151][ T1] Run /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init as init process [ 1.355418][ T1] with arguments: [ 1.355534][ T1] /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init [ 1.355776][ T1] with environment: [ 1.355889][ T1] HOME=/ [ 1.356005][ T1] TERM=dumb [ 1.356123][ T1] virtme_hostname=vmksft-packetdrill-dbg,debug-threads=on [ 1.356362][ T1] nr_open=2147483584 [ 1.356471][ T1] virtme_link_mods=/srv/vmksft/testing/wt-8/.virtme_mods/lib/modules/0.0.0 [ 1.356740][ T1] virtme_rw_overlay0=/etc [ 1.356887][ T1] virtme_rw_overlay1=/lib [ 1.357031][ T1] virtme_rw_overlay2=/home [ 1.357197][ T1] virtme_rw_overlay3=/opt [ 1.357355][ T1] virtme_rw_overlay4=/srv [ 1.357504][ T1] virtme_rw_overlay5=/usr [ 1.357659][ T1] virtme_rw_overlay6=/var [ 1.357802][ T1] virtme_rw_overlay7=/tmp [ 1.357951][ T1] virtme_console=ttyS0 [ 1.358109][ T1] virtme_chdir=srv/vmksft/testing/wt-8 [ 1.374594][ T1] virtme-ng-init: mount devtmpfs -> /dev: EBUSY: Device or resource busy [ 1.375952][ T1] virtme-ng-init: Setting hostname to vmksft-packetdrill-dbg,debug-threads=on... [ 1.384275][ T1] overlayfs: failed to set xattr on upper [ 1.384543][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.384809][ T1] overlayfs: ...falling back to uuid=null. [ 1.387239][ T1] overlayfs: failed to set xattr on upper [ 1.387442][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.387687][ T1] overlayfs: ...falling back to uuid=null. [ 1.389614][ T1] overlayfs: failed to set xattr on upper [ 1.389816][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.390058][ T1] overlayfs: ...falling back to uuid=null. [ 1.391947][ T1] overlayfs: failed to set xattr on upper [ 1.392178][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.392416][ T1] overlayfs: ...falling back to uuid=null. [ 1.394325][ T1] overlayfs: failed to set xattr on upper [ 1.394525][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.394777][ T1] overlayfs: ...falling back to uuid=null. [ 1.396965][ T1] overlayfs: failed to set xattr on upper [ 1.397251][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.397534][ T1] overlayfs: ...falling back to uuid=null. [ 1.399407][ T1] overlayfs: failed to set xattr on upper [ 1.399614][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.399854][ T1] overlayfs: ...falling back to uuid=null. [ 1.402130][ T1] overlayfs: failed to set xattr on upper [ 1.402330][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.402568][ T1] overlayfs: ...falling back to uuid=null. [ 1.413946][ T1] virtme-ng-init: running systemd-tmpfiles [ 1.425960][ T72] kwatchdog (72) used greatest stack depth: 29688 bytes left [ 4.421074][ T71] systemd-tmpfile (71) used greatest stack depth: 24576 bytes left [ 4.421096][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 4.421099][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: systemd-tmpfile [ 4.421101][ T71] preempt_count: 2, expected: 0 [ 4.421103][ T71] RCU nest depth: 0, expected: 0 [ 4.421104][ T71] locks held by systemd-tmpfile/71: 5, last CPU#0: [ 4.421106][ T71] #0: ffffffff8b8027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 4.421120][ T71] #1: ffffffff8b969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 4.421126][ T71] #2: ffffffff8b969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 4.421131][ T71] #3: ffffffff8b889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 4.421135][ T71] #4: ffffffff8b889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 4.421140][ T71] irq event stamp: 2540510 [ 4.421141][ T71] hardirqs last enabled at (2540509): [] __down_trylock_console_sem+0x86/0xa0 [ 4.421145][ T71] hardirqs last disabled at (2540510): [] console_emit_next_record+0x3d4/0x4c0 [ 4.421148][ T71] softirqs last enabled at (2539836): [] handle_softirqs+0x67c/0x900 [ 4.421150][ T71] softirqs last disabled at (2539831): [] __irq_exit_rcu+0x145/0x1c0 [ 4.421153][ T71] Preemption disabled at: [ 4.421154][ T71] [<0000000000000000>] 0x0 [ 4.421163][ T71] CPU: 0 UID: 0 PID: 71 Comm: systemd-tmpfile Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 4.421167][ T71] Tainted: [W]=WARN [ 4.421168][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.421170][ T71] Call Trace: [ 4.421172][ T71] [ 4.421174][ T71] dump_stack_lvl+0x6f/0xa0 [ 4.421181][ T71] __might_resched.cold+0x1fe/0x2c1 [ 4.421186][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 4.421190][ T71] ? __kmalloc_noprof+0xdb/0x760 [ 4.421197][ T71] __kmalloc_noprof+0x443/0x760 [ 4.421200][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 4.421208][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 4.421212][ T71] alloc_buf.isra.0+0x4b/0x260 [ 4.421216][ T71] put_chars+0x1e1/0x2f0 [ 4.421220][ T71] ? __send_to_port+0x420/0x420 [ 4.421222][ T71] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 4.421227][ T71] ? validate_chain+0x38b/0xc20 [ 4.421235][ T71] hvc_console_print+0x292/0x780 [ 4.421244][ T71] ? hvc_write+0x3a0/0x3a0 [ 4.421248][ T71] ? rcu_is_watching+0x16/0xd0 [ 4.421250][ T71] ? lock_acquire+0x13c/0x160 [ 4.421256][ T71] console_emit_next_record+0x22f/0x4c0 [ 4.421261][ T71] ? devkmsg_read+0x4b0/0x4b0 [ 4.421263][ T71] ? console_flush_one_record+0x106/0x710 [ 4.421267][ T71] ? rcu_is_watching+0x16/0xd0 [ 4.421269][ T71] ? lock_acquire+0x13c/0x160 [ 4.421275][ T71] console_flush_one_record+0x46f/0x710 [ 4.421280][ T71] ? console_emit_next_record+0x4c0/0x4c0 [ 4.421282][ T71] ? __lock_acquire+0x518/0xc20 [ 4.421290][ T71] console_unlock+0xee/0x1f0 [ 4.421293][ T71] ? console_flush_one_record+0x710/0x710 [ 4.421295][ T71] ? rcu_is_watching+0x16/0xd0 [ 4.421297][ T71] ? lock_acquire+0x60/0x160 [ 4.421301][ T1] virtme-ng-init: Failed to read '/usr/lib/tmpfiles.d/audit.conf': Permission denied [ 4.421301][ T1] Failed to create directory or subvolume "/var/spool/at/spool": Permission denied [ 4.421301][ T1] Failed to create file /var/spool/at/.SEQ: Permission denied [ 4.421301][ T1] Failed to opendir() '/proc/self/fd/6': Permission denied [ 4.421302][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 4.421305][ T71] ? vprintk_emit+0x320/0x3e0 [ 4.421309][ T71] vprintk_emit+0x37c/0x3e0 [ 4.421313][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 4.421318][ T71] ? __lock_acquire+0x518/0xc20 [ 4.421327][ T71] _printk+0xc7/0x100 [ 4.421331][ T71] ? snapshot_read.cold+0x21/0x21 [ 4.421335][ T71] ? do_raw_spin_lock+0x131/0x280 [ 4.421339][ T71] ? __rwlock_init+0x150/0x150 [ 4.421344][ T71] ? do_raw_spin_lock+0x131/0x280 [ 4.421348][ T71] do_exit.cold+0x82/0x9c [ 4.421353][ T71] ? exit_notify+0x890/0x890 [ 4.421354][ T71] ? __lock_release.isra.0+0x69/0x1a0 [ 4.421358][ T71] ? rcu_is_watching+0x16/0xd0 [ 4.421364][ T71] do_group_exit+0xb8/0x370 [ 4.421368][ T71] __x64_sys_exit_group+0x3c/0x50 [ 4.421371][ T71] x64_sys_call+0x1567/0x1570 [ 4.421374][ T71] do_syscall_64+0xff/0x530 [ 4.421379][ T71] ? exc_page_fault+0xee/0x100 [ 4.421383][ T71] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 4.421386][ T71] RIP: 0033:0x7fd4871831b8 [ 4.421389][ T71] Code: Unable to access opcode bytes at 0x7fd48718318e. [ 4.421391][ T71] RSP: 002b:00007fff43729598 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 4.421393][ T71] RAX: ffffffffffffffda RBX: 00007fd4872b3f88 RCX: 00007fd4871831b8 [ 4.421395][ T71] RDX: 00007fd4869e14c8 RSI: fffffffffffffe90 RDI: 0000000000000049 [ 4.421396][ T71] RBP: 00007fff437295f0 R08: 0000000000000000 R09: 0000000000001000 [ 4.421397][ T71] R10: 00007fff437293b0 R11: 0000000000000246 R12: 0000000000000001 [ 4.421398][ T71] R13: 0000000000000049 R14: 00007fd4872b2680 R15: 00007fd4872b3fa0 [ 4.421409][ T71] [ 4.425263][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 4.425296][ C0] [ 4.425297][ C0] ======================================================== [ 4.425298][ C0] WARNING: possible irq lock inversion dependency detected [ 4.425300][ C0] 7.2.0-virtme #1 Tainted: G W [ 4.425302][ C0] -------------------------------------------------------- [ 4.425303][ C0] swapper/0/0 just changed the state of lock: [ 4.425304][ C0] ffffffff8b889660 (console_owner){..-.}-{0:0}, at: console_trylock_spinning+0xa4/0x1e0 [ 4.425317][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 4.425318][ C0] (fs_reclaim){+.+.}-{0:0} [ 4.425320][ C0] [ 4.425320][ C0] [ 4.425320][ C0] and interrupts could create inverse lock ordering between them. [ 4.425320][ C0] [ 4.425321][ C0] [ 4.425321][ C0] other info that might help us debug this: [ 4.425322][ C0] Possible interrupt unsafe locking scenario: [ 4.425322][ C0] [ 4.425328][ C0] CPU0 CPU1 [ 4.425329][ C0] ---- ---- [ 4.425329][ C0] lock(fs_reclaim); [ 4.425331][ C0] local_irq_disable(); [ 4.425332][ C0] lock(console_owner); [ 4.425333][ C0] lock(fs_reclaim); [ 4.425335][ C0] [ 4.425335][ C0] lock(console_owner); [ 4.425337][ C0] [ 4.425337][ C0] *** DEADLOCK *** [ 4.425337][ C0] [ 4.425337][ C0] locks held by swapper/0/0: 2, last CPU#0: [ 4.425339][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 4.425345][ C0] #1: ffffffff8b9ce8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 4.425351][ C0] [ 4.425351][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 4.425356][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 4.425360][ C0] HARDIRQ-ON-W at: [ 4.425362][ C0] __lock_acquire+0x388/0xc20 [ 4.425365][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.425367][ C0] fs_reclaim_acquire+0xd5/0x120 [ 4.425371][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 4.425374][ C0] kthread_create_worker_on_node+0xea/0x210 [ 4.425377][ C0] workqueue_init+0x2a/0x680 [ 4.425382][ C0] kernel_init_freeable+0x2fe/0x630 [ 4.425385][ C0] kernel_init+0x21/0x150 [ 4.425389][ C0] ret_from_fork+0x474/0x6b0 [ 4.425393][ C0] ret_from_fork_asm+0x11/0x20 [ 4.425396][ C0] SOFTIRQ-ON-W at: [ 4.425398][ C0] __lock_acquire+0x388/0xc20 [ 4.425400][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.425402][ C0] fs_reclaim_acquire+0xd5/0x120 [ 4.425404][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 4.425406][ C0] kthread_create_worker_on_node+0xea/0x210 [ 4.425408][ C0] workqueue_init+0x2a/0x680 [ 4.425410][ C0] kernel_init_freeable+0x2fe/0x630 [ 4.425412][ C0] kernel_init+0x21/0x150 [ 4.425414][ C0] ret_from_fork+0x474/0x6b0 [ 4.425416][ C0] ret_from_fork_asm+0x11/0x20 [ 4.425418][ C0] INITIAL USE at: [ 4.425419][ C0] __lock_acquire+0x388/0xc20 [ 4.425421][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.425423][ C0] fs_reclaim_acquire+0xd5/0x120 [ 4.425425][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 4.425427][ C0] kthread_create_worker_on_node+0xea/0x210 [ 4.425429][ C0] workqueue_init+0x2a/0x680 [ 4.425431][ C0] kernel_init_freeable+0x2fe/0x630 [ 4.425433][ C0] kernel_init+0x21/0x150 [ 4.425435][ C0] ret_from_fork+0x474/0x6b0 [ 4.425437][ C0] ret_from_fork_asm+0x11/0x20 [ 4.425439][ C0] } [ 4.425440][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 4.425445][ C0] ... acquired at: [ 4.425446][ C0] __lock_acquire+0x518/0xc20 [ 4.425448][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.425450][ C0] fs_reclaim_acquire+0xd5/0x120 [ 4.425452][ C0] __kmalloc_noprof+0xd3/0x760 [ 4.425454][ C0] alloc_buf.isra.0+0x4b/0x260 [ 4.425457][ T1] virtme-ng-init: basic initialization done [ 4.425458][ C0] put_chars+0x1e1/0x2f0 [ 4.425460][ C0] hvc_console_print+0x292/0x780 [ 4.425463][ C0] console_emit_next_record+0x22f/0x4c0 [ 4.425465][ C0] console_flush_one_record+0x46f/0x710 [ 4.425466][ C0] console_unlock+0xee/0x1f0 [ 4.425468][ C0] vprintk_emit+0x37c/0x3e0 [ 4.425469][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 4.425473][ C0] dev_printk_emit+0xb9/0xee [ 4.425475][ C0] _dev_info+0xe2/0x116 [ 4.425477][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 4.425480][ C0] cmos_do_probe+0x73b/0x98a [ 4.425482][ C0] platform_probe+0xfe/0x1f0 [ 4.425485][ C0] call_driver_probe+0x61/0x1c0 [ 4.425488][ C0] really_probe+0x199/0x760 [ 4.425490][ C0] __driver_probe_device+0x24f/0x440 [ 4.425493][ C0] driver_probe_device+0x4a/0xf0 [ 4.425495][ C0] __driver_attach+0x1b8/0x540 [ 4.425498][ C0] bus_for_each_dev+0x130/0x1e0 [ 4.425500][ C0] bus_add_driver+0x2c8/0x530 [ 4.425502][ C0] driver_register+0x1a3/0x390 [ 4.425505][ C0] __platform_driver_probe+0x13f/0x270 [ 4.425506][ C0] cmos_init+0x31/0x40 [ 4.425509][ C0] do_one_initcall+0x124/0x4f0 [ 4.425512][ C0] kernel_init_freeable+0x596/0x630 [ 4.425514][ C0] kernel_init+0x21/0x150 [ 4.425515][ C0] ret_from_fork+0x474/0x6b0 [ 4.425517][ C0] ret_from_fork_asm+0x11/0x20 [ 4.425519][ C0] [ 4.425520][ C0] -> (console_owner){..-.}-{0:0} { [ 4.425523][ C0] IN-SOFTIRQ-W at: [ 4.425524][ C0] __lock_acquire+0x388/0xc20 [ 4.425526][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.425528][ C0] console_trylock_spinning+0xb5/0x1e0 [ 4.425530][ C0] vprintk_emit+0x320/0x3e0 [ 4.425532][ C0] _printk+0xc7/0x100 [ 4.425535][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 4.425537][ C0] call_timer_fn+0x160/0x4d0 [ 4.425539][ C0] __run_timers+0x68f/0xaa0 [ 4.425541][ C0] run_timer_softirq+0xf0/0x160 [ 4.425542][ C0] handle_softirqs+0x1d3/0x900 [ 4.425545][ C0] __irq_exit_rcu+0x145/0x1c0 [ 4.425547][ C0] irq_exit_rcu+0xe/0x30 [ 4.425549][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 4.425551][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 4.425554][ C0] pv_native_safe_halt+0xf/0x10 [ 4.425556][ C0] default_idle+0x9/0x10 [ 4.425557][ C0] default_idle_call+0x6e/0xb0 [ 4.425559][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 4.425563][ C0] do_idle+0xd8/0x190 [ 4.425564][ C0] cpu_startup_entry+0x53/0x70 [ 4.425566][ C0] rest_init+0x279/0x280 [ 4.425568][ C0] start_kernel+0x3af/0x3b0 [ 4.425570][ C0] x86_64_start_reservations+0x24/0x30 [ 4.425572][ C0] x86_64_start_kernel+0x12b/0x130 [ 4.425574][ C0] common_startup_64+0x13e/0x148 [ 4.425577][ C0] INITIAL USE at: [ 4.425579][ C0] } [ 4.425579][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 4.425583][ C0] ... acquired at: [ 4.425584][ C0] mark_lock+0x1d7/0xa00 [ 4.425586][ C0] mark_usage+0x42/0x170 [ 4.425588][ C0] __lock_acquire+0x388/0xc20 [ 4.425590][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.425592][ C0] console_trylock_spinning+0xb5/0x1e0 [ 4.425594][ C0] vprintk_emit+0x320/0x3e0 [ 4.425596][ C0] _printk+0xc7/0x100 [ 4.425598][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 4.425599][ C0] call_timer_fn+0x160/0x4d0 [ 4.425601][ C0] __run_timers+0x68f/0xaa0 [ 4.425602][ C0] run_timer_softirq+0xf0/0x160 [ 4.425604][ C0] handle_softirqs+0x1d3/0x900 [ 4.425606][ C0] __irq_exit_rcu+0x145/0x1c0 [ 4.425608][ C0] irq_exit_rcu+0xe/0x30 [ 4.425609][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 4.425611][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 4.425613][ C0] pv_native_safe_halt+0xf/0x10 [ 4.425615][ C0] default_idle+0x9/0x10 [ 4.425617][ C0] default_idle_call+0x6e/0xb0 [ 4.425618][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 4.425620][ C0] do_idle+0xd8/0x190 [ 4.425622][ C0] cpu_startup_entry+0x53/0x70 [ 4.425624][ C0] rest_init+0x279/0x280 [ 4.425626][ C0] start_kernel+0x3af/0x3b0 [ 4.425628][ C0] x86_64_start_reservations+0x24/0x30 [ 4.425629][ C0] x86_64_start_kernel+0x12b/0x130 [ 4.425631][ C0] common_startup_64+0x13e/0x148 [ 4.425633][ C0] [ 4.425633][ C0] [ 4.425633][ C0] stack backtrace: [ 4.425636][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 4.425640][ C0] Tainted: [W]=WARN [ 4.425641][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.425642][ C0] Call Trace: [ 4.425644][ C0] [ 4.425646][ C0] dump_stack_lvl+0x6f/0xa0 [ 4.425649][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 4.425653][ C0] mark_lock_irq+0x989/0x9c0 [ 4.425656][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 4.425660][ C0] mark_lock+0x1d7/0xa00 [ 4.425663][ C0] mark_usage+0x42/0x170 [ 4.425666][ C0] __lock_acquire+0x388/0xc20 [ 4.425669][ C0] lock_acquire.part.0+0xd4/0x280 [ 4.425672][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 4.425675][ C0] ? rcu_is_watching+0x16/0xd0 [ 4.425678][ C0] ? lock_acquire+0x13c/0x160 [ 4.425681][ C0] console_trylock_spinning+0xb5/0x1e0 [ 4.425683][ C0] ? console_trylock_spinning+0xa4/0x1e0 [ 4.425686][ C0] vprintk_emit+0x320/0x3e0 [ 4.425689][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 4.425692][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 4.425695][ C0] _printk+0xc7/0x100 [ 4.425697][ C0] ? snapshot_read.cold+0x21/0x21 [ 4.425700][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 4.425702][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 4.425706][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 4.425708][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 4.425711][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 4.425714][ C0] call_timer_fn+0x160/0x4d0 [ 4.425716][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 4.425718][ C0] ? debug_object_active_state+0x430/0x430 [ 4.425721][ C0] ? find_held_lock+0x2b/0x80 [ 4.425724][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 4.425727][ C0] ? rcu_is_watching+0x16/0xd0 [ 4.425729][ C0] __run_timers+0x68f/0xaa0 [ 4.425731][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 4.425735][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 4.425736][ C0] ? __lock_acquire+0x518/0xc20 [ 4.425741][ C0] ? __rwlock_init+0x150/0x150 [ 4.425745][ C0] run_timer_softirq+0xf0/0x160 [ 4.425747][ C0] ? __run_timers+0xaa0/0xaa0 [ 4.425749][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 4.425752][ C0] ? rcu_is_watching+0x16/0xd0 [ 4.425754][ C0] handle_softirqs+0x1d3/0x900 [ 4.425757][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 4.425760][ C0] ? _local_bh_enable+0xc0/0xc0 [ 4.425763][ C0] __irq_exit_rcu+0x145/0x1c0 [ 4.425766][ C0] irq_exit_rcu+0xe/0x30 [ 4.425768][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 4.425770][ C0] [ 4.425771][ C0] [ 4.425772][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 4.425774][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 4.425777][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 4.425780][ C0] Code: 48 8b 3d 94 e2 f8 01 e8 1f 00 00 00 48 2b 05 58 e3 99 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 d6 16 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.425782][ C0] RSP: 0018:ffffffff8b607cf8 EFLAGS: 00000296 [ 4.425785][ C0] RAX: 000000000001e31d RBX: ffffffff8b61c600 RCX: ffffffff886ed307 [ 4.425786][ C0] RDX: ffffffff8b61c600 RSI: ffffffff8b429fb9 RDI: ffffffff8ae8d8e0 [ 4.425787][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 4.425789][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff16c0fa2 [ 4.425790][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 4.425792][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 4.425796][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 4.425798][ C0] default_idle+0x9/0x10 [ 4.425800][ C0] default_idle_call+0x6e/0xb0 [ 4.425802][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 4.425804][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 4.425807][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 4.425811][ C0] ? rcu_is_watching+0x16/0xd0 [ 4.425813][ C0] do_idle+0xd8/0x190 [ 4.425815][ C0] cpu_startup_entry+0x53/0x70 [ 4.425818][ C0] rest_init+0x279/0x280 [ 4.425820][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 4.425824][ C0] ? rest_init+0x280/0x280 [ 4.425826][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 4.425830][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 4.425832][ C0] ? acpi_enable+0x1e4/0x330 [ 4.425836][ C0] start_kernel+0x3af/0x3b0 [ 4.425839][ C0] x86_64_start_reservations+0x24/0x30 [ 4.425841][ C0] x86_64_start_kernel+0x12b/0x130 [ 4.425843][ C0] common_startup_64+0x13e/0x148 [ 4.425848][ C0] [ 4.477862][ T74] virtme-ng-init: Starting systemd-udevd version 259.8-1.fc44 [ 4.490173][ T74] virtme-ng-init: triggering udev coldplug [ 6.137811][ T74] virtme-ng-init: waiting for udev to settle [ 6.137823][ T74] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 6.137826][ T74] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 74, name: virtme-ng-init [ 6.137828][ T74] preempt_count: 1, expected: 0 [ 6.137829][ T74] RCU nest depth: 0, expected: 0 [ 6.137830][ T74] INFO: lockdep is turned off. [ 6.137831][ T74] irq event stamp: 0 [ 6.137832][ T74] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 6.137837][ T74] hardirqs last disabled at (0): [] copy_process+0x1ccd/0x6240 [ 6.137843][ T74] softirqs last enabled at (0): [] copy_process+0x1d21/0x6240 [ 6.137845][ T74] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 6.137847][ T74] Preemption disabled at: [ 6.137848][ T74] [] vprintk_emit+0x31b/0x3e0 [ 6.137855][ T74] CPU: 2 UID: 0 PID: 74 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 6.137858][ T74] Tainted: [W]=WARN [ 6.137859][ T74] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 6.137861][ T74] Call Trace: [ 6.137863][ T74] [ 6.137864][ T74] dump_stack_lvl+0x6f/0xa0 [ 6.137869][ T74] ? vprintk_emit+0x31b/0x3e0 [ 6.137870][ T74] __might_resched.cold+0x1fe/0x2c1 [ 6.137874][ T74] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 6.137877][ T74] ? __asan_memcpy+0x3c/0x60 [ 6.137880][ T74] ? rcu_is_watching+0x16/0xd0 [ 6.137883][ T74] __kmalloc_noprof+0x443/0x760 [ 6.137887][ T74] ? __rwlock_init+0x150/0x150 [ 6.137890][ T74] ? alloc_buf.isra.0+0x4b/0x260 [ 6.137894][ T74] ? do_raw_spin_unlock+0x59/0x250 [ 6.137896][ T74] alloc_buf.isra.0+0x4b/0x260 [ 6.137898][ T74] put_chars+0x1e1/0x2f0 [ 6.137901][ T74] ? __send_to_port+0x420/0x420 [ 6.137903][ T74] ? console_prepend_replay+0x20/0x20 [ 6.137905][ T74] hvc_console_print+0x292/0x780 [ 6.137908][ T74] ? hvc_write+0x3a0/0x3a0 [ 6.137910][ T74] ? rcu_is_watching+0x16/0xd0 [ 6.137911][ T74] ? lock_acquire+0x13c/0x160 [ 6.137914][ T74] console_emit_next_record+0x22f/0x4c0 [ 6.137916][ T74] ? devkmsg_read+0x4b0/0x4b0 [ 6.137917][ T74] ? rcu_is_watching+0x16/0xd0 [ 6.137919][ T74] ? rcu_is_watching+0x16/0xd0 [ 6.137920][ T74] ? rcu_is_watching+0x16/0xd0 [ 6.137921][ T74] ? lock_acquire+0x13c/0x160 [ 6.137923][ T74] ? console_flush_one_record+0x111/0x710 [ 6.137924][ T74] console_flush_one_record+0x46f/0x710 [ 6.137926][ T74] ? console_emit_next_record+0x4c0/0x4c0 [ 6.137928][ T74] console_unlock+0xee/0x1f0 [ 6.137929][ T74] ? lock_acquire+0x13c/0x160 [ 6.137931][ T74] ? console_flush_one_record+0x710/0x710 [ 6.137932][ T74] ? rcu_is_watching+0x16/0xd0 [ 6.137933][ T74] ? lock_release+0x184/0x1f0 [ 6.137935][ T74] ? lock_acquire+0x60/0x160 [ 6.137937][ T74] ? __rcu_read_lock+0x30/0x70 [ 6.137938][ T74] ? __down_trylock_console_sem+0x5e/0xa0 [ 6.137941][ T74] ? vprintk_emit+0x320/0x3e0 [ 6.137942][ T74] vprintk_emit+0x37c/0x3e0 [ 6.137944][ T74] ? wake_up_klogd_work_func+0x90/0x90 [ 6.137945][ T74] ? lock_release+0x184/0x1f0 [ 6.137947][ T74] ? _copy_from_iter+0x1bb/0x1810 [ 6.137951][ T74] devkmsg_emit.constprop.0+0xbc/0xf1 [ 6.137955][ T74] ? vprintk_emit.cold+0x107/0x107 [ 6.137956][ T74] ? simple_strntoull+0x10f/0x140 [ 6.137961][ T74] ? date_str+0x1e0/0x1e0 [ 6.137963][ T74] ? devkmsg_write+0xd1/0x2c0 [ 6.137964][ T74] devkmsg_write.cold+0x5a/0x8b [ 6.137966][ T74] ? vprintk_default+0x20/0x20 [ 6.137968][ T74] ? vprintk_default+0x20/0x20 [ 6.137970][ T74] new_sync_write+0x33e/0x760 [ 6.137973][ T74] ? trace_hardirqs_on+0x36/0x40 [ 6.137976][ T74] ? new_sync_read+0x750/0x750 [ 6.137978][ T74] ? rcu_is_watching+0x16/0xd0 [ 6.137980][ T74] ? lock_release+0x184/0x1f0 [ 6.137982][ T74] ? __fget_files+0x54/0x460 [ 6.137984][ T74] ? __fget_files+0x1e3/0x460 [ 6.137986][ T74] vfs_write+0x6a2/0xbd0 [ 6.137988][ T74] ksys_write+0x116/0x250 [ 6.137989][ T74] ? __ia32_sys_read+0xc0/0xc0 [ 6.137991][ T74] ? rcu_is_watching+0x16/0xd0 [ 6.137992][ T74] do_syscall_64+0xff/0x530 [ 6.137995][ T74] ? exc_page_fault+0xee/0x100 [ 6.137997][ T74] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 6.137999][ T74] RIP: 0033:0x7f5cbcc75ed2 [ 6.138002][ 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 [ 6.138003][ T74] RSP: 002b:00007f5cbcbbcc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 6.138007][ T74] RAX: ffffffffffffffda RBX: 000000000000002e RCX: 00007f5cbcc75ed2 [ 6.138008][ T74] RDX: 000000000000002e RSI: 00007f5cb0001090 RDI: 0000000000000003 [ 6.138009][ T74] RBP: 00007f5cbcbbcc90 R08: 0000000000000000 R09: 0000000000000000 [ 6.138010][ T74] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5cbcd000a0 [ 6.138011][ T74] R13: 00007f5cbcbfe3e0 R14: 00007f5cb0001090 R15: 00007f5cbcbbcda8 [ 6.138013][ T74] [ 6.564756][ T74] virtme-ng-init: udev is done [ 6.574891][ T1] virtme-ng-init: initialization done