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

Error code: Wsl/Service/CreateInstance/0x80040326 when starting WSL Distro (again) #10232

Closed
1 of 2 tasks
fr3nch13 opened this issue Jun 22, 2023 · 24 comments
Closed
1 of 2 tasks

Comments

@fr3nch13
Copy link

fr3nch13 commented Jun 22, 2023

Windows Version

Microsoft Windows [Version 10.0.19045.2965]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

Ubuntu 22.04

Other Software

VS Code with WSL extension (though this happens without even using VS Code)

Repro Steps

Any of these

> ubuntu
> wsl

Expected Behavior

Launch ubuntu

Actual Behavior

>ubuntu
Error: 0x80040326
Error code: Wsl/Service/CreateInstance/0x80040326
Press any key to continue...

Relates to Error code: Wsl/Service/CreateInstance/0x80040326 when starting WSL Distro #9867

Only the wsl --update doesn't seem to fix my issue.

Diagnostic Logs

Submitting through Feedback Hub.

@fr3nch13
Copy link
Author

Version info:

>wsl -v
WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.19045.2965

@chrstn14
Copy link

same problem came here over night as well. Using WSL1.

>wsl -v
WSL-Version: 1.2.5.0
Kernelversion: 5.15.90.1
WSLg-Version: 1.0.51
MSRDC-Version: 1.2.3770
Direct3D-Version: 1.608.2-61064218
DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows-Version: 10.0.19045.3086

@Rom1deTroyes
Copy link

Rom1deTroyes commented Jun 23, 2023

I believe I'm in the same situation :

Error: 0x80040326
Error code: Wsl/Service/0x80040326

[processus terminé avec le code 4294967295 (0xffffffff)]

From Powershell (admin)

PS C:\Users\romain> wsl -v
Version WSL : 1.1.3.0
Version du noyau : 5.15.90.1
Version WSLg : 1.0.49
Version MSRDC : 1.2.3770
Version direct3D : 1.608.2-61064218
Version de DXCore : 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
version Windows : 10.0.19045.2965

PS C:\Users\romain> wsl --shutdown
PS C:\Users\romain> wsl --update
Recherche des mises à jour.
Error: 0x8024500c
Error code: Wsl/UpdatePackage/0x8024500c

WSL is a nightmare to deal with.

@fr3nch13
Copy link
Author

I had to completely uninstall wsl, disable the Linux features and reboot, before starting from scratch in order to get it working again.

@DMDTT
Copy link

DMDTT commented Jun 26, 2023

Uninstalling WSL, Reboot, Installing, Reboot didn't fix the issue for me :-/

WSL-Version: 1.2.5.0
Kernelversion: 5.15.90.1
WSLg-Version: 1.0.51
MSRDC-Version: 1.2.3770
Direct3D-Version: 1.608.2-61064218
DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows-Version: 10.0.19045.3086

@fr3nch13
Copy link
Author

fr3nch13 commented Jun 26, 2023 via email

@DMDTT
Copy link

DMDTT commented Jun 26, 2023

Indeed! Our company blocked the store!

@fr3nch13
Copy link
Author

fr3nch13 commented Jun 26, 2023 via email

@DMDTT
Copy link

DMDTT commented Jun 26, 2023

I'll check! Thx!

@OneBlue
Copy link
Collaborator

OneBlue commented Jun 27, 2023

Thanks for reporting this @fr3nch13. Can you share either the zip file with the logs or the Feedback Hub link so we can have a look ?

/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!

@fr3nch13
Copy link
Author

fr3nch13 commented Jun 27, 2023 via email

@OneBlue
Copy link
Collaborator

OneBlue commented Jun 28, 2023

Unfortunately we'll need logs to diagnose the issue. If you can't share them, maybe someone else on this issue could ?

@chrstn14
Copy link

chrstn14 commented Jun 28, 2023

Unfortunately we'll need logs to diagnose the issue. If you can't share them, maybe someone else on this issue could ?

@OneBlue I had the same issue and collected the logs as described. Hope you can find the error. Thanks in advance.
WslLogs-2023-06-28_08-43-19.zip

@DMDTT
Copy link

DMDTT commented Jun 29, 2023

Unfortunately I cannot provide any logs, cause the powershell restrictions by my company won't let me execute

Set-ExecutionPolicy Bypass -Scope Process -Force

so, all my hopes are with you and with the logs of @chrstn14

@OneBlue
Copy link
Collaborator

OneBlue commented Jun 29, 2023

@OneBlue I had the same issue and collected the logs as described. Hope you can find the error. Thanks in advance.

Thank you @chrstn14. Looking at the logs, it looks like a WSL1 distribution is failing to start, but I don't see any distribution installed. Are you trying to install a distro ?

Just to validate, does this reproduce with all distros ? Does let's say wsl --install -d debian work ?

@chrstn14
Copy link

chrstn14 commented Jul 6, 2023

Thanks for your response, @OneBlue

Currently there are three installed distributions. The error occurs starting any of them.

wsl --list -v
  NAME            STATE           VERSION
* Ubuntu-20.04    Stopped         1
  Arch            Stopped         2
  Debian          Stopped         2

I just ran wsl --install -d debian to reinstall it:

wsl --install -d debian
Debian GNU/Linux ist bereits installiert.
Debian GNU/Linux wird gestartet...
Error: 0x80040326
Error code: Wsl/Service/CreateInstance/0x80040326
Press any key to continue...

Hope this answers your question.

@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

2 similar comments
@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

@chrstn14
Copy link

This problem still exists. The issue has been automatically closed. @fr3nch13 , are you - as the author - able to reopen this issue? I am not able to. :-(

@OneBlue Can I provide additional information for you for debugging purposes? Thanks a lot.

@fr3nch13
Copy link
Author

fr3nch13 commented Jul 13, 2023

@chrstn14 sure, I’ll see if I can.

Update: um not seeing the option to reopen via the web and app for the phone. I’ll try the desktop web when I can. @OneBlue can you reopen it?

@Bulmenisaurus
Copy link

Hitting keys at random on my keyboard led me to type wsl --update --web-download into powershell which seemed to resolve this issue for me.

@chrstn14
Copy link

Hitting keys at random on my keyboard led me to type wsl --update --web-download into powershell which seemed to resolve this issue for me.

I already tried that, thanks. Unfortunately that didn't fix it.

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

6 participants