WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WSL won't start after Windows Update 18950

Open kodeclan opened this issue 7 years ago • 49 comments

  • 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

kodeclan avatar Aug 02 '19 16:08 kodeclan

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.

xtremeperf avatar Aug 03 '19 00:08 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

xtremeperf avatar Aug 03 '19 01:08 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.

xtremeperf avatar Aug 03 '19 02:08 xtremeperf

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

benhillis avatar Aug 03 '19 02:08 benhillis

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

kodeclan avatar Aug 04 '19 12:08 kodeclan

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

jugg3rn4ut avatar Aug 05 '19 22:08 jugg3rn4ut

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.

craigloewen-msft avatar Aug 07 '19 00:08 craigloewen-msft

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

jugg3rn4ut avatar Aug 07 '19 07:08 jugg3rn4ut

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 :)

Chakratos avatar Aug 07 '19 07:08 Chakratos

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?

RedBeard0531 avatar Aug 07 '19 08:08 RedBeard0531

Same here on build 18956.

buwailee avatar Aug 08 '19 15:08 buwailee

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

jdamian avatar Aug 08 '19 16:08 jdamian

"This has been fixed and will be in an Insider build soon." As of 18956.1000 which I just installed, this is still not fixed... edition error

Uberck avatar Aug 08 '19 17:08 Uberck

I'm also getting this now on 18956.

Oh, for a functioning workaround.

cerebrate avatar Aug 08 '19 22:08 cerebrate

Hi! Also running 18956. For it seems that problem is only with Kali distribution. My original kali didn't start. Exported and imported but same issue. Install a fresh Ubuntu and runs without problems. Intall a fresh kali and also didn't start.

amechoul avatar Aug 09 '19 14:08 amechoul

Biswa yes it is installed, the only time I experience this issue is with the WSL2 Kali distribution.

Uberck avatar Aug 09 '19 14:08 Uberck

I run a Arch distribution on 18956, also caught bugs This bug is not yet fixing

XLWZ avatar Aug 09 '19 15:08 XLWZ

I would suggest rolling back to the previous build until an Insider Fast build with the fix is released.

benhillis avatar Aug 09 '19 16:08 benhillis

@benhillis, For those who aren't in a hurry. When is the next build going to be available? Since this is a serious bug for many, could this be elaborated for faster release for next build, even if it's a bugfix for this WSL issue?

mahmoudajawad avatar Aug 12 '19 03:08 mahmoudajawad

I'm also getting this on 18956 with Arch LInux. Only Ubuntu 18.04 is working correctly

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\illne> wsl -l -v
  NAME            STATE           VERSION
* Ubuntu-18.04    Running         2

y103kim avatar Aug 12 '19 15:08 y103kim