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

I Can't Launch my WSL2 anymore #7012

Closed
1 of 2 tasks
SJoJoK opened this issue Jun 2, 2021 · 11 comments
Closed
1 of 2 tasks

I Can't Launch my WSL2 anymore #7012

SJoJoK opened this issue Jun 2, 2021 · 11 comments
Labels
failure-to-launch failure to launch

Comments

@SJoJoK
Copy link

SJoJoK commented Jun 2, 2021

Windows Build Number

Microsoft Windows [Version 10.0.21390.1]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.16

Distro Version

Ubuntu-20.04

Other Software

No response

Repro Steps

I just reboot my computer and then cant use anything about my WSL2
It takes longer time on connecting when i use VSCode than yesterday, so i realize there must be some problem
Then i launch my windows terminal, but this happens
image
The Chinese Text means
"No response from the virtual machine or container was received, and the operation timed out."
"Progress exited, Code is 4294967295"
Then I want to access my file in the WIndows File Explorer, but it just loading...with a ERROR as last
"Try to access invalid address"
Well.. After many times of reboot and relaunch the WSL service, it just keep wrong

Expected Behavior

I WANT TO RE-CONNECT TO MY WSL.

Actual Behavior

cant launch it

Diagnostic Logs

No response

@SJoJoK
Copy link
Author

SJoJoK commented Jun 2, 2021

Well...A weird solution is that I install Ubuntu-18.04 in MS store, it installed correctly, and then my 20.04 just works well.
Now all my files back, but i think the bug still exists

@jaocarli
Copy link

jaocarli commented Jun 2, 2021

@SJoJoK Just install and configure 18.04 for the first time?

@SJoJoK
Copy link
Author

SJoJoK commented Jun 2, 2021

@SJoJoK Just install and configure 18.04 for the first time?

@fl4m3x Yes, install it from MS Store, after setting the username and password, i found that 20.04 can be launched

@DeletorDev
Copy link

Same issue for me, but when I was trying to navigate to /mnt/c the message error was "Input/Output Error"

Helped me below solution commented in issue #4122

powershell -> wsl --shutdown
powershell -> wsl

@therealkenc
Copy link
Collaborator

"No response from the virtual machine or container was received, and the operation timed out."

Please collect WSL logs and post the backlink to the feedback item here. Ref #6627.

@SJoJoK
Copy link
Author

SJoJoK commented Jun 3, 2021

Same issue for me, but when I was trying to navigate to /mnt/c the message error was "Input/Output Error"

Helped me below solution commented in issue #4122

powershell -> wsl --shutdown
powershell -> wsl

Shutdown wasnt work for me.. but thanks

@ghost ghost removed the needs-author-feedback label Jun 3, 2021
@SJoJoK
Copy link
Author

SJoJoK commented Jun 3, 2021

"No response from the virtual machine or container was received, and the operation timed out."

Please collect WSL logs and post the backlink to the feedback item here. Ref #6627.

@therealkenc To recreate my problem I need to shutdown (press the button to power off) my computer , idk whether the capturing keeps working or not during recreating the bug ... sorry for that

@adrastogi adrastogi added the failure-to-launch failure to launch label Jun 4, 2021
@SJoJoK
Copy link
Author

SJoJoK commented Jun 4, 2021

I may find the cause of this bug: Ever time after a Force Shutdown(press the button to power off), the WSL goes wrong. However, normally shut down the computer from Window Start Menu doesnt lead to the bug. Maybe the Force Shutdown broke some files that WSL needed.

@therealkenc
Copy link
Collaborator

idk whether the capturing keeps working or not during recreating the bug

Your reproduction step was:

Then i launch my windows terminal, but this happens

When following the collect logs instructions, start recording prior to "then I launch my windows terminal".

@SJoJoK
Copy link
Author

SJoJoK commented Jun 5, 2021

idk whether the capturing keeps working or not during recreating the bug

Your reproduction step was:

Then i launch my windows terminal, but this happens

When following the collect logs instructions, start recording prior to "then I launch my windows terminal".

Got it. Because the failure happens when i force the computer to shut down (and after some searching i found that this may be harm to my SSD), so i will collect the log next time when i must force it shut down. Thank you.

@ghost ghost removed the needs-author-feedback label Jun 5, 2021
@therealkenc
Copy link
Collaborator

so i will collect the log next time when i must force it shut down

Please open a new issue if/when the problem manifests again.

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

No branches or pull requests

5 participants