Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loss of interoperability between wsl and windows #7754

Closed
1 of 2 tasks
mwidmann opened this issue Nov 25, 2021 · 47 comments
Closed
1 of 2 tasks

Loss of interoperability between wsl and windows #7754

mwidmann opened this issue Nov 25, 2021 · 47 comments
Assignees

Comments

@mwidmann
Copy link

Version

Microsoft Windows [Version 10.0.22000.348]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.74.3

Distro Version

Ubuntu 20.04.3 LTS

Other Software

Visual Studio Code 1.62.3, Remote WSL v0.58.5

Repro Steps

It's quite complicated as it only happens every now and then, but only since updating to the latest store preview version. Everything runs fine at first, but after a while it may happen that the interoperability between WSL and windows stops working. If I then want to open a code window in a current WSL folder nothing happens until I completely restart the machine.

  • do stuff as usual, in any folder in the WSL 2 distro
  • code .

Expected Behavior

VS Code opens a new window with the files of the current folder

Actual Behavior

Nothing happens. It just sits there.

Diagnostic Logs

No response

@solopasha
Copy link

solopasha commented Nov 26, 2021

Yes, guess I'm also affected by this bug. I can't open code . and explorer.exe . in any WSL folder after some time. And can't browse this distro in explorer in Linux section, it just hangs. It affects only main distro for me, if I open second Ubuntu everything seems to work within it.
Captured logs, hope they help.
wsl.zip

@cpbotha
Copy link

cpbotha commented Nov 26, 2021

So happy that I am not the only one!

I am experiencing exactly this issue. Most basic reproducer is to run cmd.exe from the WSL2 distro: This just blocks forever, where normally it will instantly go into the cmd prompt.

wsl --shutdown will restore working behaviour, but sometimes only for a minute or two.

WSL version: 0.50.2.0
Kernel version: 5.10.74.3
WSLg version: 1.0.29
Windows version: 10.0.22000.348

image

@Pii2
Copy link

Pii2 commented Nov 26, 2021

Can confirm the problem, after a computer restart explorer.exe . or working with PHP Storm on a WSL project still works, but after a few minutes or seconds no longer. It even leads to PHP Storm crashing completely and not starting anymore.

With code . then also no more VS Code starts, only about the Remote Explorer from VS Code, files and folders can be opened within WSL.

@Drakota
Copy link

Drakota commented Nov 27, 2021

Same issue here, I've reinstalled Windows 11 recently and installed WSL normally from the Windows features and I didn't get that problem, it seems to be only for the Windows store version.

@benhillis
Copy link
Member

/logs

There might also be some info in dmesg, could you share the output?

@ghost
Copy link

ghost commented Nov 30, 2021

Hello! Could you please provide more logs to help us better diagnose your issue? You can find instructions on how to attach logs here, please make sure to post the link to the Feedback Hub item in this chat so we can see it.

Thank you!

@Pii2
Copy link

Pii2 commented Dec 6, 2021

I don't have anything under /logs, but the output from dmesg is the following:

[    0.000000] Linux version 5.10.74.3-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Mon Oct 18 19:27:44 UTC 2021
[    0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force earlycon=uart8250,io,0x3f8,115200 console=hvc0 debug pty.legacy_count=0
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000004061fffff] usable
[    0.000000] earlycon: uart8250 at I/O port 0x3f8 (options '115200')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Microsoft Hyper-V
[    0.000000] Hyper-V: privilege flags low 0xae7f, high 0x3b8030, hints 0xc2c, misc 0xe0bed7b6
[    0.000000] Hyper-V Host Build:22000-10.0-0-0.348
[    0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[    0.000000] Hyper-V: Using hypercall for remote TLB flush
[    0.000000] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.000003] tsc: Detected 3792.885 MHz processor
[    0.002068] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.004983] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.007290] last_pfn = 0x406200 max_arch_pfn = 0x400000000
[    0.009466] MTRR default type: uncachable
[    0.011275] MTRR fixed ranges enabled:
[    0.013401]   00000-3FFFF write-back
[    0.015259]   40000-7FFFF uncachable
[    0.017000]   80000-8FFFF write-back
[    0.018736]   90000-FFFFF uncachable
[    0.020603] MTRR variable ranges enabled:
[    0.022569]   0 base 000000000000 mask FFFF00000000 write-back
[    0.025385]   1 base 000100000000 mask FFF000000000 write-back
[    0.028261]   2 disabled
[    0.029465]   3 disabled
[    0.030599]   4 disabled
[    0.031804]   5 disabled
[    0.032996]   6 disabled
[    0.034136]   7 disabled
[    0.035309] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
[    0.038614] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.040959] Using GB pages for direct mapping
[    0.043134] RAMDISK: [mem 0x03835000-0x038c2fff]
[    0.045341] ACPI: Early table checksum verification disabled
[    0.047822] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.050103] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.053632] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.057165] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.060701] ACPI: FACS 0x0000000000101114 000040
[    0.062812] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.067211] ACPI: SRAT 0x000000000011F33C 000370 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.070783] ACPI: APIC 0x000000000011F6AC 0000A8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.074378] ACPI: Reserving FACP table memory at [mem 0x101000-0x101113]
[    0.077396] ACPI: Reserving DSDT table memory at [mem 0x1011b8-0x11f33b]
[    0.080103] ACPI: Reserving FACS table memory at [mem 0x101114-0x101153]
[    0.082766] ACPI: Reserving OEM0 table memory at [mem 0x101154-0x1011b7]
[    0.085853] ACPI: Reserving SRAT table memory at [mem 0x11f33c-0x11f6ab]
[    0.088652] ACPI: Reserving APIC table memory at [mem 0x11f6ac-0x11f753]
[    0.091414] ACPI: Local APIC address 0xfee00000
[    0.093670] Zone ranges:
[    0.095093]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.097863]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.100426]   Normal   [mem 0x0000000100000000-0x00000004061fffff]
[    0.103018]   Device   empty
[    0.104167] Movable zone start for each node
[    0.106187] Early memory node ranges
[    0.107922]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.110987]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.114043]   node   0: [mem 0x0000000100000000-0x00000004061fffff]
[    0.116620] Initmem setup node 0 [mem 0x0000000000001000-0x00000004061fffff]
[    0.120095] On node 0 totalpages: 4186271
[    0.122076]   DMA zone: 59 pages used for memmap
[    0.123954]   DMA zone: 22 pages reserved
[    0.125938]   DMA zone: 3743 pages, LIFO batch:0
[    0.127875]   DMA32 zone: 16320 pages used for memmap
[    0.130192]   DMA32 zone: 1011712 pages, LIFO batch:63
[    0.132569]   Normal zone: 49544 pages used for memmap
[    0.134685]   Normal zone: 3170816 pages, LIFO batch:63
[    0.137084] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.137106] On node 0, zone DMA: 352 pages in unavailable ranges
[    0.150879] On node 0, zone Normal: 7680 pages in unavailable ranges
[    0.153700] ACPI: Local APIC address 0xfee00000
[    0.159006] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.162286] IOAPIC[0]: apic_id 12, version 17, address 0xfec00000, GSI 0-23
[    0.165967] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.169178] ACPI: IRQ9 used by override.
[    0.171067] Using ACPI (MADT) for SMP configuration information
[    0.173811] smpboot: Allowing 12 CPUs, 0 hotplug CPUs
[    0.176748] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.179787] Booting paravirtualized kernel on Hyper-V
[    0.183437] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.192717] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:12 nr_node_ids:1
[    0.197156] percpu: Embedded 52 pages/cpu s173656 r8192 d31144 u262144
[    0.200266] pcpu-alloc: s173656 r8192 d31144 u262144 alloc=1*2097152
[    0.203277] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 -- -- -- --
[    0.207025] Hyper-V: PV spinlocks enabled
[    0.208894] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.212721] Built 1 zonelists, mobility grouping on.  Total pages: 4120326
[    0.215937] Kernel command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force earlycon=uart8250,io,0x3f8,115200 console=hvc0 debug pty.legacy_count=0
[    0.224718] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.229865] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.233736] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.258222] Memory: 4085428K/16745084K available (16404K kernel code, 2541K rwdata, 9008K rodata, 1564K init, 2812K bss, 396868K reserved, 0K cma-reserved)
[    0.265480] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[    0.268642] ftrace: allocating 51468 entries in 202 pages
[    0.283951] ftrace: allocated 202 pages with 4 groups
[    0.286530] rcu: Hierarchical RCU implementation.
[    0.288637] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=12.
[    0.291994]  Rude variant of Tasks RCU enabled.
[    0.294257]  Tracing variant of Tasks RCU enabled.
[    0.296184] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.299322] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=12
[    0.305622] Using NULL legacy PIC
[    0.307043] NR_IRQS: 16640, nr_irqs: 520, preallocated irqs: 0
[    0.309967] random: crng done (trusting CPU's manufacturer)
[    0.312965] Console: colour dummy device 80x25
[    0.315331] ACPI: Core revision 20200925
[    0.317284] Failed to register legacy timer interrupt
[    0.319515] APIC: Switch to symmetric I/O mode setup
[    0.321593] Switched APIC routing to physical flat.
[    0.323658] Hyper-V: Using IPI hypercalls
[    0.325489] Hyper-V: Using enlightened APIC (xapic mode)
[    0.325596] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5830014b7, max_idle_ns: 881590880372 ns
[    0.333061] Calibrating delay loop (skipped), value calculated using timer frequency.. 7585.77 BogoMIPS (lpj=37928850)
[    0.337600] pid_max: default: 32768 minimum: 301
[    0.339515] LSM: Security Framework initializing
[    0.341442] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.343058] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.343058] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[    0.343058] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[    0.343058] Last level dTLB entries: 4KB 2048, 2MB 2048, 4MB 1024, 1GB 0
[    0.343058] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.343058] Spectre V2 : Mitigation: Full AMD retpoline
[    0.343058] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.343058] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.343058] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[    0.343058] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.343058] Freeing SMP alternatives memory: 52K
[    0.343058] smpboot: CPU0: AMD Ryzen 5 3600X 6-Core Processor (family: 0x17, model: 0x71, stepping: 0x0)
[    0.343058] Performance Events: Fam17h+ core perfctr, AMD PMU driver.
[    0.343079] ... version:                0
[    0.344963] ... bit width:              48
[    0.347010] ... generic registers:      6
[    0.348809] ... value mask:             0000ffffffffffff
[    0.351050] ... max period:             00007fffffffffff
[    0.353071] ... fixed-purpose events:   0
[    0.354780] ... event mask:             000000000000003f
[    0.357440] rcu: Hierarchical SRCU implementation.
[    0.359855] smp: Bringing up secondary CPUs ...
[    0.361791] x86: Booting SMP configuration:
[    0.363064] .... node  #0, CPUs:        #1  #2  #3  #4  #5  #6  #7  #8  #9 #10 #11
[    0.363870] smp: Brought up 1 node, 12 CPUs
[    0.375083] smpboot: Max logical packages: 1
[    0.377166] smpboot: Total of 12 processors activated (91029.24 BogoMIPS)
[    0.393092] node 0 deferred pages initialised in 10ms
[    0.396944] devtmpfs: initialized
[    0.396944] x86/mm: Memory block size: 128MB
[    0.403867] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.407500] futex hash table entries: 4096 (order: 6, 262144 bytes, linear)
[    0.411026] NET: Registered protocol family 16
[    0.413174] thermal_sys: Registered thermal governor 'step_wise'
[    0.413207] cpuidle: using governor menu
[    0.414745] ACPI: bus type PCI registered
[    0.414763] PCI: Fatal: No config space access function found
[    0.418344] Kprobes globally optimized
[    0.423117] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.423117] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.433321] raid6: skip pq benchmark and using algorithm avx2x4
[    0.433321] raid6: using avx2x2 recovery algorithm
[    0.434978] ACPI: Added _OSI(Module Device)
[    0.436898] ACPI: Added _OSI(Processor Device)
[    0.438868] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.441007] ACPI: Added _OSI(Processor Aggregator Device)
[    0.443067] ACPI: Added _OSI(Linux-Dell-Video)
[    0.444945] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.447603] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.453827] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.457379] ACPI: Interpreter enabled
[    0.458924] ACPI: (supports S0 S5)
[    0.460274] ACPI: Using IOAPIC for interrupt routing
[    0.462294] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.473174] ACPI: Enabled 1 GPEs in block 00 to 0F
[    0.475724] iommu: Default domain type: Translated
[    0.477846] SCSI subsystem initialized
[    0.479435] ACPI: bus type USB registered
[    0.481125] usbcore: registered new interface driver usbfs
[    0.483083] usbcore: registered new interface driver hub
[    0.485926] usbcore: registered new device driver usb
[    0.488435] hv_vmbus: Vmbus version:5.2
[    0.488435] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    0.488435] PCI: Using ACPI for IRQ routing
[    0.493125] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[    0.494875] PCI: System does not support PCI
[    0.509257] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[    0.506843] clocksource: Switched to clocksource tsc-early
[    0.676996] VFS: Disk quotas dquot_6.6.0
[    0.679063] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.682217] FS-Cache: Loaded
[    0.683660] pnp: PnP ACPI init
[    0.685192] pnp 00:00: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.688135] pnp 00:01: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.691100] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.694023] pnp: PnP ACPI: found 3 devices
[    0.700327] NET: Registered protocol family 2
[    0.702605] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.706766] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.710460] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.714071] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.717345] TCP: Hash tables configured (established 131072 bind 65536)
[    0.720594] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.723797] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.727186] NET: Registered protocol family 1
[    0.729521] RPC: Registered named UNIX socket transport module.
[    0.732561] RPC: Registered udp transport module.
[    0.734964] RPC: Registered tcp transport module.
[    0.737143] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.740557] PCI: CLS 0 bytes, default 64
[    0.742568] Trying to unpack rootfs image as initramfs...
[    0.745476] Freeing initrd memory: 568K
[    0.747321] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.750612] software IO TLB: mapped [mem 0x00000000f4000000-0x00000000f8000000] (64MB)
[    0.755303] kvm: no hardware support
[    0.757399] kvm: Nested Virtualization enabled
[    0.759530] SVM: kvm: Nested Paging enabled
[    0.761373] SVM: Virtual VMLOAD VMSAVE supported
[    0.766617] Initialise system trusted keyrings
[    0.768921] workingset: timestamp_bits=46 max_order=22 bucket_order=0
[    0.772821] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.776225] NFS: Registering the id_resolver key type
[    0.778605] Key type id_resolver registered
[    0.780672] Key type id_legacy registered
[    0.782607] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.785889] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.789233] Installing knfsd (copyright (C) 1996 [email protected]).
[    0.793026] Key type cifs.idmap registered
[    0.795187] fuse: init (API version 7.32)
[    0.797447] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled
[    0.802031] 9p: Installing v9fs 9p2000 file system support
[    0.804484] FS-Cache: Netfs '9p' registered for caching
[    0.806886] FS-Cache: Netfs 'ceph' registered for caching
[    0.809538] ceph: loaded (mds proto 32)
[    0.814360] NET: Registered protocol family 38
[    0.816292] xor: automatically using best checksumming function   avx
[    0.819260] Key type asymmetric registered
[    0.821061] Asymmetric key parser 'x509' registered
[    0.823162] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.827073] hv_vmbus: registering driver hv_pci
[    0.829532] hv_pci b416bbaf-07bb-4812-90b0-ba7dca827eb2: PCI VMBus probing: Using version 0x10003
[    0.834927] hv_pci b416bbaf-07bb-4812-90b0-ba7dca827eb2: PCI host bridge to bus 07bb:00
[    0.838569] pci_bus 07bb:00: root bus resource [mem 0x9ffe00000-0x9ffe02fff window]
[    0.843272] pci 07bb:00:00.0: [1af4:1043] type 00 class 0x010000
[    0.847481] pci 07bb:00:00.0: reg 0x10: [mem 0x9ffe00000-0x9ffe00fff 64bit]
[    0.851657] pci 07bb:00:00.0: reg 0x18: [mem 0x9ffe01000-0x9ffe01fff 64bit]
[    0.855872] pci 07bb:00:00.0: reg 0x20: [mem 0x9ffe02000-0x9ffe02fff 64bit]
[    0.863034] pci 07bb:00:00.0: BAR 0: assigned [mem 0x9ffe00000-0x9ffe00fff 64bit]
[    0.867577] pci 07bb:00:00.0: BAR 2: assigned [mem 0x9ffe01000-0x9ffe01fff 64bit]
[    0.871869] pci 07bb:00:00.0: BAR 4: assigned [mem 0x9ffe02000-0x9ffe02fff 64bit]
[    0.876061] hv_pci 0e885781-fd5e-464b-8dfc-e7e7bd755614: PCI VMBus probing: Using version 0x10003
[    0.881156] hv_pci 0e885781-fd5e-464b-8dfc-e7e7bd755614: PCI host bridge to bus fd5e:00
[    0.886118] pci fd5e:00:00.0: [1414:008e] type 00 class 0x030200
[    0.898115] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.901905] 00:00: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.905860] 00:01: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    0.942598] Non-volatile memory driver v1.3
[    0.944725] printk: console [hvc0] enabled
[    0.946831] printk: bootconsole [uart8250] disabled
[    0.952571] brd: module loaded
[    0.953889] loop: module loaded
[    0.954180] hv_vmbus: registering driver hv_storvsc
[    0.955123] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    0.955643] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
[    0.955974] scsi host0: storvsc_host_t
[    0.956282] tun: Universal TUN/TAP device driver, 1.6
[    0.956856] PPP generic driver version 2.4.2
[    0.957273] PPP BSD Compression module registered
[    0.957578] PPP Deflate Compression module registered
[    0.957935] PPP MPPE Compression module registered
[    0.958221] NET: Registered protocol family 24
[    0.958559] hv_vmbus: registering driver hv_netvsc
[    0.958958] VFIO - User Level meta-driver version: 0.3
[    0.959557] usbcore: registered new interface driver cdc_acm
[    0.959941] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.960438] usbcore: registered new interface driver ftdi_sio
[    0.960821] usbserial: USB Serial support registered for FTDI USB Serial Device
[    0.961430] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[    0.961816] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 1
[    0.962260] vhci_hcd: created sysfs vhci_hcd.0
[    0.962546] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    0.962946] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.963579] usb usb1: Product: USB/IP Virtual Host Controller
[    0.963916] usb usb1: Manufacturer: Linux 5.10.74.3-microsoft-standard-WSL2 vhci_hcd
[    0.964317] usb usb1: SerialNumber: vhci_hcd.0
[    0.964676] hub 1-0:1.0: USB hub found
[    0.964900] hub 1-0:1.0: 8 ports detected
[    0.965142] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[    0.965487] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 2
[    0.965877] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.966280] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    0.966666] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.967034] usb usb2: Product: USB/IP Virtual Host Controller
[    0.967356] usb usb2: Manufacturer: Linux 5.10.74.3-microsoft-standard-WSL2 vhci_hcd
[    0.967662] usb usb2: SerialNumber: vhci_hcd.0
[    0.967972] hub 2-0:1.0: USB hub found
[    0.968183] hub 2-0:1.0: 8 ports detected
[    0.968414] hv_vmbus: registering driver hyperv_keyboard
[    0.968811] rtc_cmos 00:02: RTC can wake from S4
[    0.970221] rtc_cmos 00:02: registered as rtc0
[    0.970732] rtc_cmos 00:02: setting system clock to 2021-12-06T05:45:52 UTC (1638769552)
[    0.971190] rtc_cmos 00:02: alarms up to one month, 114 bytes nvram
[    0.971767] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: [email protected]
[    0.972389] device-mapper: raid: Loading target version 1.15.1
[    0.972783] usbcore: registered new interface driver usbhid
[    0.973058] usbhid: USB HID core driver
[    0.973349] hv_utils: Registering HyperV Utility Driver
[    0.973631] hv_vmbus: registering driver hv_utils
[    0.973907] hv_vmbus: registering driver hv_balloon
[    0.973928] hv_utils: cannot register PTP clock: 0
[    0.974214] hv_vmbus: registering driver dxgkrnl
[    0.974523] hv_balloon: Using Dynamic Memory protocol version 2.0
[    0.974717] hv_utils: TimeSync IC version 4.0
[    0.974850] (NULL device *): dxgk: dxg_drv_init  Version: 2110
[    0.975770] Free page reporting enabled
[    0.976315] hv_balloon: Cold memory discard hint enabled
[    0.976615] (NULL device *): dxgk: mmio allocated 9ffe10000  200000000 9ffe10000 bffe0ffff
[    0.977818] drop_monitor: Initializing network drop monitor service
[    0.978203] Mirror/redirect action on
[    0.978537] IPVS: Registered protocols (TCP, UDP)
[    0.978804] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    0.979518] IPVS: ipvs loaded.
[    0.979760] IPVS: [rr] scheduler registered.
[    0.979986] IPVS: [wrr] scheduler registered.
[    0.980238] IPVS: [sh] scheduler registered.
[    0.980497] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    0.981825] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.982561] Initializing XFRM netlink socket
[    0.982907] NET: Registered protocol family 10
[    0.983675] Segment Routing with IPv6
[    0.984763] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.985117] NET: Registered protocol family 17
[    0.985360] Bridge firewalling registered
[    0.985562] 8021q: 802.1Q VLAN Support v1.8
[    0.985768] sctp: Hash tables configured (bind 256/256)
[    0.986024] 9pnet: Installing 9P2000 support
[    0.986303] Key type dns_resolver registered
[    0.986588] Key type ceph registered
[    0.986861] libceph: loaded (mon/osd proto 15/24)
[    0.987179] NET: Registered protocol family 40
[    0.987475] hv_vmbus: registering driver hv_sock
[    0.987757] IPI shorthand broadcast: enabled
[    0.988029] sched_clock: Marking stable (964000729, 23168700)->(1081328800, -94159371)
[    0.988663] registered taskstats version 1
[    0.988868] Loading compiled-in X.509 certificates
[    0.989280] Btrfs loaded, crc32c=crc32c-generic
[    0.990649] Freeing unused kernel image (initmem) memory: 1564K
[    1.033132] Write protecting the kernel read-only data: 28672k
[    1.033974] Freeing unused kernel image (text/rodata gap) memory: 2024K
[    1.034510] Freeing unused kernel image (rodata/data gap) memory: 1232K
[    1.034825] Run /init as init process
[    1.034989]   with arguments:
[    1.035167]     /init
[    1.035282]   with environment:
[    1.035428]     HOME=/
[    1.035537]     TERM=linux
[    1.037918] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    1.038598] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.039128] sd 0:0:0:0: [sda] 706392 512-byte logical blocks: (362 MB/345 MiB)
[    1.039642] sd 0:0:0:0: [sda] Write Protect is on
[    1.039913] sd 0:0:0:0: [sda] Mode Sense: 0f 00 80 00
[    1.040382] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    1.293437] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.373840] EXT4-fs (sda): mounted filesystem without journal. Opts: (null)
[    1.622863] hv_pci 6f68c60f-4853-4f70-802a-36cca5419ba4: PCI VMBus probing: Using version 0x10003
[    1.625804] hv_pci 6f68c60f-4853-4f70-802a-36cca5419ba4: PCI host bridge to bus 4853:00
[    1.626394] pci_bus 4853:00: root bus resource [mem 0xc00000000-0xe00001fff window]
[    1.628112] pci 4853:00:00.0: [1af4:105a] type 00 class 0x088000
[    1.630957] pci 4853:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit]
[    1.633609] pci 4853:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit]
[    1.636341] pci 4853:00:00.0: reg 0x20: [mem 0xc00000000-0xdffffffff 64bit]
[    1.642549] pci 4853:00:00.0: BAR 4: assigned [mem 0xc00000000-0xdffffffff 64bit]
[    1.645180] pci 4853:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit]
[    1.647694] pci 4853:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit]
[    1.665694] virtiofs virtio1: Cache len: 0x200000000 @ 0xc00000000
[    1.730620] memmap_init_zone_device initialised 2097152 pages in 20ms
[    1.735896] FS-Cache: Duplicate cookie detected
[    1.736983] FS-Cache: O-cookie c=00000000c2d02ee7 [p=0000000093eb0ef7 fl=222 nc=0 na=1]
[    1.740944] FS-Cache: O-cookie d=000000003106acc4 n=000000002e56f5e5
[    1.748533] FS-Cache: O-key=[10] '34323934393337343336'
[    1.750052] FS-Cache: N-cookie c=00000000774feca2 [p=0000000093eb0ef7 fl=2 nc=0 na=1]
[    1.752558] FS-Cache: N-cookie d=000000003106acc4 n=0000000069f3fd38
[    1.753172] FS-Cache: N-key=[10] '34323934393337343336'
[    1.773118] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5830014b7, max_idle_ns: 881590880372 ns
[    1.774155] clocksource: Switched to clocksource tsc
[    1.963127] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    2.563260] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    2.564274] sd 0:0:0:1: Attached scsi generic sg1 type 0
[    2.564859] scsi 0:0:0:2: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    2.564876] sd 0:0:0:1: [sdb] 8388616 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    2.565669] sd 0:0:0:2: Attached scsi generic sg2 type 0
[    2.565843] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[    2.566272] sd 0:0:0:2: [sdc] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    2.566585] sd 0:0:0:1: [sdb] Write Protect is off
[    2.567102] sd 0:0:0:2: [sdc] 4096-byte physical blocks
[    2.567187] sd 0:0:0:2: [sdc] Write Protect is off
[    2.567477] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[    2.567666] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.567842] sd 0:0:0:2: [sdc] Mode Sense: 0f 00 00 00
[    2.569802] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.570556] sd 0:0:0:1: [sdb] Attached SCSI disk
[    2.572471] sd 0:0:0:2: [sdc] Attached SCSI disk
[    2.580843] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    2.622488] hv_pci adc53d0c-0533-4d7b-89a0-624e5dbcbb1f: PCI VMBus probing: Using version 0x10003
[    2.624227] hv_pci adc53d0c-0533-4d7b-89a0-624e5dbcbb1f: PCI host bridge to bus 0533:00
[    2.624682] pci_bus 0533:00: root bus resource [mem 0x9ffe04000-0x9ffe06fff window]
[    2.626024] 9pnet_virtio: no channels available for device drvfs
[    2.626388] pci 0533:00:00.0: [1af4:1049] type 00 class 0x010000
[    2.626661] WARNING: mount: waiting for virtio device...
[    2.628359] pci 0533:00:00.0: reg 0x10: [mem 0x9ffe04000-0x9ffe04fff 64bit]
[    2.629438] pci 0533:00:00.0: reg 0x18: [mem 0x9ffe05000-0x9ffe05fff 64bit]
[    2.630404] pci 0533:00:00.0: reg 0x20: [mem 0x9ffe06000-0x9ffe06fff 64bit]
[    2.634704] pci 0533:00:00.0: BAR 0: assigned [mem 0x9ffe04000-0x9ffe04fff 64bit]
[    2.635585] pci 0533:00:00.0: BAR 2: assigned [mem 0x9ffe05000-0x9ffe05fff 64bit]
[    2.636461] pci 0533:00:00.0: BAR 4: assigned [mem 0x9ffe06000-0x9ffe06fff 64bit]
[    2.673143] Adding 4194304k swap on /dev/sdb.  Priority:-2 extents:1 across:4194304k
[    2.733101] hv_pci e7994a50-82a5-4037-a9ec-4db256ef5e43: PCI VMBus probing: Using version 0x10003
[    2.734842] hv_pci e7994a50-82a5-4037-a9ec-4db256ef5e43: PCI host bridge to bus 82a5:00
[    2.735334] pci_bus 82a5:00: root bus resource [mem 0x9ffe08000-0x9ffe0afff window]
[    2.737072] pci 82a5:00:00.0: [1af4:1049] type 00 class 0x010000
[    2.738942] pci 82a5:00:00.0: reg 0x10: [mem 0x9ffe08000-0x9ffe08fff 64bit]
[    2.740163] pci 82a5:00:00.0: reg 0x18: [mem 0x9ffe09000-0x9ffe09fff 64bit]
[    2.741277] pci 82a5:00:00.0: reg 0x20: [mem 0x9ffe0a000-0x9ffe0afff 64bit]
[    2.745543] pci 82a5:00:00.0: BAR 0: assigned [mem 0x9ffe08000-0x9ffe08fff 64bit]
[    2.746540] pci 82a5:00:00.0: BAR 2: assigned [mem 0x9ffe09000-0x9ffe09fff 64bit]
[    2.747377] pci 82a5:00:00.0: BAR 4: assigned [mem 0x9ffe0a000-0x9ffe0afff 64bit]
[    2.935008] hv_pci b8896dbb-9aa0-4155-80c2-86f163a0d03c: PCI VMBus probing: Using version 0x10003
[    2.936654] hv_pci b8896dbb-9aa0-4155-80c2-86f163a0d03c: PCI host bridge to bus 9aa0:00
[    2.937113] pci_bus 9aa0:00: root bus resource [mem 0x9ffe0c000-0x9ffe0efff window]
[    2.938670] pci 9aa0:00:00.0: [1af4:1049] type 00 class 0x010000
[    2.939960] pci 9aa0:00:00.0: reg 0x10: [mem 0x9ffe0c000-0x9ffe0cfff 64bit]
[    2.940926] pci 9aa0:00:00.0: reg 0x18: [mem 0x9ffe0d000-0x9ffe0dfff 64bit]
[    2.941958] pci 9aa0:00:00.0: reg 0x20: [mem 0x9ffe0e000-0x9ffe0efff 64bit]
[    2.946196] pci 9aa0:00:00.0: BAR 0: assigned [mem 0x9ffe0c000-0x9ffe0cfff 64bit]
[    2.946969] pci 9aa0:00:00.0: BAR 2: assigned [mem 0x9ffe0d000-0x9ffe0dfff 64bit]
[    2.947761] pci 9aa0:00:00.0: BAR 4: assigned [mem 0x9ffe0e000-0x9ffe0efff 64bit]
[   49.806965] hv_balloon: Max. dynamic memory size: 16354 MB

Is this helpful to find the problem ? Currently WSL is completely unusable unfortunately :/

@mwidmann
Copy link
Author

mwidmann commented Dec 6, 2021

Here's my dmesg output aswell.

[    0.000000] Linux version 5.10.74.3-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Mon Oct 18 19:27:44 UTC 2021
[    0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=8 swiotlb=force earlycon=uart8250,io,0x3f8,115200 console=hvc0 debug pty.legacy_count=0
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[5]:  832, xstate_sizes[5]:   64
[    0.000000] x86/fpu: xstate_offset[6]:  896, xstate_sizes[6]:  512
[    0.000000] x86/fpu: xstate_offset[7]: 1408, xstate_sizes[7]: 1024
[    0.000000] x86/fpu: Enabled xstate features 0xe7, context size is 2432 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000003febfffff] usable
[    0.000000] earlycon: uart8250 at I/O port 0x3f8 (options '115200')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Microsoft Hyper-V
[    0.000000] Hyper-V: privilege flags low 0xae7f, high 0x3b8030, hints 0xa4e24, misc 0xe4bed7b6
[    0.000000] Hyper-V Host Build:22000-10.0-0-0.348
[    0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[    0.000000] Hyper-V: Using hypercall for remote TLB flush
[    0.000000] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.000011] tsc: Detected 2803.199 MHz processor
[    0.004353] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.009849] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.014323] last_pfn = 0x3fec00 max_arch_pfn = 0x400000000
[    0.019034] MTRR default type: uncachable
[    0.022684] MTRR fixed ranges enabled:
[    0.025714]   00000-3FFFF write-back
[    0.028779]   40000-7FFFF uncachable
[    0.032568]   80000-8FFFF write-back
[    0.035599]   90000-FFFFF uncachable
[    0.038736] MTRR variable ranges enabled:
[    0.042067]   0 base 0000000000 mask 7F00000000 write-back
[    0.046897]   1 base 0100000000 mask 7000000000 write-back
[    0.051773]   2 disabled
[    0.053988]   3 disabled
[    0.056412]   4 disabled
[    0.060534]   5 disabled
[    0.064050]   6 disabled
[    0.068607]   7 disabled
[    0.070909] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.077144] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.081697] Using GB pages for direct mapping
[    0.085944] RAMDISK: [mem 0x03835000-0x038c2fff]
[    0.090044] ACPI: Early table checksum verification disabled
[    0.095048] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.101028] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.109248] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.116352] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.123531] ACPI: FACS 0x0000000000101114 000040
[    0.127579] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.136316] ACPI: SRAT 0x000000000011F33C 000330 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.143707] ACPI: APIC 0x000000000011F66C 000088 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.150735] ACPI: Reserving FACP table memory at [mem 0x101000-0x101113]
[    0.155952] ACPI: Reserving DSDT table memory at [mem 0x1011b8-0x11f33b]
[    0.161217] ACPI: Reserving FACS table memory at [mem 0x101114-0x101153]
[    0.167387] ACPI: Reserving OEM0 table memory at [mem 0x101154-0x1011b7]
[    0.172687] ACPI: Reserving SRAT table memory at [mem 0x11f33c-0x11f66b]
[    0.177899] ACPI: Reserving APIC table memory at [mem 0x11f66c-0x11f6f3]
[    0.183308] ACPI: Local APIC address 0xfee00000
[    0.187897] Zone ranges:
[    0.190107]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.195072]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.202682]   Normal   [mem 0x0000000100000000-0x00000003febfffff]
[    0.207869]   Device   empty
[    0.210404] Movable zone start for each node
[    0.214162] Early memory node ranges
[    0.217802]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.223389]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.228299]   node   0: [mem 0x0000000100000000-0x00000003febfffff]
[    0.234917] Initmem setup node 0 [mem 0x0000000000001000-0x00000003febfffff]
[    0.241303] On node 0 totalpages: 4156063
[    0.245184]   DMA zone: 59 pages used for memmap
[    0.249907]   DMA zone: 22 pages reserved
[    0.253345]   DMA zone: 3743 pages, LIFO batch:0
[    0.257298]   DMA32 zone: 16320 pages used for memmap
[    0.261876]   DMA32 zone: 1011712 pages, LIFO batch:63
[    0.267476]   Normal zone: 49072 pages used for memmap
[    0.271739]   Normal zone: 3140608 pages, LIFO batch:63
[    0.276327] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.276397] On node 0, zone DMA: 352 pages in unavailable ranges
[    0.309560] On node 0, zone Normal: 5120 pages in unavailable ranges
[    0.314325] ACPI: Local APIC address 0xfee00000
[    0.323149] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.328223] IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, GSI 0-23
[    0.334989] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.341061] ACPI: IRQ9 used by override.
[    0.344893] Using ACPI (MADT) for SMP configuration information
[    0.349508] TSC deadline timer available
[    0.352424] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
[    0.356303] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.361114] Booting paravirtualized kernel on Hyper-V
[    0.365836] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.386102] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:8 nr_node_ids:1
[    0.392821] percpu: Embedded 52 pages/cpu s173656 r8192 d31144 u262144
[    0.398055] pcpu-alloc: s173656 r8192 d31144 u262144 alloc=1*2097152
[    0.403692] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
[    0.407099] Hyper-V: PV spinlocks enabled
[    0.410758] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.416338] Built 1 zonelists, mobility grouping on.  Total pages: 4090590
[    0.421646] Kernel command line: initrd=\initrd.img panic=-1 nr_cpus=8 swiotlb=force earlycon=uart8250,io,0x3f8,115200 console=hvc0 debug pty.legacy_count=0
[    0.438514] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.447134] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.453072] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.488043] Memory: 4085428K/16624252K available (16404K kernel code, 2541K rwdata, 9008K rodata, 1564K init, 2812K bss, 393984K reserved, 0K cma-reserved)
[    0.500533] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.505617] ftrace: allocating 51468 entries in 202 pages
[    0.543213] ftrace: allocated 202 pages with 4 groups
[    0.547567] rcu: Hierarchical RCU implementation.
[    0.550927] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8.
[    0.556123] 	Rude variant of Tasks RCU enabled.
[    0.559484] 	Tracing variant of Tasks RCU enabled.
[    0.563392] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.569428] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.579483] Using NULL legacy PIC
[    0.581707] NR_IRQS: 16640, nr_irqs: 488, preallocated irqs: 0
[    0.586734] random: crng done (trusting CPU's manufacturer)
[    0.591617] Console: colour dummy device 80x25
[    0.594688] ACPI: Core revision 20200925
[    0.597834] Failed to register legacy timer interrupt
[    0.602122] APIC: Switch to symmetric I/O mode setup
[    0.608587] x2apic: IRQ remapping doesn't support X2APIC mode
[    0.615173] Hyper-V: Using IPI hypercalls
[    0.617964] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x28680ed6720, max_idle_ns: 440795313953 ns
[    0.624816] Calibrating delay loop (skipped), value calculated using timer frequency.. 5606.39 BogoMIPS (lpj=28031990)
[    0.632415] pid_max: default: 32768 minimum: 301
[    0.634810] LSM: Security Framework initializing
[    0.634810] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.634810] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.634810] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[    0.634810] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.634810] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.634810] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.634810] Spectre V2 : Mitigation: Enhanced IBRS
[    0.634810] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.634810] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.634810] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.634810] Freeing SMP alternatives memory: 52K
[    0.634810] smpboot: CPU0: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (family: 0x6, model: 0x8c, stepping: 0x1)
[    0.634810] Performance Events:  AnyThread deprecated, Icelake events, 32-deep LBR, full-width counters, Intel PMU driver.
[    0.634831] ... version:                5
[    0.637901] ... bit width:              48
[    0.640530] ... generic registers:      8
[    0.643885] ... value mask:             0000ffffffffffff
[    0.644824] ... max period:             00007fffffffffff
[    0.648556] ... fixed-purpose events:   4
[    0.650929] ... event mask:             0001000f000000ff
[    0.655040] rcu: Hierarchical SRCU implementation.
[    0.659104] smp: Bringing up secondary CPUs ...
[    0.661976] x86: Booting SMP configuration:
[    0.664483] .... node  #0, CPUs:      #1 #2 #3 #4 #5 #6 #7
[    0.665707] smp: Brought up 1 node, 8 CPUs
[    0.674819] smpboot: Max logical packages: 1
[    0.677359] smpboot: Total of 8 processors activated (44851.18 BogoMIPS)
[    0.708275] node 0 deferred pages initialised in 30ms
[    0.715662] devtmpfs: initialized
[    0.717421] x86/mm: Memory block size: 128MB
[    0.720902] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.724827] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.729446] NET: Registered protocol family 16
[    0.732520] thermal_sys: Registered thermal governor 'step_wise'
[    0.732566] cpuidle: using governor menu
[    0.732566] ACPI: bus type PCI registered
[    0.734840] PCI: Fatal: No config space access function found
[    0.740180] Kprobes globally optimized
[    0.744909] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.744909] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.754879] raid6: skip pq benchmark and using algorithm avx512x4
[    0.764817] raid6: using avx512x2 recovery algorithm
[    0.767755] ACPI: Added _OSI(Module Device)
[    0.770152] ACPI: Added _OSI(Processor Device)
[    0.772763] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.774817] ACPI: Added _OSI(Processor Aggregator Device)
[    0.779185] ACPI: Added _OSI(Linux-Dell-Video)
[    0.781993] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.784820] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.794220] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.795815] ACPI: Interpreter enabled
[    0.797792] ACPI: (supports S0 S5)
[    0.799579] ACPI: Using IOAPIC for interrupt routing
[    0.802296] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.805071] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.809545] iommu: Default domain type: Translated 
[    0.812291] SCSI subsystem initialized
[    0.814254] ACPI: bus type USB registered
[    0.824830] usbcore: registered new interface driver usbfs
[    0.827758] usbcore: registered new interface driver hub
[    0.830619] usbcore: registered new device driver usb
[    0.835034] hv_vmbus: Vmbus version:5.2
[    0.837384] PCI: Using ACPI for IRQ routing
[    0.835034] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    0.839701] PCI: System does not support PCI
[    0.844992] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[    0.849754] clocksource: Switched to clocksource tsc-early
[    0.852664] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[    1.082011] VFS: Disk quotas dquot_6.6.0
[    1.083748] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.087264] FS-Cache: Loaded
[    1.088631] pnp: PnP ACPI init
[    1.090071] pnp 00:00: Plug and Play ACPI device, IDs PNP0501 (active)
[    1.092806] pnp 00:01: Plug and Play ACPI device, IDs PNP0501 (active)
[    1.095669] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[    1.098522] pnp: PnP ACPI: found 3 devices
[    1.108141] NET: Registered protocol family 2
[    1.112605] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    1.122851] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.130265] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    1.137199] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    1.145218] TCP: Hash tables configured (established 131072 bind 65536)
[    1.151623] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    1.157909] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    1.164309] NET: Registered protocol family 1
[    1.169121] RPC: Registered named UNIX socket transport module.
[    1.175809] RPC: Registered udp transport module.
[    1.179982] RPC: Registered tcp transport module.
[    1.184241] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.189273] PCI: CLS 0 bytes, default 64
[    1.192387] Trying to unpack rootfs image as initramfs...
[    1.197902] Freeing initrd memory: 568K
[    1.201380] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.207272] software IO TLB: mapped [mem 0x00000000f4000000-0x00000000f8000000] (64MB)
[    1.213071] KVM: vmx: using Hyper-V Enlightened VMCS
[    1.220606] kvm: already loaded the other module
[    1.229010] Initialise system trusted keyrings
[    1.232950] workingset: timestamp_bits=46 max_order=22 bucket_order=0
[    1.239904] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.244507] NFS: Registering the id_resolver key type
[    1.248125] Key type id_resolver registered
[    1.251496] Key type id_legacy registered
[    1.254261] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.259702] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.267544] Installing knfsd (copyright (C) 1996 [email protected]).
[    1.274310] Key type cifs.idmap registered
[    1.277534] fuse: init (API version 7.32)
[    1.280634] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled
[    1.287831] 9p: Installing v9fs 9p2000 file system support
[    1.291836] FS-Cache: Netfs '9p' registered for caching
[    1.295850] FS-Cache: Netfs 'ceph' registered for caching
[    1.299688] ceph: loaded (mds proto 32)
[    1.320637] NET: Registered protocol family 38
[    1.324081] xor: automatically using best checksumming function   avx       
[    1.329197] Key type asymmetric registered
[    1.332218] Asymmetric key parser 'x509' registered
[    1.335324] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.341151] hv_vmbus: registering driver hv_pci
[    1.344853] hv_pci d284edb0-f399-4875-b05c-0add78297762: PCI VMBus probing: Using version 0x10003
[    1.353735] hv_pci d284edb0-f399-4875-b05c-0add78297762: PCI host bridge to bus f399:00
[    1.358759] pci_bus f399:00: root bus resource [mem 0x9ffe00000-0x9ffe02fff window]
[    1.364522] pci f399:00:00.0: [1af4:1043] type 00 class 0x010000
[    1.371112] pci f399:00:00.0: reg 0x10: [mem 0x9ffe00000-0x9ffe00fff 64bit]
[    1.377081] pci f399:00:00.0: reg 0x18: [mem 0x9ffe01000-0x9ffe01fff 64bit]
[    1.382611] pci f399:00:00.0: reg 0x20: [mem 0x9ffe02000-0x9ffe02fff 64bit]
[    1.390783] pci f399:00:00.0: BAR 0: assigned [mem 0x9ffe00000-0x9ffe00fff 64bit]
[    1.396336] pci f399:00:00.0: BAR 2: assigned [mem 0x9ffe01000-0x9ffe01fff 64bit]
[    1.401726] pci f399:00:00.0: BAR 4: assigned [mem 0x9ffe02000-0x9ffe02fff 64bit]
[    1.411779] hv_pci 77ae79a2-ca1c-4165-b6fa-c3580e655523: PCI VMBus probing: Using version 0x10003
[    1.419497] hv_pci 77ae79a2-ca1c-4165-b6fa-c3580e655523: PCI host bridge to bus ca1c:00
[    1.426016] pci ca1c:00:00.0: [1414:008e] type 00 class 0x030200
[    1.437346] ACPI: AC Adapter [AC1] (on-line)
[    1.442044] battery: ACPI: Battery Slot [BAT1] (battery present)
[    1.446951] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.451871] 00:00: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.457171] 00:01: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    1.498768] Non-volatile memory driver v1.3
[    1.501756] printk: console [hvc0] enabled
[    1.504724] printk: bootconsole [uart8250] disabled
[    1.513035] brd: module loaded
[    1.514718] loop: module loaded
[    1.515290] hv_vmbus: registering driver hv_storvsc
[    1.516361] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    1.517024] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
[    1.517592] scsi host0: storvsc_host_t
[    1.517775] tun: Universal TUN/TAP device driver, 1.6
[    1.518431] PPP generic driver version 2.4.2
[    1.519062] PPP BSD Compression module registered
[    1.519547] PPP Deflate Compression module registered
[    1.519867] PPP MPPE Compression module registered
[    1.520214] NET: Registered protocol family 24
[    1.520505] hv_vmbus: registering driver hv_netvsc
[    1.521022] VFIO - User Level meta-driver version: 0.3
[    1.521623] usbcore: registered new interface driver cdc_acm
[    1.522159] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.522731] usbcore: registered new interface driver ftdi_sio
[    1.523193] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.523969] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[    1.524405] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 1
[    1.525112] vhci_hcd: created sysfs vhci_hcd.0
[    1.525562] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.526185] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.526686] usb usb1: Product: USB/IP Virtual Host Controller
[    1.527189] usb usb1: Manufacturer: Linux 5.10.74.3-microsoft-standard-WSL2 vhci_hcd
[    1.527965] usb usb1: SerialNumber: vhci_hcd.0
[    1.528539] hub 1-0:1.0: USB hub found
[    1.528838] hub 1-0:1.0: 8 ports detected
[    1.529230] vhci_hcd vhci_hcd.0: USB/IP Virtual Host Controller
[    1.529633] vhci_hcd vhci_hcd.0: new USB bus registered, assigned bus number 2
[    1.530124] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.530665] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    1.531206] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.531628] usb usb2: Product: USB/IP Virtual Host Controller
[    1.532003] usb usb2: Manufacturer: Linux 5.10.74.3-microsoft-standard-WSL2 vhci_hcd
[    1.532423] usb usb2: SerialNumber: vhci_hcd.0
[    1.532860] hub 2-0:1.0: USB hub found
[    1.533132] hub 2-0:1.0: 8 ports detected
[    1.533442] hv_vmbus: registering driver hyperv_keyboard
[    1.533999] rtc_cmos 00:02: RTC can wake from S4
[    1.556517] rtc_cmos 00:02: registered as rtc0
[    1.557394] rtc_cmos 00:02: setting system clock to 2021-12-06T07:32:04 UTC (1638775924)
[    1.557965] rtc_cmos 00:02: alarms up to one month, 114 bytes nvram
[    1.558605] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: [email protected]
[    1.559237] device-mapper: raid: Loading target version 1.15.1
[    1.559675] usbcore: registered new interface driver usbhid
[    1.560042] usbhid: USB HID core driver
[    1.560591] hv_utils: Registering HyperV Utility Driver
[    1.561124] hv_vmbus: registering driver hv_utils
[    1.561543] hv_vmbus: registering driver hv_balloon
[    1.561550] hv_utils: cannot register PTP clock: 0
[    1.561939] hv_vmbus: registering driver dxgkrnl
[    1.562370] hv_balloon: Using Dynamic Memory protocol version 2.0
[    1.562755] hv_utils: TimeSync IC version 4.0
[    1.562822] (NULL device *): dxgk: dxg_drv_init  Version: 2110
[    1.564363] Free page reporting enabled
[    1.565604] hv_balloon: Cold memory discard hint enabled
[    1.566015] (NULL device *): dxgk: mmio allocated 9ffe10000  200000000 9ffe10000 bffe0ffff
[    1.567861] drop_monitor: Initializing network drop monitor service
[    1.568471] Mirror/redirect action on
[    1.569127] IPVS: Registered protocols (TCP, UDP)
[    1.569679] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    1.570670] IPVS: ipvs loaded.
[    1.571007] IPVS: [rr] scheduler registered.
[    1.571536] IPVS: [wrr] scheduler registered.
[    1.571992] IPVS: [sh] scheduler registered.
[    1.572809] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    1.576214] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    1.577158] Initializing XFRM netlink socket
[    1.577608] NET: Registered protocol family 10
[    1.578677] Segment Routing with IPv6
[    1.580442] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.581046] NET: Registered protocol family 17
[    1.581365] Bridge firewalling registered
[    1.581602] 8021q: 802.1Q VLAN Support v1.8
[    1.581852] sctp: Hash tables configured (bind 256/256)
[    1.582248] 9pnet: Installing 9P2000 support
[    1.582647] Key type dns_resolver registered
[    1.583084] Key type ceph registered
[    1.583637] libceph: loaded (mon/osd proto 15/24)
[    1.584210] NET: Registered protocol family 40
[    1.584687] hv_vmbus: registering driver hv_sock
[    1.585274] IPI shorthand broadcast: enabled
[    1.585680] sched_clock: Marking stable (1546891310, 38183000)->(1679872100, -94797790)
[    1.586471] registered taskstats version 1
[    1.586728] Loading compiled-in X.509 certificates
[    1.587265] Btrfs loaded, crc32c=crc32c-generic
[    1.597242] Freeing unused kernel image (initmem) memory: 1564K
[    1.644889] Write protecting the kernel read-only data: 28672k
[    1.646379] Freeing unused kernel image (text/rodata gap) memory: 2024K
[    1.647149] Freeing unused kernel image (rodata/data gap) memory: 1232K
[    1.647523] Run /init as init process
[    1.647725]   with arguments:
[    1.647921]     /init
[    1.648050]   with environment:
[    1.648244]     HOME=/
[    1.648372]     TERM=linux
[    1.652746] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    1.653795] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.654631] sd 0:0:0:0: [sda] 706392 512-byte logical blocks: (362 MB/345 MiB)
[    1.655375] sd 0:0:0:0: [sda] Write Protect is on
[    1.655730] sd 0:0:0:0: [sda] Mode Sense: 0f 00 80 00
[    1.656346] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    1.866042] EXT4-fs (sda): mounted filesystem without journal. Opts: (null)
[    1.945887] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.170808] hv_pci c294e8b4-bf4c-4e39-b75b-675a15bc6963: PCI VMBus probing: Using version 0x10003
[    2.175008] hv_pci c294e8b4-bf4c-4e39-b75b-675a15bc6963: PCI host bridge to bus bf4c:00
[    2.176417] pci_bus bf4c:00: root bus resource [mem 0xc00000000-0xe00001fff window]
[    2.179159] pci bf4c:00:00.0: [1af4:105a] type 00 class 0x088000
[    2.183647] pci bf4c:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit]
[    2.187120] pci bf4c:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit]
[    2.190390] pci bf4c:00:00.0: reg 0x20: [mem 0xc00000000-0xdffffffff 64bit]
[    2.197959] pci bf4c:00:00.0: BAR 4: assigned [mem 0xc00000000-0xdffffffff 64bit]
[    2.202211] pci bf4c:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit]
[    2.209076] pci bf4c:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit]
[    2.266289] virtiofs virtio1: Cache len: 0x200000000 @ 0xc00000000
[    2.294873] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x28680ed6720, max_idle_ns: 440795313953 ns
[    2.296253] clocksource: Switched to clocksource tsc
[    2.353784] memmap_init_zone_device initialised 2097152 pages in 40ms
[    2.525093] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    3.145102] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    3.147029] sd 0:0:0:1: Attached scsi generic sg1 type 0
[    3.147839] scsi 0:0:0:2: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    3.147914] sd 0:0:0:1: [sdb] 8388616 512-byte logical blocks: (4.29 GB/4.00 GiB)
[    3.149075] sd 0:0:0:2: Attached scsi generic sg2 type 0
[    3.149161] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[    3.149267] sd 0:0:0:1: [sdb] Write Protect is off
[    3.149951] sd 0:0:0:2: [sdc] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    3.149978] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[    3.150240] sd 0:0:0:2: [sdc] 4096-byte physical blocks
[    3.150955] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.151443] sd 0:0:0:2: [sdc] Write Protect is off
[    3.152579] sd 0:0:0:2: [sdc] Mode Sense: 0f 00 00 00
[    3.153099] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.154585] sd 0:0:0:1: [sdb] Attached SCSI disk
[    3.157201] sd 0:0:0:2: [sdc] Attached SCSI disk
[    3.284868] Adding 4194304k swap on /dev/sdb.  Priority:-2 extents:1 across:4194304k 
[    5.420212] EXT4-fs (sdc): 10 orphan inodes deleted
[    5.421938] EXT4-fs (sdc): recovery complete
[    5.432655] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    5.519904] hv_pci 93d306c9-15ca-4d30-b189-70fef83c18f4: PCI VMBus probing: Using version 0x10003
[    5.523154] hv_pci 93d306c9-15ca-4d30-b189-70fef83c18f4: PCI host bridge to bus 15ca:00
[    5.524334] pci_bus 15ca:00: root bus resource [mem 0x9ffe04000-0x9ffe06fff window]
[    5.527239] pci 15ca:00:00.0: [1af4:1049] type 00 class 0x010000
[    5.527336] 9pnet_virtio: no channels available for device drvfs
[    5.528549] WARNING: mount: waiting for virtio device...
[    5.529456] pci 15ca:00:00.0: reg 0x10: [mem 0x9ffe04000-0x9ffe04fff 64bit]
[    5.531470] pci 15ca:00:00.0: reg 0x18: [mem 0x9ffe05000-0x9ffe05fff 64bit]
[    5.533560] pci 15ca:00:00.0: reg 0x20: [mem 0x9ffe06000-0x9ffe06fff 64bit]
[    5.540698] pci 15ca:00:00.0: BAR 0: assigned [mem 0x9ffe04000-0x9ffe04fff 64bit]
[    5.542362] pci 15ca:00:00.0: BAR 2: assigned [mem 0x9ffe05000-0x9ffe05fff 64bit]
[    5.543762] pci 15ca:00:00.0: BAR 4: assigned [mem 0x9ffe06000-0x9ffe06fff 64bit]
[    5.647205] hv_pci de73c00e-0a4f-44a5-913f-a5949665d74e: PCI VMBus probing: Using version 0x10003
[    5.651096] hv_pci de73c00e-0a4f-44a5-913f-a5949665d74e: PCI host bridge to bus 0a4f:00
[    5.652145] pci_bus 0a4f:00: root bus resource [mem 0x9ffe08000-0x9ffe0afff window]
[    5.654546] pci 0a4f:00:00.0: [1af4:1049] type 00 class 0x010000
[    5.656827] pci 0a4f:00:00.0: reg 0x10: [mem 0x9ffe08000-0x9ffe08fff 64bit]
[    5.658621] pci 0a4f:00:00.0: reg 0x18: [mem 0x9ffe09000-0x9ffe09fff 64bit]
[    5.660430] pci 0a4f:00:00.0: reg 0x20: [mem 0x9ffe0a000-0x9ffe0afff 64bit]
[    5.667396] pci 0a4f:00:00.0: BAR 0: assigned [mem 0x9ffe08000-0x9ffe08fff 64bit]
[    5.669217] pci 0a4f:00:00.0: BAR 2: assigned [mem 0x9ffe09000-0x9ffe09fff 64bit]
[    5.670793] pci 0a4f:00:00.0: BAR 4: assigned [mem 0x9ffe0a000-0x9ffe0afff 64bit]
[    6.058959] hv_pci 70a53490-060f-4eef-b76f-52e2e7d3ca07: PCI VMBus probing: Using version 0x10003
[    6.062014] hv_pci 70a53490-060f-4eef-b76f-52e2e7d3ca07: PCI host bridge to bus 060f:00
[    6.062915] pci_bus 060f:00: root bus resource [mem 0x9ffe0c000-0x9ffe0efff window]
[    6.065704] pci 060f:00:00.0: [1af4:1049] type 00 class 0x010000
[    6.067756] pci 060f:00:00.0: reg 0x10: [mem 0x9ffe0c000-0x9ffe0cfff 64bit]
[    6.069391] pci 060f:00:00.0: reg 0x18: [mem 0x9ffe0d000-0x9ffe0dfff 64bit]
[    6.070893] pci 060f:00:00.0: reg 0x20: [mem 0x9ffe0e000-0x9ffe0efff 64bit]
[    6.076661] pci 060f:00:00.0: BAR 0: assigned [mem 0x9ffe0c000-0x9ffe0cfff 64bit]
[    6.078241] pci 060f:00:00.0: BAR 2: assigned [mem 0x9ffe0d000-0x9ffe0dfff 64bit]
[    6.079543] pci 060f:00:00.0: BAR 4: assigned [mem 0x9ffe0e000-0x9ffe0efff 64bit]
[   50.415489] hv_balloon: Max. dynamic memory size: 16236 MB
[  183.424484] TCP: eth0: Driver has suspect GRO implementation, TCP performance may be compromised.
[ 1817.073531] br-8243b6471523: port 1(veth69c7e35) entered blocking state
[ 1817.073880] br-8243b6471523: port 1(veth69c7e35) entered disabled state
[ 1817.074070] device veth69c7e35 entered promiscuous mode
[ 1817.074234] br-8243b6471523: port 1(veth69c7e35) entered blocking state
[ 1817.074483] br-8243b6471523: port 1(veth69c7e35) entered forwarding state
[ 1817.074841] IPv6: ADDRCONF(NETDEV_CHANGE): br-8243b6471523: link becomes ready
[ 1817.075309] br-8243b6471523: port 1(veth69c7e35) entered disabled state
[ 1817.084345] br-8243b6471523: port 2(veth33d9e7b) entered blocking state
[ 1817.084984] br-8243b6471523: port 2(veth33d9e7b) entered disabled state
[ 1817.085209] device veth33d9e7b entered promiscuous mode
[ 1817.085429] br-8243b6471523: port 2(veth33d9e7b) entered blocking state
[ 1817.085659] br-8243b6471523: port 2(veth33d9e7b) entered forwarding state
[ 1817.147828] br-8243b6471523: port 3(veth6552278) entered blocking state
[ 1817.148195] br-8243b6471523: port 3(veth6552278) entered disabled state
[ 1817.148573] device veth6552278 entered promiscuous mode
[ 1817.148818] br-8243b6471523: port 3(veth6552278) entered blocking state
[ 1817.149062] br-8243b6471523: port 3(veth6552278) entered forwarding state
[ 1817.254963] br-8243b6471523: port 4(veth5744de5) entered blocking state
[ 1817.255292] br-8243b6471523: port 4(veth5744de5) entered disabled state
[ 1817.255525] device veth5744de5 entered promiscuous mode
[ 1817.255700] br-8243b6471523: port 4(veth5744de5) entered blocking state
[ 1817.255946] br-8243b6471523: port 4(veth5744de5) entered forwarding state
[ 1817.335442] cgroup: runc (1835) created nested cgroup for controller "memory" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.
[ 1817.336076] cgroup: "memory" requires setting use_hierarchy to 1 on the root
[ 1817.336865] cgroup: cgroup: disabling cgroup2 socket matching due to net_prio or net_cls activation
[ 1817.374654] br-8243b6471523: port 2(veth33d9e7b) entered disabled state
[ 1817.375204] br-8243b6471523: port 3(veth6552278) entered disabled state
[ 1817.375669] br-8243b6471523: port 4(veth5744de5) entered disabled state
[ 1817.565179] eth0: renamed from veth9a51c99
[ 1817.605143] IPv6: ADDRCONF(NETDEV_CHANGE): veth33d9e7b: link becomes ready
[ 1817.605913] br-8243b6471523: port 2(veth33d9e7b) entered blocking state
[ 1817.606143] br-8243b6471523: port 2(veth33d9e7b) entered forwarding state
[ 1817.674922] eth0: renamed from vethc7f19e3
[ 1817.734961] IPv6: ADDRCONF(NETDEV_CHANGE): veth69c7e35: link becomes ready
[ 1817.735401] br-8243b6471523: port 1(veth69c7e35) entered blocking state
[ 1817.735692] br-8243b6471523: port 1(veth69c7e35) entered forwarding state
[ 1817.944882] eth0: renamed from veth3bb9d7e
[ 1818.014963] IPv6: ADDRCONF(NETDEV_CHANGE): veth6552278: link becomes ready
[ 1818.015611] br-8243b6471523: port 3(veth6552278) entered blocking state
[ 1818.015982] br-8243b6471523: port 3(veth6552278) entered forwarding state
[ 1818.074831] eth0: renamed from veth4727733
[ 1818.135895] IPv6: ADDRCONF(NETDEV_CHANGE): veth5744de5: link becomes ready
[ 1818.136402] br-8243b6471523: port 4(veth5744de5) entered blocking state
[ 1818.136844] br-8243b6471523: port 4(veth5744de5) entered forwarding state
[ 2056.104778] init: (2662) ERROR: InitCreateProcessUtilityVm:1827: recv failed 0 5
[ 2618.744782] init[23220]: segfault at e50010 ip 0000000000290734 sp 00007ffea406a440 error 6 in init[259000+109000]
[ 2618.747678] Code: 49 8b 4f 10 49 8b 47 18 48 39 c8 75 1d 48 c7 c0 fe ff ff ff 44 89 e9 48 d3 c0 f0 48 21 05 bc 7f 0e 00 49 8b 4f 10 49 8b 47 18 <48> 89 48 10 49 8b 4f 10 48 89 41 18 49 8b 47 08 48 89 c1 48 83 c9
[ 2618.750125] potentially unexpected fatal signal 11.
[ 2618.751084] CPU: 4 PID: 23220 Comm: init Not tainted 5.10.74.3-microsoft-standard-WSL2 #1
[ 2618.752186] RIP: 0033:0x290734
[ 2618.752692] Code: 49 8b 4f 10 49 8b 47 18 48 39 c8 75 1d 48 c7 c0 fe ff ff ff 44 89 e9 48 d3 c0 f0 48 21 05 bc 7f 0e 00 49 8b 4f 10 49 8b 47 18 <48> 89 48 10 49 8b 4f 10 48 89 41 18 49 8b 47 08 48 89 c1 48 83 c9
[ 2618.756069] RSP: 002b:00007ffea406a440 EFLAGS: 00010297
[ 2618.757031] RAX: 0000000000e50000 RBX: 0000000000000020 RCX: 0000564e454c5357
[ 2618.761886] RDX: 00000000003786e8 RSI: 0000000000000003 RDI: 0000000000000001
[ 2618.764168] RBP: 00000000003786f0 R08: 0000000000e61da0 R09: 8080808080808080
[ 2618.765058] R10: fefefefefefefeff R11: 0000000000000206 R12: 0000000000000020
[ 2618.765861] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000e62910
[ 2618.767139] FS:  0000000000378290 GS:  0000000000000000
[ 3287.361795] init: (24208) ERROR: Create:125: bind failed 98
[ 3938.536054] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
[ 5543.094687] init: (24068) ERROR: Create:125: bind failed 98

@ghost ghost removed the needs-author-feedback label Dec 6, 2021
@mwidmann
Copy link
Author

mwidmann commented Dec 6, 2021

And here is what strace prints out, when trying to open code . from a wsl2 folder:

☁  webserver [feature/add-php8-webserver] ⚡  strace code .
execve("/mnt/c/Users/mwidmann/AppData/Local/Programs/Microsoft VS Code/bin/code", ["code", "."], 0x7ffe4d77a518 /* 42 vars */) = 0
brk(NULL)                               = 0x55d3d85bf000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffea3452550) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=72418, ...}) = 0
mmap(NULL, 72418, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0652176000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360q\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\t\233\222%\274\260\320\31\331\326\10\204\276X>\263"..., 68, 880) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2029224, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0652174000
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\t\233\222%\274\260\320\31\331\326\10\204\276X>\263"..., 68, 880) = 68
mmap(NULL, 2036952, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0651f82000
mprotect(0x7f0651fa7000, 1847296, PROT_NONE) = 0
mmap(0x7f0651fa7000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f0651fa7000
mmap(0x7f065211f000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19d000) = 0x7f065211f000
mmap(0x7f065216a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f065216a000
mmap(0x7f0652170000, 13528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0652170000
close(3)                                = 0
arch_prctl(ARCH_SET_FS, 0x7f0652175580) = 0
mprotect(0x7f065216a000, 12288, PROT_READ) = 0
mprotect(0x55d3d73a9000, 4096, PROT_READ) = 0
mprotect(0x7f06521b5000, 4096, PROT_READ) = 0
munmap(0x7f0652176000, 72418)           = 0
brk(NULL)                               = 0x55d3d85bf000
brk(0x55d3d85e0000)                     = 0x55d3d85e0000
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3035952, ...}) = 0
mmap(NULL, 3035952, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0651c9c000
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2996, ...}) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2996
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=252, ...}) = 0
mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f06521b4000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=27002, ...}) = 0
mmap(NULL, 27002, PROT_READ, MAP_SHARED, 3, 0) = 0x7f0652181000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0652180000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f065217f000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=131, ...}) = 0
mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f065217e000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f065217d000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0
mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f065217c000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0
mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f065217b000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0
mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f065217a000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1518110, ...}) = 0
mmap(NULL, 1518110, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0651b29000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0
mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0652179000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0652178000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=201272, ...}) = 0
mmap(NULL, 201272, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0651af7000
close(3)                                = 0
execve("/home/mwidmann/.nvm/versions/node/v14.17.6/bin/sh", ["sh", "/mnt/c/Users/mwidmann/AppData/Lo"..., "."], 0x7ffea3452650 /* 42 vars */) = -1 ENOENT (No such file or directory)
execve("/usr/local/sbin/sh", ["sh", "/mnt/c/Users/mwidmann/AppData/Lo"..., "."], 0x7ffea3452650 /* 42 vars */) = -1 ENOENT (No such file or directory)
execve("/usr/local/bin/sh", ["sh", "/mnt/c/Users/mwidmann/AppData/Lo"..., "."], 0x7ffea3452650 /* 42 vars */) = -1 ENOENT (No such file or directory)
execve("/usr/sbin/sh", ["sh", "/mnt/c/Users/mwidmann/AppData/Lo"..., "."], 0x7ffea3452650 /* 42 vars */) = -1 ENOENT (No such file or directory)
execve("/usr/bin/sh", ["sh", "/mnt/c/Users/mwidmann/AppData/Lo"..., "."], 0x7ffea3452650 /* 42 vars */) = 0
brk(NULL)                               = 0x55b389d6e000
arch_prctl(0x3001 /* ARCH_??? */, 0x7fff282a04d0) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=72418, ...}) = 0
mmap(NULL, 72418, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f7070391000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360q\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\t\233\222%\274\260\320\31\331\326\10\204\276X>\263"..., 68, 880) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2029224, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f707038f000
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\t\233\222%\274\260\320\31\331\326\10\204\276X>\263"..., 68, 880) = 68
mmap(NULL, 2036952, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f707019d000
mprotect(0x7f70701c2000, 1847296, PROT_NONE) = 0
mmap(0x7f70701c2000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f70701c2000
mmap(0x7f707033a000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19d000) = 0x7f707033a000
mmap(0x7f7070385000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f7070385000
mmap(0x7f707038b000, 13528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f707038b000
close(3)                                = 0
arch_prctl(ARCH_SET_FS, 0x7f7070390580) = 0
mprotect(0x7f7070385000, 12288, PROT_READ) = 0
mprotect(0x55b3898c7000, 8192, PROT_READ) = 0
mprotect(0x7f70703d0000, 4096, PROT_READ) = 0
munmap(0x7f7070391000, 72418)           = 0
getuid()                                = 1000
getgid()                                = 1000
getpid()                                = 17888
rt_sigaction(SIGCHLD, {sa_handler=0x55b3898bcc30, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f70701e3210}, NULL, 8) = 0
geteuid()                               = 1000
brk(NULL)                               = 0x55b389d6e000
brk(0x55b389d8f000)                     = 0x55b389d8f000
getppid()                               = 17885
stat("/home/mwidmann/projects/dockerfiles/webserver", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/mnt/c/Users/mwidmann/AppData/Local/Programs/Microsoft VS Code/bin/code", O_RDONLY) = 3
fcntl(3, F_DUPFD, 10)                   = 10
close(3)                                = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
geteuid()                               = 1000
getegid()                               = 1000
rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x55b3898bcc30, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f70701e3210}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f70701e3210}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=SIG_DFL, sa_mask=~[RTMIN RT_1], sa_flags=SA_RESTORER, sa_restorer=0x7f70701e3210}, NULL, 8) = 0
read(10, "#!/usr/bin/env sh\n#\n# Copyright "..., 8192) = 2048
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f7070390850) = 17889
close(4)                                = 0
read(3, "/mnt/c/Users/mwidmann/AppData/Lo"..., 128) = 63
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17889, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 63
read(3, "", 128)                        = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 17889
pipe([3, 4])                            = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f7070390850) = 17892
close(4)                                = 0
read(3, "C:/Users/mwidmann/AppData/Local/"..., 128) = 84
read(3, "", 128)                        = 0
close(3)                                = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17892, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 17892
openat(AT_FDCWD, "/tmp/remote-wsl-loc.txt", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_DUPFD, 10)                   = 11
close(1)                                = 0
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
dup2(3, 1)                              = 1
close(3)                                = 0
openat(AT_FDCWD, "/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(2, F_DUPFD, 10)                   = 12
close(2)                                = 0
fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
dup2(3, 2)                              = 2
close(3)                                = 0
openat(AT_FDCWD, "/dev/null", O_RDONLY) = 3
fcntl(0, F_DUPFD, 10)                   = 13
close(0)                                = 0
fcntl(13, F_SETFD, FD_CLOEXEC)          = 0
dup2(3, 0)                              = 0
close(3)                                = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f7070390850) = 17893
wait4(-1,

the wait4(-1, is actually the last output. after that nothing more happens...

@Whitechapel-1888
Copy link

Whitechapel-1888 commented Dec 6, 2021

I have this exact same problem on windows 11! I installed kali-linux and setup git-for-windows aswell as git in kali. Usually, if I use git within the first 10 minutes or so after booting my computer, everything works normally. But seemingly at random, git cannot access the credential-helper anymore and I cannot push/pull anything from within linux. Whenever this happens, access from explorer to the kali directory does not work anymore (explorer attempts to load but nothing happens).

Strangely, running the WSL enabled nvidia-driver, I can access it from kali without issues, even if the problem occured. Here is what I noticed so far:

  • Problem happens in Ubuntu (current), Debian, Kali-linux independently
  • Accessibilty cannot be restored with restarting explorer or restarting WSL2 instance.
  • No error messages in powershell (cd into \wsl$\kali-linux\ runs endlessly)
  • No error messages in explorer (open kali-linux drive). But: If clicking on it multiple times, explorer will completely glitch out.
  • No error messages in shell (cd to /mnt/c/Users/)
  • Reboot seems the only way to restore access.
  • No problems with jupyter server running in WSL2 instance. It can normally be accessed from windows.

@benhillis benhillis self-assigned this Dec 7, 2021
@HnLn
Copy link

HnLn commented Dec 8, 2021

Same issue: #7782 ?

@overflowz
Copy link

Same issue: #7782 ?

Looks like the same to me. We resolved it by uninstalling the Windows Subsystem Linux Preview app from the Microsoft Store and using the "native" one (enabled via the features) and it started working without any issues so far.

@Whitechapel-1888
Copy link

Same issue: #7782 ?

Looks like the same to me. We resolved it by uninstalling the Windows Subsystem Linux Preview app from the Microsoft Store and using the "native" one (enabled via the features) and it started working without any issues so far.

This unfortunately breaks graphical apps working out of the box, as well as the nvidia wsl-ready driver.

@intdel
Copy link

intdel commented Dec 8, 2021

Same issue: #7782 ?

Looks like the same to me. We resolved it by uninstalling the Windows Subsystem Linux Preview app from the Microsoft Store and using the "native" one (enabled via the features) and it started working without any issues so far.

This unfortunately breaks graphical apps working out of the box, as well as the nvidia wsl-ready driver.

Not quite true.
You need to run a wsl.exe --update to get the version installed that supports WSLg.

@mwidmann
Copy link
Author

mwidmann commented Dec 9, 2021

Can confirm, that uninstalling the store version seems to fix the problem for the time being.

@intdel
Copy link

intdel commented Dec 9, 2021

Here is the command for people who end up looking here. You need to run this in an elevated PowerShell prompt.
Be aware that this will stop any WSL session.

wsl.exe --shutdown
Get-AppxPackage -Name MicrosoftCorporationII.WindowsSubsystemforLinux | Remove-AppxPackage
wsl.exe --update

@Jeroeny
Copy link

Jeroeny commented Dec 9, 2021

Here is the command for people who end up looking here. You need to run this in an elevated PowerShell prompt. Be aware that this will stop any WSL session.

wsl.exe --shutdown
Get-AppxPackage -Name MicrosoftCorporationII.WindowsSubsystemforLinux | Remove-AppxPackage
wsl.exe --update

Does this keep the distros and their files?

@mwidmann
Copy link
Author

mwidmann commented Dec 9, 2021

Yes, it does.

@Whitechapel-1888
Copy link

Removing the store version and installing the newer version of WSL via wsl --update also fixed the issue for me.

@spences10
Copy link

When I try wsl --update I get the help output

I have had to go and enable the WSL option in the features panel

image

then restart, but it looks like the WSL app reinstalls itself??

@spences10
Copy link

spences10 commented Dec 12, 2021

This is some real strange behaviour, it appears that I have two instances of my Linux distro here.

So, if I select the Windows Subsystem for Linux app from the Windows menu I get a terminal where the filesystem can be connected to, the only thing is, that looks like a historical snapshot of my repos.

If I select Windows terminal or open a new terminal tab I have my most current files, so, although both instances are Fedora-35 which is the default on opening a new terminal they appear to be pointing to different filesystems.

Here's a really bad gif demonstrating it

Ignore this, I didn't know that the WSL app wouldn't respect the default distro selected for the terminal!

#7754 (comment)

@intdel
Copy link

intdel commented Dec 12, 2021

You can always take a look at wsl.exe --list -v.

Though I don't think that is related to the issue here.

@spences10
Copy link

spences10 commented Dec 12, 2021

You can always take a look at wsl.exe --list -v.

Though I don't think that is related to the issue here.

Oh, well, this is interesting!

image

Even though I have Fedora set as the default, Ubuntu is what's opened, so it is in fact two different filesystems 🤦

Ok, I can work with Ubuntu!

@spences10
Copy link

Here is the command for people who end up looking here. You need to run this in an elevated PowerShell prompt. Be aware that this will stop any WSL session.

wsl.exe --shutdown
Get-AppxPackage -Name MicrosoftCorporationII.WindowsSubsystemforLinux | Remove-AppxPackage
wsl.exe --update

Does this keep the distros and their files?

Do you have the Windows Subsystem for Linux, Windows feature turned on for this fix?

@intdel
Copy link

intdel commented Dec 12, 2021

Here is the command for people who end up looking here. You need to run this in an elevated PowerShell prompt. Be aware that this will stop any WSL session.

wsl.exe --shutdown
Get-AppxPackage -Name MicrosoftCorporationII.WindowsSubsystemforLinux | Remove-AppxPackage
wsl.exe --update

Does this keep the distros and their files?

Do you have the Windows Subsystem for Linux, Windows feature turned on for this fix?

Yes, it has to be enabled.

@lucyllewy
Copy link

I'm not sure this is entirely a WSL2 issue. I'm noticing launching apps via powershell is also intermittently failing, and sometimes cmd.exe and pwsh.exe refuse to finish launching inside windows terminal. Here's an example of trying to launch vscode from powershell core on Windows:

code --verbose

[main 2021-12-13T23:57:06.499Z] Startup error: Unknown channel: Channel name 'launch' timed out after 1000ms
[main 2021-12-13T23:57:06.499Z] Lifecycle#kill()
[main 2021-12-13T23:57:06.499Z] Lifecycle#onWillShutdown.fire()

I've noticed that whenever the failures occur on Windows side that WSLInterop has also broken. There are Warning messages about DCOM that coincide with each attempted invokation of a failing app in the Event Viewer but searching Google suggests that they're normal behaviour for Windows (I'm not convinced):

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{2593F8B9-4EAF-457C-B68A-50F6B8EA6B54}
 and APPID 
{15C20B67-12E7-4BB6-92BB-7AFF07997402}
 to the user TOWERPC\dani SID (S-1-5-21-3012870167-2257509071-70844825-1001) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

And the immediately preceeding log message from 50 seconds earlier:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID 
{2593F8B9-4EAF-457C-B68A-50F6B8EA6B54}
 and APPID 
{15C20B67-12E7-4BB6-92BB-7AFF07997402}
 to the user TOWERPC\dani SID (S-1-5-21-3012870167-2257509071-70844825-1001) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

@crramirez
Copy link
Contributor

It happens to me only with the store version. I discovered that looks like the service that expose the Linux file system to Windows breaks but one distribution at time. After that every time that you execute any Windows command from WSL where the working directory is in the Linux file system it halts forever. If you instead execute the command from a working directory that is located in Windows like /mnt/c it starts without problem.

Hope it helps

@rvanlaak
Copy link

rvanlaak commented Dec 17, 2021

Here is the command for people who end up looking here. You need to run this in an elevated PowerShell prompt. Be aware that this will stop any WSL session.

wsl.exe --shutdown
Get-AppxPackage -Name MicrosoftCorporationII.WindowsSubsystemforLinux | Remove-AppxPackage
wsl.exe --update

The Windows Subsystem for Linux Preview will get installed when your machine is subscribed as Windows Insider: https://docs.microsoft.com/en-us/windows/wsl/install#want-to-try-the-latest-wsl-preview-features

The wsl --update command in case of insiders does by default install the Store Preview version. So, don't run that command to stay with the non-store, non-preview wsl version. Run wsl --update --inbox instead to not update to the Store version, but simply check for kernel updates.

The related message you get in WSL when you spin up the non-store version:
image

@spences10
Copy link

So, it looks like someone managed to get some logs for this issue. 😊

This happened to me on my Win 11 laptop that's not on an insiders build, so looks like it's not just insiders that are experiencing this.

@microhobby
Copy link

microhobby commented Jan 10, 2022

I'm having absolutely the same behavior reported by @diddledani #7754 (comment)

@cpbotha
Copy link

cpbotha commented Jan 16, 2022

I just ran into this again with the latest release of WSL, 0.51.0 released on January 14.

Many of my WSL workflows rely on being able to call Windows binaries from the WSL side. This bug breaks all of them, so I will have to revert to the old system (non-store) WSL.

wsl --status
Default Distribution: Ubuntu
Default Version: 2
WSL version: 0.51.0.0
Kernel version: 5.10.81.1
WSLg version: 1.0.30
Windows version: 10.0.22000.466

@okibcn
Copy link

okibcn commented Feb 5, 2022

Sadly I am experiencing that issue quite often. After a number of opening and closing files using vscode from WSL, the interop between Windows and WSL fails. At this time the Ubuntu 20.04 distro, installed from Microsoft Store, can't be accessed from Windows. However, it can access /mnt/c/ mount. Obviously, vscode is not working in that distro.

However, this is quite interesting, I also have the latest daily distro of Ubuntu 22.04 for WSL. I don't have any problem there. At this time, from Windows PowerShell I can do:

ls \\wsl\localhost\Ubuntu-22.04\

But when doing this, powershell hangs:

ls \\wsl\localhost\Ubuntu-20.04\

Same behavior happens when trying to access those locations with explorer.exe

wsl --shutdown doesn't fix the issue.

@JayQ1982
Copy link

Similar Issue ##7506?

@Whitechapel-1888
Copy link

Similar Issue ##7506?

Yeah, that very much looks like this issue. The OP of #7506 has their program freeze or crash due to the WSL env becoming inaccessible from windows (or vice versa). The OP should try to remove the MS store version, and then install WSL via wsl --update.

@cpbotha
Copy link

cpbotha commented Feb 16, 2022

The discussion there and in the JetBrains bug report https://youtrack.jetbrains.com/issue/IDEA-276250 is fascinating.

Next time I have the blocking windows command issue, I'm going to try and clear out /run/WSL to see if that fixes the problem.

@rvanlaak
Copy link

Great reference to the Jetbrains thread @cpbotha !

every wsl.exe command leaves a abandoned socket file in /run/WSL, this is a Microsoft bug ...

@okibcn
Copy link

okibcn commented Feb 16, 2022

The discussion there and in the JetBrains bug report https://youtrack.jetbrains.com/issue/IDEA-276250 is fascinating.

Next time I have the blocking windows command issue, I'm going to try and clear out /run/WSL to see if that fixes the problem.

I already tried, but removing outdated, or even all, entries in /run/WSL doesn't fix the loss of access to the WSL filesystem from Windows. So far the only option is to restart Windows as wsl --shutdown is useless when the issue happens.

@spences10
Copy link

I've switched to using the WSL Windows feature over the Windows App, haven't had an issue since.

There doesn't seem to be any identification of what is causing this or how to fix it so far so (for me at least) switching back to the none app version works.

@mwidmann
Copy link
Author

I might be wrong and I might be too optimistic, but i tried upgrading again to the store version with the latest insider build 22557.ni_release.220210-1445 and the problem hasn't happend to me since. The installed store version is 0.51.3.0.

@intdel
Copy link

intdel commented Feb 21, 2022

I agree that this version seems to be working again.

@zed76r
Copy link

zed76r commented Feb 22, 2022

I might be wrong and I might be too optimistic, but i tried upgrading again to the store version with the latest insider build 22557.ni_release.220210-1445 and the problem hasn't happend to me since. The installed store version is 0.51.3.0.

After two days running, the problem hasn't happened.
image

@peterjuras
Copy link

Does this only apply to a Windows 11 insider build or also if you are running the release version?

@mwidmann
Copy link
Author

I think 22000.527 is the official released version. So it seems it works for all versions (of W11 at least)

@okibcn
Copy link

okibcn commented Feb 23, 2022

I might be wrong and I might be too optimistic, but i tried upgrading again to the store version with the latest insider build 22557.ni_release.220210-1445 and the problem hasn't happend to me since. The installed store version is 0.51.3.0.

I have duplicated it in Windows 11 22557.ni_release.220210-1445. In my case, 2 computers one using this build and the other using the official release behave the same. When the issue happens, it affects only the failing distro, other distros installed on the same computer retain interoperability in both directions.

In my case, it fails only when using the MS Store version of WSL Preview, and works fine when uninstalling it and using the WSL bundled as part of the Windows Feature set.

@mwidmann
Copy link
Author

In my case, it fails only when using the MS Store version of WSL Preview, and works fine when uninstalling it and using the WSL bundled as part of the Windows Feature set.

That's what I've been using for the past couple of months. At every new release of a store version and every new release of an Insider build I checked if the problems still persisted. And then uninstalled the store version as if failed on me shortly afterwards.

But this time that wasn't necessary. I don't know what the main factor was, but I've been running the store version for a couple of days now and didn't face any issues with it anymore.

If you're still having the problems, than I might just have been extremely lucky with it.

@mwidmann
Copy link
Author

mwidmann commented Mar 1, 2022

Here we go again. I'm facing the issues with the store build again in the latest Insider Build 22563.ni_release.220219-1637.

@OneBlue
Copy link
Collaborator

OneBlue commented Mar 1, 2022

Thanks a lot to everyone who posted logs and helped with this investigation.

We have identified the root cause in #7883, so I'll close this as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests