virtme: waiting for virtiofsd to start virtme: use 'microvm' QEMU architecture [ 1.152779][ T1] rtc_cmos PNP0B00:00: registered as rtc0 [ 1.152799][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 1.152801][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0 [ 1.152802][ T1] preempt_count: 1, expected: 0 [ 1.152803][ T1] RCU nest depth: 0, expected: 0 [ 1.152804][ T1] locks held by swapper/0/1: 5, last CPU#1: [ 1.152806][ T1] #0: ff11000002ac0938 (&dev->mutex){....}-{4:4}, at: __driver_attach+0x1ad/0x540 [ 1.152817][ T1] #1: ffffffff9bb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 1.152823][ T1] #2: ffffffff9bb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 1.152827][ T1] #3: ffffffff9ba9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 1.152831][ T1] #4: ffffffff9ba9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 1.152835][ T1] irq event stamp: 317732 [ 1.152836][ T1] hardirqs last enabled at (317731): [] __down_trylock_console_sem+0x86/0xa0 [ 1.152839][ T1] hardirqs last disabled at (317732): [] console_emit_next_record+0x3d4/0x4c0 [ 1.152841][ T1] softirqs last enabled at (317034): [] handle_softirqs+0x67c/0x900 [ 1.152844][ T1] softirqs last disabled at (317029): [] __irq_exit_rcu+0x145/0x1c0 [ 1.152846][ T1] Preemption disabled at: [ 1.152847][ T1] [] vprintk_emit+0x31b/0x3e0 [ 1.152852][ T1] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-virtme #1 PREEMPT(full) [ 1.152854][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.152857][ T1] Call Trace: [ 1.152858][ T1] [ 1.152862][ T1] dump_stack_lvl+0x6f/0xa0 [ 1.152868][ T1] ? vprintk_emit+0x31b/0x3e0 [ 1.152869][ T1] __might_resched.cold+0x1fe/0x2c1 [ 1.152874][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 1.152878][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 1.152882][ T1] __kmalloc_noprof+0x443/0x760 [ 1.152884][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 1.152890][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 1.152892][ T1] alloc_buf.isra.0+0x4b/0x260 [ 1.152896][ T1] put_chars+0x1e1/0x2f0 [ 1.152898][ T1] ? __send_to_port+0x420/0x420 [ 1.152901][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.152905][ T1] ? validate_chain+0x38b/0xc20 [ 1.152909][ T1] hvc_console_print+0x292/0x780 [ 1.152913][ T1] ? __lock_acquire+0x518/0xc20 [ 1.152914][ T1] ? __lock_acquire+0x518/0xc20 [ 1.152919][ T1] ? hvc_write+0x3a0/0x3a0 [ 1.152923][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.152925][ T1] ? lock_acquire+0x13c/0x160 [ 1.152930][ T1] console_emit_next_record+0x22f/0x4c0 [ 1.152936][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 1.152939][ T1] ? console_flush_one_record+0x106/0x710 [ 1.152944][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.152946][ T1] ? lock_acquire+0x13c/0x160 [ 1.152950][ T1] console_flush_one_record+0x46f/0x710 [ 1.152954][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 1.152956][ T1] ? __lock_acquire+0x518/0xc20 [ 1.152961][ T1] console_unlock+0xee/0x1f0 [ 1.152964][ T1] ? console_flush_one_record+0x710/0x710 [ 1.152966][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.152967][ T1] ? lock_acquire+0xe0/0x160 [ 1.152971][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 1.152973][ T1] ? vprintk_emit+0x320/0x3e0 [ 1.152976][ T1] vprintk_emit+0x37c/0x3e0 [ 1.152979][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 1.152980][ T1] ? find_held_lock+0x2b/0x80 [ 1.152982][ T1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 1.152985][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.152994][ T1] dev_vprintk_emit+0x27f/0x2c0 [ 1.153000][ T1] ? device_rename.cold+0xa/0xa [ 1.153001][ T1] ? __lock_acquire+0x518/0xc20 [ 1.153006][ T1] ? lock_acquire.part.0+0xd4/0x280 [ 1.153008][ T1] ? find_held_lock+0x2b/0x80 [ 1.153011][ T1] dev_printk_emit+0xb9/0xee [ 1.153014][ T1] ? dev_vprintk_emit+0x2c0/0x2c0 [ 1.153017][ T1] ? _raw_write_unlock+0x2d/0x50 [ 1.153021][ T1] ? proc_register+0x368/0x8b0 [ 1.153027][ T1] _dev_info+0xe2/0x116 [ 1.153029][ T1] ? _dev_notice+0x120/0x120 [ 1.153034][ T1] ? rtc_proc_add_device+0x106/0x120 [ 1.153037][ T1] ? rtc_proc_show+0x400/0x400 [ 1.153041][ T1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 1.153047][ T1] ? devm_rtc_unregister_device+0xd0/0xd0 [ 1.153050][ T1] ? _raw_spin_unlock_irqrestore+0x36/0x80 [ 1.153054][ T1] ? __setup_irq+0xec4/0x1ee0 [ 1.153060][ T1] ? request_threaded_irq+0x1dd/0x330 [ 1.153064][ T1] cmos_do_probe+0x73b/0x98a [ 1.153066][ T1] ? cmos_platform_shutdown+0x370/0x370 [ 1.153069][ T1] ? cmos_irq_disable.cold+0x3a/0x3a [ 1.153071][ T1] ? acpi_dev_pm_attach+0x1f3/0x250 [ 1.153076][ T1] ? cmos_read_alarm_callback+0x340/0x340 [ 1.153078][ T1] ? mc146818_set_time+0x500/0x500 [ 1.153082][ T1] ? irq_get_irq_data+0xe/0x20 [ 1.153084][ T1] ? platform_get_irq_affinity+0x21f/0x450 [ 1.153089][ T1] platform_probe+0xfe/0x1f0 [ 1.153092][ T1] call_driver_probe+0x61/0x1c0 [ 1.153095][ T1] really_probe+0x199/0x760 [ 1.153098][ T1] ? __device_attach_driver+0x280/0x280 [ 1.153100][ T1] __driver_probe_device+0x24f/0x440 [ 1.153103][ T1] ? __device_attach_driver+0x280/0x280 [ 1.153104][ T1] ? __device_attach_driver+0x280/0x280 [ 1.153106][ T1] driver_probe_device+0x4a/0xf0 [ 1.153108][ T1] __driver_attach+0x1b8/0x540 [ 1.153110][ T1] ? do_raw_spin_lock+0x131/0x280 [ 1.153113][ T1] bus_for_each_dev+0x130/0x1e0 [ 1.153116][ T1] ? bus_remove_file+0x50/0x50 [ 1.153117][ T1] ? __lock_release.isra.0+0x69/0x1a0 [ 1.153120][ T1] ? rtc_dev_init+0x40/0x40 [ 1.153126][ T1] ? rtc_dev_init+0x40/0x40 [ 1.153128][ T1] bus_add_driver+0x2c8/0x530 [ 1.153131][ T1] driver_register+0x1a3/0x390 [ 1.153134][ T1] __platform_driver_probe+0x13f/0x270 [ 1.153137][ T1] cmos_init+0x31/0x40 [ 1.153139][ T1] do_one_initcall+0x124/0x4f0 [ 1.153142][ T1] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 1.153144][ T1] ? parameq+0x110/0x110 [ 1.153149][ T1] ? kernel_init_freeable+0x3f1/0x630 [ 1.153153][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.153156][ T1] kernel_init_freeable+0x596/0x630 [ 1.153159][ T1] ? rest_init+0x280/0x280 [ 1.153163][ T1] kernel_init+0x21/0x150 [ 1.153165][ T1] ? rest_init+0x280/0x280 [ 1.153167][ T1] ret_from_fork+0x474/0x6b0 [ 1.153171][ T1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 1.153174][ T1] ? __switch_to+0x5a3/0xe00 [ 1.153178][ T1] ? rest_init+0x280/0x280 [ 1.153180][ T1] ret_from_fork_asm+0x11/0x20 [ 1.153188][ T1] [ 1.186304][ T1] rtc_cmos PNP0B00:00: setting system clock to 2026-08-28T01:25:00 UTC (1787880300) [ 1.187350][ T1] rtc_cmos PNP0B00:00: alarms up to one day, 242 bytes nvram [ 1.190382][ T1] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev [ 1.199566][ T1] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 1.203420][ T1] IPv4 over IPsec tunneling driver [ 1.206406][ T1] NET: Registered PF_INET6 protocol family [ 1.212056][ T1] Segment Routing with IPv6 [ 1.212241][ T1] RPL Segment Routing with IPv6 [ 1.212876][ T1] In-situ OAM (IOAM) with IPv6 [ 1.216085][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.222513][ T1] NET: Registered PF_PACKET protocol family [ 1.223033][ T1] 8021q: 802.1Q VLAN Support v1.8 [ 1.223438][ T1] sctp: Hash tables configured (bind 32/56) [ 1.224086][ T1] 9pnet: Installing 9P2000 support [ 1.224444][ T1] Key type dns_resolver registered [ 1.225116][ T1] NET: Registered PF_VSOCK protocol family [ 1.229450][ T1] IPI shorthand broadcast: enabled [ 1.333354][ T1] sched_clock: Marking stable (1298001897, 34635286)->(1412360946, -79723763) [ 1.336484][ T1] registered taskstats version 1 [ 1.338633][ T1] Loading compiled-in X.509 certificates [ 1.449923][ T1] Demotion targets for Node 0: null [ 1.450226][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 11806) [ 1.450522][ T1] page_owner is disabled [ 1.451215][ T1] PM: Magic number: 6:594:408 [ 1.451658][ T1] netconsole: network logging started [ 1.453776][ T1] ALSA device list: [ 1.454395][ T1] No soundcards found. [ 1.455640][ T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 1.458236][ T1] VFS: Mounted root (virtiofs filesystem) readonly on device 0:25. [ 1.459143][ T1] devtmpfs: mounted [ 1.459430][ T1] VFS: Pivoted into new rootfs [ 1.488169][ T1] Freeing unused kernel image (initmem) memory: 2624K [ 1.488390][ T1] Write protecting the kernel read-only data: 65536k [ 1.489131][ T1] Freeing unused kernel image (text/rodata gap) memory: 104K [ 1.489482][ T1] Freeing unused kernel image (rodata/data gap) memory: 312K [ 1.491682][ T1] Run /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init as init process [ 1.491977][ T1] with arguments: [ 1.492116][ T1] /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init [ 1.492347][ T1] with environment: [ 1.492467][ T1] HOME=/ [ 1.492591][ T1] TERM=dumb [ 1.492716][ T1] virtme_hostname=vmksft-net-dbg,debug-threads=on [ 1.492914][ T1] nr_open=2147483584 [ 1.493038][ T1] virtme_link_mods=/srv/vmksft/testing/wt-2/.virtme_mods/lib/modules/0.0.0 [ 1.493304][ T1] virtme_rw_overlay0=/etc [ 1.493460][ T1] virtme_rw_overlay1=/lib [ 1.493622][ T1] virtme_rw_overlay2=/home [ 1.493787][ T1] virtme_rw_overlay3=/opt [ 1.493941][ T1] virtme_rw_overlay4=/srv [ 1.494125][ T1] virtme_rw_overlay5=/usr [ 1.494277][ T1] virtme_rw_overlay6=/var [ 1.494426][ T1] virtme_rw_overlay7=/tmp [ 1.494580][ T1] virtme_console=ttyS0 [ 1.494734][ T1] virtme_chdir=srv/vmksft/testing/wt-2 [ 1.511732][ T1] virtme-ng-init: mount devtmpfs -> /dev: EBUSY: Device or resource busy [ 1.513059][ T1] virtme-ng-init: Setting hostname to vmksft-net-dbg,debug-threads=on... [ 1.517268][ T72] kwatchdog (72) used greatest stack depth: 28680 bytes left [ 1.525407][ T1] overlayfs: failed to set xattr on upper [ 1.525699][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.525950][ T1] overlayfs: ...falling back to uuid=null. [ 1.528380][ T1] overlayfs: failed to set xattr on upper [ 1.528585][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.528839][ T1] overlayfs: ...falling back to uuid=null. [ 1.530896][ T1] overlayfs: failed to set xattr on upper [ 1.531116][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.531352][ T1] overlayfs: ...falling back to uuid=null. [ 1.533473][ T1] overlayfs: failed to set xattr on upper [ 1.533683][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.533917][ T1] overlayfs: ...falling back to uuid=null. [ 1.536608][ T1] overlayfs: failed to set xattr on upper [ 1.536813][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.537066][ T1] overlayfs: ...falling back to uuid=null. [ 1.538855][ T1] overlayfs: failed to set xattr on upper [ 1.539060][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.539306][ T1] overlayfs: ...falling back to uuid=null. [ 1.541615][ T1] overlayfs: failed to set xattr on upper [ 1.541825][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.542076][ T1] overlayfs: ...falling back to uuid=null. [ 1.544551][ T1] overlayfs: failed to set xattr on upper [ 1.544758][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.545000][ T1] overlayfs: ...falling back to uuid=null. [ 1.556261][ T1] virtme-ng-init: running systemd-tmpfiles [ 3.505120][ T1] virtme-ng-init: Failed to read '/usr/lib/tmpfiles.d/audit.conf': Permission denied [ 3.505120][ T1] Failed to create directory or subvolume "/var/spool/at/spool": Permission denied [ 3.505120][ T1] Failed to create file /var/spool/at/.SEQ: Permission denied [ 3.505120][ T1] Failed to opendir() '/proc/self/fd/6': Permission denied [ 3.505136][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 3.505138][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: virtme-ng-init [ 3.505140][ T1] preempt_count: 1, expected: 0 [ 3.505140][ T1] RCU nest depth: 0, expected: 0 [ 3.505141][ T1] locks held by virtme-ng-init/1: 4, last CPU#2: [ 3.505143][ T1] #0: ffffffff9bb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 3.505155][ T1] #1: ffffffff9bb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 3.505160][ T1] #2: ffffffff9ba9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 3.505164][ T1] #3: ffffffff9ba9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 3.505168][ T1] irq event stamp: 592544 [ 3.505169][ T1] hardirqs last enabled at (592543): [] __down_trylock_console_sem+0x86/0xa0 [ 3.505172][ T1] hardirqs last disabled at (592544): [] console_emit_next_record+0x3d4/0x4c0 [ 3.505174][ T1] softirqs last enabled at (591800): [] fpu_clone+0xd9/0x410 [ 3.505178][ T1] softirqs last disabled at (591798): [] fpu_clone+0x82/0x410 [ 3.505181][ T1] Preemption disabled at: [ 3.505181][ T1] [] vprintk_emit+0x31b/0x3e0 [ 3.505187][ T1] CPU: 2 UID: 0 PID: 1 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 3.505191][ T1] Tainted: [W]=WARN [ 3.505192][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3.505194][ T1] Call Trace: [ 3.505196][ T1] [ 3.505198][ T1] dump_stack_lvl+0x6f/0xa0 [ 3.505203][ T1] ? vprintk_emit+0x31b/0x3e0 [ 3.505205][ T1] __might_resched.cold+0x1fe/0x2c1 [ 3.505210][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 3.505214][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 3.505218][ T1] __kmalloc_noprof+0x443/0x760 [ 3.505220][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 3.505227][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 3.505229][ T1] alloc_buf.isra.0+0x4b/0x260 [ 3.505233][ T1] put_chars+0x1e1/0x2f0 [ 3.505236][ T1] ? __send_to_port+0x420/0x420 [ 3.505238][ T1] ? validate_chain+0x38b/0xc20 [ 3.505243][ T1] hvc_console_print+0x292/0x780 [ 3.505251][ T1] ? hvc_write+0x3a0/0x3a0 [ 3.505254][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.505257][ T1] ? lock_acquire+0x13c/0x160 [ 3.505260][ T1] console_emit_next_record+0x22f/0x4c0 [ 3.505264][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 3.505266][ T1] ? console_flush_one_record+0x106/0x710 [ 3.505269][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.505271][ T1] ? lock_acquire+0x13c/0x160 [ 3.505275][ T1] console_flush_one_record+0x46f/0x710 [ 3.505279][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 3.505281][ T1] ? __lock_acquire+0x518/0xc20 [ 3.505286][ T1] console_unlock+0xee/0x1f0 [ 3.505289][ T1] ? console_flush_one_record+0x710/0x710 [ 3.505290][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.505292][ T1] ? lock_acquire+0xe0/0x160 [ 3.505296][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 3.505298][ T1] ? vprintk_emit+0x320/0x3e0 [ 3.505300][ T1] vprintk_emit+0x37c/0x3e0 [ 3.505303][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 3.505305][ T1] ? _copy_from_iter+0x1bb/0x1810 [ 3.505311][ T1] devkmsg_emit.constprop.0+0xbc/0xf1 [ 3.505315][ T1] ? vprintk_emit.cold+0x107/0x107 [ 3.505316][ T1] ? simple_strntoull+0x10f/0x140 [ 3.505320][ T1] ? date_str+0x1e0/0x1e0 [ 3.505323][ T1] ? devkmsg_write+0xd1/0x2c0 [ 3.505326][ T1] devkmsg_write.cold+0x5a/0x8b [ 3.505329][ T1] ? vprintk_default+0x20/0x20 [ 3.505333][ T1] ? vprintk_default+0x20/0x20 [ 3.505334][ T1] new_sync_write+0x33e/0x760 [ 3.505338][ T1] ? kasan_quarantine_put+0x13e/0x2b0 [ 3.505342][ T1] ? new_sync_read+0x750/0x750 [ 3.505343][ T1] ? kmem_cache_free+0xf8/0x550 [ 3.505347][ T1] ? do_sys_openat2+0xff/0x170 [ 3.505350][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.505353][ T1] vfs_write+0x655/0x970 [ 3.505357][ T1] ksys_write+0x116/0x250 [ 3.505359][ T1] ? __ia32_sys_read+0xc0/0xc0 [ 3.505362][ T1] ? rcu_is_watching+0x16/0xd0 [ 3.505365][ T1] do_syscall_64+0xff/0x530 [ 3.505368][ T1] ? exc_page_fault+0xee/0x100 [ 3.505371][ T1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 3.505373][ T1] RIP: 0033:0x7f841b74dbee [ 3.505377][ 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.505379][ T1] RSP: 002b:00007fff37b5a260 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 3.505382][ T1] RAX: ffffffffffffffda RBX: 000000000000011c RCX: 00007f841b74dbee [ 3.505383][ T1] RDX: 000000000000011c RSI: 000055557da5e630 RDI: 0000000000000003 [ 3.505384][ T1] RBP: 00007fff37b5a270 R08: 0000000000000000 R09: 0000000000000000 [ 3.505385][ T1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f841b7d90a0 [ 3.505385][ T1] R13: 00007f841b6d73e0 R14: 000055557da5e630 R15: 00007fff37b5a388 [ 3.505392][ T1] [ 3.507714][ T73] systemd-tmpfile (73) used greatest stack depth: 25360 bytes left [ 3.509007][ T1] virtme-ng-init: basic initialization done [ 3.555333][ T76] virtme-ng-init (76) used greatest stack depth: 25312 bytes left [ 3.580439][ T79] ip (79) used greatest stack depth: 24864 bytes left [ 3.603267][ T75] virtme-ng-init: Starting systemd-udevd version 259.8-1.fc44 [ 3.603657][ T75] virtme-ng-init: triggering udev coldplug [ 5.902965][ T75] virtme-ng-init: waiting for udev to settle [ 5.902979][ T75] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 5.902982][ T75] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 75, name: virtme-ng-init [ 5.902983][ T75] preempt_count: 1, expected: 0 [ 5.902984][ T75] RCU nest depth: 0, expected: 0 [ 5.902985][ T75] locks held by virtme-ng-init/75: 4, last CPU#0: [ 5.902987][ T75] #0: ffffffff9bb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 5.902999][ T75] #1: ffffffff9bb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 5.903012][ T75] #2: ffffffff9ba9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 5.903016][ T75] #3: ffffffff9ba9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 5.903020][ T75] irq event stamp: 3152 [ 5.903020][ T75] hardirqs last enabled at (3151): [] __down_trylock_console_sem+0x86/0xa0 [ 5.903023][ T75] hardirqs last disabled at (3152): [] console_emit_next_record+0x3d4/0x4c0 [ 5.903025][ T75] softirqs last enabled at (2624): [] fpu_clone+0xd9/0x410 [ 5.903029][ T75] softirqs last disabled at (2622): [] fpu_clone+0x82/0x410 [ 5.903032][ T75] Preemption disabled at: [ 5.903032][ T75] [] vprintk_emit+0x31b/0x3e0 [ 5.903037][ T75] CPU: 0 UID: 0 PID: 75 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 5.903041][ T75] Tainted: [W]=WARN [ 5.903042][ T75] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 5.903043][ T75] Call Trace: [ 5.903045][ T75] [ 5.903046][ T75] dump_stack_lvl+0x6f/0xa0 [ 5.903052][ T75] ? vprintk_emit+0x31b/0x3e0 [ 5.903053][ T75] __might_resched.cold+0x1fe/0x2c1 [ 5.903058][ T75] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 5.903062][ T75] ? __kmalloc_noprof+0xdb/0x760 [ 5.903066][ T75] __kmalloc_noprof+0x443/0x760 [ 5.903068][ T75] ? alloc_buf.isra.0+0x4b/0x260 [ 5.903075][ T75] ? do_raw_spin_unlock+0x59/0x250 [ 5.903077][ T75] alloc_buf.isra.0+0x4b/0x260 [ 5.903081][ T75] put_chars+0x1e1/0x2f0 [ 5.903083][ T75] ? __send_to_port+0x420/0x420 [ 5.903086][ T75] ? validate_chain+0x38b/0xc20 [ 5.903091][ T75] hvc_console_print+0x292/0x780 [ 5.903098][ T75] ? hvc_write+0x3a0/0x3a0 [ 5.903101][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.903104][ T75] ? lock_acquire+0x13c/0x160 [ 5.903108][ T75] console_emit_next_record+0x22f/0x4c0 [ 5.903111][ T75] ? devkmsg_read+0x4b0/0x4b0 [ 5.903113][ T75] ? console_flush_one_record+0x106/0x710 [ 5.903116][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.903118][ T75] ? lock_acquire+0x13c/0x160 [ 5.903122][ T75] console_flush_one_record+0x46f/0x710 [ 5.903126][ T75] ? console_emit_next_record+0x4c0/0x4c0 [ 5.903128][ T75] ? __lock_acquire+0x518/0xc20 [ 5.903133][ T75] console_unlock+0xee/0x1f0 [ 5.903136][ T75] ? console_flush_one_record+0x710/0x710 [ 5.903138][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.903139][ T75] ? lock_acquire+0xe0/0x160 [ 5.903143][ T75] ? __down_trylock_console_sem+0x5e/0xa0 [ 5.903145][ T75] ? vprintk_emit+0x320/0x3e0 [ 5.903147][ T75] vprintk_emit+0x37c/0x3e0 [ 5.903150][ T75] ? wake_up_klogd_work_func+0x90/0x90 [ 5.903153][ T75] ? _copy_from_iter+0x1bb/0x1810 [ 5.903158][ T75] devkmsg_emit.constprop.0+0xbc/0xf1 [ 5.903162][ T75] ? vprintk_emit.cold+0x107/0x107 [ 5.903163][ T75] ? simple_strntoull+0x10f/0x140 [ 5.903167][ T75] ? date_str+0x1e0/0x1e0 [ 5.903170][ T75] ? devkmsg_write+0xd1/0x2c0 [ 5.903173][ T75] devkmsg_write.cold+0x5a/0x8b [ 5.903176][ T75] ? vprintk_default+0x20/0x20 [ 5.903180][ T75] ? vprintk_default+0x20/0x20 [ 5.903181][ T75] new_sync_write+0x33e/0x760 [ 5.903185][ T75] ? kasan_quarantine_put+0x62/0x2b0 [ 5.903189][ T75] ? new_sync_read+0x750/0x750 [ 5.903190][ T75] ? lock_acquire.part.0+0xd4/0x280 [ 5.903194][ T75] ? __lock_release.isra.0+0x69/0x1a0 [ 5.903198][ T75] ? __fget_files+0x1e3/0x460 [ 5.903202][ T75] vfs_write+0x655/0x970 [ 5.903206][ T75] ksys_write+0x116/0x250 [ 5.903209][ T75] ? __ia32_sys_read+0xc0/0xc0 [ 5.903211][ T75] ? rcu_is_watching+0x16/0xd0 [ 5.903214][ T75] do_syscall_64+0xff/0x530 [ 5.903217][ T75] ? exc_page_fault+0xee/0x100 [ 5.903220][ T75] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 5.903222][ T75] RIP: 0033:0x7f841b74eed2 [ 5.903227][ 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 [ 5.903228][ T75] RSP: 002b:00007f841b695c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 5.903231][ T75] RAX: ffffffffffffffda RBX: 000000000000002e RCX: 00007f841b74eed2 [ 5.903232][ T75] RDX: 000000000000002e RSI: 00007f84140012c0 RDI: 0000000000000003 [ 5.903233][ T75] RBP: 00007f841b695c90 R08: 0000000000000000 R09: 0000000000000000 [ 5.903234][ T75] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f841b7d90a0 [ 5.903235][ T75] R13: 00007f841b6d73e0 R14: 00007f84140012c0 R15: 00007f841b695da8 [ 5.903242][ T75] [ 6.543168][ T75] virtme-ng-init: udev is done [ 6.546026][ T1] virtme-ng-init: initialization done