virtme: waiting for virtiofsd to start virtme: use 'microvm' QEMU architecture [ 1.215027][ T1] rtc_cmos PNP0B00:00: registered as rtc0 [ 1.215052][ T1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 1.215054][ T1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1, name: swapper/0 [ 1.215055][ T1] preempt_count: 1, expected: 0 [ 1.215056][ T1] RCU nest depth: 0, expected: 0 [ 1.215057][ T1] locks held by swapper/0/1: 5, last CPU#0: [ 1.215059][ T1] #0: ff11000002b18938 (&dev->mutex){....}-{4:4}, at: __driver_attach+0x1ad/0x540 [ 1.215070][ T1] #1: ffffffffb697ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 1.215075][ T1] #2: ffffffffb697de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 1.215079][ T1] #3: ffffffffb689d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 1.215083][ T1] #4: ffffffffb689d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 1.215087][ T1] irq event stamp: 322428 [ 1.215088][ T1] hardirqs last enabled at (322427): [] __down_trylock_console_sem+0x86/0xa0 [ 1.215090][ T1] hardirqs last disabled at (322428): [] console_emit_next_record+0x3d4/0x4c0 [ 1.215093][ T1] softirqs last enabled at (321470): [] handle_softirqs+0x67c/0x900 [ 1.215096][ T1] softirqs last disabled at (320977): [] __irq_exit_rcu+0x145/0x1c0 [ 1.215098][ T1] Preemption disabled at: [ 1.215098][ T1] [] vprintk_emit+0x31b/0x3e0 [ 1.215103][ T1] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 7.2.0-virtme #1 PREEMPT(full) [ 1.215106][ T1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.215108][ T1] Call Trace: [ 1.215110][ T1] [ 1.215113][ T1] dump_stack_lvl+0x6f/0xa0 [ 1.215119][ T1] ? vprintk_emit+0x31b/0x3e0 [ 1.215120][ T1] __might_resched.cold+0x1fe/0x2c1 [ 1.215127][ T1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 1.215129][ T1] ? __kmalloc_noprof+0xdb/0x760 [ 1.215129][ T1] __kmalloc_noprof+0x443/0x760 [ 1.215129][ T1] ? alloc_buf.isra.0+0x4b/0x260 [ 1.215129][ T1] ? do_raw_spin_unlock+0x59/0x250 [ 1.215129][ T1] alloc_buf.isra.0+0x4b/0x260 [ 1.215129][ T1] put_chars+0x1e1/0x2f0 [ 1.215129][ T1] ? __send_to_port+0x420/0x420 [ 1.215129][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.215129][ T1] ? validate_chain+0x38b/0xc20 [ 1.215129][ T1] hvc_console_print+0x292/0x780 [ 1.215129][ T1] ? __lock_acquire+0x518/0xc20 [ 1.215129][ T1] ? __lock_acquire+0x518/0xc20 [ 1.215129][ T1] ? hvc_write+0x3a0/0x3a0 [ 1.215129][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.215129][ T1] ? lock_acquire+0x13c/0x160 [ 1.215129][ T1] console_emit_next_record+0x22f/0x4c0 [ 1.215129][ T1] ? devkmsg_read+0x4b0/0x4b0 [ 1.215129][ T1] ? console_flush_one_record+0x106/0x710 [ 1.215129][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.215129][ T1] ? lock_acquire+0x13c/0x160 [ 1.215129][ T1] console_flush_one_record+0x46f/0x710 [ 1.215129][ T1] ? console_emit_next_record+0x4c0/0x4c0 [ 1.215129][ T1] ? __lock_acquire+0x518/0xc20 [ 1.215129][ T1] console_unlock+0xee/0x1f0 [ 1.215129][ T1] ? console_flush_one_record+0x710/0x710 [ 1.215129][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.215129][ T1] ? lock_acquire+0xe0/0x160 [ 1.215129][ T1] ? __down_trylock_console_sem+0x5e/0xa0 [ 1.215129][ T1] ? vprintk_emit+0x320/0x3e0 [ 1.215129][ T1] vprintk_emit+0x37c/0x3e0 [ 1.215129][ T1] ? wake_up_klogd_work_func+0x90/0x90 [ 1.215129][ T1] ? find_held_lock+0x2b/0x80 [ 1.215129][ T1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 1.215129][ T1] ? rcu_read_lock_any_held+0x3c/0x90 [ 1.215129][ T1] dev_vprintk_emit+0x27f/0x2c0 [ 1.215129][ T1] ? device_rename.cold+0xa/0xa [ 1.215129][ T1] ? __lock_acquire+0x518/0xc20 [ 1.215129][ T1] ? lock_acquire.part.0+0xd4/0x280 [ 1.215129][ T1] ? find_held_lock+0x2b/0x80 [ 1.215129][ T1] dev_printk_emit+0xb9/0xee [ 1.215129][ T1] ? dev_vprintk_emit+0x2c0/0x2c0 [ 1.215129][ T1] ? _raw_write_unlock+0x2d/0x50 [ 1.215129][ T1] ? proc_register+0x368/0x8b0 [ 1.215129][ T1] _dev_info+0xe2/0x116 [ 1.215129][ T1] ? _dev_notice+0x120/0x120 [ 1.215129][ T1] ? rtc_proc_add_device+0x106/0x120 [ 1.215129][ T1] ? rtc_proc_show+0x400/0x400 [ 1.215129][ T1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 1.215129][ T1] ? devm_rtc_unregister_device+0xd0/0xd0 [ 1.215129][ T1] ? __setup_irq+0xec4/0x1ee0 [ 1.215129][ T1] ? request_threaded_irq+0x1dd/0x330 [ 1.215129][ T1] cmos_do_probe+0x73b/0x98a [ 1.215129][ T1] ? cmos_platform_shutdown+0x370/0x370 [ 1.215129][ T1] ? cmos_irq_disable.cold+0x3a/0x3a [ 1.215129][ T1] ? acpi_dev_pm_attach+0x1f3/0x250 [ 1.215129][ T1] ? cmos_read_alarm_callback+0x340/0x340 [ 1.215129][ T1] ? mc146818_set_time+0x500/0x500 [ 1.215129][ T1] ? irq_get_irq_data+0xe/0x20 [ 1.215129][ T1] ? platform_get_irq_affinity+0x21f/0x450 [ 1.215129][ T1] platform_probe+0xfe/0x1f0 [ 1.215129][ T1] call_driver_probe+0x61/0x1c0 [ 1.215129][ T1] really_probe+0x199/0x760 [ 1.215129][ T1] ? __device_attach_driver+0x280/0x280 [ 1.215129][ T1] __driver_probe_device+0x24f/0x440 [ 1.215129][ T1] ? __device_attach_driver+0x280/0x280 [ 1.215129][ T1] ? __device_attach_driver+0x280/0x280 [ 1.215129][ T1] driver_probe_device+0x4a/0xf0 [ 1.215129][ T1] __driver_attach+0x1b8/0x540 [ 1.215129][ T1] ? do_raw_spin_lock+0x131/0x280 [ 1.215129][ T1] bus_for_each_dev+0x130/0x1e0 [ 1.215129][ T1] ? bus_remove_file+0x50/0x50 [ 1.215129][ T1] ? __lock_release.isra.0+0x69/0x1a0 [ 1.215129][ T1] ? rtc_dev_init+0x40/0x40 [ 1.215129][ T1] ? rtc_dev_init+0x40/0x40 [ 1.215129][ T1] bus_add_driver+0x2c8/0x530 [ 1.215129][ T1] driver_register+0x1a3/0x390 [ 1.215129][ T1] __platform_driver_probe+0x13f/0x270 [ 1.215129][ T1] cmos_init+0x31/0x40 [ 1.215129][ T1] do_one_initcall+0x124/0x4f0 [ 1.215129][ T1] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 1.215129][ T1] ? parameq+0x110/0x110 [ 1.215129][ T1] ? kernel_init_freeable+0x3f1/0x630 [ 1.215129][ T1] ? rcu_is_watching+0x16/0xd0 [ 1.215129][ T1] kernel_init_freeable+0x596/0x630 [ 1.215129][ T1] ? rest_init+0x280/0x280 [ 1.215129][ T1] kernel_init+0x21/0x150 [ 1.215129][ T1] ? rest_init+0x280/0x280 [ 1.215129][ T1] ret_from_fork+0x474/0x6b0 [ 1.215129][ T1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 1.215129][ T1] ? __switch_to+0x5a3/0xe00 [ 1.215129][ T1] ? rest_init+0x280/0x280 [ 1.215129][ T1] ret_from_fork_asm+0x11/0x20 [ 1.215129][ T1] [ 1.248016][ T1] rtc_cmos PNP0B00:00: setting system clock to 2026-08-28T01:16:09 UTC (1787879769) [ 1.249099][ T1] rtc_cmos PNP0B00:00: alarms up to one day, 242 bytes nvram [ 1.252440][ T1] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev [ 1.261707][ T1] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 1.264609][ T1] IPv4 over IPsec tunneling driver [ 1.267999][ T1] NET: Registered PF_INET6 protocol family [ 1.273936][ T1] Segment Routing with IPv6 [ 1.274136][ T1] RPL Segment Routing with IPv6 [ 1.274529][ T1] In-situ OAM (IOAM) with IPv6 [ 1.277681][ T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.284176][ T1] NET: Registered PF_PACKET protocol family [ 1.284600][ T1] 8021q: 802.1Q VLAN Support v1.8 [ 1.285003][ T1] sctp: Hash tables configured (bind 32/56) [ 1.285656][ T1] 9pnet: Installing 9P2000 support [ 1.286031][ T1] Key type dns_resolver registered [ 1.286762][ T1] NET: Registered PF_VSOCK protocol family [ 1.291950][ T1] IPI shorthand broadcast: enabled [ 1.396636][ T1] sched_clock: Marking stable (1363001744, 33126025)->(1495749210, -99621441) [ 1.400503][ T1] registered taskstats version 1 [ 1.402660][ T1] Loading compiled-in X.509 certificates [ 1.504918][ T69] kwatchdog (69) used greatest stack depth: 29688 bytes left [ 1.514215][ T1] Demotion targets for Node 0: null [ 1.514536][ T1] kmemleak: Kernel memory leak detector initialized (mem pool available: 11806) [ 1.514831][ T1] page_owner is disabled [ 1.515975][ T1] PM: Magic number: 6:938:256 [ 1.516444][ T1] netconsole: network logging started [ 1.518632][ T1] ALSA device list: [ 1.519282][ T1] No soundcards found. [ 1.520525][ T1] md: Skipping autodetection of RAID arrays. (raid=autodetect will force) [ 1.523261][ T1] VFS: Mounted root (virtiofs filesystem) readonly on device 0:25. [ 1.524242][ T1] devtmpfs: mounted [ 1.524544][ T1] VFS: Pivoted into new rootfs [ 1.554692][ T1] Freeing unused kernel image (initmem) memory: 2624K [ 1.554988][ T1] Write protecting the kernel read-only data: 65536k [ 1.555458][ T1] Freeing unused kernel image (text/rodata gap) memory: 104K [ 1.555817][ T1] Freeing unused kernel image (rodata/data gap) memory: 312K [ 1.556140][ T1] Run /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init as init process [ 1.556415][ T1] with arguments: [ 1.556541][ T1] /usr/lib/python3.14/site-packages/virtme/guest/bin/virtme-ng-init [ 1.556786][ T1] with environment: [ 1.556910][ T1] HOME=/ [ 1.557033][ T1] TERM=dumb [ 1.557162][ T1] virtme_hostname=vmksft-net-dbg,debug-threads=on [ 1.557365][ T1] nr_open=2147483584 [ 1.557480][ T1] virtme_link_mods=/srv/vmksft/testing/wt-2/.virtme_mods/lib/modules/0.0.0 [ 1.557752][ T1] virtme_rw_overlay0=/etc [ 1.557908][ T1] virtme_rw_overlay1=/lib [ 1.558066][ T1] virtme_rw_overlay2=/home [ 1.558235][ T1] virtme_rw_overlay3=/opt [ 1.558394][ T1] virtme_rw_overlay4=/srv [ 1.558552][ T1] virtme_rw_overlay5=/usr [ 1.558717][ T1] virtme_rw_overlay6=/var [ 1.558869][ T1] virtme_rw_overlay7=/tmp [ 1.559025][ T1] virtme_console=ttyS0 [ 1.559210][ T1] virtme_chdir=srv/vmksft/testing/wt-2 [ 1.580514][ T1] virtme-ng-init: mount devtmpfs -> /dev: EBUSY: Device or resource busy [ 1.582918][ T1] virtme-ng-init: Setting hostname to vmksft-net-dbg,debug-threads=on... [ 1.596764][ T1] overlayfs: failed to set xattr on upper [ 1.597201][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.597620][ T1] overlayfs: ...falling back to uuid=null. [ 1.601801][ T1] overlayfs: failed to set xattr on upper [ 1.602215][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.602621][ T1] overlayfs: ...falling back to uuid=null. [ 1.606445][ T1] overlayfs: failed to set xattr on upper [ 1.606761][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.607160][ T1] overlayfs: ...falling back to uuid=null. [ 1.610928][ T1] overlayfs: failed to set xattr on upper [ 1.611262][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.611655][ T1] overlayfs: ...falling back to uuid=null. [ 1.615572][ T1] overlayfs: failed to set xattr on upper [ 1.615895][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.616280][ T1] overlayfs: ...falling back to uuid=null. [ 1.620067][ T1] overlayfs: failed to set xattr on upper [ 1.620399][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.620786][ T1] overlayfs: ...falling back to uuid=null. [ 1.624632][ T1] overlayfs: failed to set xattr on upper [ 1.624947][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.625369][ T1] overlayfs: ...falling back to uuid=null. [ 1.629432][ T1] overlayfs: failed to set xattr on upper [ 1.629764][ T1] overlayfs: ...falling back to redirect_dir=nofollow. [ 1.630699][ T1] overlayfs: ...falling back to uuid=null. [ 1.648224][ T1] virtme-ng-init: running systemd-tmpfiles [ 4.115240][ T71] systemd-tmpfile (71) used greatest stack depth: 24992 bytes left [ 4.115258][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 4.115260][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: systemd-tmpfile [ 4.115262][ T71] preempt_count: 2, expected: 0 [ 4.115263][ T71] RCU nest depth: 0, expected: 0 [ 4.115264][ T71] locks held by systemd-tmpfile/71: 5, last CPU#1: [ 4.115266][ T71] #0: ffffffffb68167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 4.115278][ T71] #1: ffffffffb697ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 4.115282][ T71] #2: ffffffffb697de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 4.115286][ T71] #3: ffffffffb689d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 4.115290][ T71] #4: ffffffffb689d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 4.115294][ T71] irq event stamp: 2288508 [ 4.115295][ T71] hardirqs last enabled at (2288507): [] __down_trylock_console_sem+0x86/0xa0 [ 4.115298][ T71] hardirqs last disabled at (2288508): [] console_emit_next_record+0x3d4/0x4c0 [ 4.115300][ T71] softirqs last enabled at (2288060): [] handle_softirqs+0x67c/0x900 [ 4.115302][ T71] softirqs last disabled at (2287381): [] __irq_exit_rcu+0x145/0x1c0 [ 4.115304][ T71] Preemption disabled at: [ 4.115305][ T71] [<0000000000000000>] 0x0 [ 4.115312][ T71] CPU: 1 UID: 0 PID: 71 Comm: systemd-tmpfile Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 4.115316][ T71] Tainted: [W]=WARN [ 4.115317][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.115318][ T71] Call Trace: [ 4.115320][ T71] [ 4.115322][ T71] dump_stack_lvl+0x6f/0xa0 [ 4.115328][ T71] __might_resched.cold+0x1fe/0x2c1 [ 4.115333][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 4.115337][ T71] ? __kmalloc_noprof+0xdb/0x760 [ 4.115349][ T71] __kmalloc_noprof+0x443/0x760 [ 4.115351][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 4.115358][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 4.115361][ T71] alloc_buf.isra.0+0x4b/0x260 [ 4.115365][ T71] put_chars+0x1e1/0x2f0 [ 4.115367][ T71] ? __send_to_port+0x420/0x420 [ 4.115368][ T71] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 4.115372][ T71] ? validate_chain+0x38b/0xc20 [ 4.115378][ T71] hvc_console_print+0x292/0x780 [ 4.115385][ T71] ? hvc_write+0x3a0/0x3a0 [ 4.115388][ T71] ? rcu_is_watching+0x16/0xd0 [ 4.115390][ T71] ? lock_acquire+0x13c/0x160 [ 4.115394][ T71] console_emit_next_record+0x22f/0x4c0 [ 4.115398][ T71] ? devkmsg_read+0x4b0/0x4b0 [ 4.115400][ T71] ? console_flush_one_record+0x106/0x710 [ 4.115403][ T71] ? rcu_is_watching+0x16/0xd0 [ 4.115405][ T71] ? lock_acquire+0x13c/0x160 [ 4.115408][ T71] console_flush_one_record+0x46f/0x710 [ 4.115413][ T71] ? console_emit_next_record+0x4c0/0x4c0 [ 4.115414][ T71] ? __lock_acquire+0x518/0xc20 [ 4.115420][ T71] console_unlock+0xee/0x1f0 [ 4.115423][ T71] ? console_flush_one_record+0x710/0x710 [ 4.115424][ T71] ? rcu_is_watching+0x16/0xd0 [ 4.115426][ T71] ? lock_acquire+0xe0/0x160 [ 4.115430][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 4.115431][ T71] ? vprintk_emit+0x320/0x3e0 [ 4.115434][ T71] vprintk_emit+0x37c/0x3e0 [ 4.115437][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 4.115440][ T71] ? __lock_acquire+0x518/0xc20 [ 4.115444][ T71] _printk+0xc7/0x100 [ 4.115447][ T71] ? snapshot_read.cold+0x21/0x21 [ 4.115450][ T71] ? do_raw_spin_lock+0x131/0x280 [ 4.115452][ T71] ? __rwlock_init+0x150/0x150 [ 4.115456][ T71] ? do_raw_spin_lock+0x131/0x280 [ 4.115459][ T71] do_exit.cold+0x82/0x9c [ 4.115463][ T71] ? exit_notify+0x890/0x890 [ 4.115464][ T71] ? __lock_release.isra.0+0x69/0x1a0 [ 4.115467][ T71] ? rcu_is_watching+0x16/0xd0 [ 4.115470][ T71] do_group_exit+0xb8/0x370 [ 4.115473][ T71] __x64_sys_exit_group+0x3c/0x50 [ 4.115475][ T71] x64_sys_call+0x1567/0x1570 [ 4.115478][ T71] do_syscall_64+0xff/0x530 [ 4.115482][ T71] ? exc_page_fault+0xee/0x100 [ 4.115484][ T71] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 4.115487][ T71] RIP: 0033:0x7ff519a6a1b8 [ 4.115489][ T71] Code: Unable to access opcode bytes at 0x7ff519a6a18e. [ 4.115491][ T71] RSP: 002b:00007ffe284d2a28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 4.115493][ T71] RAX: ffffffffffffffda RBX: 00007ff519b9af88 RCX: 00007ff519a6a1b8 [ 4.115494][ T71] RDX: 00007ff5192c84c8 RSI: fffffffffffffe90 RDI: 0000000000000049 [ 4.115495][ T71] RBP: 00007ffe284d2a80 R08: 0000000000000000 R09: 0000000000001000 [ 4.115496][ T71] R10: 00007ffe284d2840 R11: 0000000000000246 R12: 0000000000000001 [ 4.115497][ T71] R13: 0000000000000049 R14: 00007ff519b99680 R15: 00007ff519b9afa0 [ 4.115504][ T71] [ 4.115650][ T1] virtme-ng-init: Failed to read '/usr/lib/tmpfiles.d/audit.conf': Permission denied [ 4.115650][ T1] Failed to create directory or subvolume "/var/spool/at/spool": Permission denied [ 4.115650][ T1] Failed to create file /var/spool/at/.SEQ: Permission denied [ 4.115650][ T1] Failed to opendir() '/proc/self/fd/6': Permission denied [ 4.154391][ T1] virtme-ng-init: basic initialization done [ 4.173609][ T73] virtme-ng-init (73) used greatest stack depth: 24080 bytes left [ 4.205095][ T78] ip (78) used greatest stack depth: 23440 bytes left [ 4.219231][ T72] virtme-ng-init: Starting systemd-udevd version 259.8-1.fc44 [ 4.219646][ T72] virtme-ng-init: triggering udev coldplug [ 6.000262][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 6.000334][ C0] [ 6.000336][ C0] ======================================================== [ 6.000345][ C0] WARNING: possible irq lock inversion dependency detected [ 6.000347][ C0] 7.2.0-virtme #1 Tainted: G W [ 6.000349][ C0] -------------------------------------------------------- [ 6.000349][ C0] swapper/0/0 just changed the state of lock: [ 6.000351][ C0] ffffffffb689d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 6.000364][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 6.000365][ C0] (fs_reclaim){+.+.}-{0:0} [ 6.000367][ C0] [ 6.000367][ C0] [ 6.000367][ C0] and interrupts could create inverse lock ordering between them. [ 6.000367][ C0] [ 6.000368][ C0] [ 6.000368][ C0] other info that might help us debug this: [ 6.000368][ C0] Possible interrupt unsafe locking scenario: [ 6.000368][ C0] [ 6.000369][ C0] CPU0 CPU1 [ 6.000369][ C0] ---- ---- [ 6.000370][ C0] lock(fs_reclaim); [ 6.000370][ C0] local_irq_disable(); [ 6.000371][ C0] lock(console_owner); [ 6.000372][ C0] lock(fs_reclaim); [ 6.000373][ C0] [ 6.000373][ C0] lock(console_owner); [ 6.000374][ C0] [ 6.000374][ C0] *** DEADLOCK *** [ 6.000374][ C0] [ 6.000374][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 6.000375][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 6.000381][ C0] #1: ffffffffb69e29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 6.000385][ C0] #2: ffffffffb697ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 6.000388][ C0] #3: ffffffffb697de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 6.000391][ C0] [ 6.000391][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 6.000396][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 6.000398][ C0] HARDIRQ-ON-W at: [ 6.000399][ C0] __lock_acquire+0x388/0xc20 [ 6.000403][ C0] lock_acquire.part.0+0xd4/0x280 [ 6.000404][ C0] fs_reclaim_acquire+0xd5/0x120 [ 6.000408][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 6.000409][ C0] kthread_create_worker_on_node+0xea/0x210 [ 6.000412][ C0] workqueue_init+0x2a/0x680 [ 6.000416][ C0] kernel_init_freeable+0x2fe/0x630 [ 6.000419][ C0] kernel_init+0x21/0x150 [ 6.000423][ C0] ret_from_fork+0x474/0x6b0 [ 6.000426][ C0] ret_from_fork_asm+0x11/0x20 [ 6.000429][ C0] SOFTIRQ-ON-W at: [ 6.000430][ C0] __lock_acquire+0x388/0xc20 [ 6.000431][ C0] lock_acquire.part.0+0xd4/0x280 [ 6.000433][ C0] fs_reclaim_acquire+0xd5/0x120 [ 6.000434][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 6.000435][ C0] kthread_create_worker_on_node+0xea/0x210 [ 6.000437][ C0] workqueue_init+0x2a/0x680 [ 6.000438][ C0] kernel_init_freeable+0x2fe/0x630 [ 6.000440][ C0] kernel_init+0x21/0x150 [ 6.000441][ C0] ret_from_fork+0x474/0x6b0 [ 6.000442][ C0] ret_from_fork_asm+0x11/0x20 [ 6.000443][ C0] INITIAL USE at: [ 6.000444][ C0] __lock_acquire+0x388/0xc20 [ 6.000446][ C0] lock_acquire.part.0+0xd4/0x280 [ 6.000447][ C0] fs_reclaim_acquire+0xd5/0x120 [ 6.000448][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 6.000449][ C0] kthread_create_worker_on_node+0xea/0x210 [ 6.000451][ C0] workqueue_init+0x2a/0x680 [ 6.000452][ C0] kernel_init_freeable+0x2fe/0x630 [ 6.000454][ C0] kernel_init+0x21/0x150 [ 6.000455][ C0] ret_from_fork+0x474/0x6b0 [ 6.000456][ C0] ret_from_fork_asm+0x11/0x20 [ 6.000457][ C0] } [ 6.000458][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 6.000462][ C0] ... acquired at: [ 6.000463][ C0] __lock_acquire+0x518/0xc20 [ 6.000464][ C0] lock_acquire.part.0+0xd4/0x280 [ 6.000466][ C0] fs_reclaim_acquire+0xd5/0x120 [ 6.000467][ C0] __kmalloc_noprof+0xd3/0x760 [ 6.000468][ C0] alloc_buf.isra.0+0x4b/0x260 [ 6.000472][ C0] put_chars+0x1e1/0x2f0 [ 6.000472][ C0] hvc_console_print+0x292/0x780 [ 6.000475][ C0] console_emit_next_record+0x22f/0x4c0 [ 6.000477][ C0] console_flush_one_record+0x46f/0x710 [ 6.000479][ C0] console_unlock+0xee/0x1f0 [ 6.000480][ C0] vprintk_emit+0x37c/0x3e0 [ 6.000481][ C0] dev_vprintk_emit+0x27f/0x2c0 [ 6.000484][ C0] dev_printk_emit+0xb9/0xee [ 6.000486][ C0] _dev_info+0xe2/0x116 [ 6.000487][ C0] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 6.000490][ C0] cmos_do_probe+0x73b/0x98a [ 6.000491][ C0] platform_probe+0xfe/0x1f0 [ 6.000494][ C0] call_driver_probe+0x61/0x1c0 [ 6.000496][ C0] really_probe+0x199/0x760 [ 6.000497][ C0] __driver_probe_device+0x24f/0x440 [ 6.000498][ C0] driver_probe_device+0x4a/0xf0 [ 6.000500][ C0] __driver_attach+0x1b8/0x540 [ 6.000501][ C0] bus_for_each_dev+0x130/0x1e0 [ 6.000502][ C0] bus_add_driver+0x2c8/0x530 [ 6.000503][ C0] driver_register+0x1a3/0x390 [ 6.000505][ C0] __platform_driver_probe+0x13f/0x270 [ 6.000506][ C0] cmos_init+0x31/0x40 [ 6.000509][ C0] do_one_initcall+0x124/0x4f0 [ 6.000510][ C0] kernel_init_freeable+0x596/0x630 [ 6.000512][ C0] kernel_init+0x21/0x150 [ 6.000513][ C0] ret_from_fork+0x474/0x6b0 [ 6.000514][ C0] ret_from_fork_asm+0x11/0x20 [ 6.000515][ C0] [ 6.000516][ C0] -> (console_owner){..-.}-{0:0} { [ 6.000517][ C0] IN-SOFTIRQ-W at: [ 6.000518][ C0] __lock_acquire+0x388/0xc20 [ 6.000520][ C0] lock_acquire.part.0+0xd4/0x280 [ 6.000521][ C0] console_lock_spinning_enable+0x5c/0x60 [ 6.000523][ C0] console_emit_next_record+0x1d1/0x4c0 [ 6.000524][ C0] console_flush_one_record+0x46f/0x710 [ 6.000526][ C0] console_unlock+0xee/0x1f0 [ 6.000527][ C0] vprintk_emit+0x37c/0x3e0 [ 6.000528][ C0] _printk+0xc7/0x100 [ 6.000531][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 6.000533][ C0] call_timer_fn+0x160/0x4d0 [ 6.000535][ C0] __run_timers+0x68f/0xaa0 [ 6.000537][ C0] run_timer_softirq+0xf0/0x160 [ 6.000538][ C0] handle_softirqs+0x1d3/0x900 [ 6.000541][ C0] __irq_exit_rcu+0x145/0x1c0 [ 6.000542][ C0] irq_exit_rcu+0xe/0x30 [ 6.000543][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 6.000545][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 6.000547][ C0] pv_native_safe_halt+0xf/0x10 [ 6.000548][ C0] default_idle+0x9/0x10 [ 6.000549][ C0] default_idle_call+0x6e/0xb0 [ 6.000551][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 6.000553][ C0] do_idle+0xd8/0x190 [ 6.000554][ C0] cpu_startup_entry+0x53/0x70 [ 6.000556][ C0] rest_init+0x279/0x280 [ 6.000557][ C0] start_kernel+0x3b9/0x3c0 [ 6.000558][ C0] x86_64_start_reservations+0x24/0x30 [ 6.000560][ C0] x86_64_start_kernel+0x12b/0x130 [ 6.000562][ C0] common_startup_64+0x13e/0x148 [ 6.000564][ C0] INITIAL USE at: [ 6.000565][ C0] } [ 6.000565][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 6.000568][ C0] ... acquired at: [ 6.000568][ C0] mark_lock+0x1d7/0xa00 [ 6.000570][ C0] mark_usage+0x42/0x170 [ 6.000571][ C0] __lock_acquire+0x388/0xc20 [ 6.000572][ C0] lock_acquire.part.0+0xd4/0x280 [ 6.000574][ C0] console_lock_spinning_enable+0x5c/0x60 [ 6.000575][ C0] console_emit_next_record+0x1d1/0x4c0 [ 6.000577][ C0] console_flush_one_record+0x46f/0x710 [ 6.000578][ C0] console_unlock+0xee/0x1f0 [ 6.000580][ C0] vprintk_emit+0x37c/0x3e0 [ 6.000581][ C0] _printk+0xc7/0x100 [ 6.000582][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 6.000583][ C0] call_timer_fn+0x160/0x4d0 [ 6.000584][ C0] __run_timers+0x68f/0xaa0 [ 6.000586][ C0] run_timer_softirq+0xf0/0x160 [ 6.000587][ C0] handle_softirqs+0x1d3/0x900 [ 6.000588][ C0] __irq_exit_rcu+0x145/0x1c0 [ 6.000590][ C0] irq_exit_rcu+0xe/0x30 [ 6.000591][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 6.000592][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 6.000593][ C0] pv_native_safe_halt+0xf/0x10 [ 6.000594][ C0] default_idle+0x9/0x10 [ 6.000595][ C0] default_idle_call+0x6e/0xb0 [ 6.000597][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 6.000598][ C0] do_idle+0xd8/0x190 [ 6.000599][ C0] cpu_startup_entry+0x53/0x70 [ 6.000600][ C0] rest_init+0x279/0x280 [ 6.000602][ C0] start_kernel+0x3b9/0x3c0 [ 6.000603][ C0] x86_64_start_reservations+0x24/0x30 [ 6.000604][ C0] x86_64_start_kernel+0x12b/0x130 [ 6.000605][ C0] common_startup_64+0x13e/0x148 [ 6.000606][ C0] [ 6.000607][ C0] [ 6.000607][ C0] stack backtrace: [ 6.000610][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 6.000613][ C0] Tainted: [W]=WARN [ 6.000614][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 6.000616][ C0] Call Trace: [ 6.000617][ C0] [ 6.000618][ C0] dump_stack_lvl+0x6f/0xa0 [ 6.000623][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 6.000626][ C0] mark_lock_irq+0x989/0x9c0 [ 6.000627][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 6.000630][ C0] mark_lock+0x1d7/0xa00 [ 6.000632][ C0] mark_usage+0x42/0x170 [ 6.000634][ C0] __lock_acquire+0x388/0xc20 [ 6.000636][ C0] lock_acquire.part.0+0xd4/0x280 [ 6.000638][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 6.000640][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000642][ C0] ? lock_acquire+0x13c/0x160 [ 6.000644][ C0] console_lock_spinning_enable+0x5c/0x60 [ 6.000646][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 6.000647][ C0] console_emit_next_record+0x1d1/0x4c0 [ 6.000649][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 6.000651][ C0] ? console_flush_one_record+0x106/0x710 [ 6.000653][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000654][ C0] ? lock_acquire+0x13c/0x160 [ 6.000656][ C0] console_flush_one_record+0x46f/0x710 [ 6.000658][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 6.000660][ C0] ? __lock_acquire+0x518/0xc20 [ 6.000662][ C0] console_unlock+0xee/0x1f0 [ 6.000664][ C0] ? console_flush_one_record+0x710/0x710 [ 6.000666][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000667][ C0] ? lock_acquire+0xe0/0x160 [ 6.000669][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 6.000671][ C0] ? vprintk_emit+0x320/0x3e0 [ 6.000672][ C0] vprintk_emit+0x37c/0x3e0 [ 6.000674][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 6.000676][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 6.000677][ C0] _printk+0xc7/0x100 [ 6.000679][ C0] ? snapshot_read.cold+0x21/0x21 [ 6.000681][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 6.000683][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 6.000685][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 6.000686][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 6.000688][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 6.000690][ C0] call_timer_fn+0x160/0x4d0 [ 6.000692][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 6.000694][ C0] ? debug_object_active_state+0x430/0x430 [ 6.000696][ C0] ? find_held_lock+0x2b/0x80 [ 6.000698][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 6.000700][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000701][ C0] __run_timers+0x68f/0xaa0 [ 6.000703][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 6.000705][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 6.000707][ C0] ? __lock_acquire+0x518/0xc20 [ 6.000710][ C0] ? __rwlock_init+0x150/0x150 [ 6.000713][ C0] run_timer_softirq+0xf0/0x160 [ 6.000715][ C0] ? __run_timers+0xaa0/0xaa0 [ 6.000716][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 6.000719][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000720][ C0] handle_softirqs+0x1d3/0x900 [ 6.000722][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 6.000724][ C0] ? _local_bh_enable+0xc0/0xc0 [ 6.000726][ C0] __irq_exit_rcu+0x145/0x1c0 [ 6.000727][ C0] irq_exit_rcu+0xe/0x30 [ 6.000729][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 6.000730][ C0] [ 6.000731][ C0] [ 6.000731][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 6.000733][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 6.000735][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 6.000738][ C0] Code: 48 8b 3d 94 92 68 02 e8 1f 00 00 00 48 2b 05 58 e3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 16 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 6.000739][ C0] RSP: 0018:ffffffffb6607cf8 EFLAGS: 00000296 [ 6.000742][ C0] RAX: 00000000000206df RBX: ffffffffb6630600 RCX: ffffffffb2d06247 [ 6.000743][ C0] RDX: ffffffffb6630600 RSI: ffffffffb5f11042 RDI: ffffffffb58949e0 [ 6.000744][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 6.000745][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6cc0fa2 [ 6.000745][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 6.000747][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 6.000749][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 6.000751][ C0] default_idle+0x9/0x10 [ 6.000752][ C0] default_idle_call+0x6e/0xb0 [ 6.000754][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 6.000755][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 6.000757][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 6.000760][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000761][ C0] do_idle+0xd8/0x190 [ 6.000763][ C0] cpu_startup_entry+0x53/0x70 [ 6.000764][ C0] rest_init+0x279/0x280 [ 6.000766][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 6.000768][ C0] ? rest_init+0x280/0x280 [ 6.000770][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 6.000773][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 6.000775][ C0] ? acpi_enable+0x1e4/0x330 [ 6.000777][ C0] start_kernel+0x3b9/0x3c0 [ 6.000779][ C0] x86_64_start_reservations+0x24/0x30 [ 6.000780][ C0] x86_64_start_kernel+0x12b/0x130 [ 6.000782][ C0] common_startup_64+0x13e/0x148 [ 6.000785][ C0] [ 6.000790][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 6.000791][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 6.000793][ C0] preempt_count: 103, expected: 0 [ 6.000793][ C0] RCU nest depth: 0, expected: 0 [ 6.000794][ C0] INFO: lockdep is turned off. [ 6.000795][ C0] irq event stamp: 132847 [ 6.000796][ C0] hardirqs last enabled at (132846): [] __down_trylock_console_sem+0x86/0xa0 [ 6.000798][ C0] hardirqs last disabled at (132847): [] console_emit_next_record+0x3d4/0x4c0 [ 6.000800][ C0] softirqs last enabled at (132826): [] handle_softirqs+0x67c/0x900 [ 6.000802][ C0] softirqs last disabled at (132833): [] __irq_exit_rcu+0x145/0x1c0 [ 6.000804][ C0] Preemption disabled at: [ 6.000804][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 6.000808][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 6.000810][ C0] Tainted: [W]=WARN [ 6.000810][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 6.000811][ C0] Call Trace: [ 6.000811][ C0] [ 6.000812][ C0] dump_stack_lvl+0x6f/0xa0 [ 6.000814][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 6.000816][ C0] __might_resched.cold+0x1fe/0x2c1 [ 6.000819][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 6.000822][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000823][ C0] __kmalloc_noprof+0x443/0x760 [ 6.000825][ C0] ? __rwlock_init+0x150/0x150 [ 6.000826][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 6.000829][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 6.000831][ C0] alloc_buf.isra.0+0x4b/0x260 [ 6.000833][ C0] put_chars+0x1e1/0x2f0 [ 6.000835][ C0] ? __send_to_port+0x420/0x420 [ 6.000837][ C0] ? mark_lock+0x1d7/0xa00 [ 6.000839][ C0] hvc_console_print+0x292/0x780 [ 6.000842][ C0] ? hvc_write+0x3a0/0x3a0 [ 6.000844][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000845][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000847][ C0] console_emit_next_record+0x22f/0x4c0 [ 6.000849][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 6.000851][ C0] ? console_flush_one_record+0x106/0x710 [ 6.000853][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000854][ C0] ? lock_acquire+0x13c/0x160 [ 6.000856][ C0] console_flush_one_record+0x46f/0x710 [ 6.000858][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 6.000860][ C0] ? __lock_acquire+0x518/0xc20 [ 6.000862][ C0] console_unlock+0xee/0x1f0 [ 6.000864][ C0] ? console_flush_one_record+0x710/0x710 [ 6.000866][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000867][ C0] ? lock_acquire+0xe0/0x160 [ 6.000869][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 6.000871][ C0] ? vprintk_emit+0x320/0x3e0 [ 6.000872][ C0] vprintk_emit+0x37c/0x3e0 [ 6.000873][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 6.000875][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 6.000877][ C0] _printk+0xc7/0x100 [ 6.000879][ C0] ? snapshot_read.cold+0x21/0x21 [ 6.000880][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 6.000882][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 6.000884][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 6.000886][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 6.000887][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 6.000889][ C0] call_timer_fn+0x160/0x4d0 [ 6.000891][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 6.000893][ C0] ? debug_object_active_state+0x430/0x430 [ 6.000894][ C0] ? find_held_lock+0x2b/0x80 [ 6.000896][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 6.000897][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000899][ C0] __run_timers+0x68f/0xaa0 [ 6.000901][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 6.000903][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 6.000905][ C0] ? __lock_acquire+0x518/0xc20 [ 6.000907][ C0] ? __rwlock_init+0x150/0x150 [ 6.000910][ C0] run_timer_softirq+0xf0/0x160 [ 6.000912][ C0] ? __run_timers+0xaa0/0xaa0 [ 6.000914][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 6.000915][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000916][ C0] handle_softirqs+0x1d3/0x900 [ 6.000918][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 6.000920][ C0] ? _local_bh_enable+0xc0/0xc0 [ 6.000922][ C0] __irq_exit_rcu+0x145/0x1c0 [ 6.000923][ C0] irq_exit_rcu+0xe/0x30 [ 6.000925][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 6.000926][ C0] [ 6.000927][ C0] [ 6.000927][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 6.000929][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 6.000930][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 6.000932][ C0] Code: 48 8b 3d 94 92 68 02 e8 1f 00 00 00 48 2b 05 58 e3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 16 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 6.000933][ C0] RSP: 0018:ffffffffb6607cf8 EFLAGS: 00000296 [ 6.000934][ C0] RAX: 00000000000206df RBX: ffffffffb6630600 RCX: ffffffffb2d06247 [ 6.000935][ C0] RDX: ffffffffb6630600 RSI: ffffffffb5f11042 RDI: ffffffffb58949e0 [ 6.000936][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 6.000937][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6cc0fa2 [ 6.000937][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 6.000939][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 6.000941][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 6.000942][ C0] default_idle+0x9/0x10 [ 6.000944][ C0] default_idle_call+0x6e/0xb0 [ 6.000945][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 6.000947][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 6.000948][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 6.000950][ C0] ? rcu_is_watching+0x16/0xd0 [ 6.000951][ C0] do_idle+0xd8/0x190 [ 6.000953][ C0] cpu_startup_entry+0x53/0x70 [ 6.000954][ C0] rest_init+0x279/0x280 [ 6.000956][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 6.000959][ C0] ? rest_init+0x280/0x280 [ 6.000960][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 6.000962][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 6.000963][ C0] ? acpi_enable+0x1e4/0x330 [ 6.000965][ C0] start_kernel+0x3b9/0x3c0 [ 6.000967][ C0] x86_64_start_reservations+0x24/0x30 [ 6.000968][ C0] x86_64_start_kernel+0x12b/0x130 [ 6.000970][ C0] common_startup_64+0x13e/0x148 [ 6.000973][ C0] [ 6.870043][ T72] virtme-ng-init: waiting for udev to settle [ 7.416883][ T72] virtme-ng-init: udev is done [ 7.416898][ T72] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 7.416900][ T72] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 72, name: virtme-ng-init [ 7.416902][ T72] preempt_count: 1, expected: 0 [ 7.416903][ T72] RCU nest depth: 0, expected: 0 [ 7.416904][ T72] INFO: lockdep is turned off. [ 7.416905][ T72] irq event stamp: 3910 [ 7.416906][ T72] hardirqs last enabled at (3909): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 7.416915][ T72] hardirqs last disabled at (3910): [] __schedule+0x1246/0x20e0 [ 7.416918][ T72] softirqs last enabled at (3758): [] fpu_clone+0xd9/0x410 [ 7.416922][ T72] softirqs last disabled at (3756): [] fpu_clone+0x82/0x410 [ 7.416924][ T72] Preemption disabled at: [ 7.416925][ T72] [] vprintk_emit+0x31b/0x3e0 [ 7.416932][ T72] CPU: 2 UID: 0 PID: 72 Comm: virtme-ng-init Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 7.416935][ T72] Tainted: [W]=WARN [ 7.416936][ T72] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 7.416938][ T72] Call Trace: [ 7.416940][ T72] [ 7.416941][ T72] dump_stack_lvl+0x6f/0xa0 [ 7.416947][ T72] ? vprintk_emit+0x31b/0x3e0 [ 7.416949][ T72] __might_resched.cold+0x1fe/0x2c1 [ 7.416953][ T72] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 7.416956][ T72] ? rcu_is_watching+0x16/0xd0 [ 7.416959][ T72] __kmalloc_noprof+0x443/0x760 [ 7.416962][ T72] ? __rwlock_init+0x150/0x150 [ 7.416965][ T72] ? alloc_buf.isra.0+0x4b/0x260 [ 7.416969][ T72] ? do_raw_spin_unlock+0x59/0x250 [ 7.416971][ T72] alloc_buf.isra.0+0x4b/0x260 [ 7.416973][ T72] put_chars+0x1e1/0x2f0 [ 7.416975][ T72] ? __send_to_port+0x420/0x420 [ 7.416977][ T72] ? console_prepend_replay+0x20/0x20 [ 7.416979][ T72] hvc_console_print+0x292/0x780 [ 7.416984][ T72] ? hvc_write+0x3a0/0x3a0 [ 7.416986][ T72] ? rcu_is_watching+0x16/0xd0 [ 7.416987][ T72] ? rcu_is_watching+0x16/0xd0 [ 7.416988][ T72] ? lock_acquire+0x13c/0x160 [ 7.416990][ T72] console_emit_next_record+0x22f/0x4c0 [ 7.416993][ T72] ? devkmsg_read+0x4b0/0x4b0 [ 7.416995][ T72] ? rcu_is_watching+0x16/0xd0 [ 7.416996][ T72] ? rcu_is_watching+0x16/0xd0 [ 7.416997][ T72] ? rcu_is_watching+0x16/0xd0 [ 7.416998][ T72] ? lock_acquire+0x13c/0x160 [ 7.416999][ T72] ? console_flush_one_record+0x111/0x710 [ 7.417001][ T72] console_flush_one_record+0x46f/0x710 [ 7.417003][ T72] ? console_emit_next_record+0x4c0/0x4c0 [ 7.417006][ T72] console_unlock+0xee/0x1f0 [ 7.417008][ T72] ? lock_acquire+0x13c/0x160 [ 7.417010][ T72] ? console_flush_one_record+0x710/0x710 [ 7.417011][ T72] ? rcu_is_watching+0x16/0xd0 [ 7.417012][ T72] ? lock_release+0x184/0x1f0 [ 7.417014][ T72] ? lock_acquire+0xe0/0x160 [ 7.417015][ T72] ? __rcu_read_lock+0x70/0x70 [ 7.417017][ T72] ? __down_trylock_console_sem+0x5e/0xa0 [ 7.417019][ T72] ? vprintk_emit+0x320/0x3e0 [ 7.417020][ T72] vprintk_emit+0x37c/0x3e0 [ 7.417021][ T72] ? wake_up_klogd_work_func+0x90/0x90 [ 7.417023][ T72] ? lock_release+0x184/0x1f0 [ 7.417024][ T72] ? _copy_from_iter+0x1bb/0x1810 [ 7.417028][ T72] devkmsg_emit.constprop.0+0xbc/0xf1 [ 7.417031][ T72] ? vprintk_emit.cold+0x107/0x107 [ 7.417033][ T72] ? simple_strntoull+0x10f/0x140 [ 7.417035][ T72] ? date_str+0x1e0/0x1e0 [ 7.417037][ T72] ? devkmsg_write+0xd1/0x2c0 [ 7.417038][ T72] devkmsg_write.cold+0x5a/0x8b [ 7.417040][ T72] ? vprintk_default+0x20/0x20 [ 7.417042][ T72] ? vprintk_default+0x20/0x20 [ 7.417043][ T72] new_sync_write+0x33e/0x760 [ 7.417046][ T72] ? trace_hardirqs_on+0x36/0x40 [ 7.417049][ T72] ? new_sync_read+0x750/0x750 [ 7.417050][ T72] ? kmem_cache_free+0xf8/0x550 [ 7.417052][ T72] ? rcu_is_watching+0x16/0xd0 [ 7.417054][ T72] ? __fget_files+0x54/0x460 [ 7.417056][ T72] ? __fget_files+0x1e3/0x460 [ 7.417058][ T72] vfs_write+0x655/0x970 [ 7.417060][ T72] ksys_write+0x116/0x250 [ 7.417062][ T72] ? __ia32_sys_read+0xc0/0xc0 [ 7.417063][ T72] ? rcu_is_watching+0x16/0xd0 [ 7.417065][ T72] do_syscall_64+0xff/0x530 [ 7.417067][ T72] ? exc_page_fault+0xee/0x100 [ 7.417070][ T72] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 7.417072][ T72] RIP: 0033:0x7f892ed1ced2 [ 7.417075][ T72] 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.417077][ T72] RSP: 002b:00007f892ec63c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 7.417080][ T72] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f892ed1ced2 [ 7.417082][ T72] RDX: 0000000000000020 RSI: 00007f8928001170 RDI: 0000000000000003 [ 7.417082][ T72] RBP: 00007f892ec63c90 R08: 0000000000000000 R09: 0000000000000000 [ 7.417083][ T72] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f892eda70a0 [ 7.417084][ T72] R13: 00007f892eca53e0 R14: 00007f8928001170 R15: 00007f892ec63da8 [ 7.417086][ T72] [ 7.443720][ T1] virtme-ng-init: initialization done