virtme: waiting for virtiofsd to start virtme: use 'microvm' QEMU architecture [ 1.107879][ T1] rtc_cmos PNP0B00:00: registered as rtc0 [ 1.107899][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 1.107901][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0 [ 1.107902][ T1] preempt_count: 1, expected: 0 [ 1.107903][ T1] RCU nest depth: 0, expected: 0 [ 1.107904][ T1] locks held by swapper/0/1: 5, last CPU#0: [ 1.107906][ T1] #0: ff11000002b28938 (&dev->mutex){....}-{4:4}, at: __driver_attach+0x1ad/0x540 [ 1.107918][ T1] #1: ffffffffa9b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 1.107924][ T1] #2: ffffffffa9b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 1.107928][ T1] #3: ffffffffa9a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 1.107931][ T1] #4: ffffffffa9a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 1.107935][ T1] irq event stamp: 325232 [ 1.107936][ T1] hardirqs last enabled at (325231): [] __down_trylock_console_sem+0x86/0xa0 [ 1.107939][ T1] hardirqs last disabled at (325232): [] console_emit_next_record+0x3d4/0x4c0 [ 1.107941][ T1] softirqs last enabled at (325134): [] handle_softirqs+0x67c/0x900 [ 1.107944][ T1] softirqs last disabled at (324537): [] __irq_exit_rcu+0x145/0x1c0 [ 1.107947][ T1] Preemption disabled at: [ 1.107947][ T1] [] vprintk_emit+0x31b/0x3e0 [ 1.107952][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-virtme #1 PREEMPT(full) [ 1.107956][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.107957][ T1] Call Trace: [ 1.107959][ T1] [ 1.107962][ T1] dump_stack_lvl+0x6f/0xa0 [ 1.107968][ T1] ? vprintk_emit+0x31b/0x3e0 [ 1.107970][ T1] __might_resched.cold+0x1fe/0x2c1 [ 1.107975][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 1.107979][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 1.107983][ T1] __kmalloc_noprof+0x443/0x760 [ 1.107985][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 1.107991][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 1.107994][ T1] alloc_buf.isra.0+0x4b/0x260 [ 1.107997][ T1] put_chars+0x1e1/0x2f0 [ 1.108000][ T1] ? __send_to_port+0x420/0x420 [ 1.108003][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.108006][ T1] ? validate_chain+0x38b/0xc20 [ 1.108011][ T1] hvc_console_print+0x292/0x780 [ 1.108015][ T1] ? __lock_acquire+0x518/0xc20 [ 1.108016][ T1] ? __lock_acquire+0x518/0xc20 [ 1.108021][ T1] ? hvc_write+0x3a0/0x3a0 [ 1.108024][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.108027][ T1] ? lock_acquire+0x13c/0x160 [ 1.108031][ T1] console_emit_next_record+0x22f/0x4c0 [ 1.108034][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 1.108036][ T1] ? console_flush_one_record+0x106/0x710 [ 1.108039][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.108041][ T1] ? lock_acquire+0x13c/0x160 [ 1.108045][ T1] console_flush_one_record+0x46f/0x710 [ 1.108049][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 1.108051][ T1] ? __lock_acquire+0x518/0xc20 [ 1.108056][ T1] console_unlock+0xee/0x1f0 [ 1.108059][ T1] ? console_flush_one_record+0x710/0x710 [ 1.108061][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.108063][ T1] ? lock_acquire+0xe0/0x160 [ 1.108066][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 1.108068][ T1] ? vprintk_emit+0x320/0x3e0 [ 1.108071][ T1] vprintk_emit+0x37c/0x3e0 [ 1.108073][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 1.108075][ T1] ? find_held_lock+0x2b/0x80 [ 1.108077][ T1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 1.108079][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.108083][ T1] dev_vprintk_emit+0x27f/0x2c0 [ 1.108088][ T1] ? device_rename.cold+0xa/0xa [ 1.108090][ T1] ? __lock_acquire+0x518/0xc20 [ 1.108094][ T1] ? lock_acquire.part.0+0xd4/0x280 [ 1.108096][ T1] ? find_held_lock+0x2b/0x80 [ 1.108100][ T1] dev_printk_emit+0xb9/0xee [ 1.108102][ T1] ? dev_vprintk_emit+0x2c0/0x2c0 [ 1.108105][ T1] ? _raw_write_unlock+0x2d/0x50 [ 1.108109][ T1] ? proc_register+0x368/0x8b0 [ 1.108115][ T1] _dev_info+0xe2/0x116 [ 1.108118][ T1] ? _dev_notice+0x120/0x120 [ 1.108122][ T1] ? rtc_proc_add_device+0x106/0x120 [ 1.108126][ T1] ? rtc_proc_show+0x400/0x400 [ 1.108130][ T1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 1.108135][ T1] ? devm_rtc_unregister_device+0xd0/0xd0 [ 1.108140][ T1] ? __setup_irq+0xec4/0x1ee0 [ 1.108146][ T1] ? request_threaded_irq+0x1dd/0x330 [ 1.108150][ T1] cmos_do_probe+0x73b/0x98a [ 1.108153][ T1] ? cmos_platform_shutdown+0x370/0x370 [ 1.108155][ T1] ? cmos_irq_disable.cold+0x3a/0x3a [ 1.108157][ T1] ? acpi_dev_pm_attach+0x1f3/0x250 [ 1.108163][ T1] ? cmos_read_alarm_callback+0x340/0x340 [ 1.108164][ T1] ? mc146818_set_time+0x500/0x500 [ 1.108168][ T1] ? irq_get_irq_data+0xe/0x20 [ 1.108170][ T1] ? platform_get_irq_affinity+0x21f/0x450 [ 1.108175][ T1] platform_probe+0xfe/0x1f0 [ 1.108182][ T1] call_driver_probe+0x61/0x1c0 [ 1.108185][ T1] really_probe+0x199/0x760 [ 1.108188][ T1] ? __device_attach_driver+0x280/0x280 [ 1.108190][ T1] __driver_probe_device+0x24f/0x440 [ 1.108192][ T1] ? __device_attach_driver+0x280/0x280 [ 1.108194][ T1] ? __device_attach_driver+0x280/0x280 [ 1.108195][ T1] driver_probe_device+0x4a/0xf0 [ 1.108197][ T1] __driver_attach+0x1b8/0x540 [ 1.108200][ T1] ? do_raw_spin_lock+0x131/0x280 [ 1.108202][ T1] bus_for_each_dev+0x130/0x1e0 [ 1.108205][ T1] ? bus_remove_file+0x50/0x50 [ 1.108206][ T1] ? __lock_release.isra.0+0x69/0x1a0 [ 1.108209][ T1] ? rtc_dev_init+0x40/0x40 [ 1.108215][ T1] ? rtc_dev_init+0x40/0x40 [ 1.108217][ T1] bus_add_driver+0x2c8/0x530 [ 1.108220][ T1] driver_register+0x1a3/0x390 [ 1.108223][ T1] __platform_driver_probe+0x13f/0x270 [ 1.108226][ T1] cmos_init+0x31/0x40 [ 1.108228][ T1] do_one_initcall+0x124/0x4f0 [ 1.108231][ T1] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 1.108233][ T1] ? parameq+0x110/0x110 [ 1.108238][ T1] ? kernel_init_freeable+0x3f1/0x630 [ 1.108242][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.108245][ T1] kernel_init_freeable+0x596/0x630 [ 1.108248][ T1] ? rest_init+0x280/0x280 [ 1.108251][ T1] kernel_init+0x21/0x150 [ 1.108253][ T1] ? rest_init+0x280/0x280 [ 1.108255][ T1] ret_from_fork+0x474/0x6b0 [ 1.108259][ T1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 1.108262][ T1] ? __switch_to+0x5a3/0xe00 [ 1.108266][ T1] ? rest_init+0x280/0x280 [ 1.108269][ T1] ret_from_fork_asm+0x11/0x20 [ 1.108276][ T1] [ 1.139139][ T1] rtc_cmos PNP0B00:00: setting system clock to 2026-08-28T17:41:24 UTC (1787938884) [ 1.140037][ T1] rtc_cmos PNP0B00:00: alarms up to one day, 242 bytes nvram [ 1.143101][ T1] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev [ 1.151959][ T1] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 1.155081][ T1] IPv4 over IPsec tunneling driver [ 1.157962][ T1] NET: Registered PF_INET6 protocol family [ 1.163548][ T1] Segment Routing with IPv6 [ 1.163726][ T1] RPL Segment Routing with IPv6 [ 1.164122][ T1] In-situ OAM (IOAM) with IPv6 [ 1.167345][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.173832][ T1] NET: Registered PF_PACKET protocol family [ 1.174223][ T1] 8021q: 802.1Q VLAN Support v1.8 [ 1.174920][ T1] sctp: Hash tables configured (bind 32/56) [ 1.175553][ T1] 9pnet: Installing 9P2000 support [ 1.175889][ T1] Key type dns_resolver registered [ 1.176590][ T1] NET: Registered PF_VSOCK protocol family [ 1.180759][ T1] IPI shorthand broadcast: enabled [ 1.281285][ T1] sched_clock: Marking stable (1244001643, 36453488)->(1357353364, -76898233) [ 1.283804][ T1] registered taskstats version 1 [ 1.286844][ T1] Loading compiled-in X.509 certificates [ 1.394827][ T1] Demotion targets for Node 0: null [ 1.395141][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 11806) [ 1.395435][ T1] page_owner is disabled [ 1.396473][ T1] PM: Magic number: 6:55:695 [ 1.396670][ T1] pci 0000:00:00.0: hash matches [ 1.397094][ T1] netconsole: network logging started [ 1.399161][ T1] ALSA device list: [ 1.399771][ T1] No soundcards found. [ 1.400991][ T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 1.403360][ T1] VFS: Mounted root (virtiofs filesystem) readonly on device 0:25. [ 1.404222][ T1] devtmpfs: mounted [ 1.404506][ T1] VFS: Pivoted into new rootfs [ 1.434644][ T1] Freeing unused kernel image (initmem) memory: 2624K [ 1.434977][ T1] Write protecting the kernel read-only data: 65536k [ 1.435415][ T1] Freeing unused kernel image (text/rodata gap) memory: 100K [ 1.435827][ T1] Freeing unused kernel image (rodata/data gap) memory: 312K [ 1.436163][ T1] Run /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init as init process [ 1.436499][ T1] with arguments: [ 1.436659][ T1] /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init [ 1.436940][ T1] with environment: [ 1.437099][ T1] HOME=/ [ 1.437287][ T1] TERM=dumb [ 1.437443][ T1] virtme_hostname=vmksft-net-dbg,debug-threads=on [ 1.437699][ T1] nr_open=2147483584 [ 1.437869][ T1] virtme_link_mods=/srv/vmksft/testing/wt-2/.virtme_mods/lib/modules/0.0.0 [ 1.438166][ T1] virtme_rw_overlay0=/etc [ 1.438374][ T1] virtme_rw_overlay1=/lib [ 1.438599][ T1] virtme_rw_overlay2=/home [ 1.438789][ T1] virtme_rw_overlay3=/opt [ 1.438978][ T1] virtme_rw_overlay4=/srv [ 1.439194][ T1] virtme_rw_overlay5=/usr [ 1.439396][ T1] virtme_rw_overlay6=/var [ 1.439624][ T1] virtme_rw_overlay7=/tmp [ 1.439831][ T1] virtme_console=ttyS0 [ 1.440022][ T1] virtme_chdir=srv/vmksft/testing/wt-2 [ 1.454825][ T1] virtme-ng-init: mount devtmpfs -> /dev: EBUSY: Device or resource busy [ 1.456214][ T1] virtme-ng-init: Setting hostname to vmksft-net-dbg,debug-threads=on... [ 1.466299][ T1] overlayfs: failed to set xattr on upper [ 1.466580][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.466892][ T1] overlayfs: ...falling back to uuid=null. [ 1.469357][ T1] overlayfs: failed to set xattr on upper [ 1.469596][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.469886][ T1] overlayfs: ...falling back to uuid=null. [ 1.471934][ T1] overlayfs: failed to set xattr on upper [ 1.472211][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.472890][ T1] overlayfs: ...falling back to uuid=null. [ 1.474898][ T1] overlayfs: failed to set xattr on upper [ 1.475126][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.475430][ T1] overlayfs: ...falling back to uuid=null. [ 1.477858][ T1] overlayfs: failed to set xattr on upper [ 1.478089][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.478387][ T1] overlayfs: ...falling back to uuid=null. [ 1.480287][ T1] overlayfs: failed to set xattr on upper [ 1.481019][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.481322][ T1] overlayfs: ...falling back to uuid=null. [ 1.483339][ T1] overlayfs: failed to set xattr on upper [ 1.483604][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.483880][ T1] overlayfs: ...falling back to uuid=null. [ 1.486477][ T1] overlayfs: failed to set xattr on upper [ 1.486709][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.486992][ T1] overlayfs: ...falling back to uuid=null. [ 1.498156][ T1] virtme-ng-init: running systemd-tmpfiles [ 1.503094][ T74] kwatchdog (74) used greatest stack depth: 29688 bytes left [ 3.395741][ T1] virtme-ng-init: Failed to read '/usr/lib/tmpfiles.d/audit.conf': Permission denied [ 3.395741][ T1] Failed to create directory or subvolume "/var/spool/at/spool": Permission denied [ 3.395741][ T1] Failed to create file /var/spool/at/.SEQ: Permission denied [ 3.395741][ T1] Failed to opendir() '/proc/self/fd/6': Permission denied [ 3.395755][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 3.395758][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: virtme-ng-init [ 3.395759][ T1] preempt_count: 1, expected: 0 [ 3.395760][ T1] RCU nest depth: 0, expected: 0 [ 3.395761][ T1] locks held by virtme-ng-init/1: 4, last CPU#2: [ 3.395763][ T1] #0: ffffffffa9b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 3.395774][ T1] #1: ffffffffa9b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 3.395779][ T1] #2: ffffffffa9a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 3.395783][ T1] #3: ffffffffa9a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 3.395786][ T1] irq event stamp: 602254 [ 3.395787][ T1] hardirqs last enabled at (602253): [] __down_trylock_console_sem+0x86/0xa0 [ 3.395790][ T1] hardirqs last disabled at (602254): [] console_emit_next_record+0x3d4/0x4c0 [ 3.395792][ T1] softirqs last enabled at (601512): [] fpu_clone+0xd9/0x410 [ 3.395795][ T1] softirqs last disabled at (601510): [] fpu_clone+0x82/0x410 [ 3.395798][ T1] Preemption disabled at: [ 3.395798][ T1] [] vprintk_emit+0x31b/0x3e0 [ 3.395803][ T1] CPU: 2 UID: 0 PID: 1 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 3.395807][ T1] Tainted: [W]=WARN [ 3.395808][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.395809][ T1] Call Trace: [ 3.395811][ T1] [ 3.395812][ T1] dump_stack_lvl+0x6f/0xa0 [ 3.395818][ T1] ? vprintk_emit+0x31b/0x3e0 [ 3.395819][ T1] __might_resched.cold+0x1fe/0x2c1 [ 3.395823][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 3.395827][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 3.395831][ T1] __kmalloc_noprof+0x443/0x760 [ 3.395833][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 3.395840][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 3.395843][ T1] alloc_buf.isra.0+0x4b/0x260 [ 3.395846][ T1] put_chars+0x1e1/0x2f0 [ 3.395849][ T1] ? __send_to_port+0x420/0x420 [ 3.395851][ T1] ? validate_chain+0x38b/0xc20 [ 3.395856][ T1] hvc_console_print+0x292/0x780 [ 3.395863][ T1] ? hvc_write+0x3a0/0x3a0 [ 3.395866][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.395869][ T1] ? lock_acquire+0x13c/0x160 [ 3.395873][ T1] console_emit_next_record+0x22f/0x4c0 [ 3.395876][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 3.395878][ T1] ? console_flush_one_record+0x106/0x710 [ 3.395881][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.395883][ T1] ? lock_acquire+0x13c/0x160 [ 3.395887][ T1] console_flush_one_record+0x46f/0x710 [ 3.395891][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 3.395892][ T1] ? __lock_acquire+0x518/0xc20 [ 3.395897][ T1] console_unlock+0xee/0x1f0 [ 3.395900][ T1] ? console_flush_one_record+0x710/0x710 [ 3.395902][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.395904][ T1] ? lock_acquire+0xe0/0x160 [ 3.395907][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 3.395909][ T1] ? vprintk_emit+0x320/0x3e0 [ 3.395911][ T1] vprintk_emit+0x37c/0x3e0 [ 3.395914][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 3.395917][ T1] ? _copy_from_iter+0x1bb/0x1810 [ 3.395922][ T1] devkmsg_emit.constprop.0+0xbc/0xf1 [ 3.395926][ T1] ? vprintk_emit.cold+0x107/0x107 [ 3.395928][ T1] ? simple_strntoull+0x10f/0x140 [ 3.395932][ T1] ? date_str+0x1e0/0x1e0 [ 3.395934][ T1] ? devkmsg_write+0xd1/0x2c0 [ 3.395938][ T1] devkmsg_write.cold+0x5a/0x8b [ 3.395940][ T1] ? vprintk_default+0x20/0x20 [ 3.395944][ T1] ? vprintk_default+0x20/0x20 [ 3.395946][ T1] new_sync_write+0x33e/0x760 [ 3.395949][ T1] ? kasan_quarantine_put+0x13e/0x2b0 [ 3.395954][ T1] ? new_sync_read+0x750/0x750 [ 3.395955][ T1] ? kmem_cache_free+0xf8/0x550 [ 3.395958][ T1] ? do_sys_openat2+0xff/0x170 [ 3.395962][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.395965][ T1] vfs_write+0x655/0x970 [ 3.395968][ T1] ksys_write+0x116/0x250 [ 3.395971][ T1] ? __ia32_sys_read+0xc0/0xc0 [ 3.395973][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.395976][ T1] do_syscall_64+0xff/0x530 [ 3.395979][ T1] ? exc_page_fault+0xee/0x100 [ 3.395982][ T1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 3.395984][ T1] RIP: 0033:0x7f2ebc842bee [ 3.395988][ 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.395989][ T1] RSP: 002b:00007fff22f23d50 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 3.395992][ T1] RAX: ffffffffffffffda RBX: 000000000000011c RCX: 00007f2ebc842bee [ 3.395993][ T1] RDX: 000000000000011c RSI: 000055556312f630 RDI: 0000000000000003 [ 3.395994][ T1] RBP: 00007fff22f23d60 R08: 0000000000000000 R09: 0000000000000000 [ 3.395995][ T1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f2ebc8ce0a0 [ 3.395996][ T1] R13: 00007f2ebc7cc3e0 R14: 000055556312f630 R15: 00007fff22f23e78 [ 3.396002][ T1] [ 3.398480][ T73] systemd-tmpfile (73) used greatest stack depth: 24992 bytes left [ 3.398907][ T1] virtme-ng-init: basic initialization done [ 3.440953][ T77] virtme-ng-init (77) used greatest stack depth: 24784 bytes left [ 3.454408][ T80] ip (80) used greatest stack depth: 24384 bytes left [ 3.471869][ T76] virtme-ng-init: Starting systemd-udevd version 259.8-1.fc44 [ 3.472233][ T76] virtme-ng-init: triggering udev coldplug [ 5.611354][ T76] virtme-ng-init: waiting for udev to settle [ 5.611368][ T76] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 5.611370][ T76] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 76, name: virtme-ng-init [ 5.611371][ T76] preempt_count: 1, expected: 0 [ 5.611372][ T76] RCU nest depth: 0, expected: 0 [ 5.611373][ T76] locks held by virtme-ng-init/76: 4, last CPU#3: [ 5.611375][ T76] #0: ffffffffa9b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 5.611387][ T76] #1: ffffffffa9b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 5.611391][ T76] #2: ffffffffa9a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 5.611395][ T76] #3: ffffffffa9a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 5.611399][ T76] irq event stamp: 3096 [ 5.611400][ T76] hardirqs last enabled at (3095): [] __down_trylock_console_sem+0x86/0xa0 [ 5.611403][ T76] hardirqs last disabled at (3096): [] console_emit_next_record+0x3d4/0x4c0 [ 5.611405][ T76] softirqs last enabled at (2566): [] fpu_clone+0xd9/0x410 [ 5.611408][ T76] softirqs last disabled at (2564): [] fpu_clone+0x82/0x410 [ 5.611411][ T76] Preemption disabled at: [ 5.611411][ T76] [] vprintk_emit+0x31b/0x3e0 [ 5.611417][ T76] CPU: 3 UID: 0 PID: 76 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 5.611420][ T76] Tainted: [W]=WARN [ 5.611421][ T76] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 5.611422][ T76] Call Trace: [ 5.611423][ T76] [ 5.611425][ T76] dump_stack_lvl+0x6f/0xa0 [ 5.611430][ T76] ? vprintk_emit+0x31b/0x3e0 [ 5.611432][ T76] __might_resched.cold+0x1fe/0x2c1 [ 5.611436][ T76] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 5.611440][ T76] ? __kmalloc_noprof+0xdb/0x760 [ 5.611444][ T76] __kmalloc_noprof+0x443/0x760 [ 5.611446][ T76] ? alloc_buf.isra.0+0x4b/0x260 [ 5.611454][ T76] ? do_raw_spin_unlock+0x59/0x250 [ 5.611457][ T76] alloc_buf.isra.0+0x4b/0x260 [ 5.611461][ T76] put_chars+0x1e1/0x2f0 [ 5.611463][ T76] ? __send_to_port+0x420/0x420 [ 5.611466][ T76] ? validate_chain+0x38b/0xc20 [ 5.611471][ T76] hvc_console_print+0x292/0x780 [ 5.611479][ T76] ? hvc_write+0x3a0/0x3a0 [ 5.611482][ T76] ? rcu_is_watching+0x16/0xd0 [ 5.611484][ T76] ? lock_acquire+0x13c/0x160 [ 5.611488][ T76] console_emit_next_record+0x22f/0x4c0 [ 5.611492][ T76] ? devkmsg_read+0x4b0/0x4b0 [ 5.611494][ T76] ? console_flush_one_record+0x106/0x710 [ 5.611497][ T76] ? rcu_is_watching+0x16/0xd0 [ 5.611499][ T76] ? lock_acquire+0x13c/0x160 [ 5.611503][ T76] console_flush_one_record+0x46f/0x710 [ 5.611507][ T76] ? console_emit_next_record+0x4c0/0x4c0 [ 5.611509][ T76] ? __lock_acquire+0x518/0xc20 [ 5.611514][ T76] console_unlock+0xee/0x1f0 [ 5.611517][ T76] ? console_flush_one_record+0x710/0x710 [ 5.611519][ T76] ? rcu_is_watching+0x16/0xd0 [ 5.611520][ T76] ? lock_acquire+0xe0/0x160 [ 5.611524][ T76] ? __down_trylock_console_sem+0x5e/0xa0 [ 5.611526][ T76] ? vprintk_emit+0x320/0x3e0 [ 5.611528][ T76] vprintk_emit+0x37c/0x3e0 [ 5.611531][ T76] ? wake_up_klogd_work_func+0x90/0x90 [ 5.611534][ T76] ? _copy_from_iter+0x1bb/0x1810 [ 5.611539][ T76] devkmsg_emit.constprop.0+0xbc/0xf1 [ 5.611543][ T76] ? vprintk_emit.cold+0x107/0x107 [ 5.611545][ T76] ? simple_strntoull+0x10f/0x140 [ 5.611549][ T76] ? date_str+0x1e0/0x1e0 [ 5.611551][ T76] ? devkmsg_write+0xd1/0x2c0 [ 5.611555][ T76] devkmsg_write.cold+0x5a/0x8b [ 5.611558][ T76] ? vprintk_default+0x20/0x20 [ 5.611562][ T76] ? vprintk_default+0x20/0x20 [ 5.611564][ T76] new_sync_write+0x33e/0x760 [ 5.611567][ T76] ? kasan_quarantine_put+0x62/0x2b0 [ 5.611571][ T76] ? new_sync_read+0x750/0x750 [ 5.611572][ T76] ? lock_acquire.part.0+0xd4/0x280 [ 5.611576][ T76] ? __lock_release.isra.0+0x69/0x1a0 [ 5.611580][ T76] ? __fget_files+0x1e3/0x460 [ 5.611584][ T76] vfs_write+0x655/0x970 [ 5.611588][ T76] ksys_write+0x116/0x250 [ 5.611591][ T76] ? __ia32_sys_read+0xc0/0xc0 [ 5.611593][ T76] ? rcu_is_watching+0x16/0xd0 [ 5.611596][ T76] do_syscall_64+0xff/0x530 [ 5.611599][ T76] ? exc_page_fault+0xee/0x100 [ 5.611602][ T76] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 5.611604][ T76] RIP: 0033:0x7f2ebc843ed2 [ 5.611608][ T76] 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.611609][ T76] RSP: 002b:00007f2ebc78ac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 5.611612][ T76] RAX: ffffffffffffffda RBX: 000000000000002e RCX: 00007f2ebc843ed2 [ 5.611613][ T76] RDX: 000000000000002e RSI: 00007f2eb80012c0 RDI: 0000000000000003 [ 5.611614][ T76] RBP: 00007f2ebc78ac90 R08: 0000000000000000 R09: 0000000000000000 [ 5.611615][ T76] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2ebc8ce0a0 [ 5.611616][ T76] R13: 00007f2ebc7cc3e0 R14: 00007f2eb80012c0 R15: 00007f2ebc78ada8 [ 5.611622][ T76] [ 6.229605][ T76] virtme-ng-init: udev is done [ 6.233179][ T1] virtme-ng-init: initialization done