Locietta / xanmod-kernel-WSL2

Xanmod kernel for WSL2, built by clang with ThinLTO enabled. Build & Release are automated by Github Action.
GNU General Public License v2.0
83 stars 15 forks source link

WSL2 no longer loads when kernel version > 6.1.10 is used #28

Closed taalojarvi closed 1 year ago

taalojarvi commented 1 year ago

I recently updated the kernel and found out that it does not boot anymore. I triaged the issue and found out that versions of kernel subsetquent to 6.1.10 no longer boot and produce the error code "Wsl/Service/CreateInstance/CreateVm/HCS_E_CONNECTION_TIMEOUT".

I'll be happy to provide logs upon request

Locietta commented 1 year ago

Thanks for reporting it, I just also noticed this issue. I tried building kernel with clang 15.0.6 locally and it seems ok.

I've opened a PR to roll back LLVM version, can you try kernel image in https://github.com/Locietta/xanmod-kernel-WSL2/actions/runs/4199833705 to see if it works?

jfdtse commented 1 year ago

https://github.com/Locietta/xanmod-kernel-WSL2/actions/runs/4199833705

This version works. Thank you

Locietta commented 1 year ago

I've published a new release, feel free to reopen it if the issue persists.