Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL2 won't start/hangs on Windows Insider Beta build 10.0.22623.1250 #9616

Closed
1 of 2 tasks
adamsharif opened this issue Feb 9, 2023 · 3 comments
Closed
1 of 2 tasks

Comments

@adamsharif
Copy link

Version

Microsoft Windows [Version 10.0.22623.1250]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

N/A - unable to access any distros

Distro Version

Ubuntu 22.04

Other Software

Docker Desktop (Windows) v4.16.3

Issue also reproducile without Docker Desktop installed.

Repro Steps

Trying to start a WSL distro, the CLI hangs indefinitely.
Restarting services/killing processes and also rebooting makes no difference.

Already tried to reinstal WSL - seems that if installing WSL via appwiz.cpl as a feature and then the required update for WSL2, WSL will work temporarily until either wsl --update is executed which in turn installs WSL from the Store, or Windows Update automatically installs the latest WSL update.

"Virtual Machine Platform" feature is already installed, and I've already tried:

  1. Completely remove "Virtual Machine Platform" and WSL feature, reboot, reinstall, reboot, try to run WSL
  2. Remove/reinstall all distros
  3. Remove WSL feature from appwiz.cpl, install only via Store
  4. Multiple reboots and variations of the above steps

As it stands, on my current version of Windows, I'm unable to use WSL at all - all Windows Updates already installed.

Note: other commands such as wsl --shutdown also hang forever - and looking at the process vmmemWSL, there's no CPU activity whatsoever at the time. Also, please note that I've disabled "fast start-up", that made no difference

Expected Behavior

It should be possible to start wsl.exe and access distros.

Actual Behavior

Distros do not start, WSL executable hangs

Diagnostic Logs

Logs: https://1drv.ms/u/s!AsFxfFvdjdSvr_o4VMfCGeLhDLrZow?e=ogM56N

@adamsharif adamsharif changed the title WSL2 won't start/hangs on Windows Inside Beta WSL2 won't start/hangs on Windows Insider Beta build 10.0.22623.1250 Feb 9, 2023
@OneBlue
Copy link
Collaborator

OneBlue commented Feb 14, 2023

Thanks for reporting this @adamsharif. Unfortunately I'm not seeing any '.elt' files in the logs you share. Can you try capturing logs again ?

/logs

@microsoft-github-policy-service
Copy link
Contributor

Hello! Could you please provide more logs to help us better diagnose your issue?

To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging

Thank you!

@adamsharif
Copy link
Author

Thanks for your help @OneBlue ! In the end I tried another reinstall and this time left the distro installing in the background for around half an hour - eventually to my surprise, it was running!
So it seems a final reinstall of all the components fixed the issue, and for some reason on my device distros install very slowly.

Thanks for your help though, I'll close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants