Skip to content

built official kernel but bunch of modules no longer load on starting WSL2 #41399

Description

@Mungr3ss

Windows Version

Microsoft Windows [Version 10.0.26200.8875]

WSL Version

2.7.11.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.18.40.1

Distro Version

Ubuntu-25.10

Other Software

No response

Repro Steps

  1. followed instructions at https://github.com/microsoft/WSL2-Linux-Kernel
  2. installed kernel by placing
    kernel=C:\Users\username\vmlinux
    kernelModules=C:\Users\username\modules.vhdx
    in the wsl config file.
  3. booted up wsl2, checked lsmod (shows no modules loaded)
  4. tried qemu, said kvm not available
  5. sudo modprobe kvm says fatal error /lib/modules/kernel_version not found

still learning WSL2 things, no idea what i might of got wrong ?

Expected Behavior

Image normally i see the modules loaded after starting wsl2.

Actual Behavior

Image Image Image

Diagnostic Logs

WslLogs-2026-08-20_16-00-42.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions