Closed catthehacker closed 3 years ago
What version of Windows?
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
Can you please try this kernel?
Seems a bit empty 😁
Ha, let's try this again then.
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?
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.
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