You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WSL 2 - Custom Kernel - Process exited with code 4294967295 #4904
Your Windows build number: (Type ver at a Windows Command Prompt)
Windows Insider 19013
Microsoft Windows [versão 10.0.19013.1000]
I trying to run a custom vmlinux with WSL2
After more less a minute the return : "process exited with code 4294967295"
Is there any way to get kernel logs with earlycon or earlyprint on WSL2? I fear that without these logs I will not be able to solve a bug during the boot process of my Kernel
I try to get some info with the saved lxcore_kernel.etl but nothing on events logs
thanks in advance!
Matheus Castello (@microhobby)
Solve "process exited with code 4294967295" , run netsh winsock reset as Administrator, then reboot your computer.
The result like below:
❯ netsh winsock reset
Sucessfully reset the Winsock Catalog.
You must restart the computer in order to complete the reset.
If you are having this problem caused by updating the system, you can try to restore the previous version of Windows 10 in the settings. This method works for me.
If someone comes 'till here and nothing worked like I did, know that I had the same error, and I then noticed that I had mistakenly deleted my custom kernel file (like an idiot), and WSL couldn't find it. So changing back the wslconfig file to not use a custom kernel might be the solution.
Santiago Persico (@spersico) Can you explain that a little bit more? Where can I find the wslconfig file? Under C:\User{User}.wslconfig? And how can I determine not to use a custom kernel? Thanks in advanded.
MethodJules in my case it's on C:\Users\<MY_USER>\.wslconfig
By default it uses the normal, non-custom kernel, I just removed the line which pointed to my kernel file, in my case, that was kernel=C:\\Users\\SP\\bzImage
Activity
Vincent-Ye commentedon Mar 17, 2020
I fixed same problem by "netsh winsock reset"
Gonzoe79 commentedon Mar 19, 2020
had the same issue, had docker installed with wsl2 feature enabled
uninstalling docker and running "netsh winsock reset" solved it for me
therealkenc commentedon Apr 12, 2020
/dupe #4929 #4364
holazt commentedon Apr 18, 2020
Matheus Castello (@microhobby)
Solve "process exited with code 4294967295" , run
netsh winsock resetas Administrator, then reboot your computer.The result like below:
microhobby commentedon May 18, 2020
This was fixed by Kernel Mainline, it is now possible to use a custom kernel with the source of Linus Torvalds: https://youtu.be/N6b7DZKbvEE
windowsair commentedon May 19, 2020
Great! Nonetheless, there are still some troubles to migrate to the new kernel version. I don't know if Microsoft has a new solution. . .
forecho commentedon Jun 15, 2020
If you are having this problem caused by updating the system, you can try to restore the previous version of Windows 10 in the settings. This method works for me.
godie007 commentedon Jul 1, 2020
the solution is to update the kernel https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel
forecho commentedon Jul 31, 2020
Diego Fernando Echevery (@godie007) Thx, It work 🙇
jpsneto commentedon Aug 14, 2020
Even though I already had the newest version installed, it solved the problem
wtadeubarros commentedon Oct 5, 2020
I had my docker disabled on startup. Opening it up before starting the wsl2 solved the problem to me.
spersico commentedon Jan 21, 2021
If someone comes 'till here and nothing worked like I did, know that I had the same error, and I then noticed that I had mistakenly deleted my custom kernel file (like an idiot), and WSL couldn't find it. So changing back the wslconfig file to not use a custom kernel might be the solution.
MethodJules commentedon Jun 24, 2021
Santiago Persico (@spersico) Can you explain that a little bit more? Where can I find the wslconfig file? Under C:\User{User}.wslconfig? And how can I determine not to use a custom kernel? Thanks in advanded.
spersico commentedon Jun 25, 2021
MethodJules in my case it's on
C:\Users\<MY_USER>\.wslconfigBy default it uses the normal, non-custom kernel, I just removed the line which pointed to my kernel file, in my case, that was
kernel=C:\\Users\\SP\\bzImage