nathanchance/WSL2-Linux-Kernel

WSL2g doesn't start with Clang Built WSL2 Kernel v60

Closed this issue · 5 comments

Microsoft Windows [Version 10.0.22000.65] x64 Enterprise
Ubuntu on Windows Community Preview
upgraded to Ubuntu Impish Indri (development branch) release 21.10
WSL version 2 with g

My Linux doesn't start while using this kernel.
Using standard kernel or self-compiled one based on MS-sources works (5.10.43.3).
WSL shutdown takes long time.

How to trace further?

20210713_162050_ubuntupreview

This is an Insiders Dev build, correct? I do not usually support the Dev builds because they move so fast. It could be any number of things but it is most likely a configuration change. You might be able to grab /proc/config.gz and upload it for me to take a look at. Otherwise, there is not much that can be done to see why it is not booting as WSL2 is a bit of a black box.

Yeah, it's Dev... 😬
It was more like a question how to trace it down.
Attached the files for reference...
config.diff.txt
config_5.10.txt
config_5.13.txt

Does it result in high CPU usage of the vmmem process?
When I trigger the vGPU support in W10 21H2 via clinfo with this kernel (latest release, self-built tip, clang/gcc built, with/without lto) I get a similar behavior. It works with the default 5.10 kernel.

It is entirely possible. I do not currently have any interest in debugging this, as I do not use WSLg. I'll take any fixes for this that come my way though.

Update:
I didn't check out this build for some time (I kept using v59), however it behaves with the updated WSL setup the same way as v61 (#21).