virtme: waiting for virtiofsd to start virtme: use 'microvm' QEMU architecture [ 1.079875][ T1] rtc_cmos PNP0B00:00: registered as rtc0 [ 1.079895][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 1.079897][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0 [ 1.079898][ T1] preempt_count: 1, expected: 0 [ 1.079899][ T1] RCU nest depth: 0, expected: 0 [ 1.079900][ T1] locks held by swapper/0/1: 5, last CPU#3: [ 1.079902][ T1] #0: ff11000002b20938 (&dev->mutex){....}-{4:4}, at: __driver_attach+0x1ad/0x540 [ 1.079913][ T1] #1: ffffffffb617ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 1.079918][ T1] #2: ffffffffb617de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 1.079922][ T1] #3: ffffffffb609d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 1.079926][ T1] #4: ffffffffb609d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 1.079929][ T1] irq event stamp: 318620 [ 1.079930][ T1] hardirqs last enabled at (318619): [] __down_trylock_console_sem+0x86/0xa0 [ 1.079933][ T1] hardirqs last disabled at (318620): [] console_emit_next_record+0x3d4/0x4c0 [ 1.079935][ T1] softirqs last enabled at (318110): [] handle_softirqs+0x67c/0x900 [ 1.079939][ T1] softirqs last disabled at (318105): [] __irq_exit_rcu+0x145/0x1c0 [ 1.079941][ T1] Preemption disabled at: [ 1.079942][ T1] [] vprintk_emit+0x31b/0x3e0 [ 1.079946][ T1] CPU: 3 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-virtme #1 PREEMPT(full) [ 1.079949][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.079951][ T1] Call Trace: [ 1.079953][ T1] [ 1.079956][ T1] dump_stack_lvl+0x6f/0xa0 [ 1.079962][ T1] ? vprintk_emit+0x31b/0x3e0 [ 1.079963][ T1] __might_resched.cold+0x1fe/0x2c1 [ 1.079968][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 1.079971][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 1.079976][ T1] __kmalloc_noprof+0x443/0x760 [ 1.079977][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 1.079983][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 1.079986][ T1] alloc_buf.isra.0+0x4b/0x260 [ 1.079989][ T1] put_chars+0x1e1/0x2f0 [ 1.079991][ T1] ? __send_to_port+0x420/0x420 [ 1.079994][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.079998][ T1] ? validate_chain+0x38b/0xc20 [ 1.080002][ T1] hvc_console_print+0x292/0x780 [ 1.080006][ T1] ? __lock_acquire+0x518/0xc20 [ 1.080007][ T1] ? __lock_acquire+0x518/0xc20 [ 1.080012][ T1] ? hvc_write+0x3a0/0x3a0 [ 1.080015][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.080017][ T1] ? lock_acquire+0x13c/0x160 [ 1.080021][ T1] console_emit_next_record+0x22f/0x4c0 [ 1.080025][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 1.080027][ T1] ? console_flush_one_record+0x106/0x710 [ 1.080030][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.080032][ T1] ? lock_acquire+0x13c/0x160 [ 1.080035][ T1] console_flush_one_record+0x46f/0x710 [ 1.080039][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 1.080041][ T1] ? __lock_acquire+0x518/0xc20 [ 1.080046][ T1] console_unlock+0xee/0x1f0 [ 1.080049][ T1] ? console_flush_one_record+0x710/0x710 [ 1.080051][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.080053][ T1] ? lock_acquire+0xe0/0x160 [ 1.080056][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 1.080060][ T1] ? vprintk_emit+0x320/0x3e0 [ 1.080060][ T1] vprintk_emit+0x37c/0x3e0 [ 1.080060][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 1.080060][ T1] ? find_held_lock+0x2b/0x80 [ 1.080060][ T1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 1.080060][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.080060][ T1] dev_vprintk_emit+0x27f/0x2c0 [ 1.080060][ T1] ? device_rename.cold+0xa/0xa [ 1.080060][ T1] ? __lock_acquire+0x518/0xc20 [ 1.080060][ T1] ? lock_acquire.part.0+0xd4/0x280 [ 1.080060][ T1] ? find_held_lock+0x2b/0x80 [ 1.080060][ T1] dev_printk_emit+0xb9/0xee [ 1.080060][ T1] ? dev_vprintk_emit+0x2c0/0x2c0 [ 1.080060][ T1] ? _raw_write_unlock+0x2d/0x50 [ 1.080060][ T1] ? proc_register+0x368/0x8b0 [ 1.080060][ T1] _dev_info+0xe2/0x116 [ 1.080060][ T1] ? _dev_notice+0x120/0x120 [ 1.080060][ T1] ? rtc_proc_add_device+0x106/0x120 [ 1.080060][ T1] ? rtc_proc_show+0x400/0x400 [ 1.080060][ T1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 1.080060][ T1] ? devm_rtc_unregister_device+0xd0/0xd0 [ 1.080060][ T1] ? _raw_spin_unlock_irqrestore+0x36/0x80 [ 1.080060][ T1] ? __setup_irq+0xec4/0x1ee0 [ 1.080060][ T1] ? request_threaded_irq+0x1dd/0x330 [ 1.080060][ T1] cmos_do_probe+0x73b/0x98a [ 1.080060][ T1] ? cmos_platform_shutdown+0x370/0x370 [ 1.080060][ T1] ? cmos_irq_disable.cold+0x3a/0x3a [ 1.080060][ T1] ? acpi_dev_pm_attach+0x1f3/0x250 [ 1.080060][ T1] ? cmos_read_alarm_callback+0x340/0x340 [ 1.080060][ T1] ? mc146818_set_time+0x500/0x500 [ 1.080060][ T1] ? irq_get_irq_data+0xe/0x20 [ 1.080060][ T1] ? platform_get_irq_affinity+0x21f/0x450 [ 1.080060][ T1] platform_probe+0xfe/0x1f0 [ 1.080060][ T1] call_driver_probe+0x61/0x1c0 [ 1.080060][ T1] really_probe+0x199/0x760 [ 1.080060][ T1] ? __device_attach_driver+0x280/0x280 [ 1.080060][ T1] __driver_probe_device+0x24f/0x440 [ 1.080060][ T1] ? __device_attach_driver+0x280/0x280 [ 1.080060][ T1] ? __device_attach_driver+0x280/0x280 [ 1.080060][ T1] driver_probe_device+0x4a/0xf0 [ 1.080060][ T1] __driver_attach+0x1b8/0x540 [ 1.080060][ T1] ? do_raw_spin_lock+0x131/0x280 [ 1.080060][ T1] bus_for_each_dev+0x130/0x1e0 [ 1.080060][ T1] ? bus_remove_file+0x50/0x50 [ 1.080060][ T1] ? __lock_release.isra.0+0x69/0x1a0 [ 1.080060][ T1] ? rtc_dev_init+0x40/0x40 [ 1.080060][ T1] ? rtc_dev_init+0x40/0x40 [ 1.080060][ T1] bus_add_driver+0x2c8/0x530 [ 1.080060][ T1] driver_register+0x1a3/0x390 [ 1.080060][ T1] __platform_driver_probe+0x13f/0x270 [ 1.080060][ T1] cmos_init+0x31/0x40 [ 1.080060][ T1] do_one_initcall+0x124/0x4f0 [ 1.080060][ T1] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 1.080060][ T1] ? parameq+0x110/0x110 [ 1.080060][ T1] ? kernel_init_freeable+0x3f1/0x630 [ 1.080060][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.080060][ T1] kernel_init_freeable+0x596/0x630 [ 1.080060][ T1] ? rest_init+0x280/0x280 [ 1.080060][ T1] kernel_init+0x21/0x150 [ 1.080060][ T1] ? rest_init+0x280/0x280 [ 1.080060][ T1] ret_from_fork+0x474/0x6b0 [ 1.080060][ T1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 1.080060][ T1] ? __switch_to+0x5a3/0xe00 [ 1.080060][ T1] ? rest_init+0x280/0x280 [ 1.080060][ T1] ret_from_fork_asm+0x11/0x20 [ 1.080060][ T1] [ 1.111697][ T1] rtc_cmos PNP0B00:00: setting system clock to 2026-08-28T14:43:38 UTC (1787928218) [ 1.112686][ T1] rtc_cmos PNP0B00:00: alarms up to one day, 242 bytes nvram [ 1.115606][ T1] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev [ 1.124385][ T1] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 1.127317][ T1] IPv4 over IPsec tunneling driver [ 1.130556][ T1] NET: Registered PF_INET6 protocol family [ 1.135736][ T1] Segment Routing with IPv6 [ 1.135916][ T1] RPL Segment Routing with IPv6 [ 1.136466][ T1] In-situ OAM (IOAM) with IPv6 [ 1.139423][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.145765][ T1] NET: Registered PF_PACKET protocol family [ 1.146258][ T1] 8021q: 802.1Q VLAN Support v1.8 [ 1.146652][ T1] sctp: Hash tables configured (bind 32/56) [ 1.147299][ T1] 9pnet: Installing 9P2000 support [ 1.147634][ T1] Key type dns_resolver registered [ 1.148315][ T1] NET: Registered PF_VSOCK protocol family [ 1.152452][ T1] IPI shorthand broadcast: enabled [ 1.254649][ T1] sched_clock: Marking stable (1222002517, 32058165)->(1336007068, -81946386) [ 1.257169][ T1] registered taskstats version 1 [ 1.259994][ T1] Loading compiled-in X.509 certificates [ 1.367967][ T1] Demotion targets for Node 0: null [ 1.368256][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 12316) [ 1.368536][ T1] page_owner is disabled [ 1.369220][ T1] PM: Magic number: 6:287:739 [ 1.369604][ T1] netconsole: network logging started [ 1.371670][ T1] ALSA device list: [ 1.371813][ T1] No soundcards found. [ 1.373726][ T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 1.376379][ T1] VFS: Mounted root (virtiofs filesystem) readonly on device 0:25. [ 1.377131][ T1] devtmpfs: mounted [ 1.377426][ T1] VFS: Pivoted into new rootfs [ 1.405342][ T1] Freeing unused kernel image (initmem) memory: 2624K [ 1.405553][ T1] Write protecting the kernel read-only data: 65536k [ 1.405927][ T1] Freeing unused kernel image (text/rodata gap) memory: 100K [ 1.408408][ T1] Freeing unused kernel image (rodata/data gap) memory: 312K [ 1.408670][ T1] Run /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init as init process [ 1.408940][ T1] with arguments: [ 1.409292][ T1] /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init [ 1.409543][ T1] with environment: [ 1.409661][ T1] HOME=/ [ 1.409776][ T1] TERM=dumb [ 1.409892][ T1] virtme_hostname=vmksft-net-dbg,debug-threads=on [ 1.410124][ T1] nr_open=2147483584 [ 1.410237][ T1] virtme_link_mods=/srv/vmksft/testing/wt-2/.virtme_mods/lib/modules/0.0.0 [ 1.410500][ T1] virtme_rw_overlay0=/etc [ 1.410648][ T1] virtme_rw_overlay1=/lib [ 1.410799][ T1] virtme_rw_overlay2=/home [ 1.410956][ T1] virtme_rw_overlay3=/opt [ 1.411110][ T1] virtme_rw_overlay4=/srv [ 1.411258][ T1] virtme_rw_overlay5=/usr [ 1.411412][ T1] virtme_rw_overlay6=/var [ 1.411565][ T1] virtme_rw_overlay7=/tmp [ 1.411712][ T1] virtme_console=ttyS0 [ 1.411863][ T1] virtme_chdir=srv/vmksft/testing/wt-2 [ 1.427949][ T1] virtme-ng-init: mount devtmpfs -> /dev: EBUSY: Device or resource busy [ 1.429402][ T1] virtme-ng-init: Setting hostname to vmksft-net-dbg,debug-threads=on... [ 1.439088][ T1] overlayfs: failed to set xattr on upper [ 1.439377][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.439643][ T1] overlayfs: ...falling back to uuid=null. [ 1.441935][ T1] overlayfs: failed to set xattr on upper [ 1.442211][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.442443][ T1] overlayfs: ...falling back to uuid=null. [ 1.444365][ T1] overlayfs: failed to set xattr on upper [ 1.444557][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.444799][ T1] overlayfs: ...falling back to uuid=null. [ 1.446941][ T1] overlayfs: failed to set xattr on upper [ 1.447146][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.447388][ T1] overlayfs: ...falling back to uuid=null. [ 1.449278][ T1] overlayfs: failed to set xattr on upper [ 1.449475][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.449706][ T1] overlayfs: ...falling back to uuid=null. [ 1.451850][ T1] overlayfs: failed to set xattr on upper [ 1.452044][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.452287][ T1] overlayfs: ...falling back to uuid=null. [ 1.454210][ T1] overlayfs: failed to set xattr on upper [ 1.454402][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.454639][ T1] overlayfs: ...falling back to uuid=null. [ 1.457244][ T1] overlayfs: failed to set xattr on upper [ 1.457442][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.457819][ T1] overlayfs: ...falling back to uuid=null. [ 1.468399][ T1] virtme-ng-init: running systemd-tmpfiles [ 1.493533][ T73] kwatchdog (73) used greatest stack depth: 29688 bytes left [ 3.414447][ T1] virtme-ng-init: Failed to read '/usr/lib/tmpfiles.d/audit.conf': Permission denied [ 3.414447][ T1] Failed to create directory or subvolume "/var/spool/at/spool": Permission denied [ 3.414447][ T1] Failed to create file /var/spool/at/.SEQ: Permission denied [ 3.414447][ T1] Failed to opendir() '/proc/self/fd/6': Permission denied [ 3.414462][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 3.414464][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: virtme-ng-init [ 3.414465][ T1] preempt_count: 1, expected: 0 [ 3.414466][ T1] RCU nest depth: 0, expected: 0 [ 3.414467][ T1] locks held by virtme-ng-init/1: 4, last CPU#0: [ 3.414469][ T1] #0: ffffffffb617ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 3.414480][ T1] #1: ffffffffb617de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 3.414485][ T1] #2: ffffffffb609d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 3.414489][ T1] #3: ffffffffb609d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 3.414492][ T1] irq event stamp: 602178 [ 3.414493][ T1] hardirqs last enabled at (602177): [] __down_trylock_console_sem+0x86/0xa0 [ 3.414497][ T1] hardirqs last disabled at (602178): [] console_emit_next_record+0x3d4/0x4c0 [ 3.414499][ T1] softirqs last enabled at (601440): [] fpu_clone+0xd9/0x410 [ 3.414502][ T1] softirqs last disabled at (601438): [] fpu_clone+0x82/0x410 [ 3.414504][ T1] Preemption disabled at: [ 3.414505][ T1] [] vprintk_emit+0x31b/0x3e0 [ 3.414510][ T1] CPU: 0 UID: 0 PID: 1 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 3.414513][ T1] Tainted: [W]=WARN [ 3.414514][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.414516][ T1] Call Trace: [ 3.414517][ T1] [ 3.414519][ T1] dump_stack_lvl+0x6f/0xa0 [ 3.414525][ T1] ? vprintk_emit+0x31b/0x3e0 [ 3.414526][ T1] __might_resched.cold+0x1fe/0x2c1 [ 3.414530][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 3.414534][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 3.414539][ T1] __kmalloc_noprof+0x443/0x760 [ 3.414541][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 3.414547][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 3.414550][ T1] alloc_buf.isra.0+0x4b/0x260 [ 3.414554][ T1] put_chars+0x1e1/0x2f0 [ 3.414556][ T1] ? __send_to_port+0x420/0x420 [ 3.414559][ T1] ? validate_chain+0x38b/0xc20 [ 3.414564][ T1] hvc_console_print+0x292/0x780 [ 3.414572][ T1] ? hvc_write+0x3a0/0x3a0 [ 3.414575][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.414578][ T1] ? lock_acquire+0x13c/0x160 [ 3.414582][ T1] console_emit_next_record+0x22f/0x4c0 [ 3.414585][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 3.414587][ T1] ? console_flush_one_record+0x106/0x710 [ 3.414590][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.414592][ T1] ? lock_acquire+0x13c/0x160 [ 3.414596][ T1] console_flush_one_record+0x46f/0x710 [ 3.414600][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 3.414602][ T1] ? __lock_acquire+0x518/0xc20 [ 3.414607][ T1] console_unlock+0xee/0x1f0 [ 3.414610][ T1] ? console_flush_one_record+0x710/0x710 [ 3.414612][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.414613][ T1] ? lock_acquire+0xe0/0x160 [ 3.414617][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 3.414619][ T1] ? vprintk_emit+0x320/0x3e0 [ 3.414621][ T1] vprintk_emit+0x37c/0x3e0 [ 3.414624][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 3.414627][ T1] ? _copy_from_iter+0x1bb/0x1810 [ 3.414632][ T1] devkmsg_emit.constprop.0+0xbc/0xf1 [ 3.414636][ T1] ? vprintk_emit.cold+0x107/0x107 [ 3.414638][ T1] ? simple_strntoull+0x10f/0x140 [ 3.414642][ T1] ? date_str+0x1e0/0x1e0 [ 3.414644][ T1] ? devkmsg_write+0xd1/0x2c0 [ 3.414648][ T1] devkmsg_write.cold+0x5a/0x8b [ 3.414651][ T1] ? vprintk_default+0x20/0x20 [ 3.414654][ T1] ? vprintk_default+0x20/0x20 [ 3.414656][ T1] new_sync_write+0x33e/0x760 [ 3.414659][ T1] ? kasan_quarantine_put+0x13e/0x2b0 [ 3.414663][ T1] ? new_sync_read+0x750/0x750 [ 3.414665][ T1] ? kmem_cache_free+0xf8/0x550 [ 3.414668][ T1] ? do_sys_openat2+0xff/0x170 [ 3.414672][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.414675][ T1] vfs_write+0x655/0x970 [ 3.414678][ T1] ksys_write+0x116/0x250 [ 3.414681][ T1] ? __ia32_sys_read+0xc0/0xc0 [ 3.414684][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.414687][ T1] do_syscall_64+0xff/0x530 [ 3.414689][ T1] ? exc_page_fault+0xee/0x100 [ 3.414692][ T1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 3.414694][ T1] RIP: 0033:0x7fdc269cfbee [ 3.414698][ 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 [ 3.414699][ T1] RSP: 002b:00007ffe573b2130 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 3.414702][ T1] RAX: ffffffffffffffda RBX: 000000000000011c RCX: 00007fdc269cfbee [ 3.414703][ T1] RDX: 000000000000011c RSI: 0000555583ea5630 RDI: 0000000000000003 [ 3.414704][ T1] RBP: 00007ffe573b2140 R08: 0000000000000000 R09: 0000000000000000 [ 3.414705][ T1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fdc26a5b0a0 [ 3.414706][ T1] R13: 00007fdc269593e0 R14: 0000555583ea5630 R15: 00007ffe573b2258 [ 3.414712][ T1] [ 3.415085][ T72] systemd-tmpfile (72) used greatest stack depth: 24992 bytes left [ 3.415857][ T1] virtme-ng-init: basic initialization done [ 3.446381][ T75] virtme-ng-init (75) used greatest stack depth: 24288 bytes left [ 3.468986][ T78] ip (78) used greatest stack depth: 24136 bytes left [ 3.500319][ T74] virtme-ng-init: Starting systemd-udevd version 259.8-1.fc44 [ 3.500728][ T74] virtme-ng-init: triggering udev coldplug [ 5.617089][ T74] virtme-ng-init: waiting for udev to settle [ 5.617103][ T74] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 5.617105][ T74] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 74, name: virtme-ng-init [ 5.617107][ T74] preempt_count: 1, expected: 0 [ 5.617107][ T74] RCU nest depth: 0, expected: 0 [ 5.617108][ T74] locks held by virtme-ng-init/74: 4, last CPU#1: [ 5.617111][ T74] #0: ffffffffb617ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 5.617122][ T74] #1: ffffffffb617de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 5.617127][ T74] #2: ffffffffb609d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 5.617131][ T74] #3: ffffffffb609d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 5.617135][ T74] irq event stamp: 3228 [ 5.617136][ T74] hardirqs last enabled at (3227): [] __down_trylock_console_sem+0x86/0xa0 [ 5.617139][ T74] hardirqs last disabled at (3228): [] console_emit_next_record+0x3d4/0x4c0 [ 5.617141][ T74] softirqs last enabled at (2666): [] fpu_clone+0xd9/0x410 [ 5.617144][ T74] softirqs last disabled at (2664): [] fpu_clone+0x82/0x410 [ 5.617146][ T74] Preemption disabled at: [ 5.617147][ T74] [] vprintk_emit+0x31b/0x3e0 [ 5.617152][ T74] CPU: 1 UID: 0 PID: 74 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 5.617155][ T74] Tainted: [W]=WARN [ 5.617156][ T74] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 5.617158][ T74] Call Trace: [ 5.617159][ T74] [ 5.617161][ T74] dump_stack_lvl+0x6f/0xa0 [ 5.617166][ T74] ? vprintk_emit+0x31b/0x3e0 [ 5.617168][ T74] __might_resched.cold+0x1fe/0x2c1 [ 5.617172][ T74] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 5.617176][ T74] ? __kmalloc_noprof+0xdb/0x760 [ 5.617181][ T74] __kmalloc_noprof+0x443/0x760 [ 5.617182][ T74] ? alloc_buf.isra.0+0x4b/0x260 [ 5.617189][ T74] ? do_raw_spin_unlock+0x59/0x250 [ 5.617192][ T74] alloc_buf.isra.0+0x4b/0x260 [ 5.617195][ T74] put_chars+0x1e1/0x2f0 [ 5.617198][ T74] ? __send_to_port+0x420/0x420 [ 5.617201][ T74] ? validate_chain+0x38b/0xc20 [ 5.617206][ T74] hvc_console_print+0x292/0x780 [ 5.617213][ T74] ? hvc_write+0x3a0/0x3a0 [ 5.617216][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.617219][ T74] ? lock_acquire+0x13c/0x160 [ 5.617222][ T74] console_emit_next_record+0x22f/0x4c0 [ 5.617226][ T74] ? devkmsg_read+0x4b0/0x4b0 [ 5.617228][ T74] ? console_flush_one_record+0x106/0x710 [ 5.617231][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.617233][ T74] ? lock_acquire+0x13c/0x160 [ 5.617237][ T74] console_flush_one_record+0x46f/0x710 [ 5.617241][ T74] ? console_emit_next_record+0x4c0/0x4c0 [ 5.617242][ T74] ? __lock_acquire+0x518/0xc20 [ 5.617248][ T74] console_unlock+0xee/0x1f0 [ 5.617250][ T74] ? console_flush_one_record+0x710/0x710 [ 5.617252][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.617254][ T74] ? lock_acquire+0xe0/0x160 [ 5.617257][ T74] ? __down_trylock_console_sem+0x5e/0xa0 [ 5.617259][ T74] ? vprintk_emit+0x320/0x3e0 [ 5.617261][ T74] vprintk_emit+0x37c/0x3e0 [ 5.617265][ T74] ? wake_up_klogd_work_func+0x90/0x90 [ 5.617267][ T74] ? _copy_from_iter+0x1bb/0x1810 [ 5.617272][ T74] devkmsg_emit.constprop.0+0xbc/0xf1 [ 5.617276][ T74] ? vprintk_emit.cold+0x107/0x107 [ 5.617278][ T74] ? simple_strntoull+0x10f/0x140 [ 5.617282][ T74] ? date_str+0x1e0/0x1e0 [ 5.617284][ T74] ? devkmsg_write+0xd1/0x2c0 [ 5.617288][ T74] devkmsg_write.cold+0x5a/0x8b [ 5.617291][ T74] ? vprintk_default+0x20/0x20 [ 5.617295][ T74] ? vprintk_default+0x20/0x20 [ 5.617296][ T74] new_sync_write+0x33e/0x760 [ 5.617300][ T74] ? kasan_quarantine_put+0x62/0x2b0 [ 5.617304][ T74] ? new_sync_read+0x750/0x750 [ 5.617305][ T74] ? lock_acquire.part.0+0xd4/0x280 [ 5.617308][ T74] ? __lock_release.isra.0+0x69/0x1a0 [ 5.617313][ T74] ? __fget_files+0x1e3/0x460 [ 5.617317][ T74] vfs_write+0x655/0x970 [ 5.617320][ T74] ksys_write+0x116/0x250 [ 5.617323][ T74] ? __ia32_sys_read+0xc0/0xc0 [ 5.617326][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.617329][ T74] do_syscall_64+0xff/0x530 [ 5.617331][ T74] ? exc_page_fault+0xee/0x100 [ 5.617334][ T74] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 5.617336][ T74] RIP: 0033:0x7fdc269d0ed2 [ 5.617340][ 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.617341][ T74] RSP: 002b:00007fdc26917c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 5.617344][ T74] RAX: ffffffffffffffda RBX: 000000000000002e RCX: 00007fdc269d0ed2 [ 5.617345][ T74] RDX: 000000000000002e RSI: 00007fdc20001090 RDI: 0000000000000003 [ 5.617346][ T74] RBP: 00007fdc26917c90 R08: 0000000000000000 R09: 0000000000000000 [ 5.617347][ T74] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc26a5b0a0 [ 5.617348][ T74] R13: 00007fdc269593e0 R14: 00007fdc20001090 R15: 00007fdc26917da8 [ 5.617354][ T74] [ 6.215126][ T74] virtme-ng-init: udev is done [ 6.217717][ T1] virtme-ng-init: initialization done