kernellogger, to linux
@kernellogger@fosstodon.org avatar

Jeremy Allison writes:

'" The data shows that “frozen” vendor kernels, created by branching off a release point and then using a team of engineers to select specific patches to back-port to that branch, are buggier than the upstream “stable” Linux created by Greg Kroah-Hartman. '"

https://ciq.com/blog/why-a-frozen-linux-kernel-isnt-the-safest-choice-for-security/

kernellogger, to linux
@kernellogger@fosstodon.org avatar

Annoyed by having to put #sudo in front on #dmesg[1]?

Then use this instead[2]:

$ journalctl -k

It should work if the user executing this is a member of the groups "systemd-journal", "adm", or "wheel".

[1] which is the case if CONFIG_SECURITY_DMESG_RESTRICT is turned on in your #Linux #kernel's .config – which #Fedora recently switched on, something many other distros did already a while ago.

[2] works for the common case, for some fancier stuff you might still need dmesg #LinuxKernel

kernellogger, to linux
@kernellogger@fosstodon.org avatar

As community, process, and quality problems are discussed due to critical toots from @marcan a quick reminder:

Many problems currently discussed are well known for years; below screenshot from the slide deck mentioned at the start of https://lwn.net/Articles/799134/ shows that.

Things didn't improve much since then. The main reason for that IMHO is not "resistance to change among the elders" – it's lack of funding for people that work out and establish better workflows.

kernellogger, to linux
@kernellogger@fosstodon.org avatar

#bcachefs made it and was finally merged for #Linux #kernel 6.7: https://git.kernel.org/torvalds/c/9e87705289667a6c5185c619ea32f3d39314eb1b

223 files changed, 95037 insertions, 56 deletions

For a feature overview and other details about this new #LinuxKernel filesystem see: https://bcachefs.org/

kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar

#Linux 6.6 just became a #Longterm (aka #LTS) #kernel.

The #LinuxKernel's stable team (Sasha Levin and @gregkh) just made this official by adding it to https://www.kernel.org/category/releases.html with the following change: https://git.kernel.org/pub/scm/docs/kernel/website.git/commit/?id=d3c85f300d9214949efae275e519f30cce155cca

Projected EOL is December 2026.

kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar

Linus re-sorted the #Linux #kernel's MAINTAINERS file again and had this to say:


The answer is "No. No we cannot".

I suggest that all kernel developers will need weekly training sessions, involving a lot of Big Bird and Sesame Street. And at the yearly maintainer summit, we will all sing the alphabet song together.```

😂

<https://git.kernel.org/torvalds/c/c192ac7357683f78c2e6d6e75adfcc29deb8c4ae> #LinuxKernel
kernellogger, to rust
@kernellogger@fosstodon.org avatar

Correlation vs. Causation

Reminder: the support for programming the [#LinuxKernel using #Rust aka #Rustlang is not used for anything at all yet within the #Linux #kernel – and most likely disabled in this user's kernel image]

kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar

[EDIT: better ignore this, the example is obsolete; see 3/]

One of the things I find really annoying about #Linux #kernel development:

Things that are right when contributing to one part of the #LinuxKernel are wrong when contributing to another.

Sometimes even rules that I'd consider to be on a higher level are nullified on lower levels. The netdev-FAQ[1] for example tells contributors to not tag changes for stable backporting as explained in stable-kernel-rules.rst[2].

1/ I can even…

kernellogger, to rust
@kernellogger@fosstodon.org avatar

Andrea Righi[1] wrote a #LinuxKernel scheduler in #Rust / #Rustlang using sched-ext[2]; he claims he was "'"pretty shocked to see that it doesn't just work, but it can even outperform the default #Linux scheduler (EEVDF) with certain workloads (i.e., gaming):"'"

He shared it on the #birdside: https://twitter.com/arighi/status/1746938387968254371

Github page: https://github.com/sched-ext/scx/

Video: https://www.youtube.com/watch?v=oCfVbz9jvVQ

[1] #Kernel engineer @ Canonical
[2] https://lwn.net/Articles/922405/

kernellogger, to linux
@kernellogger@fosstodon.org avatar

Hmmm, immutable #Linux distros are currently ignored by the "How to quickly build a trimmed #LinuxKernel" text I recently added to the #kernel's documentation[1].

Is that fine for now? Or should I add a sentence or two about those?

For @fedora #silverblue at al. it seems using "ostree admin unlock --hotfix" might be the best solution when say doing a bisection.

But what's the best way for @opensuse MicroOS?

[1]https://docs.kernel.org/next/admin-guide/quickly-build-trimmed-linux.html

kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar

A #Canonical employee reported some out-of-tree code broke after something internal was renamed recently in #Linux 5.15.y – and as expected was told this is no regression at all, as the #LinuxKernel does not have a binary kernel interface, nor does it have a stable kernel interface:

https://lore.kernel.org/all/924449dc-9b1f-4943-afe3-a68c03aedbb5@canonical.com/

Christoph Hellwig in a reply also wrote: "given that Canonical ignores our #kernel licensing rules and tries to get away with it I'm not going to offer any help to Canonical at all."

kernellogger, to linux
@kernellogger@fosstodon.org avatar

I'm working on a text for the docs describing how to perform a bisection when facing a .

I just published a first draft: https://www.leemhuis.info/files/misc/How%20to%20bisect%20a%20Linux%20kernel%20regression%20%e2%80%94%20The%20Linux%20Kernel%20documentation.html

Would be great if a few people could take a closer look and provide feedback. Either here, by mail, or via changes & notes in this document: https://docs.google.com/document/d/1Im7SPK0j6PUGQTSGZyCTSQv8h3S51EYsZuRRdyhfzto/edit?usp=sharing

Would be even better if a few people could play this through – but I guess chances are slim anyone seeing this currently has a need for that.

kernellogger, to linux
@kernellogger@fosstodon.org avatar

#WSL 1.1.7 is now available to Windows Insiders and among others bumps the #LinuxKernel to the #Linux 6.1 (a longterm aka LTS #kernel)

https://github.com/microsoft/WSL/releases/tag/1.1.7

@chrissicool for mentioning it in a reply]

mxk, to random
@mxk@hachyderm.io avatar

Can someone explain to me, how a scheduler should decide which process to run on which core, with such an architecture?
There are 4 different CPU designs inside this system on a chip. I observe that this issue is already troublesome for just 2 different CPU types. #scheduling #linuxkernel

Octa-core (1x3.2 GHz Cortex-X3 & 2x2.8 GHz Cortex-A715 & 2x2.8 GHz Cortex-A710 & 3x2.0 GHz Cortex-A510)

kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar

Getting closer and closer to the point where I'll start a git tree[1] with fixes and reverts for #Linux #kernel regressions in the latest stable series, as from here it seems quite a few of the known problems could quickly be solved by a revert or applying fixes already queued[2]/still under review[3].

[1] ideally in collaboration with the #LinuxKernel package maintainers from distros like @archlinux, @fedora, and @opensuse

[2] https://lore.kernel.org/all/a810561a-14f3-412e-9903-acaba7a36160@leemhuis.info/

[3] https://lore.kernel.org/all/ded3e7ae-6a7d-48b2-8acc-c125874ee09f@leemhuis.info/

kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar

The #Linux #kernel's #CVE team just published their thousandth CVE[1]. 🥳 🙃

This happened 78 days after the effort was announced[2].

Note, 26 of the 1003 CVE entries published so far were later rejected. For details check https://git.kernel.org/pub/scm/linux/security/vulns.git/ or https://lore.kernel.org/linux-cve-announce/

[1] https://git.kernel.org/pub/scm/linux/security/vulns.git/commit/?id=55441d0dd1f40c5762cd7cf8c9ca312ed0964c4a

[2] http://www.kroah.com/log/blog/2024/02/13/linux-is-a-cna/ #LinuxKernel

kernellogger, to linux
@kernellogger@fosstodon.org avatar

Sooner or later the #Linux #kernel afaics will need a group of "first level bug responders" to reduce workload and noise for #LinuxKernel maintainers and developers.

E.g. a group of people that triages incoming bug reports[1] and normally only lets those through to the real developers that meet some very basic requirements.

[1] point to dupes, check if the report is sane, check if all basic information is there, ...

kernellogger, to linux
@kernellogger@fosstodon.org avatar

#argh: I have to perform a #Linux #kernel bisection on my Thinkpad T14s G1 (AMD) with Fedora's full-blown distro config, as the problem does not occur with a config trimmed by localmodconfig. 😟

[1] s2idle resume broke with #LinuxKernel 6.6-rc

kernellogger, (edited ) to rust
@kernellogger@fosstodon.org avatar

Congrats to the #Rustlang and #Rust-for-#Linux community: the #LinuxKernel now contains the first useful thing built using Rust[1]! 🥳 👏

It's a network driver for Asix PHYs. It's provided as an alternative to an existing driver written in C. The features are equivalent.

For more details see https://git.kernel.org/torvalds/c/d6beb085e8ff3d9547df8a5a55f15ccc7552c5d0, https://git.kernel.org/torvalds/c/cbe0e415089636170aa6eb540ca4af5dc9842a60, and https://lwn.net/Articles/949270/

[1] reminder, until now the #kernel's Rust support was not used for anything practical upstream: https://lwn.net/Articles/952029/

kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar

Reminder: a #kernel where uname -r prints something like "5.15.0-71-generic" is a vendor kernel that is likely quite different from #Linux 5.15.71[1].

In case of problems with such a kernel you thus must report them to your vendor.

That's because almost all upstream #LinuxKernel developers don't care about problems in such kernels, as they might happen due to modifications the vendor applied.

[1] it in fact is likely based on a much later Linux 5.15.y release

kernellogger, to linux
@kernellogger@fosstodon.org avatar

Linus (@torvalds ) helped my fight against regressions a lot today by clarifying:

  • he is perfectly willing to pick-up non-controversial patches directly from the list to ensure they make it into the next release [even when one is immanent].

  • to avoid having a regression in yet another release, it's totally fine for him to merge fixes for regressions from recent releases on the last minute

For details and his exact words, see: https://lore.kernel.org/all/CAHk-%3Dwis_qQy4oDNynNKi5b7Qhosmxtoj1jxo5wmB6SRUwQUBQ@mail.gmail.com/

kernellogger, to debian
@kernellogger@fosstodon.org avatar

Screenshot shows what #Debian removes from the #Linux #kernel src to comply with the DFSG.

This is why:

"""[…] The IETF draft for CIPSO is under a non-free license. The nvidia and riva drivers contain obfuscated source code. The other files contain executable code as static data, without any source for it. […]""" (https://groups.google.com/g/linux.debian.kernel/c/Pqw8klO72FE)

Got curious (while waiting for the compiler) after seeing a LKML discussion regarding the Appletalk FW license in the #LinuxKernel: https://lore.kernel.org/all/6100798b-ab1d-262a-fd5b-435d6dfc4a53@redhat.com/

kernellogger, to linux
@kernellogger@fosstodon.org avatar

Hans Reiser on deprecation in the : https://lore.kernel.org/all/b98b29cf-27d9-49e0-b10b-1848399badfd@kittens.ph/

"'"What follows is a letter from Hans Reiser to myself, which he wrote some two months back, and has asked me to publish, with his thoughts on the deprecation of ReiserFS from the . I have transcribed it to the best of my ability. Plaintext email may not be the best way to read it, as such, I have […]"'"

kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar
kernellogger, (edited ) to linux
@kernellogger@fosstodon.org avatar

The Kernel Report - Jonathan Corbet (@corbet), @LWN

The recording of this recent talk is now available on the #ossna2024 schedule page: https://ossna2024.sched.com/event/1aBNs/the-kernel-report-jonathan-corbet-lwnnet

Slides can be found here: https://static.lwn.net/talks/2024/kr-ossna.pdf

Direct link to the recording: https://www.youtube.com/watch?v=DAqjl_x4hZc

#Linux #kernel #LinuxKernel

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • Leos
  • cisconetworking
  • provamag3
  • lostlight
  • All magazines