virtme: waiting for virtiofsd to start virtme: use 'microvm' QEMU architecture [ 1.107883][ T1] IPI shorthand broadcast: enabled [ 1.107909][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 1.107911][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0 [ 1.107913][ T1] preempt_count: 1, expected: 0 [ 1.107914][ T1] RCU nest depth: 0, expected: 0 [ 1.107915][ T1] locks held by swapper/0/1: 4, last CPU#1: [ 1.107917][ T1] #0: ffffffffb4f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 1.107929][ T1] #1: ffffffffb4f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 1.107933][ T1] #2: ffffffffb4e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 1.107936][ T1] #3: ffffffffb4e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 1.107940][ T1] irq event stamp: 320822 [ 1.107941][ T1] hardirqs last enabled at (320821): [] __down_trylock_console_sem+0x86/0xa0 [ 1.107953][ T1] hardirqs last disabled at (320822): [] console_emit_next_record+0x3d4/0x4c0 [ 1.107954][ T1] softirqs last enabled at (319526): [] handle_softirqs+0x67c/0x900 [ 1.107958][ T1] softirqs last disabled at (319467): [] __irq_exit_rcu+0x145/0x1c0 [ 1.107961][ T1] Preemption disabled at: [ 1.107961][ T1] [] vprintk_emit+0x31b/0x3e0 [ 1.107966][ T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-virtme #1 PREEMPT(full) [ 1.107969][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.107971][ T1] Call Trace: [ 1.107972][ T1] [ 1.107976][ T1] dump_stack_lvl+0x6f/0xa0 [ 1.107981][ T1] ? vprintk_emit+0x31b/0x3e0 [ 1.107983][ T1] __might_resched.cold+0x1fe/0x2c1 [ 1.107987][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 1.107990][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 1.107996][ T1] __kmalloc_noprof+0x443/0x760 [ 1.107998][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 1.108006][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 1.108010][ T1] alloc_buf.isra.0+0x4b/0x260 [ 1.108010][ T1] put_chars+0x1e1/0x2f0 [ 1.108010][ T1] ? __send_to_port+0x420/0x420 [ 1.108010][ T1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 1.108010][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.108010][ T1] ? validate_chain+0x38b/0xc20 [ 1.108010][ T1] hvc_console_print+0x292/0x780 [ 1.108010][ T1] ? mark_usage+0x61/0x170 [ 1.108010][ T1] ? __lock_acquire+0x518/0xc20 [ 1.108010][ T1] ? __lock_acquire+0x518/0xc20 [ 1.108010][ T1] ? hvc_write+0x3a0/0x3a0 [ 1.108010][ T1] ? lock_acquire.part.0+0xd4/0x280 [ 1.108010][ T1] ? lock_acquire+0x13c/0x160 [ 1.108010][ T1] console_emit_next_record+0x22f/0x4c0 [ 1.108010][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 1.108010][ T1] ? console_flush_one_record+0x106/0x710 [ 1.108010][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.108010][ T1] ? lock_acquire+0x13c/0x160 [ 1.108010][ T1] console_flush_one_record+0x46f/0x710 [ 1.108010][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 1.108010][ T1] ? __lock_acquire+0x518/0xc20 [ 1.108010][ T1] console_unlock+0xee/0x1f0 [ 1.108010][ T1] ? console_flush_one_record+0x710/0x710 [ 1.108010][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.108010][ T1] ? lock_acquire+0x60/0x160 [ 1.108010][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 1.108010][ T1] ? vprintk_emit+0x320/0x3e0 [ 1.108010][ T1] vprintk_emit+0x37c/0x3e0 [ 1.108010][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 1.108010][ T1] ? apic_ipi_shorthand+0xa0/0xa0 [ 1.108010][ T1] _printk+0xc7/0x100 [ 1.108010][ T1] ? snapshot_read.cold+0x21/0x21 [ 1.108010][ T1] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 1.108010][ T1] ? add_device_randomness+0xbb/0x100 [ 1.108010][ T1] ? random_write_iter+0x20/0x20 [ 1.108010][ T1] ? insert_resource+0x3c/0x50 [ 1.108010][ T1] ? do_one_initcall+0x113/0x4f0 [ 1.108010][ T1] print_ipi_mode+0x2e/0x40 [ 1.108010][ T1] do_one_initcall+0x124/0x4f0 [ 1.108010][ T1] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 1.108010][ T1] ? parameq+0x110/0x110 [ 1.108010][ T1] ? kernel_init_freeable+0x3f1/0x630 [ 1.108010][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.108010][ T1] kernel_init_freeable+0x596/0x630 [ 1.108010][ T1] ? rest_init+0x280/0x280 [ 1.108010][ T1] kernel_init+0x21/0x150 [ 1.108010][ T1] ? rest_init+0x280/0x280 [ 1.108010][ T1] ret_from_fork+0x474/0x6b0 [ 1.108010][ T1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 1.108010][ T1] ? __switch_to+0x5a3/0xe00 [ 1.108010][ T1] ? rest_init+0x280/0x280 [ 1.108010][ T1] ret_from_fork_asm+0x11/0x20 [ 1.108010][ T1] [ 1.237307][ T1] sched_clock: Marking stable (1201001747, 36004788)->(1319793735, -82787200) [ 1.240808][ T1] registered taskstats version 1 [ 1.242745][ T1] Loading compiled-in X.509 certificates [ 1.350656][ T1] Demotion targets for Node 0: null [ 1.351033][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 11731) [ 1.351368][ T1] page_owner is disabled [ 1.352510][ T1] PM: Magic number: 6:763:431 [ 1.352994][ T1] netconsole: network logging started [ 1.354541][ T1] ALSA device list: [ 1.354755][ T1] No soundcards found. [ 1.356751][ T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 1.359296][ T1] VFS: Mounted root (virtiofs filesystem) readonly on device 0:24. [ 1.360076][ T1] devtmpfs: mounted [ 1.360345][ T1] VFS: Pivoted into new rootfs [ 1.390407][ T1] Freeing unused kernel image (initmem) memory: 2536K [ 1.390666][ T1] Write protecting the kernel read-only data: 55296k [ 1.391279][ T1] Freeing unused kernel image (text/rodata gap) memory: 660K [ 1.391735][ T1] Freeing unused kernel image (rodata/data gap) memory: 624K [ 1.392043][ T1] Run /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init as init process [ 1.392329][ T1] with arguments: [ 1.392464][ T1] /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init [ 1.392725][ T1] with environment: [ 1.392857][ T1] HOME=/ [ 1.392992][ T1] TERM=dumb [ 1.393196][ T1] virtme_hostname=vmksft-packetdrill-dbg,debug-threads=on [ 1.393456][ T1] nr_open=2147483584 [ 1.393638][ T1] virtme_link_mods=/srv/vmksft/testing/wt-8/.virtme_mods/lib/modules/0.0.0 [ 1.394013][ T1] virtme_rw_overlay0=/etc [ 1.394188][ T1] virtme_rw_overlay1=/lib [ 1.394433][ T1] virtme_rw_overlay2=/home [ 1.394607][ T1] virtme_rw_overlay3=/opt [ 1.394837][ T1] virtme_rw_overlay4=/srv [ 1.395026][ T1] virtme_rw_overlay5=/usr [ 1.395249][ T1] virtme_rw_overlay6=/var [ 1.395415][ T1] virtme_rw_overlay7=/tmp [ 1.395644][ T1] virtme_console=ttyS0 [ 1.395820][ T1] virtme_chdir=srv/vmksft/testing/wt-8 [ 1.420672][ T1] virtme-ng-init: mount devtmpfs -> /dev: EBUSY: Device or resource busy [ 1.422876][ T1] virtme-ng-init: Setting hostname to vmksft-packetdrill-dbg,debug-threads=on... [ 1.435702][ T72] kwatchdog (72) used greatest stack depth: 29688 bytes left [ 1.436759][ T1] overlayfs: failed to set xattr on upper [ 1.437300][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.437788][ T1] overlayfs: ...falling back to uuid=null. [ 1.441845][ T1] overlayfs: failed to set xattr on upper [ 1.442246][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.442720][ T1] overlayfs: ...falling back to uuid=null. [ 1.446594][ T1] overlayfs: failed to set xattr on upper [ 1.446994][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.447475][ T1] overlayfs: ...falling back to uuid=null. [ 1.451459][ T1] overlayfs: failed to set xattr on upper [ 1.451843][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.452353][ T1] overlayfs: ...falling back to uuid=null. [ 1.456094][ T1] overlayfs: failed to set xattr on upper [ 1.456494][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.456968][ T1] overlayfs: ...falling back to uuid=null. [ 1.460652][ T1] overlayfs: failed to set xattr on upper [ 1.461054][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.461532][ T1] overlayfs: ...falling back to uuid=null. [ 1.465083][ T1] overlayfs: failed to set xattr on upper [ 1.465468][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.465935][ T1] overlayfs: ...falling back to uuid=null. [ 1.469789][ T1] overlayfs: failed to set xattr on upper [ 1.470741][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.471248][ T1] overlayfs: ...falling back to uuid=null. [ 1.489132][ T1] virtme-ng-init: running systemd-tmpfiles [ 4.561356][ T1] virtme-ng-init: Failed to read '/usr/lib/tmpfiles.d/audit.conf': Permission denied [ 4.561356][ T1] Failed to create directory or subvolume "/var/spool/at/spool": Permission denied [ 4.561356][ T1] Failed to create file /var/spool/at/.SEQ: Permission denied [ 4.561356][ T1] Failed to opendir() '/proc/self/fd/6': Permission denied [ 4.561376][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 4.561379][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: virtme-ng-init [ 4.561381][ T1] preempt_count: 1, expected: 0 [ 4.561382][ T1] RCU nest depth: 0, expected: 0 [ 4.561384][ T1] locks held by virtme-ng-init/1: 4, last CPU#2: [ 4.561387][ T1] #0: ffffffffb4f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 4.561402][ T1] #1: ffffffffb4f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 4.561408][ T1] #2: ffffffffb4e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 4.561413][ T1] #3: ffffffffb4e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 4.561419][ T1] irq event stamp: 565636 [ 4.561420][ T1] hardirqs last enabled at (565635): [] __down_trylock_console_sem+0x86/0xa0 [ 4.561425][ T1] hardirqs last disabled at (565636): [] console_emit_next_record+0x3d4/0x4c0 [ 4.561427][ T1] softirqs last enabled at (565134): [] handle_softirqs+0x67c/0x900 [ 4.561431][ T1] softirqs last disabled at (565127): [] __irq_exit_rcu+0x145/0x1c0 [ 4.561434][ T1] Preemption disabled at: [ 4.561435][ T1] [] vprintk_emit+0x31b/0x3e0 [ 4.561443][ T1] CPU: 2 UID: 0 PID: 1 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 4.561447][ T1] Tainted: [W]=WARN [ 4.561448][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.561451][ T1] Call Trace: [ 4.561454][ T1] [ 4.561456][ T1] dump_stack_lvl+0x6f/0xa0 [ 4.561462][ T1] ? vprintk_emit+0x31b/0x3e0 [ 4.561464][ T1] __might_resched.cold+0x1fe/0x2c1 [ 4.561471][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 4.561475][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 4.561483][ T1] __kmalloc_noprof+0x443/0x760 [ 4.561487][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 4.561496][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 4.561500][ T1] alloc_buf.isra.0+0x4b/0x260 [ 4.561505][ T1] put_chars+0x1e1/0x2f0 [ 4.561510][ T1] ? __send_to_port+0x420/0x420 [ 4.561513][ T1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 4.561518][ T1] ? validate_chain+0x38b/0xc20 [ 4.561527][ T1] hvc_console_print+0x292/0x780 [ 4.561538][ T1] ? hvc_write+0x3a0/0x3a0 [ 4.561542][ T1] ? rcu_is_watching+0x16/0xd0 [ 4.561545][ T1] ? lock_acquire+0x13c/0x160 [ 4.561552][ T1] console_emit_next_record+0x22f/0x4c0 [ 4.561557][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 4.561559][ T1] ? console_flush_one_record+0x106/0x710 [ 4.561564][ T1] ? rcu_is_watching+0x16/0xd0 [ 4.561567][ T1] ? lock_acquire+0x13c/0x160 [ 4.561574][ T1] console_flush_one_record+0x46f/0x710 [ 4.561580][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 4.561582][ T1] ? __lock_acquire+0x518/0xc20 [ 4.561591][ T1] console_unlock+0xee/0x1f0 [ 4.561595][ T1] ? console_flush_one_record+0x710/0x710 [ 4.561597][ T1] ? rcu_is_watching+0x16/0xd0 [ 4.561600][ T1] ? lock_acquire+0x60/0x160 [ 4.561606][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 4.561609][ T1] ? vprintk_emit+0x320/0x3e0 [ 4.561614][ T1] vprintk_emit+0x37c/0x3e0 [ 4.561619][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 4.561623][ T1] ? _copy_from_iter+0x1bb/0x1810 [ 4.561632][ T1] devkmsg_emit.constprop.0+0xbc/0xf1 [ 4.561637][ T1] ? vprintk_emit.cold+0x107/0x107 [ 4.561640][ T1] ? simple_strntoull+0x10f/0x140 [ 4.561646][ T1] ? date_str+0x1e0/0x1e0 [ 4.561652][ T1] ? devkmsg_write+0xd1/0x2c0 [ 4.561659][ T1] devkmsg_write.cold+0x5a/0x8b [ 4.561663][ T1] ? vprintk_default+0x20/0x20 [ 4.561670][ T1] ? vprintk_default+0x20/0x20 [ 4.561673][ T1] new_sync_write+0x33e/0x760 [ 4.561678][ T1] ? lockdep_hardirqs_on+0x91/0x130 [ 4.561681][ T1] ? kasan_quarantine_put+0x13e/0x2b0 [ 4.561687][ T1] ? new_sync_read+0x750/0x750 [ 4.561699][ T1] ? rcu_is_watching+0x16/0xd0 [ 4.561704][ T1] vfs_write+0x6a2/0xbd0 [ 4.561711][ T1] ksys_write+0x116/0x250 [ 4.561715][ T1] ? __ia32_sys_read+0xc0/0xc0 [ 4.561719][ T1] ? rcu_is_watching+0x16/0xd0 [ 4.561725][ T1] do_syscall_64+0xff/0x530 [ 4.561728][ T1] ? exc_page_fault+0xee/0x100 [ 4.561732][ T1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 4.561736][ T1] RIP: 0033:0x7f3c21f70bee [ 4.561741][ T1] Code: 4d 89 d8 e8 d4 12 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 4.561743][ T1] RSP: 002b:00007ffc0380ecb0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 4.561747][ T1] RAX: ffffffffffffffda RBX: 000000000000011c RCX: 00007f3c21f70bee [ 4.561749][ T1] RDX: 000000000000011c RSI: 00005555949fd680 RDI: 0000000000000003 [ 4.561750][ T1] RBP: 00007ffc0380ecc0 R08: 0000000000000000 R09: 0000000000000000 [ 4.561751][ T1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f3c21ffc0a0 [ 4.561753][ T1] R13: 00007f3c21efa3e0 R14: 00005555949fd680 R15: 00007ffc0380edd8 [ 4.561765][ T1] [ 4.562058][ T73] systemd-tmpfile (73) used greatest stack depth: 25056 bytes left [ 4.565847][ T1] virtme-ng-init: basic initialization done [ 4.613230][ T76] virtme-ng-init (76) used greatest stack depth: 24648 bytes left [ 4.673854][ T75] virtme-ng-init: Starting systemd-udevd version 259.8-1.fc44 [ 4.674284][ T75] virtme-ng-init: triggering udev coldplug [ 7.138583][ T75] virtme-ng-init: waiting for udev to settle [ 7.138600][ T75] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 7.138603][ T75] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 75, name: virtme-ng-init [ 7.138605][ T75] preempt_count: 1, expected: 0 [ 7.138606][ T75] RCU nest depth: 0, expected: 0 [ 7.138607][ T75] locks held by virtme-ng-init/75: 4, last CPU#0: [ 7.138609][ T75] #0: ffffffffb4f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 7.138622][ T75] #1: ffffffffb4f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 7.138625][ T75] #2: ffffffffb4e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 7.138629][ T75] #3: ffffffffb4e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 7.138633][ T75] irq event stamp: 4140 [ 7.138634][ T75] hardirqs last enabled at (4139): [] __down_trylock_console_sem+0x86/0xa0 [ 7.138637][ T75] hardirqs last disabled at (4140): [] console_emit_next_record+0x3d4/0x4c0 [ 7.138639][ T75] softirqs last enabled at (3780): [] handle_softirqs+0x67c/0x900 [ 7.138643][ T75] softirqs last disabled at (2457): [] __irq_exit_rcu+0x145/0x1c0 [ 7.138647][ T75] Preemption disabled at: [ 7.138648][ T75] [] vprintk_emit+0x31b/0x3e0 [ 7.138654][ T75] CPU: 0 UID: 0 PID: 75 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 7.138658][ T75] Tainted: [W]=WARN [ 7.138659][ T75] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 7.138661][ T75] Call Trace: [ 7.138663][ T75] [ 7.138665][ T75] dump_stack_lvl+0x6f/0xa0 [ 7.138670][ T75] ? vprintk_emit+0x31b/0x3e0 [ 7.138672][ T75] __might_resched.cold+0x1fe/0x2c1 [ 7.138676][ T75] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 7.138679][ T75] ? __kmalloc_noprof+0xdb/0x760 [ 7.138685][ T75] __kmalloc_noprof+0x443/0x760 [ 7.138688][ T75] ? alloc_buf.isra.0+0x4b/0x260 [ 7.138694][ T75] ? do_raw_spin_unlock+0x59/0x250 [ 7.138697][ T75] alloc_buf.isra.0+0x4b/0x260 [ 7.138700][ T75] put_chars+0x1e1/0x2f0 [ 7.138703][ T75] ? __send_to_port+0x420/0x420 [ 7.138705][ T75] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 7.138709][ T75] ? validate_chain+0x38b/0xc20 [ 7.138715][ T75] hvc_console_print+0x292/0x780 [ 7.138721][ T75] ? hvc_write+0x3a0/0x3a0 [ 7.138725][ T75] ? rcu_is_watching+0x16/0xd0 [ 7.138728][ T75] ? lock_acquire+0x13c/0x160 [ 7.138735][ T75] console_emit_next_record+0x22f/0x4c0 [ 7.138740][ T75] ? devkmsg_read+0x4b0/0x4b0 [ 7.138741][ T75] ? console_flush_one_record+0x106/0x710 [ 7.138744][ T75] ? rcu_is_watching+0x16/0xd0 [ 7.138746][ T75] ? lock_acquire+0x13c/0x160 [ 7.138750][ T75] console_flush_one_record+0x46f/0x710 [ 7.138754][ T75] ? console_emit_next_record+0x4c0/0x4c0 [ 7.138755][ T75] ? __lock_acquire+0x518/0xc20 [ 7.138760][ T75] console_unlock+0xee/0x1f0 [ 7.138763][ T75] ? console_flush_one_record+0x710/0x710 [ 7.138764][ T75] ? rcu_is_watching+0x16/0xd0 [ 7.138766][ T75] ? lock_acquire+0x60/0x160 [ 7.138770][ T75] ? __down_trylock_console_sem+0x5e/0xa0 [ 7.138772][ T75] ? vprintk_emit+0x320/0x3e0 [ 7.138775][ T75] vprintk_emit+0x37c/0x3e0 [ 7.138778][ T75] ? wake_up_klogd_work_func+0x90/0x90 [ 7.138781][ T75] ? _copy_from_iter+0x1bb/0x1810 [ 7.138787][ T75] devkmsg_emit.constprop.0+0xbc/0xf1 [ 7.138793][ T75] ? vprintk_emit.cold+0x107/0x107 [ 7.138796][ T75] ? simple_strntoull+0x10f/0x140 [ 7.138804][ T75] ? date_str+0x1e0/0x1e0 [ 7.138807][ T75] ? devkmsg_write+0xd1/0x2c0 [ 7.138811][ T75] devkmsg_write.cold+0x5a/0x8b [ 7.138814][ T75] ? vprintk_default+0x20/0x20 [ 7.138818][ T75] ? vprintk_default+0x20/0x20 [ 7.138820][ T75] new_sync_write+0x33e/0x760 [ 7.138824][ T75] ? kasan_quarantine_put+0x42/0x2b0 [ 7.138828][ T75] ? new_sync_read+0x750/0x750 [ 7.138833][ T75] ? __lock_release.isra.0+0x69/0x1a0 [ 7.138838][ T75] ? __fget_files+0x1e3/0x460 [ 7.138842][ T75] vfs_write+0x6a2/0xbd0 [ 7.138846][ T75] ksys_write+0x116/0x250 [ 7.138848][ T75] ? __ia32_sys_read+0xc0/0xc0 [ 7.138851][ T75] ? rcu_is_watching+0x16/0xd0 [ 7.138854][ T75] do_syscall_64+0xff/0x530 [ 7.138857][ T75] ? exc_page_fault+0xee/0x100 [ 7.138860][ T75] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 7.138863][ T75] RIP: 0033:0x7f3c21f71ed2 [ 7.138868][ 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 [ 7.138870][ T75] RSP: 002b:00007f3c21eb8c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 7.138874][ T75] RAX: ffffffffffffffda RBX: 000000000000002e RCX: 00007f3c21f71ed2 [ 7.138876][ T75] RDX: 000000000000002e RSI: 00007f3c1c0012c0 RDI: 0000000000000003 [ 7.138877][ T75] RBP: 00007f3c21eb8c90 R08: 0000000000000000 R09: 0000000000000000 [ 7.138878][ T75] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3c21ffc0a0 [ 7.138878][ T75] R13: 00007f3c21efa3e0 R14: 00007f3c1c0012c0 R15: 00007f3c21eb8da8 [ 7.138885][ T75] [ 7.927422][ T75] virtme-ng-init: udev is done [ 7.930516][ T1] virtme-ng-init: initialization done [ 7.931156][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 7.931574][ C0] [ 7.931576][ C0] ======================================================== [ 7.931577][ C0] WARNING: possible irq lock inversion dependency detected [ 7.931579][ C0] 7.2.0-virtme #1 Tainted: G W [ 7.931581][ C0] -------------------------------------------------------- [ 7.931581][ C0] swapper/0/0 just changed the state of lock: [ 7.931582][ C0] ffffffffb4e89660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 7.931594][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 7.931595][ C0] (fs_reclaim){+.+.}-{0:0} [ 7.931597][ C0] [ 7.931597][ C0] [ 7.931597][ C0] and interrupts could create inverse lock ordering between them. [ 7.931597][ C0] [ 7.931598][ C0] [ 7.931598][ C0] other info that might help us debug this: [ 7.931598][ C0] Possible interrupt unsafe locking scenario: [ 7.931598][ C0] [ 7.931599][ C0] CPU0 CPU1 [ 7.931599][ C0] ---- ---- [ 7.931600][ C0] lock(fs_reclaim); [ 7.931601][ C0] local_irq_disable(); [ 7.931601][ C0] lock(console_owner); [ 7.931602][ C0] lock(fs_reclaim); [ 7.931603][ C0] [ 7.931603][ C0] lock(console_owner); [ 7.931604][ C0] [ 7.931604][ C0] *** DEADLOCK *** [ 7.931604][ C0] [ 7.931605][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 7.931606][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 7.931611][ C0] #1: ffffffffb4fce8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 7.931615][ C0] #2: ffffffffb4f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 7.931618][ C0] #3: ffffffffb4f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 7.931621][ C0] [ 7.931621][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 7.931625][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 7.931628][ C0] HARDIRQ-ON-W at: [ 7.931629][ C0] __lock_acquire+0x388/0xc20 [ 7.931632][ C0] lock_acquire.part.0+0xd4/0x280 [ 7.931634][ C0] fs_reclaim_acquire+0xd5/0x120 [ 7.931637][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 7.931640][ C0] kthread_create_worker_on_node+0xea/0x210 [ 7.931643][ C0] workqueue_init+0x2a/0x680 [ 7.931647][ C0] kernel_init_freeable+0x2fe/0x630 [ 7.931650][ C0] kernel_init+0x21/0x150 [ 7.931653][ C0] ret_from_fork+0x474/0x6b0 [ 7.931656][ C0] ret_from_fork_asm+0x11/0x20 [ 7.931660][ C0] SOFTIRQ-ON-W at: [ 7.931660][ C0] __lock_acquire+0x388/0xc20 [ 7.931662][ C0] lock_acquire.part.0+0xd4/0x280 [ 7.931664][ C0] fs_reclaim_acquire+0xd5/0x120 [ 7.931665][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 7.931667][ C0] kthread_create_worker_on_node+0xea/0x210 [ 7.931668][ C0] workqueue_init+0x2a/0x680 [ 7.931670][ C0] kernel_init_freeable+0x2fe/0x630 [ 7.931671][ C0] kernel_init+0x21/0x150 [ 7.931673][ C0] ret_from_fork+0x474/0x6b0 [ 7.931674][ C0] ret_from_fork_asm+0x11/0x20 [ 7.931676][ C0] INITIAL USE at: [ 7.931677][ C0] __lock_acquire+0x388/0xc20 [ 7.931678][ C0] lock_acquire.part.0+0xd4/0x280 [ 7.931680][ C0] fs_reclaim_acquire+0xd5/0x120 [ 7.931681][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 7.931683][ C0] kthread_create_worker_on_node+0xea/0x210 [ 7.931685][ C0] workqueue_init+0x2a/0x680 [ 7.931686][ C0] kernel_init_freeable+0x2fe/0x630 [ 7.931687][ C0] kernel_init+0x21/0x150 [ 7.931689][ C0] ret_from_fork+0x474/0x6b0 [ 7.931690][ C0] ret_from_fork_asm+0x11/0x20 [ 7.931692][ C0] } [ 7.931692][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 7.931697][ C0] ... acquired at: [ 7.931698][ C0] __lock_acquire+0x518/0xc20 [ 7.931699][ C0] lock_acquire.part.0+0xd4/0x280 [ 7.931701][ C0] fs_reclaim_acquire+0xd5/0x120 [ 7.931702][ C0] __kmalloc_noprof+0xd3/0x760 [ 7.931704][ C0] alloc_buf.isra.0+0x4b/0x260 [ 7.931707][ C0] put_chars+0x1e1/0x2f0 [ 7.931709][ C0] hvc_console_print+0x292/0x780 [ 7.931711][ C0] console_emit_next_record+0x22f/0x4c0 [ 7.931712][ C0] console_flush_one_record+0x46f/0x710 [ 7.931713][ C0] console_unlock+0xee/0x1f0 [ 7.931714][ C0] vprintk_emit+0x37c/0x3e0 [ 7.931715][ C0] _printk+0xc7/0x100 [ 7.931718][ C0] print_ipi_mode+0x2e/0x40 [ 7.931720][ C0] do_one_initcall+0x124/0x4f0 [ 7.931722][ C0] kernel_init_freeable+0x596/0x630 [ 7.931724][ C0] kernel_init+0x21/0x150 [ 7.931725][ C0] ret_from_fork+0x474/0x6b0 [ 7.931726][ C0] ret_from_fork_asm+0x11/0x20 [ 7.931728][ C0] [ 7.931728][ C0] -> (console_owner){..-.}-{0:0} { [ 7.931730][ C0] IN-SOFTIRQ-W at: [ 7.931731][ C0] __lock_acquire+0x388/0xc20 [ 7.931732][ C0] lock_acquire.part.0+0xd4/0x280 [ 7.931734][ C0] console_lock_spinning_enable+0x5c/0x60 [ 7.931735][ C0] console_emit_next_record+0x1d1/0x4c0 [ 7.931736][ C0] console_flush_one_record+0x46f/0x710 [ 7.931738][ C0] console_unlock+0xee/0x1f0 [ 7.931739][ C0] vprintk_emit+0x37c/0x3e0 [ 7.931740][ C0] _printk+0xc7/0x100 [ 7.931741][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 7.931743][ C0] call_timer_fn+0x160/0x4d0 [ 7.931744][ C0] __run_timers+0x68f/0xaa0 [ 7.931746][ C0] run_timer_softirq+0xf0/0x160 [ 7.931747][ C0] handle_softirqs+0x1d3/0x900 [ 7.931750][ C0] __irq_exit_rcu+0x145/0x1c0 [ 7.931751][ C0] irq_exit_rcu+0xe/0x30 [ 7.931753][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 7.931754][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 7.931757][ C0] pv_native_safe_halt+0xf/0x10 [ 7.931758][ C0] default_idle+0x9/0x10 [ 7.931759][ C0] default_idle_call+0x6e/0xb0 [ 7.931761][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 7.931763][ C0] do_idle+0xd8/0x190 [ 7.931765][ C0] cpu_startup_entry+0x53/0x70 [ 7.931766][ C0] rest_init+0x279/0x280 [ 7.931767][ C0] start_kernel+0x3af/0x3b0 [ 7.931769][ C0] x86_64_start_reservations+0x24/0x30 [ 7.931771][ C0] x86_64_start_kernel+0x12b/0x130 [ 7.931772][ C0] common_startup_64+0x13e/0x148 [ 7.931774][ C0] INITIAL USE at: [ 7.931775][ C0] } [ 7.931776][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 7.931779][ C0] ... acquired at: [ 7.931779][ C0] mark_lock+0x1d7/0xa00 [ 7.931781][ C0] mark_usage+0x42/0x170 [ 7.931782][ C0] __lock_acquire+0x388/0xc20 [ 7.931784][ C0] lock_acquire.part.0+0xd4/0x280 [ 7.931785][ C0] console_lock_spinning_enable+0x5c/0x60 [ 7.931786][ C0] console_emit_next_record+0x1d1/0x4c0 [ 7.931788][ C0] console_flush_one_record+0x46f/0x710 [ 7.931789][ C0] console_unlock+0xee/0x1f0 [ 7.931790][ C0] vprintk_emit+0x37c/0x3e0 [ 7.931791][ C0] _printk+0xc7/0x100 [ 7.931792][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 7.931793][ C0] call_timer_fn+0x160/0x4d0 [ 7.931794][ C0] __run_timers+0x68f/0xaa0 [ 7.931795][ C0] run_timer_softirq+0xf0/0x160 [ 7.931796][ C0] handle_softirqs+0x1d3/0x900 [ 7.931798][ C0] __irq_exit_rcu+0x145/0x1c0 [ 7.931800][ C0] irq_exit_rcu+0xe/0x30 [ 7.931801][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 7.931802][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 7.931804][ C0] pv_native_safe_halt+0xf/0x10 [ 7.931805][ C0] default_idle+0x9/0x10 [ 7.931806][ C0] default_idle_call+0x6e/0xb0 [ 7.931807][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 7.931809][ C0] do_idle+0xd8/0x190 [ 7.931810][ C0] cpu_startup_entry+0x53/0x70 [ 7.931812][ C0] rest_init+0x279/0x280 [ 7.931813][ C0] start_kernel+0x3af/0x3b0 [ 7.931815][ C0] x86_64_start_reservations+0x24/0x30 [ 7.931816][ C0] x86_64_start_kernel+0x12b/0x130 [ 7.931817][ C0] common_startup_64+0x13e/0x148 [ 7.931818][ C0] [ 7.931819][ C0] [ 7.931819][ C0] stack backtrace: [ 7.931821][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 7.931825][ C0] Tainted: [W]=WARN [ 7.931825][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 7.931827][ C0] Call Trace: [ 7.931828][ C0] [ 7.931830][ C0] dump_stack_lvl+0x6f/0xa0 [ 7.931833][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 7.931836][ C0] mark_lock_irq+0x989/0x9c0 [ 7.931837][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 7.931841][ C0] mark_lock+0x1d7/0xa00 [ 7.931843][ C0] mark_usage+0x42/0x170 [ 7.931845][ C0] __lock_acquire+0x388/0xc20 [ 7.931848][ C0] lock_acquire.part.0+0xd4/0x280 [ 7.931849][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 7.931851][ C0] ? rcu_is_watching+0x16/0xd0 [ 7.931854][ C0] ? lock_acquire+0x13c/0x160 [ 7.931856][ C0] console_lock_spinning_enable+0x5c/0x60 [ 7.931857][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 7.931858][ C0] console_emit_next_record+0x1d1/0x4c0 [ 7.931860][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 7.931861][ C0] ? console_flush_one_record+0x106/0x710 [ 7.931863][ C0] ? rcu_is_watching+0x16/0xd0 [ 7.931864][ C0] ? lock_acquire+0x13c/0x160 [ 7.931866][ C0] console_flush_one_record+0x46f/0x710 [ 7.931868][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 7.931869][ C0] ? __lock_acquire+0x518/0xc20 [ 7.931872][ C0] console_unlock+0xee/0x1f0 [ 7.931873][ C0] ? console_flush_one_record+0x710/0x710 [ 7.931874][ C0] ? rcu_is_watching+0x16/0xd0 [ 7.931876][ C0] ? lock_acquire+0x60/0x160 [ 7.931878][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 7.931880][ C0] ? vprintk_emit+0x320/0x3e0 [ 7.931882][ C0] vprintk_emit+0x37c/0x3e0 [ 7.931883][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 7.931886][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 7.931887][ C0] _printk+0xc7/0x100 [ 7.931889][ C0] ? snapshot_read.cold+0x21/0x21 [ 7.931891][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 7.931893][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 7.931896][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 7.931897][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 7.931899][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 7.931901][ C0] call_timer_fn+0x160/0x4d0 [ 7.931903][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 7.931904][ C0] ? debug_object_active_state+0x430/0x430 [ 7.931907][ C0] ? find_held_lock+0x2b/0x80 [ 7.931909][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 7.931911][ C0] ? rcu_is_watching+0x16/0xd0 [ 7.931913][ C0] __run_timers+0x68f/0xaa0 [ 7.931914][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 7.931916][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 7.931918][ C0] ? __lock_acquire+0x518/0xc20 [ 7.931921][ C0] ? __rwlock_init+0x150/0x150 [ 7.931923][ C0] run_timer_softirq+0xf0/0x160 [ 7.931925][ C0] ? __run_timers+0xaa0/0xaa0 [ 7.931926][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 7.931929][ C0] ? rcu_is_watching+0x16/0xd0 [ 7.931930][ C0] handle_softirqs+0x1d3/0x900 [ 7.931933][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 7.931934][ C0] ? _local_bh_enable+0xc0/0xc0 [ 7.931937][ C0] __irq_exit_rcu+0x145/0x1c0 [ 7.931939][ C0] irq_exit_rcu+0xe/0x30 [ 7.931940][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 7.931942][ C0] [ 7.931942][ C0] [ 7.931943][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 7.931945][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 7.931947][ C0] Code: 48 8b 3d 94 d2 f8 01 e8 1f 00 00 00 48 2b 05 58 d3 99 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 c6 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 [ 7.931949][ C0] RSP: 0018:ffffffffb4c07cf8 EFLAGS: 00000296 [ 7.931951][ C0] RAX: 0000000000034879 RBX: ffffffffb4c1c600 RCX: ffffffffb1ced307 [ 7.931952][ C0] RDX: ffffffffb4c1c600 RSI: ffffffffb4a29f93 RDI: ffffffffb448d8e0 [ 7.931953][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 7.931954][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6980fa2 [ 7.931955][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 7.931956][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 7.931959][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 7.931960][ C0] default_idle+0x9/0x10 [ 7.931962][ C0] default_idle_call+0x6e/0xb0 [ 7.931963][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 7.931965][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 7.931967][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 7.931970][ C0] ? rcu_is_watching+0x16/0xd0 [ 7.931972][ C0] do_idle+0xd8/0x190 [ 7.931974][ C0] cpu_startup_entry+0x53/0x70 [ 7.931975][ C0] rest_init+0x279/0x280 [ 7.931977][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 7.931987][ C0] ? rest_init+0x280/0x280 [ 7.931989][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 7.931992][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 7.931994][ C0] ? acpi_enable+0x1e4/0x330 [ 7.931997][ C0] start_kernel+0x3af/0x3b0 [ 7.931999][ C0] x86_64_start_reservations+0x24/0x30 [ 7.932000][ C0] x86_64_start_kernel+0x12b/0x130 [ 7.932002][ C0] common_startup_64+0x13e/0x148 [ 7.932008][ C0]