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

WSL 2 - Custom Kernel - Process exited with code 4294967295 #4904

Closed
microhobby opened this issue Feb 17, 2020 · 15 comments
Closed

WSL 2 - Custom Kernel - Process exited with code 4294967295 #4904

microhobby opened this issue Feb 17, 2020 · 15 comments

Comments

@microhobby
Copy link

Please fill out the below information:

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

@Vincent-Ye
Copy link

I fixed same problem by "netsh winsock reset"

@Gonzoe79
Copy link

had the same issue, had docker installed with wsl2 feature enabled

I fixed same problem by "netsh winsock reset"

uninstalling docker and running "netsh winsock reset" solved it for me

@therealkenc
Copy link
Collaborator

/dupe #4929 #4364

@ghost
Copy link

ghost commented Apr 12, 2020

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost added the duplicate label Apr 12, 2020
@holazt
Copy link

holazt commented Apr 18, 2020

@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.

@microhobby
Copy link
Author

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
Copy link

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
Copy link

forecho commented 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.

image

@godie007
Copy link

godie007 commented Jul 1, 2020

the solution is to update the kernel https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

@forecho
Copy link

forecho commented Jul 31, 2020

@godie007 Thx, It work 🙇‍

@jpsneto
Copy link

jpsneto commented Aug 14, 2020

the solution is to update the kernel https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

Even though I already had the newest version installed, it solved the problem

@wtadeubarros
Copy link

I had my docker disabled on startup. Opening it up before starting the wsl2 solved the problem to me.

@spersico
Copy link

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
Copy link

@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
Copy link

@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

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

No branches or pull requests