Skip to content

WSL won't start after Windows Update 18950 #4371

Closed

Description

@kodeclan
  • Your Windows build number: Microsoft Windows [Version 10.0.18950.1000]

  • What you're doing and what's happening:

  • I try to start WSL2 via wsl ~ -d DistroName
  • I get A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
  • I shutdown WSL using wsl --shutdown
  • I try to start the distro again using wsl ~ -d DistroName
  • I still get A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
  • I shutdown WSL again
  • I install a fresh copy via wsl --import DistroName2 <install-location> <rootfs.tar.gz> --version 2
  • I try to start WSL in the new install via wsl -d DistroName2
  • Again, I get A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

This happened after Windows Updated to 18950, (from 18945)

Also, the processes vmwp.exe and vmmem show up in the task manager and do not go away till wsl --shutdown is executed.

  • What's wrong / what should be happening instead: WSL console should appear.

  • For WSL launch issues, please collect detailed logs.

wsl-logs.zip

Activity

  1. xtremeperf commented on Aug 3, 2019

    @xtremeperf

    Same here. My default WSL2 instance and sole WSL1 instance both work fine, but the other WSL2 instances have this problem and I haven't found a cause yet. It doesn't seem to be related to networking config or the new .wslconfig file. I may try rolling back to 18945.

  2. xtremeperf commented on Aug 3, 2019

    @xtremeperf

    Alright, looks like we may have a bug in init...
    here's the messages from the kernel ring buffer (using my one working WSL2 instance to check messages created when trying to launch a non-working instance):

    init: (1) ERROR: UtilMkdir:1035: chmod(/bin, 40755) failed 2
    init: (1) ERROR: ConfigInitializeEntry:903: Failed to create /bin 2
    

    Annotation 2019-08-02 210149

  3. xtremeperf commented on Aug 3, 2019

    @xtremeperf

    Alright, I just figured this one out...
    init fails to create "/bin" because it already exists as a sym-link to "/usr/bin"!!!

    So this issue only occurs with a rootfs that is /usr-merged... which includes Kali-linux in the Microsoft Store. Not really sure why init is trying to create a /bin directory anyways, but this is going to need to be fixed by someone at Microsoft since init is closed-source code.

  4. benhillis commented on Aug 3, 2019

    @benhillis
    Member

    This has been fixed and will be in an Insider build soon.

  5. kodeclan commented on Aug 4, 2019

    @kodeclan
    Author

    Glad to know I'm not the only one having this issue. I've reverted to Windows 18945 for the time being.

  6. jugg3rn4ut commented on Aug 5, 2019

    @jugg3rn4ut

    Hi, any idea when the Insider build will be released please ?

  7. craigloewen-msft commented on Aug 7, 2019

    @craigloewen-msft
    Member

    The time from us checking in the bug fix to the change being available inside of an Insiders build can vary, and is dependent on many different factors. In general, it's around 3 to 6 weeks.

  8. jugg3rn4ut commented on Aug 7, 2019

    @jugg3rn4ut

    Hi @mscraigloewen, thanks for the answer. Keep up the good :)

  9. Chakratos commented on Aug 7, 2019

    @Chakratos

    Glad to know I'm not the only one having this issue. I've reverted to Windows 18945 for the time being.

    Could you tell me how you downgraded? Can't wait the 3-6 Weeks and would love to use WSL2 :)

  10. RedBeard0531 commented on Aug 7, 2019

    @RedBeard0531

    Now that the problem has been identified, is it possible to share a workaround. This build is completely unusable with this. I've downgraded, but Windows update keeps trying to reupgrade me. I was hoping that it would get fixed in this week's patch, but since it sounds like that won't be happening, do you have any suggestions?

  11. buwailee commented on Aug 8, 2019

    @buwailee

    Same here on build 18956.

  12. jdamian commented on Aug 8, 2019

    @jdamian

    It is possible to convert it to wsl 1 to keep it running

  13. 27 remaining items

  14. JustShinobi commented on Aug 30, 2019

    @JustShinobi

    still not fixed for me on 18970

  15. bytemain commented on Aug 30, 2019

    @bytemain

    Can confirm fixed in 18970.

  16. merkuriy commented on Aug 30, 2019

    @merkuriy

    I had version 18965.1000, and the method suggested by chadrien worked fine for me.
    Later I will try to work without manual fixes on version 18970.

  17. anaisbetts commented on Sep 4, 2019

    @anaisbetts

    Fixed as well for me with Arch Linux on 18970

  18. kodeclan commented on Sep 8, 2019

    @kodeclan
    Author

    Tested on 18970, this seems to have been fixed.

  19. MostHated commented on Jan 24, 2020

    @MostHated

    Hello, I am having this issue.

  20. onomatopellan commented on Jan 24, 2020

    @onomatopellan

    MostHated That looks like #4105 (comment)

  21. lukebakken commented on Jan 31, 2020

    @lukebakken

    I just updated to 19555.1001 and am getting this with a WSL 2 Debian 10 installation:

    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    

    Prior to the update the WSL 2 environment worked fine. I have tried the suggestions in this issue to no effect.

  22. w9jds commented on Jan 31, 2020

    @w9jds

    It looks like this issue is back in 19555 released today. I have opened a feedback ticket with some telemetry if you need it here: https://aka.ms/AA75u9m

    Two releases ago localhost didn't work, the previous release fixed that and seemed to work just fine.

  23. xtremeperf commented on Jan 31, 2020

    @xtremeperf

    Same here... 19555 broke WSL2. However, I don't believe it's the same issue as before... where /usr-merged distros failed to create /bin due to existing sym-link. Even non-/usr-merged distros fail to connect with WSL2, and therefore I haven't found a way inside yet, to be able to print the kernel ring buffer messages.

  24. benhillis commented on Jan 31, 2020

    @benhillis
    Member

    Yes this is a new issue, please start a new GitHub thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions