nathanchance / WSL2-Linux-Kernel

linux-next-based WSL2 kernel (discontinued due to no longer using WSL2)
Other
151 stars 16 forks source link

Mounts don't work with latest kernel (v55) #12

Closed catthehacker closed 3 years ago

catthehacker commented 3 years ago

Mounted drives from Windows doesn't seem to work with newest kernel (https://github.com/nathanchance/WSL2-Linux-Kernel/releases/tag/wsl2-cbl-kernel-next-20210217-v55)

dmesg ``` cat@alpine ~ [0|1]> dmesg [ 0.000000] Linux version 5.11.0-next-20210217-microsoft-cbl (nathan@debian-m3-large-x86) (ClangBuiltLinux clang version 13.0.0 (https://github.com/llvm/llvm-project 4c3f1be84f76ef31f767d3d271ee8bdcd2be5a02), LLD 13.0.0 (https://github.com/llvm/llvm-project 4c3f1be84f76ef31f767d3d271ee8bdcd2be5a02)) #1 SMP Wed Feb 17 14:56:14 MST 2021 [ 0.000000] Kernel is locked down from Kernel configuration; see man kernel_lockdown.7 [ 0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0 noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off [ 0.000000] KERNEL supported cpus: [ 0.000000] Centaur CentaurHauls [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 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-0x0000000307ffffff] usable [ 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:0x2c2c, misc:0xc0bed7b2 [ 0.000000] Hyper-V Host Build:21301-10.0-1-0.1010 [ 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.000002] tsc: Detected 3493.479 MHz processor [ 0.000009] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000012] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000014] last_pfn = 0x308000 max_arch_pfn = 0x400000000 [ 0.000041] Disabled [ 0.000042] x86/PAT: MTRRs disabled, skipping PAT initialization too. [ 0.000050] CPU MTRRs all blank - virtualized system. [ 0.000051] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC [ 0.000054] last_pfn = 0xf8000 max_arch_pfn = 0x400000000 [ 0.000070] Using GB pages for direct mapping [ 0.000419] RAMDISK: [mem 0x03616000-0x03624fff] [ 0.000424] ACPI: Early table checksum verification disabled [ 0.000427] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL) [ 0.000431] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001) [ 0.000436] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001) [ 0.000440] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01 00000001 MSFT 05000000) [ 0.000442] ACPI: FACS 0x0000000000101114 000040 [ 0.000444] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001) [ 0.000446] ACPI: SRAT 0x000000000011F33C 000370 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001) [ 0.000449] ACPI: APIC 0x000000000011F6AC 0000A8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001) [ 0.000453] ACPI: Local APIC address 0xfee00000 [ 0.000479] Zone ranges: [ 0.000480] DMA [mem 0x0000000000000000-0x0000000000ffffff] [ 0.000482] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.000483] Normal [mem 0x0000000100000000-0x0000000307ffffff] [ 0.000484] Movable zone start for each node [ 0.000485] Early memory node ranges [ 0.000485] node 0: [mem 0x0000000000001000-0x000000000009ffff] [ 0.000487] node 0: [mem 0x0000000000200000-0x00000000f7ffffff] [ 0.000488] node 0: [mem 0x0000000100000000-0x0000000307ffffff] [ 0.000490] Initmem setup node 0 [mem 0x0000000000000000-0x0000000307ffffff] [ 0.000492] On node 0 totalpages: 3145375 [ 0.000493] DMA zone: 59 pages used for memmap [ 0.000494] DMA zone: 22 pages reserved [ 0.000494] DMA zone: 3743 pages, LIFO batch:0 [ 0.000744] DMA zone: 353 pages in unavailable ranges [ 0.000746] DMA32 zone: 16320 pages used for memmap [ 0.000747] DMA32 zone: 1011712 pages, LIFO batch:63 [ 0.019382] Normal zone: 33280 pages used for memmap [ 0.019391] Normal zone: 2129920 pages, LIFO batch:63 [ 0.020055] ACPI: Local APIC address 0xfee00000 [ 0.020064] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1]) [ 0.020471] IOAPIC[0]: apic_id 12, version 17, address 0xfec00000, GSI 0-23 [ 0.020484] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.020487] ACPI: IRQ9 used by override. [ 0.020489] Using ACPI (MADT) for SMP configuration information [ 0.020498] smpboot: Allowing 12 CPUs, 0 hotplug CPUs [ 0.020507] [mem 0xf8000000-0xffffffff] available for PCI devices [ 0.020509] Booting paravirtualized kernel on Hyper-V [ 0.020511] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.027299] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:12 nr_node_ids:1 [ 0.028541] percpu: Embedded 42 pages/cpu s139288 r0 d32744 u262144 [ 0.028549] pcpu-alloc: s139288 r0 d32744 u262144 alloc=1*2097152 [ 0.028552] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 -- -- -- -- [ 0.028567] Built 1 zonelists, mobility grouping on. Total pages: 3095694 [ 0.028570] Kernel command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0 noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off [ 0.032083] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear) [ 0.033712] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.033770] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.059884] Memory: 4092084K/12581500K available (20486K kernel code, 999K rwdata, 3688K rodata, 996K init, 980K bss, 324192K reserved, 0K cma-reserved) [ 0.059896] random: get_random_u64 called from __kmem_cache_create+0x22/0x540 with crng_init=0 [ 0.060017] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1 [ 0.060324] rcu: Hierarchical RCU implementation. [ 0.060326] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=12. [ 0.060328] All grace periods are expedited (rcu_expedited). [ 0.060328] Tracing variant of Tasks RCU enabled. [ 0.060329] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.060330] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=12 [ 0.060340] Using NULL legacy PIC [ 0.060340] NR_IRQS: 16640, nr_irqs: 520, preallocated irqs: 0 [ 0.060858] random: crng done (trusting CPU's manufacturer) [ 0.060898] printk: console [ttyS0] enabled [ 0.060903] ACPI: Core revision 20210105 [ 0.061055] Failed to register legacy timer interrupt [ 0.061056] APIC: Switch to symmetric I/O mode setup [ 0.061058] Switched APIC routing to physical flat. [ 0.061079] Hyper-V: Using IPI hypercalls [ 0.061081] Hyper-V: Using enlightened APIC (xapic mode) [ 0.061191] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x325b409ffd1, max_idle_ns: 440795235573 ns [ 0.061195] Calibrating delay loop (skipped), value calculated using timer frequency.. 6986.95 BogoMIPS (lpj=34934790) [ 0.061198] pid_max: default: 32768 minimum: 301 [ 0.061222] LSM: Security Framework initializing [ 0.061227] Yama: becoming mindful. [ 0.061231] LoadPin: ready to pin (currently enforcing) [ 0.061273] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.061308] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.061574] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512 [ 0.061576] Last level dTLB entries: 4KB 1536, 2MB 1536, 4MB 768, 1GB 0 [ 0.061582] Speculative Store Bypass: Vulnerable [ 0.061765] Freeing SMP alternatives memory: 68K [ 0.061842] smpboot: CPU0: AMD Ryzen Threadripper 1920X 12-Core Processor (family: 0x17, model: 0x1, stepping: 0x1) [ 0.061926] Performance Events: PMU not available due to virtualization, using software events only. [ 0.061958] rcu: Hierarchical SRCU implementation. [ 0.062064] smp: Bringing up secondary CPUs ... [ 0.062116] x86: Booting SMP configuration: [ 0.062117] .... node #0, CPUs: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 [ 0.072215] smp: Brought up 1 node, 12 CPUs [ 0.072215] smpboot: Max logical packages: 1 [ 0.072215] smpboot: Total of 12 processors activated (83843.49 BogoMIPS) [ 0.084715] node 0 deferred pages initialised in 10ms [ 0.086044] devtmpfs: initialized [ 0.086044] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.086044] futex hash table entries: 4096 (order: 6, 262144 bytes, linear) [ 0.086044] NET: Registered protocol family 16 [ 0.091259] ACPI: bus type PCI registered [ 0.091291] PCI: Fatal: No config space access function found [ 0.092927] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.101250] raid6: skip pq benchmark and using algorithm avx2x4 [ 0.101250] raid6: using avx2x2 recovery algorithm [ 0.101261] ACPI: Added _OSI(Module Device) [ 0.101262] ACPI: Added _OSI(Processor Device) [ 0.101263] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.101264] ACPI: Added _OSI(Processor Aggregator Device) [ 0.101265] ACPI: Added _OSI(Linux-Dell-Video) [ 0.101266] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.101268] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.108319] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 0.109360] ACPI: Interpreter enabled [ 0.109364] ACPI: (supports S0 S5) [ 0.109366] ACPI: Using IOAPIC for interrupt routing [ 0.109378] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.109504] ACPI: Enabled 1 GPEs in block 00 to 0F [ 0.110423] iommu: Default domain type: Translated [ 0.110511] SCSI subsystem initialized [ 0.111252] hv_vmbus: Vmbus version:5.2 [ 0.111378] PCI: Using ACPI for IRQ routing [ 0.111380] PCI: System does not support PCI [ 0.111590] clocksource: Switched to clocksource tsc-early [ 0.111750] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60 [ 0.111750] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a [ 0.111750] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177 [ 0.111590] VFS: Disk quotas dquot_6.6.0 [ 0.111590] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.111590] FS-Cache: Loaded [ 0.111590] pnp: PnP ACPI init [ 0.111590] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.111590] pnp: PnP ACPI: found 1 devices [ 0.112311] NET: Registered protocol family 2 [ 0.112563] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 0.112583] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.112969] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear) [ 0.113069] TCP: Hash tables configured (established 131072 bind 65536) [ 0.113104] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear) [ 0.113376] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear) [ 0.113453] NET: Registered protocol family 1 [ 0.113992] RPC: Registered named UNIX socket transport module. [ 0.113995] RPC: Registered udp transport module. [ 0.113996] RPC: Registered tcp transport module. [ 0.113997] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.114001] PCI: CLS 0 bytes, default 64 [ 0.114051] Trying to unpack rootfs image as initramfs... [ 0.114264] Freeing initrd memory: 60K [ 0.114269] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 0.114270] software IO TLB: mapped [mem 0x00000000f4000000-0x00000000f8000000] (64MB) [ 0.115650] kvm: no hardware support [ 0.116361] kvm: Nested Virtualization enabled [ 0.116373] SVM: kvm: Nested Paging enabled [ 0.116374] SVM: Virtual VMLOAD VMSAVE supported [ 0.269521] Initialise system trusted keyrings [ 0.269701] workingset: timestamp_bits=46 max_order=22 bucket_order=0 [ 0.271666] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.272062] NFS: Registering the id_resolver key type [ 0.272072] Key type id_resolver registered [ 0.272073] Key type id_legacy registered [ 0.272076] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.273317] Key type cifs.idmap registered [ 0.273460] fuse: init (API version 7.33) [ 0.273741] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled [ 0.274304] 9p: Installing v9fs 9p2000 file system support [ 0.274317] FS-Cache: Netfs '9p' registered for caching [ 0.274900] FS-Cache: Netfs 'ceph' registered for caching [ 0.274906] ceph: loaded (mds proto 32) [ 0.287064] NET: Registered protocol family 38 [ 0.287070] xor: automatically using best checksumming function avx [ 0.287075] Key type asymmetric registered [ 0.287077] Asymmetric key parser 'x509' registered [ 0.287106] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.288167] hv_vmbus: registering driver hv_pci [ 0.288725] hv_pci fa367aa7-a161-4916-86b7-b340ad4695fa: PCI VMBus probing: Using version 0x10003 [ 0.289859] hv_pci fa367aa7-a161-4916-86b7-b340ad4695fa: PCI host bridge to bus a161:00 [ 0.290458] pci a161:00:00.0: [1414:008e] type 00 class 0x030200 [ 0.297686] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.298251] Non-volatile memory driver v1.3 [ 0.303407] brd: module loaded [ 0.304973] loop: module loaded [ 0.305045] hv_vmbus: registering driver hv_storvsc [ 0.305182] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 0.305184] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld . All Rights Reserved. [ 0.305203] tun: Universal TUN/TAP device driver, 1.6 [ 0.305352] PPP generic driver version 2.4.2 [ 0.305468] PPP BSD Compression module registered [ 0.305470] PPP Deflate Compression module registered [ 0.305477] PPP MPPE Compression module registered [ 0.305478] NET: Registered protocol family 24 [ 0.305484] hv_vmbus: registering driver hv_netvsc [ 0.305652] VFIO - User Level meta-driver version: 0.3 [ 0.305965] hv_vmbus: registering driver hyperv_keyboard [ 0.306231] rtc_cmos 00:00: RTC can wake from S4 [ 0.308469] scsi host0: storvsc_host_t [ 0.309480] rtc_cmos 00:00: registered as rtc0 [ 0.310184] rtc_cmos 00:00: setting system clock to 2021-02-17T22:09:07 UTC (1613599747) [ 0.310205] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram [ 0.310632] device-mapper: ioctl: 4.44.0-ioctl (2021-02-01) initialised: dm-devel@redhat.com [ 0.311010] device-mapper: raid: Loading target version 1.15.1 [ 0.311178] hv_utils: Registering HyperV Utility Driver [ 0.311180] hv_vmbus: registering driver hv_utils [ 0.311318] hv_vmbus: registering driver hv_balloon [ 0.311319] hv_utils: cannot register PTP clock: 0 [ 0.311358] dxgk:err: dxg_drv_init Version: 2 [ 0.311366] hv_vmbus: registering driver dxgkrnl [ 0.311398] Mirror/redirect action on [ 0.311928] hv_utils: TimeSync IC version 4.0 [ 0.312521] hv_balloon: Using Dynamic Memory protocol version 2.0 [ 0.312645] IPVS: Registered protocols (TCP, UDP) [ 0.312725] IPVS: Connection hash table configured (size=4096, memory=64Kbytes) [ 0.312774] IPVS: ipvs loaded. [ 0.312775] IPVS: [rr] scheduler registered. [ 0.312776] IPVS: [wrr] scheduler registered. [ 0.312777] IPVS: [sh] scheduler registered. [ 0.312848] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 0.313251] Free page reporting enabled [ 0.313254] hv_balloon: Cold memory discard hint enabled [ 0.316434] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully [ 0.317094] Initializing XFRM netlink socket [ 0.317308] NET: Registered protocol family 10 [ 0.317822] Segment Routing with IPv6 [ 0.320383] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 0.320638] NET: Registered protocol family 17 [ 0.320676] Bridge firewalling registered [ 0.320690] 8021q: 802.1Q VLAN Support v1.8 [ 0.320733] sctp: Hash tables configured (bind 256/256) [ 0.320833] 9pnet: Installing 9P2000 support [ 0.320857] Key type dns_resolver registered [ 0.320859] Key type ceph registered [ 0.321329] libceph: loaded (mon/osd proto 15/24) [ 0.321529] NET: Registered protocol family 40 [ 0.321533] hv_vmbus: registering driver hv_sock [ 0.321585] IPI shorthand broadcast: enabled [ 0.321595] sched_clock: Marking stable (321049889, 438300)->(324008300, -2520111) [ 0.321981] registered taskstats version 1 [ 0.321986] Loading compiled-in X.509 certificates [ 0.322008] Key type ._fscrypt registered [ 0.322009] Key type .fscrypt registered [ 0.322010] Key type fscrypt-provisioning registered [ 0.322466] Btrfs loaded, crc32c=crc32c-generic, zoned=no [ 0.323287] Freeing unused kernel image (initmem) memory: 996K [ 0.391368] Write protecting the kernel read-only data: 26624k [ 0.392198] Freeing unused kernel image (text/rodata gap) memory: 2040K [ 0.392541] Freeing unused kernel image (rodata/data gap) memory: 408K [ 0.403959] x86/mm: Checked W+X mappings: passed, no W+X pages found. [ 0.403970] Run /init as init process [ 0.403972] with arguments: [ 0.403972] /init [ 0.403973] noibrs [ 0.403974] noibpb [ 0.403974] nopti [ 0.403975] nospectre_v2 [ 0.403975] nospec_store_bypass_disable [ 0.403976] no_stf_barrier [ 0.403976] with environment: [ 0.403977] HOME=/ [ 0.403977] TERM=linux [ 0.403978] tsx=on [ 0.494061] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 0.716641] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5 [ 0.717306] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 0.718649] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB) [ 0.718654] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 0.718866] sd 0:0:0:0: [sda] Write Protect is off [ 0.718869] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00 [ 0.719303] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 0.793284] hv_pci 24c653e7-75fd-4744-b594-3bc3675477c8: PCI VMBus probing: Using version 0x10003 [ 0.863173] hv_pci 24c653e7-75fd-4744-b594-3bc3675477c8: PCI host bridge to bus 75fd:00 [ 0.863178] pci_bus 75fd:00: root bus resource [mem 0xe00000000-0xe00002fff window] [ 0.864545] pci 75fd:00:00.0: [1af4:1049] type 00 class 0x010000 [ 0.865843] pci 75fd:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit] [ 0.866721] pci 75fd:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit] [ 0.867649] pci 75fd:00:00.0: reg 0x20: [mem 0xe00002000-0xe00002fff 64bit] [ 0.873240] pci 75fd:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit] [ 0.873891] pci 75fd:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit] [ 0.874521] pci 75fd:00:00.0: BAR 4: assigned [mem 0xe00002000-0xe00002fff 64bit] [ 1.181646] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.187177] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [ 1.331289] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x325b409ffd1, max_idle_ns: 440795235573 ns [ 1.331564] clocksource: Switched to clocksource tsc [ 1.891773] Adding 8388608k swap on /swap/file. Priority:-2 extents:4 across:8413184k [ 3.191484] scsi 0:0:0:1: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5 [ 3.191927] sd 0:0:0:1: Attached scsi generic sg1 type 0 [ 3.192673] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB) [ 3.192677] sd 0:0:0:1: [sdb] 4096-byte physical blocks [ 3.192794] sd 0:0:0:1: [sdb] Write Protect is off [ 3.192797] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00 [ 3.193004] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.194654] sd 0:0:0:1: [sdb] Attached SCSI disk [ 3.212965] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered. Quota mode: none. [ 3.232608] FS-Cache: Duplicate cookie detected [ 3.232610] FS-Cache: O-cookie c=0000000005d58650 [p=00000000447ba50b fl=222 nc=0 na=1] [ 3.232612] FS-Cache: O-cookie d=00000000c5800d43 n=0000000006ea213e [ 3.232613] FS-Cache: O-key=[10] '34323934393337363134' [ 3.232617] FS-Cache: N-cookie c=00000000f87434df [p=00000000447ba50b fl=2 nc=0 na=1] [ 3.232619] FS-Cache: N-cookie d=00000000c5800d43 n=000000003f355b9d [ 3.232619] FS-Cache: N-key=[10] '34323934393337363134' [ 3.232836] init: (1) ERROR: ConfigApplyWindowsLibPath:2329: open /etc/ld.so.conf.d/ld.wsl.conf [ 3.232839] failed 2 [ 3.233530] WARNING: hostname set to alpine in /etc/wsl.conf [ 3.242164] 9pnet_virtio: no channels available for device drvfs [ 3.242179] WARNING: mount: waiting for virtio device... [ 3.342310] 9pnet_virtio: no channels available for device drvfs [ 3.442522] 9pnet_virtio: no channels available for device drvfs [ 3.542691] 9pnet_virtio: no channels available for device drvfs [ 3.642854] 9pnet_virtio: no channels available for device drvfs [ 3.743077] 9pnet_virtio: no channels available for device drvfs [ 3.843281] 9pnet_virtio: no channels available for device drvfs [ 3.943454] 9pnet_virtio: no channels available for device drvfs [ 4.043640] 9pnet_virtio: no channels available for device drvfs [ 4.143801] 9pnet_virtio: no channels available for device drvfs [ 4.243984] 9pnet_virtio: no channels available for device drvfs [ 4.344233] 9pnet_virtio: no channels available for device drvfs [ 4.444437] 9pnet_virtio: no channels available for device drvfs [ 4.544599] 9pnet_virtio: no channels available for device drvfs [ 4.644809] 9pnet_virtio: no channels available for device drvfs [ 4.745000] 9pnet_virtio: no channels available for device drvfs [ 4.845184] 9pnet_virtio: no channels available for device drvfs [ 4.945345] 9pnet_virtio: no channels available for device drvfs [ 5.045562] 9pnet_virtio: no channels available for device drvfs [ 5.145721] 9pnet_virtio: no channels available for device drvfs [ 5.145735] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/c (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=C:\;uid=1000;gid=1000;symlinkroot=/mnt/ [ 5.145737] ) failed: 2 [ 5.146415] 9pnet_virtio: no channels available for device drvfs [ 5.146421] WARNING: mount: waiting for virtio device... [ 5.246586] 9pnet_virtio: no channels available for device drvfs [ 5.346758] 9pnet_virtio: no channels available for device drvfs [ 5.446924] 9pnet_virtio: no channels available for device drvfs [ 5.547085] 9pnet_virtio: no channels available for device drvfs [ 5.647261] 9pnet_virtio: no channels available for device drvfs [ 5.747413] 9pnet_virtio: no channels available for device drvfs [ 5.847576] 9pnet_virtio: no channels available for device drvfs [ 5.947736] 9pnet_virtio: no channels available for device drvfs [ 6.047886] 9pnet_virtio: no channels available for device drvfs [ 6.148063] 9pnet_virtio: no channels available for device drvfs [ 6.248271] 9pnet_virtio: no channels available for device drvfs [ 6.348438] 9pnet_virtio: no channels available for device drvfs [ 6.448609] 9pnet_virtio: no channels available for device drvfs [ 6.548771] 9pnet_virtio: no channels available for device drvfs [ 6.648939] 9pnet_virtio: no channels available for device drvfs [ 6.749092] 9pnet_virtio: no channels available for device drvfs [ 6.849261] 9pnet_virtio: no channels available for device drvfs [ 6.949404] 9pnet_virtio: no channels available for device drvfs [ 7.049571] 9pnet_virtio: no channels available for device drvfs [ 7.049585] init: (1) ERROR: MountPlan9WithRetry:285: mount drvfs on /mnt/r (cache=mmap,noatime,msize=262144,trans=virtio,aname=drvfs;path=R:\;uid=1000;gid=1000;symlinkroot=/mnt/ [ 7.049587] ) failed: 2 [ 7.061086] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\7-Zip [ 7.061332] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\Git LFS [ 7.061494] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\PuTTY\ [ 7.061594] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\dotnet\ [ 7.061672] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\OpenSSH\ [ 7.061748] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\SysInternals\ [ 7.061823] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\PowerShell\6\ [ 7.061899] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\Standalone Binaries\ [ 7.061974] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\DiscordChatExporter\ [ 7.062049] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\PowerShell\7-preview\ [ 7.062168] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\Microsoft VS Code\bin [ 7.062274] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\ImageMagick-7.0.9-Q16 [ 7.062354] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\Microsoft VS Code Insiders\bin [ 7.062476] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\Microsoft SQL Server\110\Tools\Binn\ [ 7.062588] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\Microsoft SQL Server\130\Tools\Binn\ [ 7.062701] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\AdoptOpenJDK\jdk-8.0.232.09-openj9\bin [ 7.062794] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\ [ 7.062870] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Go\bin [ 7.062917] init: (8) ERROR: UtilTranslatePathList:2670: Failed to translate C:\Program Files (x86)\dotnet\ [ 49.130854] hv_balloon: Max. dynamic memory size: 12288 MB [...even more errors about "Failed to translate"] ```
nathanchance commented 3 years ago

What version of Windows?

catthehacker commented 3 years ago

Microsoft Windows 10.0.21301.1010, I'm on dev channel of insider preview Have new waiting already so I can try this as well. Previous kernel works fine, if needed I can attach dmesg log as well image

nathanchance commented 3 years ago

Can you please try this kernel?

catthehacker commented 3 years ago

Seems a bit empty 😁 image

nathanchance commented 3 years ago

Ha, let's try this again then.

kernel-virtio.zip

catthehacker commented 3 years ago

Yep, that kernel works fine, I don't see any issues after quick glance. Just wondering if it's because of my configuration or Windows build?

nathanchance commented 3 years ago

It is because CONFIG_VIRTIO_PCI got disabled because of 86b87c9d858b637db585a72ad51d598c1e4ed093. I enabled CONFIG_VIRTIO_PCI_MODERN, which brought back CONFIG_VIRTIO_PCI. I will push a fixed build here shortly.