Skip to content

WSL filesystem partitions getting full during kernel build #13737

@jm79gr

Description

@jm79gr

I am trying to build the WSL Ubuntu 24.04 kernel, in order to include joystick support. I have followed the guidelines provided here (for custom kernel compilation) and here (to enable the joystick).
I copied the file Microsoft/config-wsl to the main folder of the cloned kernel repository, and named it .config.
Then used make menuconfig for the actual configuration to enable joystick support.
Compilation proceeds OK, till the filesystem completely fills up and crashes the compilation.

System Specs:

  • Microsoft Windows 11 Pro Version 10.0.26100 Build 26100
  • Intel(R) Core(TM) Ultra 7 155H, 1400 Mhz, 16 Core(s), 22 Logical Processor(s)
  • Installed Physical Memory (RAM) 32.0 GB
  • Total Physical Memory 31.5 GB
  • NVIDIA RTX 1000 Ada Generation Laptop GPU
  • wsl --version output:
WSL version: 2.6.1.0
Kernel version: 6.6.87.2-1
WSLg version: 1.0.66
MSRDC version: 1.2.6353
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.7171

I am attaching:

  • the output of df -h before the start of the build process, in a clean WSL instance, and after I found it crashed (left it overnight). I even tried with make -j1, hoping it would reduce the amount of compilation artifacts produced.
  • The actual error message of the build.
  • The latest output of dmesg.

I cannot find any documentation re the various partitions shown in the df report. Also, it strikes me as odd that my WSL root (/) is mounted under a "none" filesystem.
How can I change the sizes shown/increase limits/solve the compilation error?

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions