davidrevoy, to linux
@davidrevoy@framapiaf.org avatar
davidrevoy, to linux
@davidrevoy@framapiaf.org avatar
kkarhan, to linux
@kkarhan@mstdn.social avatar

OS/1337 development:
Using the oldest still maintained did yield about 25% size reduction for it's binary...

The good news: I basically have a new size record with the same settings: 551kB for the Kernel and 402k for toybox - both targeting systems.

The bad news: I've got neither network nor USB support at all!

And I think Network support and having as minimal client is kinda necessary for to work as a "" system at all.

kkarhan, to linux
@kkarhan@mstdn.social avatar

I really did underestimate as compression for a :

I was able to just shove the pre-made, full & uncut binary from @landley and still have some breathing room.

Tho I expect this to change once I put a in that has actual capabilities...

This will be interesting for OS/1337.

http://landley.net/toybox/bin/
https://landley.net/toybox/help.html

the complete toybox binary outputting the commands it has implemented

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 in front on [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 's .config – which 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

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

I think the #Linux #kernel's praised "no regression" rule it massively subverted by one aspect:

Developers that caused a regression in a mainline release (say today's 6.4) are only obliged to fix it in mainline (e.g. for the next release, 6.5 currently).

There is nothing that ensures the fix will be backported to affected stable (e.g. 6.4.y) kernels (ideally quickly, unless the fix is risky).

1/ That being said: the…

kernellogger, to linux
@kernellogger@fosstodon.org avatar

"[…] It is clear that the current process is based on the learnings, and frustrations, the [#Linux #kernel's CVE] team has faced in the past. […] By taking this position, this effort is now duplicated across thousands of engineering teams ad infinitum, […]"

Well, yeah, but guess what: maybe then the companies behind those engineering teams will join up and invest money to handle the problem "[…] at the source, in a central, efficient and reliable manner. […]". 😬

https://amanitasecurity.com/posts/dear-linux-kernel-cna-what-have-you-done/

kernellogger, to linux
@kernellogger@fosstodon.org avatar

As #Linux #kernel 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. #LinuxKernel

kernellogger, to linux
@kernellogger@fosstodon.org avatar

A question for experts on bisecting the :

Assume someone runs into a regression when updating from 6.1.90[1] to 6.6.30 that needs bisecting. What do you suggest:

  • Check manually which mainline release (e.g. 6.2, 6.3, ...) introduced the problem and afterwards bisect between that and the previous release.

  • Bisect straight between 6.1 and 6.6.30.

1/ I guess I would definitely go for…

[1] let's assume that 6.1 was fine for this scenario to keep things simpler

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

6.6 just became a (aka ) .

The '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
ethauvin, to linux
@ethauvin@mastodon.social avatar

The Linux kernel scheduler has been accidentally hardcoded to a maximum of 8 cores for the past 15 years and nobody noticed

https://thehftguy.com/2023/11/14/the-linux-kernel-has-been-accidentally-hardcoded-to-a-maximum-of-8-cores-for-nearly-20-years/?utm_medium=erik.in&utm_source=mastodon

mort, to linux
@mort@fosstodon.org avatar

The count of the is not looking good these days compared to any other is it. Maybe time to switch to or some other system which doesn't claim to find hundreds of significant vulnerabilities every day

kernellogger, to linux
@kernellogger@fosstodon.org avatar

I know why Canonical/Ubuntu is doing it like that, but it nevertheless every time feels kinda odd when they switch to a #Linux #kernel series that upstream gave up and tagged "end of life" two-and-a-half months ago already[1] – something the article doesn't even mention.

https://www.omgubuntu.co.uk/2023/08/ubuntu-22-04-linux-kernel-6-2

[1] https://lore.kernel.org/all/2023051744-drainable-footwear-49bd@gregkh/

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, 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/

sima, to random
@sima@chaos.social avatar

once more for the peanut gallery

nvidia choose to not support the wayland stack. or well more generally, the new linux kms+egl gpu stack, since there's a lot other cool things you can built on top of it that aren't wayland

nvidia choose to implement crypto locked down fw in a way that blocks open drivers (even apple got this right!). and no one else can fix it, because it's actual real crypto

nvidia choose to not fix any of this

don't buy nvidia if you don't like this

#kernel

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…

emc2, to FreeBSD

The idea of some kind of microkernel project aimed at the #bsd world has been floating around between me and some of my lab colleagues for some time now.

I think the overall rationale has coalesced enough to warrant talking about it. I will probably aim to produce some kind of vision whitepaper on this, once I get clear of some personal stuff.

#OsDev #FreeBSD #kernel #OSS #FOSS

kernellogger, to linux
@kernellogger@fosstodon.org avatar

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

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

For @fedora 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 #Linux #kernel docs describing how to perform a #Git bisection when facing a #regression.

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. #LinuxKernel

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 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 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/

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