virtme: waiting for virtiofsd to start virtme: use 'microvm' QEMU architecture [ 1.083771][ T1] rtc_cmos PNP0B00:00: registered as rtc0 [ 1.083789][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 1.083791][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0 [ 1.083793][ T1] preempt_count: 1, expected: 0 [ 1.083794][ T1] RCU nest depth: 0, expected: 0 [ 1.083795][ T1] locks held by swapper/0/1: 5, last CPU#3: [ 1.083796][ T1] #0: ff11000002ba8938 (&dev->mutex){....}-{4:4}, at: __driver_attach+0x1ad/0x540 [ 1.083807][ T1] #1: ffffffffbbf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 1.083812][ T1] #2: ffffffffbbf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 1.083817][ T1] #3: ffffffffbbe9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 1.083820][ T1] #4: ffffffffbbe9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 1.083824][ T1] irq event stamp: 321834 [ 1.083825][ T1] hardirqs last enabled at (321833): [] __down_trylock_console_sem+0x86/0xa0 [ 1.083828][ T1] hardirqs last disabled at (321834): [] console_emit_next_record+0x3d4/0x4c0 [ 1.083830][ T1] softirqs last enabled at (320502): [] handle_softirqs+0x67c/0x900 [ 1.083834][ T1] softirqs last disabled at (320495): [] __irq_exit_rcu+0x145/0x1c0 [ 1.083836][ T1] Preemption disabled at: [ 1.083837][ T1] [] vprintk_emit+0x31b/0x3e0 [ 1.083841][ T1] CPU: 3 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-virtme #1 PREEMPT(full) [ 1.083844][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.083846][ T1] Call Trace: [ 1.083847][ T1] [ 1.083851][ T1] dump_stack_lvl+0x6f/0xa0 [ 1.083857][ T1] ? vprintk_emit+0x31b/0x3e0 [ 1.083858][ T1] __might_resched.cold+0x1fe/0x2c1 [ 1.083862][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 1.083866][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 1.083870][ T1] __kmalloc_noprof+0x443/0x760 [ 1.083872][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 1.083878][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 1.083881][ T1] alloc_buf.isra.0+0x4b/0x260 [ 1.083884][ T1] put_chars+0x1e1/0x2f0 [ 1.083886][ T1] ? __send_to_port+0x420/0x420 [ 1.083889][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.083892][ T1] ? validate_chain+0x38b/0xc20 [ 1.083897][ T1] hvc_console_print+0x292/0x780 [ 1.083901][ T1] ? __lock_acquire+0x518/0xc20 [ 1.083903][ T1] ? __lock_acquire+0x518/0xc20 [ 1.083907][ T1] ? hvc_write+0x3a0/0x3a0 [ 1.083911][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.083913][ T1] ? lock_acquire+0x13c/0x160 [ 1.083917][ T1] console_emit_next_record+0x22f/0x4c0 [ 1.083920][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 1.083922][ T1] ? console_flush_one_record+0x106/0x710 [ 1.083926][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.083927][ T1] ? lock_acquire+0x13c/0x160 [ 1.083931][ T1] console_flush_one_record+0x46f/0x710 [ 1.083935][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 1.083937][ T1] ? __lock_acquire+0x518/0xc20 [ 1.083942][ T1] console_unlock+0xee/0x1f0 [ 1.083945][ T1] ? console_flush_one_record+0x710/0x710 [ 1.083947][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.083949][ T1] ? lock_acquire+0xe0/0x160 [ 1.083952][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 1.083954][ T1] ? vprintk_emit+0x320/0x3e0 [ 1.083957][ T1] vprintk_emit+0x37c/0x3e0 [ 1.083960][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 1.083962][ T1] ? find_held_lock+0x2b/0x80 [ 1.083964][ T1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 1.083966][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.083969][ T1] dev_vprintk_emit+0x27f/0x2c0 [ 1.083974][ T1] ? device_rename.cold+0xa/0xa [ 1.083975][ T1] ? __lock_acquire+0x518/0xc20 [ 1.083980][ T1] ? lock_acquire.part.0+0xd4/0x280 [ 1.083982][ T1] ? find_held_lock+0x2b/0x80 [ 1.083985][ T1] dev_printk_emit+0xb9/0xee [ 1.083988][ T1] ? dev_vprintk_emit+0x2c0/0x2c0 [ 1.083991][ T1] ? _raw_write_unlock+0x2d/0x50 [ 1.083995][ T1] ? proc_register+0x368/0x8b0 [ 1.084001][ T1] _dev_info+0xe2/0x116 [ 1.084003][ T1] ? _dev_notice+0x120/0x120 [ 1.084008][ T1] ? rtc_proc_add_device+0x106/0x120 [ 1.084011][ T1] ? rtc_proc_show+0x400/0x400 [ 1.084015][ T1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 1.084020][ T1] ? devm_rtc_unregister_device+0xd0/0xd0 [ 1.084025][ T1] ? __setup_irq+0xec4/0x1ee0 [ 1.084031][ T1] ? request_threaded_irq+0x1dd/0x330 [ 1.084035][ T1] cmos_do_probe+0x73b/0x98a [ 1.084038][ T1] ? cmos_platform_shutdown+0x370/0x370 [ 1.084040][ T1] ? cmos_irq_disable.cold+0x3a/0x3a [ 1.084042][ T1] ? acpi_dev_pm_attach+0x1f3/0x250 [ 1.084048][ T1] ? cmos_read_alarm_callback+0x340/0x340 [ 1.084049][ T1] ? mc146818_set_time+0x500/0x500 [ 1.084053][ T1] ? irq_get_irq_data+0xe/0x20 [ 1.084055][ T1] ? platform_get_irq_affinity+0x21f/0x450 [ 1.084060][ T1] platform_probe+0xfe/0x1f0 [ 1.084064][ T1] call_driver_probe+0x61/0x1c0 [ 1.084066][ T1] really_probe+0x199/0x760 [ 1.084069][ T1] ? __device_attach_driver+0x280/0x280 [ 1.084071][ T1] __driver_probe_device+0x24f/0x440 [ 1.084074][ T1] ? __device_attach_driver+0x280/0x280 [ 1.084075][ T1] ? __device_attach_driver+0x280/0x280 [ 1.084077][ T1] driver_probe_device+0x4a/0xf0 [ 1.084079][ T1] __driver_attach+0x1b8/0x540 [ 1.084081][ T1] ? do_raw_spin_lock+0x131/0x280 [ 1.084084][ T1] bus_for_each_dev+0x130/0x1e0 [ 1.084086][ T1] ? bus_remove_file+0x50/0x50 [ 1.084087][ T1] ? __lock_release.isra.0+0x69/0x1a0 [ 1.084091][ T1] ? rtc_dev_init+0x40/0x40 [ 1.084096][ T1] ? rtc_dev_init+0x40/0x40 [ 1.084098][ T1] bus_add_driver+0x2c8/0x530 [ 1.084101][ T1] driver_register+0x1a3/0x390 [ 1.084104][ T1] __platform_driver_probe+0x13f/0x270 [ 1.084107][ T1] cmos_init+0x31/0x40 [ 1.084109][ T1] do_one_initcall+0x124/0x4f0 [ 1.084112][ T1] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 1.084114][ T1] ? parameq+0x110/0x110 [ 1.084120][ T1] ? kernel_init_freeable+0x3f1/0x630 [ 1.084124][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.084127][ T1] kernel_init_freeable+0x596/0x630 [ 1.084130][ T1] ? rest_init+0x280/0x280 [ 1.084134][ T1] kernel_init+0x21/0x150 [ 1.084136][ T1] ? rest_init+0x280/0x280 [ 1.084137][ T1] ret_from_fork+0x474/0x6b0 [ 1.084141][ T1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 1.084145][ T1] ? __switch_to+0x5a3/0xe00 [ 1.084148][ T1] ? rest_init+0x280/0x280 [ 1.084151][ T1] ret_from_fork_asm+0x11/0x20 [ 1.084158][ T1] [ 1.113721][ T1] rtc_cmos PNP0B00:00: setting system clock to 2026-08-28T14:37:29 UTC (1787927849) [ 1.114687][ T1] rtc_cmos PNP0B00:00: alarms up to one day, 242 bytes nvram [ 1.117541][ T1] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev [ 1.124339][ T1] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 1.129786][ T1] IPv4 over IPsec tunneling driver [ 1.132811][ T1] NET: Registered PF_INET6 protocol family [ 1.138234][ T1] Segment Routing with IPv6 [ 1.138409][ T1] RPL Segment Routing with IPv6 [ 1.138794][ T1] In-situ OAM (IOAM) with IPv6 [ 1.142034][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.148252][ T1] NET: Registered PF_PACKET protocol family [ 1.148771][ T1] 8021q: 802.1Q VLAN Support v1.8 [ 1.149152][ T1] sctp: Hash tables configured (bind 32/56) [ 1.149788][ T1] 9pnet: Installing 9P2000 support [ 1.150112][ T1] Key type dns_resolver registered [ 1.150745][ T1] NET: Registered PF_VSOCK protocol family [ 1.154983][ T1] IPI shorthand broadcast: enabled [ 1.254591][ T1] sched_clock: Marking stable (1220002435, 33604105)->(1341278041, -87671501) [ 1.257347][ T1] registered taskstats version 1 [ 1.259446][ T1] Loading compiled-in X.509 certificates [ 1.369341][ T1] Demotion targets for Node 0: null [ 1.369680][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 11807) [ 1.369977][ T1] page_owner is disabled [ 1.370687][ T1] PM: Magic number: 6:184:638 [ 1.371111][ T1] netconsole: network logging started [ 1.373187][ T1] ALSA device list: [ 1.373328][ T1] No soundcards found. [ 1.375254][ T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 1.377788][ T1] VFS: Mounted root (virtiofs filesystem) readonly on device 0:25. [ 1.378520][ T1] devtmpfs: mounted [ 1.378781][ T1] VFS: Pivoted into new rootfs [ 1.409304][ T1] Freeing unused kernel image (initmem) memory: 2624K [ 1.409538][ T1] Write protecting the kernel read-only data: 65536k [ 1.410195][ T1] Freeing unused kernel image (text/rodata gap) memory: 100K [ 1.410560][ T1] Freeing unused kernel image (rodata/data gap) memory: 312K [ 1.411742][ T1] Run /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init as init process [ 1.412047][ T1] with arguments: [ 1.412165][ T1] /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init [ 1.412397][ T1] with environment: [ 1.412517][ T1] HOME=/ [ 1.412645][ T1] TERM=dumb [ 1.412762][ T1] virtme_hostname=vmksft-net-dbg,debug-threads=on [ 1.412946][ T1] nr_open=2147483584 [ 1.413093][ T1] virtme_link_mods=/srv/vmksft/testing/wt-2/.virtme_mods/lib/modules/0.0.0 [ 1.413365][ T1] virtme_rw_overlay0=/etc [ 1.413512][ T1] virtme_rw_overlay1=/lib [ 1.413673][ T1] virtme_rw_overlay2=/home [ 1.413823][ T1] virtme_rw_overlay3=/opt [ 1.413969][ T1] virtme_rw_overlay4=/srv [ 1.414122][ T1] virtme_rw_overlay5=/usr [ 1.414274][ T1] virtme_rw_overlay6=/var [ 1.414427][ T1] virtme_rw_overlay7=/tmp [ 1.414580][ T1] virtme_console=ttyS0 [ 1.414731][ T1] virtme_chdir=srv/vmksft/testing/wt-2 [ 1.429870][ T1] virtme-ng-init: mount devtmpfs -> /dev: EBUSY: Device or resource busy [ 1.431189][ T1] virtme-ng-init: Setting hostname to vmksft-net-dbg,debug-threads=on... [ 1.442502][ T1] overlayfs: failed to set xattr on upper [ 1.442781][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.443075][ T1] overlayfs: ...falling back to uuid=null. [ 1.445420][ T1] overlayfs: failed to set xattr on upper [ 1.445621][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.445860][ T1] overlayfs: ...falling back to uuid=null. [ 1.447802][ T1] overlayfs: failed to set xattr on upper [ 1.448004][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.448238][ T1] overlayfs: ...falling back to uuid=null. [ 1.450264][ T1] overlayfs: failed to set xattr on upper [ 1.450455][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.450692][ T1] overlayfs: ...falling back to uuid=null. [ 1.452582][ T1] overlayfs: failed to set xattr on upper [ 1.453200][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.453445][ T1] overlayfs: ...falling back to uuid=null. [ 1.455119][ T1] overlayfs: failed to set xattr on upper [ 1.455318][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.455554][ T1] overlayfs: ...falling back to uuid=null. [ 1.457918][ T1] overlayfs: failed to set xattr on upper [ 1.458116][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.458349][ T1] overlayfs: ...falling back to uuid=null. [ 1.460248][ T1] overlayfs: failed to set xattr on upper [ 1.460437][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.461265][ T1] overlayfs: ...falling back to uuid=null. [ 1.471837][ T1] virtme-ng-init: running systemd-tmpfiles [ 1.503115][ T73] kwatchdog (73) used greatest stack depth: 28672 bytes left [ 3.399565][ T1] virtme-ng-init: Failed to read '/usr/lib/tmpfiles.d/audit.conf': Permission denied [ 3.399565][ T1] Failed to create directory or subvolume "/var/spool/at/spool": Permission denied [ 3.399565][ T1] Failed to create file /var/spool/at/.SEQ: Permission denied [ 3.399565][ T1] Failed to opendir() '/proc/self/fd/6': Permission denied [ 3.399580][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 3.399582][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: virtme-ng-init [ 3.399583][ T1] preempt_count: 1, expected: 0 [ 3.399584][ T1] RCU nest depth: 0, expected: 0 [ 3.399585][ T1] locks held by virtme-ng-init/1: 4, last CPU#3: [ 3.399587][ T1] #0: ffffffffbbf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 3.399598][ T1] #1: ffffffffbbf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 3.399605][ T1] #2: ffffffffbbe9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 3.399608][ T1] #3: ffffffffbbe9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 3.399612][ T1] irq event stamp: 599158 [ 3.399613][ T1] hardirqs last enabled at (599157): [] __down_trylock_console_sem+0x86/0xa0 [ 3.399616][ T1] hardirqs last disabled at (599158): [] console_emit_next_record+0x3d4/0x4c0 [ 3.399618][ T1] softirqs last enabled at (598616): [] handle_softirqs+0x67c/0x900 [ 3.399622][ T1] softirqs last disabled at (598609): [] __irq_exit_rcu+0x145/0x1c0 [ 3.399624][ T1] Preemption disabled at: [ 3.399625][ T1] [] vprintk_emit+0x31b/0x3e0 [ 3.399630][ T1] CPU: 3 UID: 0 PID: 1 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 3.399633][ T1] Tainted: [W]=WARN [ 3.399634][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.399636][ T1] Call Trace: [ 3.399637][ T1] [ 3.399639][ T1] dump_stack_lvl+0x6f/0xa0 [ 3.399645][ T1] ? vprintk_emit+0x31b/0x3e0 [ 3.399647][ T1] __might_resched.cold+0x1fe/0x2c1 [ 3.399651][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 3.399655][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 3.399659][ T1] __kmalloc_noprof+0x443/0x760 [ 3.399661][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 3.399668][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 3.399671][ T1] alloc_buf.isra.0+0x4b/0x260 [ 3.399675][ T1] put_chars+0x1e1/0x2f0 [ 3.399677][ T1] ? __send_to_port+0x420/0x420 [ 3.399680][ T1] ? validate_chain+0x38b/0xc20 [ 3.399685][ T1] hvc_console_print+0x292/0x780 [ 3.399693][ T1] ? hvc_write+0x3a0/0x3a0 [ 3.399695][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.399698][ T1] ? lock_acquire+0x13c/0x160 [ 3.399702][ T1] console_emit_next_record+0x22f/0x4c0 [ 3.399706][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 3.399708][ T1] ? console_flush_one_record+0x106/0x710 [ 3.399711][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.399713][ T1] ? lock_acquire+0x13c/0x160 [ 3.399717][ T1] console_flush_one_record+0x46f/0x710 [ 3.399721][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 3.399723][ T1] ? __lock_acquire+0x518/0xc20 [ 3.399728][ T1] console_unlock+0xee/0x1f0 [ 3.399731][ T1] ? console_flush_one_record+0x710/0x710 [ 3.399733][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.399734][ T1] ? lock_acquire+0xe0/0x160 [ 3.399738][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 3.399740][ T1] ? vprintk_emit+0x320/0x3e0 [ 3.399742][ T1] vprintk_emit+0x37c/0x3e0 [ 3.399745][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 3.399748][ T1] ? _copy_from_iter+0x1bb/0x1810 [ 3.399753][ T1] devkmsg_emit.constprop.0+0xbc/0xf1 [ 3.399757][ T1] ? vprintk_emit.cold+0x107/0x107 [ 3.399759][ T1] ? simple_strntoull+0x10f/0x140 [ 3.399763][ T1] ? date_str+0x1e0/0x1e0 [ 3.399765][ T1] ? devkmsg_write+0xd1/0x2c0 [ 3.399769][ T1] devkmsg_write.cold+0x5a/0x8b [ 3.399771][ T1] ? vprintk_default+0x20/0x20 [ 3.399775][ T1] ? vprintk_default+0x20/0x20 [ 3.399777][ T1] new_sync_write+0x33e/0x760 [ 3.399780][ T1] ? kasan_quarantine_put+0x13e/0x2b0 [ 3.399784][ T1] ? new_sync_read+0x750/0x750 [ 3.399786][ T1] ? kmem_cache_free+0xf8/0x550 [ 3.399789][ T1] ? do_sys_openat2+0xff/0x170 [ 3.399793][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.399796][ T1] vfs_write+0x655/0x970 [ 3.399799][ T1] ksys_write+0x116/0x250 [ 3.399802][ T1] ? __ia32_sys_read+0xc0/0xc0 [ 3.399804][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.399807][ T1] do_syscall_64+0xff/0x530 [ 3.399810][ T1] ? exc_page_fault+0xee/0x100 [ 3.399813][ T1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 3.399815][ T1] RIP: 0033:0x7f7b0d388bee [ 3.399819][ 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.399821][ T1] RSP: 002b:00007ffdef2c91d0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 3.399823][ T1] RAX: ffffffffffffffda RBX: 000000000000011c RCX: 00007f7b0d388bee [ 3.399825][ T1] RDX: 000000000000011c RSI: 0000555562d3c630 RDI: 0000000000000003 [ 3.399825][ T1] RBP: 00007ffdef2c91e0 R08: 0000000000000000 R09: 0000000000000000 [ 3.399826][ T1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f7b0d4140a0 [ 3.399827][ T1] R13: 00007f7b0d3123e0 R14: 0000555562d3c630 R15: 00007ffdef2c92f8 [ 3.399833][ T1] [ 3.400631][ T72] systemd-tmpfile (72) used greatest stack depth: 24992 bytes left [ 3.400971][ T1] virtme-ng-init: basic initialization done [ 3.431986][ T75] virtme-ng-init (75) used greatest stack depth: 24976 bytes left [ 3.458274][ T78] ip (78) used greatest stack depth: 24784 bytes left [ 3.485549][ T74] virtme-ng-init: Starting systemd-udevd version 259.8-1.fc44 [ 3.485920][ T74] virtme-ng-init: triggering udev coldplug [ 5.615355][ T74] virtme-ng-init: waiting for udev to settle [ 5.615368][ T74] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 5.615370][ T74] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 74, name: virtme-ng-init [ 5.615372][ T74] preempt_count: 1, expected: 0 [ 5.615373][ T74] RCU nest depth: 0, expected: 0 [ 5.615374][ T74] locks held by virtme-ng-init/74: 4, last CPU#1: [ 5.615376][ T74] #0: ffffffffbbf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 5.615387][ T74] #1: ffffffffbbf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 5.615392][ T74] #2: ffffffffbbe9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 5.615396][ T74] #3: ffffffffbbe9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 5.615400][ T74] irq event stamp: 3170 [ 5.615401][ T74] hardirqs last enabled at (3169): [] __down_trylock_console_sem+0x86/0xa0 [ 5.615404][ T74] hardirqs last disabled at (3170): [] console_emit_next_record+0x3d4/0x4c0 [ 5.615406][ T74] softirqs last enabled at (2638): [] fpu_clone+0xd9/0x410 [ 5.615409][ T74] softirqs last disabled at (2636): [] fpu_clone+0x82/0x410 [ 5.615412][ T74] Preemption disabled at: [ 5.615412][ T74] [] vprintk_emit+0x31b/0x3e0 [ 5.615417][ T74] CPU: 1 UID: 0 PID: 74 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 5.615420][ T74] Tainted: [W]=WARN [ 5.615421][ T74] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 5.615422][ T74] Call Trace: [ 5.615424][ T74] [ 5.615425][ T74] dump_stack_lvl+0x6f/0xa0 [ 5.615431][ T74] ? vprintk_emit+0x31b/0x3e0 [ 5.615432][ T74] __might_resched.cold+0x1fe/0x2c1 [ 5.615436][ T74] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 5.615440][ T74] ? __kmalloc_noprof+0xdb/0x760 [ 5.615445][ T74] __kmalloc_noprof+0x443/0x760 [ 5.615446][ T74] ? alloc_buf.isra.0+0x4b/0x260 [ 5.615453][ T74] ? do_raw_spin_unlock+0x59/0x250 [ 5.615456][ T74] alloc_buf.isra.0+0x4b/0x260 [ 5.615459][ T74] put_chars+0x1e1/0x2f0 [ 5.615461][ T74] ? __send_to_port+0x420/0x420 [ 5.615464][ T74] ? validate_chain+0x38b/0xc20 [ 5.615469][ T74] hvc_console_print+0x292/0x780 [ 5.615476][ T74] ? hvc_write+0x3a0/0x3a0 [ 5.615479][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.615482][ T74] ? lock_acquire+0x13c/0x160 [ 5.615486][ T74] console_emit_next_record+0x22f/0x4c0 [ 5.615489][ T74] ? devkmsg_read+0x4b0/0x4b0 [ 5.615491][ T74] ? console_flush_one_record+0x106/0x710 [ 5.615494][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.615496][ T74] ? lock_acquire+0x13c/0x160 [ 5.615500][ T74] console_flush_one_record+0x46f/0x710 [ 5.615504][ T74] ? console_emit_next_record+0x4c0/0x4c0 [ 5.615506][ T74] ? __lock_acquire+0x518/0xc20 [ 5.615511][ T74] console_unlock+0xee/0x1f0 [ 5.615513][ T74] ? console_flush_one_record+0x710/0x710 [ 5.615515][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.615517][ T74] ? lock_acquire+0xe0/0x160 [ 5.615520][ T74] ? __down_trylock_console_sem+0x5e/0xa0 [ 5.615522][ T74] ? vprintk_emit+0x320/0x3e0 [ 5.615525][ T74] vprintk_emit+0x37c/0x3e0 [ 5.615528][ T74] ? wake_up_klogd_work_func+0x90/0x90 [ 5.615530][ T74] ? _copy_from_iter+0x1bb/0x1810 [ 5.615535][ T74] devkmsg_emit.constprop.0+0xbc/0xf1 [ 5.615539][ T74] ? vprintk_emit.cold+0x107/0x107 [ 5.615541][ T74] ? simple_strntoull+0x10f/0x140 [ 5.615545][ T74] ? date_str+0x1e0/0x1e0 [ 5.615547][ T74] ? devkmsg_write+0xd1/0x2c0 [ 5.615551][ T74] devkmsg_write.cold+0x5a/0x8b [ 5.615554][ T74] ? vprintk_default+0x20/0x20 [ 5.615557][ T74] ? vprintk_default+0x20/0x20 [ 5.615559][ T74] new_sync_write+0x33e/0x760 [ 5.615562][ T74] ? kasan_quarantine_put+0x62/0x2b0 [ 5.615566][ T74] ? new_sync_read+0x750/0x750 [ 5.615568][ T74] ? lock_acquire.part.0+0xd4/0x280 [ 5.615571][ T74] ? __lock_release.isra.0+0x69/0x1a0 [ 5.615576][ T74] ? __fget_files+0x1e3/0x460 [ 5.615579][ T74] vfs_write+0x655/0x970 [ 5.615583][ T74] ksys_write+0x116/0x250 [ 5.615586][ T74] ? __ia32_sys_read+0xc0/0xc0 [ 5.615588][ T74] ? rcu_is_watching+0x16/0xd0 [ 5.615591][ T74] do_syscall_64+0xff/0x530 [ 5.615594][ T74] ? exc_page_fault+0xee/0x100 [ 5.615597][ T74] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 5.615599][ T74] RIP: 0033:0x7f7b0d389ed2 [ 5.615604][ 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.615606][ T74] RSP: 002b:00007f7b0d2d0c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 5.615609][ T74] RAX: ffffffffffffffda RBX: 000000000000002e RCX: 00007f7b0d389ed2 [ 5.615610][ T74] RDX: 000000000000002e RSI: 00007f7b080012c0 RDI: 0000000000000003 [ 5.615611][ T74] RBP: 00007f7b0d2d0c90 R08: 0000000000000000 R09: 0000000000000000 [ 5.615611][ T74] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7b0d4140a0 [ 5.615612][ T74] R13: 00007f7b0d3123e0 R14: 00007f7b080012c0 R15: 00007f7b0d2d0da8 [ 5.615619][ T74] [ 5.758012][ T96] nfsrahead (96) used greatest stack depth: 24720 bytes left [ 6.007783][ T115] sed (115) used greatest stack depth: 24544 bytes left [ 6.121018][ T74] virtme-ng-init: udev is done [ 6.123933][ T1] virtme-ng-init: initialization done