-
Notifications
You must be signed in to change notification settings - Fork 822
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
Wsl only starts when run elevated #11460
Comments
Diagnostic information
|
Thank you @JFReuter-Fin. I'm not seeing anything abnormal in the logs. Out of curiosity, does this happen let's say with debian as well ? Does If so, could you capture /dumps of when everything seems to be stuck ? |
Hi @OneBlue, thank you for the quick response. I tried to install Debian, unfortunally the issue occurs there as well. As additional background, my initial issue was Docker Desktop not working, with the same symptoms. My investigation lead me to noticing that WSL as a whole does not work properly on this machine. I have collected dumps, but they are to large to attach here and I am blocked by company policy from sending them via email. I am trying to find a solution to that. Is there a way I can upload the zip so you can access it? Thank you! |
Thank you @JFReuter-Fin. If the dumps are too big for email you can use GDrive / Onedrive instead. |
Thank you @JFReuter-Fin. We received the dumps. This is interesting, WSL is stuck trying to access the drive "Z:\", what type of drive is it ? Could it be some sort of very slow network drive maybe ? |
Thanks, @OneBlue Z: was indeed a broken network drive (mapping to some Azure file share) Both Explorer and Powershell would lock up when trying to access the drive, so the error was not isolated to WSLService. I have removed the drive mapping and wsl works now. This issue is resolved from my perspective. If you need anything else from me, I'd be happy to help. Thank you very much, this has been an amazing support experience. |
Windows Version
Microsoft Windows [Version 10.0.22621.3447]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1-2
Distro Version
Ubuntu
Other Software
No response
Repro Steps
On a non-elevated command prompt:
wsl --update
wsl --install Ubuntu
-or-
wsl
Expected Behavior
Ubuntu installs and starts a shell with my user logged in.
Actual Behavior
The install hangs with at "This may take a few minutes", but never finishes. When I just run
wsl
I get no output at all. When I runwsl
from an elevated command prompt, it usually starts fine and I get a linux shell as root. Sometimes (cannot reliably reproduce this) this also hangs.Wsl used to work fine when I ran the version bundled with Windows, but the Microsoft Store version never worked on this machine.
Diagnostic Logs
Logs from a hanging install process of Ubuntu
WslLogs-2024-04-12_16-33-10.zip
WslLogs-2024-04-12_16-33-10-kmesg.txt
The text was updated successfully, but these errors were encountered: