Skip to content

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

Closed

Description

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!

Activity

  1. Vincent-Ye commented on Mar 17, 2020

    @Vincent-Ye

    I fixed same problem by "netsh winsock reset"

  2. Gonzoe79 commented on Mar 19, 2020

    @Gonzoe79

    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

  3. therealkenc commented on Apr 12, 2020

    @therealkenc

    /dupe #4929 #4364

  4. holazt commented on Apr 18, 2020

    @holazt

    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.
    
  5. microhobby commented on May 18, 2020

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

  6. windowsair commented on May 19, 2020

    @windowsair

    Great! Nonetheless, there are still some troubles to migrate to the new kernel version. I don't know if Microsoft has a new solution. . .

  7. forecho commented on Jun 15, 2020

    @forecho

    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

  8. godie007 commented on Jul 1, 2020

    @godie007
  9. forecho commented on Jul 31, 2020

    @forecho
  10. jpsneto commented on Aug 14, 2020

    @jpsneto

    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

  11. wtadeubarros commented on Oct 5, 2020

    @wtadeubarros

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

  12. spersico commented on Jan 21, 2021

    @spersico

    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.

  13. MethodJules commented on Jun 24, 2021

    @MethodJules

    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.

  14. spersico commented on Jun 25, 2021

    @spersico

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions