WSL Win10/Win11 releases - confusing issue #9034
-
I'm going to come across as a confused noob, but I've searched and I can't find a definitive answer. This is a request for somebody to 'fix' that confused noob. Though I expect I am not the only one that has the same bug. Our organisation (and it's a very large one) have no plans to move to Win10 any time soon (as that would be 10's of thousands of PCs) and we are experiencing increaseing isssues with what appears to be a very old WSL2 (e.g. some apps generate vmmem memory leaks which run into 30+Gb) There are many Win11 WSL features we are all waiting for down in Win10 land. A quick search yields many outstanding backport requests (WSLg, native EXT4, etc) and numerous bugs that are fixed in later versions. afaik there is only one repo for WSL, yet there are at least three concurrent versions (that I know of)
(I expect there are others), each dependent on the release platform for Windows (21H2, etc). Combine that with multiple kernels and multiple OSs running on those kernels and we have a lot of combinations. I can see this repo https://github.com/microsoft/WSL only has one branch named 'master' Could somebody explain the release versions of WSL (e.g. 0.70.0) (there are 20 prior releases) combined with what WSL2-Kernel releases work with what platform at what revision. Perhaps the releases should indicate compatability and perhaps there should be more than one repo (or more than one branch) to express this. At least a table in the wiki?.... https://github.com/microsoft/WSL/wiki |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
The release version of WSL (e.g. 0.70.0) falls into WSL2/Win11 category. That version has no relation with Linux kernel version used within WSL2. The Linux kernel version follows stable releases. |
Beta Was this translation helpful? Give feedback.
-
Would recommend this be moved to Discussions when a WSL team-member sees it.
This repo is a bit different from most other Github repos since it does not actually contain any source code for WSL. WSL is not an open-source project. The primary use of this repo, as noted on the main page is for:
I assume that's a typo and you mean "move to Win 11" (no worries, I probably have some typos in here, too).
Microsoft has been very clear (although I probably can't find the post at the moment since it's been more than a year ago) that WSLg will not be backported to Win10. To paraphrase my understanding and recollection of the post, there were architectural changes in Windows 11 that were required for WSLg. It simply cannot run without those changes. And I think it should be very clear by now that Microsoft will still be supporting Windows 10 going forward, but most likely only with fixes, especially security. If there's a new feature going into Windows 10 at this point (and I don't know that there has been), it's either strategic (as a hypothetical for-instance, some Azure integration feature) or a contractual commitment for features that have not yet been delivered (deferred revenue rules). Again, this is just my conjecture based on previous experience in this space.
Not really a need for a table. It's been a steady-progression for WSL releases:
Kernel releases, as @Biswa96 mentioned, are somewhat decoupled from this. You should be able to use any recent WSL2 kernel even under Windows 10. This allows, for instance, USB/IP support on Windows 10. So kernel-only features (which are rare) can be enabled on Windows 10.
Addressing specifically the ext4 comment here -- WSL2 has always had native ext4 support, even from the first release on Windows 10. So not quite sure what you mean about that feature. |
Beta Was this translation helpful? Give feedback.
-
@the-moog I do agree, I didn't quite answer your question, even with all that ;-). So let me try again. First, let me start with the bad news:
It's extremely unlikely, in my opinion, that you'll see the fix backported to a WSL release on Windows 10. I do not and cannot speak for anyone at Microsoft, but they typically don't port fixes or features backwards (for any product) unless there's a strategic (e.g. perhaps something in Windows broke specifically on Azure), contractual, or security reason to do so. The last time we saw any mention of a new feature or fix on WSL on Windows 10 was 21H2. As far as I can tell, the WSL version in Windows 10 22H2 is exactly the same as it was in 21H2. Further, the WSL "in box" version of WSL in Windows 11 22H2 is exactly the same as it was in Windows 11 21H2.
I agree it's confusing. There are several reasons for this:
As for the kernel, the latest that is available for direct update on Windows 10 appears to me to be 5.10.102.1. However, there's no reason that I'm aware of that you can't use any later release of the kernel even on Windows 10. I'll test later myself, but you should be able to simply copy over the kernel from a Windows 11 system to a Windows 10 system and create/update your If the fix you need was in the kernel, then that may solve the problem. Otherwise:
I've worked for some pretty big ones myself (3 Fortune 500 companies), and in my experience, there's almost always a trial going with the next release for a subset of users. Work with IT on the problem you are having, let them know that there is a critical fix in Windows 11 for an issue you are having, and ask if you can become a member of the beta/preview group. If not (and it can be tough to get through the red-tape in IT, I know), play squeaky-wheel with your management until the issue gets pushed through. If it's critical, then eventually something will break the log-jam, ... hopefully. |
Beta Was this translation helpful? Give feedback.
-
@the-moog Well, I'm happy to be wrong about some of the above. WSL 1.0.0 is now available for Windows 10 with KB5020030. It's not quite clear yet whether all Windows 10 releases are supported or just 22H2, though, since KB5020030 applies to all (I believe) currently supported Windows 10 releases. |
Beta Was this translation helpful? Give feedback.
-
I found it was not simple to update to Win10/WSLg as this issue #9157 raised it's head. But after two windows update, first to install 22H2 and a second to install KB5020030 it seems to be working. I have to congratulate MS in rolling this out and thank the hard work from the devs that make this happen. WSL has revolutionised the way we work. I wonder if anybody here remember the previous aborted attempt at this some years back, I think it was called SUA (or something like that) and based around Cygwin and a complete dogs dinner - shame we did not have WSL back then..... |
Beta Was this translation helpful? Give feedback.
@the-moog Well, I'm happy to be wrong about some of the above. WSL 1.0.0 is now available for Windows 10 with KB5020030. It's not quite clear yet whether all Windows 10 releases are supported or just 22H2, though, since KB5020030 applies to all (I believe) currently supported Windows 10 releases.