News: 1618844534

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

More Linux love for Windows Insiders with a kernel update

(2021/04/19)


Windows Insiders have been given a bit of Linux love with the arrival of a [1]freshly updated kernel and an all-important clock fix.

Having [2]yanked the Windows Subsystem for Linux (WSL) 2 out of the usual Windows servicing cadence, Microsoft's engineers have been able to update WSL 2 without requiring a full-on OS patch.

[3]

The original 4.19 branch was [4]updated to 5.4.72 in February . The kernel has now been brought considerably more up to date with the [5]5.10.16.3 version .

5.10 is the latest [6]Long Term Support (LTS) version of the Linux kernel (originally released at the end of 2020) and, as such, its arrival will welcomed by developers. At time of writing, 5.11 was the very freshest of versions with 5.12 [7]still languishing in testing .

[8]

Another major change in the release is a fix for a [9]clock sync issue where the clock inside a user's WSL 2 instances could be different to that of the host machine, causing much hilarity among those affected. We'd seen the issue on some of our test rigs where the clock failed to update after a hibernation event, meaning that the Linux clock eventually fell well behind that of Windows.

You can make your own joke about the pace of Linux and Windows development there.

"This bug," said Microsoft, "was fixed entirely by changes inside of the Linux kernel itself that are present in this latest version."

Support has also been added for Linux Unified Key Setup (LUKS) disks, which can be accessed using wsl -mount following mounting.

The update, [10]according to WSL program manager Craig Loewen, could be rolled out to all WSL users (rather than just available to Windows Insiders) "within a few months."

Sadly, there was still no sign of the out-of-the-box Linux GUI app integration shown off last year. The Register understands that the WSL2 team is keen to iron out as many wrinkles as possible before unleashing it officially. As of last month, the word from Loewen [11]was "We're working on it!"

[12]

Microsoft's [13]developer-focused Build event is due to take place from 25 to 27 May. No pressure then. ®

Get our [14]Tech Resources



[1] https://devblogs.microsoft.com/commandline/servicing-the-windows-subsystem-for-linux-wsl-2-linux-kernel/

[2] https://www.theregister.com/2020/06/11/linux_comes_to_windows_update/

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YH2pGZVLCN6pn0Ytbmu6NAAAAEk&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[4] https://www.theregister.com/2021/02/18/windows_10_wsl_linux_5_4/

[5] https://github.com/microsoft/WSL2-Linux-Kernel/releases/tag/linux-msft-wsl-5.10.16.3

[6] https://www.theregister.com/2021/01/28/long_term_support_for_linux_510/

[7] https://www.theregister.com/2021/04/18/linux_5_12_rc8/

[8] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YH2pGZVLCN6pn0Ytbmu6NAAAAEk&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[9] https://github.com/microsoft/WSL/issues/5324

[10] https://github.com/microsoft/WSL/issues/5324#issuecomment-821566388

[11] https://twitter.com/craigaloewen/status/1367297619555282944

[12] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YH2pGZVLCN6pn0Ytbmu6NAAAAEk&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[13] https://www.microsoft.com/en-us/events

[14] https://whitepapers.theregister.com/

Windows Tax

Peter-Waterman1

Yeah, we can all pay the Windows Tax to run Linux workloads!

Can anyone explain?

Greybearded old scrote

Apart from MS' own Azure servers (customer demand and all) what is the use case for Linux on Windows?

Really, "Pick a team!"

Re: Can anyone explain?

karlkarl

Honestly it baffles me.

Two really weak excuses I can think of:

1) Visual Studio -> Linux tools (for some unknown reason, people like this).

2) Docker (its like FreeBSD Jails / Solaris Zones... but changes daily like a child with ADHD).

Especially strange because for a workstation / laptop that is about 3 years old, Linux provides better hardware support (i.e most manufacturers stop updating Windows drivers after a couple of years). So just install the proper thing and avoid some faff.

Penguins for the Win

Dwarf

Pointless.

Things are moving towards serverless (so the OS doesn't matter) and in any case, you just run a VM if you want a full Linux experience but are encumbered by Windows on your physical device.

Linux is like wigwam: no Gates, no Windows and Apache inside.

Farewell we call to hearth and hall!
Though wind may blow and rain may fall,
We must away ere break of day
Far over wood and mountain tall.

To Rivendell, where Elves yet dwell
In glades beneath the misty fell,
Through moor and waste we ride in haste,
And whither then we cannot tell.

With foes ahead, behind us dread,
Beneath the sky shall be our bed,
Until at last our toil be passed,
Our journey done, our errand sped.

We must away! We must away!
We ride before the break of day!
-- J. R. R. Tolkien