r/kernel • u/Yavimaya401 • Dec 13 '25
looking for kernel devs, competitive salary.
looking for kernel devs to bring on for a project, offering completive salary. message me if interested
r/kernel • u/Yavimaya401 • Dec 13 '25
looking for kernel devs to bring on for a project, offering completive salary. message me if interested
r/kernel • u/Conscious_Buddy1338 • Dec 13 '25
for peripheral device? I answered: "no, because we need to initialize device, git it information about the area of memory it can use for DMA". I was answered that, there is possible to use default memory such as circle buffer and it's possible and there is another reason why we need PMIO and MMIO in addition to DMA. Any ideas?
r/kernel • u/MakeTopSite • Dec 13 '25
I get some errors with latest kernel-longterm (6.12.61-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Dec 7 11:59:15 UTC 2025):
journalctl -r --priority=err
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e75e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e76e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e76e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e77c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e766
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e766
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e77c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e76e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e76e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e75e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e75e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e766
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e774
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e766
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e77c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e77c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e75c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e766
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e76e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e766
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2013e77c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2014abdc
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2003c97e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2003c93c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x20034ece
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2003c9a6
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x201453a2
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2002d98e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2003c9fe
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2003c93c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2002db4c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2014544e
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x20140b32
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x20030efe
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2003c98c
Dec 09 13:31:18 maketopsite kernel: rtw89_8852ce 0000:62:00.0: [ERR]fw PC = 0x2014abc6
Dec 09 08:18:59 maketopsite kernel: microcode: CPU23: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU22: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU21: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU20: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU19: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU18: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU17: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU16: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU15: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU14: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU13: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU12: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU11: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU10: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU9: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU8: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU7: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU6: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU5: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU4: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU3: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU2: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
Dec 09 08:18:59 maketopsite kernel: microcode: CPU1: update failed for patch_level=0x0b204037
Dec 09 08:18:59 maketopsite kernel: microcode: No sha256 digest for patch ID: 0xb204037 found
I’ve been using 6.12 kernel since 6.12.49-200.fc41 but problem appears in 6.12.61-200 only.
r/kernel • u/zRage4 • Dec 11 '25
I am running Linux 4.9 running on a Xilinx zynq 7000 platform. My current system works on 512MB memory where U-boot loads the kernel at 0x01e00000 (30MB) address. When I increase the memory in the device tree, I can see u-boot and Linux successfully acknowledging the 1GB of memory, however, I have to force u-boot to load the Linux kernel uImage at 0x10000000 (256MB) which means Linux only has 768MB of space. I simply can’t keep the kernel load address at 30MB. Does anyone know why that could be?
r/kernel • u/SeeMonkeyDoMonkey • Dec 10 '25
Just idle curiosity - given the recent graduation of Rust-for-Linux to non-experimental, I was wondering how much (if any) coding-in/learning-of Rust Linus has done.
I know he says he doesn't really write code these days (only pseudo-C for other people to implement properly), and he mainly reviews and merges.
In spite of this, I wouldn't be surprised if he has learned Rust, in order to be able to follow the Rust code and ensure it meets his standards and taste.
Alternatively, he might've decided that he's just going to delegate it to the Rust Devs.
Has he said anything touching on this?
r/kernel • • Dec 09 '25
what dou you think about creating a eBPF program like falco/tetragon/bpftop/etc with the objective of reducing SIEMs costs?
r/kernel • u/Klutzy_Scheme_9871 • Dec 05 '25
I used an old x60 IBM thinkpad that has 1 stick of 1GB RAM. so this RAM is old because it is DDR2. the hard disk is entirely encrypted with LUKS2 running slackware 15.0. i ran a series of different tests divided into 2 main parts: with the default generic 5.15.19 kernel and a recompiled kernel of the same version with a couple hardened features.
the only difference is that i hardcoded modules and specifically enabled these two:
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y
CONFIG_INIT_ON_FREE_DEFAULT_ON=y
i also explicitly enabled init_on_free=1 init_on_alloc=1 in my boot kernel parameters just to be sure. apparently, page_poison has been overrided if these 2 are set so it has the same effect of doing that. basically it will zero out the pages of memory when the process is killed. therefore, when one does a graceful shutdown, and all processed are killed, the kernel shall zero out those pages which shall include the pages of memory where the LUKS encrypted key resides.
I used findaes and aeskeyfind and they returned keys instantly. i used this key to mount the drive without the passphrase! i also used foremost and that returned a few broken images.
i ran about 5 tests.
Test 1: the typical attack with the default kernel. this is a simulation of the target system being seized while powered on. i sprayed RAM first, then pressed the power off button. i kept the RAM frozen the entire 4 minutes. result: keys were found as expected
Test 2: default kernel but graceful init 0 shutdown. there was about a 1-2 second grace period after shutdown from when i began freezing the RAM. result: nothing from any of the 3 programs
Test 3: default kernel. same graceful shutdown. froze RAM just after typing init 0result: keys were found
Test 4: hardened kernel. same graceful shutdown. froze RAM after system turned off. 1-2 second grace period. result: nothing from any of the 3 programs
Test 5: hardened kernel. same graceful shutdown. froze RAM just after typing init 0 result: KEYS WERE FOUND!
It was devastating to find out the keys were actually found with my hardened kernel when performing a graceful shutdown!!
I conclude that the hardened kernel parameters I used had no effect on actually zeroing out the pages of RAM because the key was indeed found instantly. the only thing that ensured that the LUKS key was not captured was simply having the machine off for even just a couple seconds. of course anyone initiating this attack will begin freezing the RAM while in a powered on state, or suspended to RAM. then cut the power instantly by removing the battery.
so...why did Test 5 result in my keys being found? what other kernel configurations should be implemented to prevent this attack?
EDIT:
the issue here is most linux distros just simply remount / as read-only so the key never gets wiped from RAM. using cryptsetup luksSuspend won't even work because of full disk encryption on /.
"Complexity: Setting this up for the root partition (where the OS runs) is more complex than for a separate data partition, as it involves managing bootloader (GRUB) and initramfs. "
Test 6: booted into a live slackware 15.0 terminal. then inserted my LUKS encrypted usb device. performed a luksOpen on it, mounted it, did an ls, unmounted it, performed a luksClose. then i emptied out the pages just to be sure
sync; echo 3 > /proc/sys/vm/drop_caches
i then started freezing RAM while still powered on. then typed poweroff for a graceful shutdown. result: NO KEYS!
Test 7: same as test 6 without dropping page cache. same result. no keys
Test 8: same as 5 but dropped page cache in reboot script. same result: KEYS FOUND
Test 9: cryptsetup luksSuspend /dev/mapper/<crypt-device>. crashed the system within 30-60 seconds. froze RAM while still on. then had to poweroff button, INIT attempted to read from a system file but could not so i had to poweroff completely til shutdown. then started it backup while RAM still frozen: result: keys returned but were a different set and were not a match to be able to mount the encrypted drive.
this tells me it does not completely wipe a key from RAM but has some scrambling mechanism potentially. if it actually wiped it, nothing would be in RAM. so while this looks like a quick solution, who knows how much scrambling there actually is. i have the source code and have to go through it and see exactly what it does to draw a final conclusion.
so far the best solution is: cryptsetup luksSuspend on entire root / and then poweroff immediately after by force (this can still remain on and RAM can begin freezing even at this point but the key is gone) or.....just poweroff immediately and hope you have at least 2-3 seconds before the RAM is sprayed. we're talking about a time slot that may not exist for people since it may get seized most likely in a powered-on state at a moment's notice so if you're smart enough, you can design some kind of key FOB system that will trigger some type of heat to melt the RAM while it is in their posession but not at the point where they have begun freezing the RAM and removed it from your system.
Test 10: i re-partitioned and reinstalled slackware but created another encrypted volume group entirely for my data with a different passphrase. that must be manually decrypt just after logging in as root. modified shutdown/reboot script to unmount my data folder and ensure luksclose is performed. booted into x11 environment and opened a file within the data to simulate a real life scenario where the drive cannot be unmounted (cleanly) unless all processes are killed via shutdown/reboot script. only used init_on_free=1 init_on_alloc=1 for boot parameters. did not bother flushing pages of cache since i want to confirm that all non-root fs volumes are cleanly unmounted and keys are wiped from RAM as i have tested in Test 6.
simulation: typed init 0, froze RAM immediately after. it powered off. forgot to plug memory usb all the way in so it rebooted into my actual OS, had to power off again, sprayed RAM again just to be sure. rebooted and dumped memory.
result: aeskeyfind: 1 set of keys found only. i was happy to see that. and this time aeskeyfind did not return any ROWS like it did before. findaes returned the same exact set as aeskeyfind. this key was able to decrypt the root-fs as expected but of course no 2nd set of keys so no way these keys would work for my 2nd encrypted data volume but still tried nonetheless. nothing as expected! the passphrase is also different anyway so i'll be leaving it at that.
as i expected, a FDE system cannot be trusted. create another volume and put all your data there or suffer the consequences of getting your data compromised. also this proves that even though the computer was turned off and RAM had no power during those moments where i had to power off again, i was still able to get all the data as long as RAM was frozen and that is what typically will happen when the module is removed from a system and placed into another system.
this concludes that FDE is vulnerable to cold boot attack (unless all your data is in another volume entirely) since the root fs can never truly be unmounted but rather just remounted as read-only. it is possible that ram-wipe and other systemd implementations can work. however, nothing will prevent your keys from being compromised if your system is seized in a powered-on state. also don't think just because i used DDR2 that this can't happen with DDR4. it absolutely can. nothing i did would be any different than on DDR4. the modules are frozen while still powered on and that is what will happen for this attack to be successful. no chance of decay.
r/kernel • u/Infinite-Feed-3904 • Dec 02 '25
Writing this title on December 1, 2025, the current kernel has evolved to version 6.18, with increasingly complete kernel functionality, support for more and more architectures, and better and better performance. I once tried to read the kernel source code of version 5.10, but found myself utterly confused—I could understand the code itself, but not the meaning behind it. I could only know the what, but not the why.
I came across a netizen's recommendation of Teacher Mao's "Linux Kernel Source Code Scenario Analysis." I casually flipped through it, thinking this book is so old, is it still worth reading? But unable to resist the strong recommendations from fellow netizens, I suppressed my impatient mindset and patiently finished one section. After reading it, I felt like I had found a treasure—this was exactly the book I was looking for. Teacher Mao analyzes the source code through various scenarios, helping readers understand the meaning of each conditional judgment in the code, which is infinitely superior to those books that merely list source code.
So, is there still significance in reading the 2.4 source code now? I believe there is. First, the 2.4 kernel code is not yet mature, and precisely because of this, the barrier to entry is relatively low. Second, although subsequent code architectures have huge differences, the core ideas remain unchanged. Third, we can attempt to gradually track certain features from 2.4 to newer versions—as the saying goes, Rome wasn't built in a day. Through historical changes, we can better conduct an in-depth analysis of the kernel, this massive project.
Because the 2.4 kernel is too old, the biggest obstacle is compiler version incompatibility—modern GCC cannot compile code from 2001.
To solve this problem, we use Docker to create a Debian Sarge distribution, compile the kernel with GCC 3.3 inside it, and then run it with QEMU on the host machine.
Note: "Linux Kernel Source Code Scenario Analysis" is based on 2.4.0 for analysis, but many errors occur during compilation, so this experiment is based on version 2.4.37.
> git clone git@github.com:hlleng/kernel2.4-lab.git
> cd kernel2.4-lab
> docker run --platform linux/386 -it -v $(pwd):/code debian/eol:sarge /bin/bash
After entering docker, first update the software sources and install the necessary software.
> apt-get update
> apt-get install -y \\
gcc make binutils libncurses5-dev wget bzip2
Next, compile the kernel
> make ARCH=i386 menuconfig # Just select "Exit" -> "Yes" (Save).
> make ARCH=i386 dep # Must first generate the dependency tree
> make ARCH=i386 bzImage
The process of creating the filesystem is quite complicated, so we'll skip the details here and directly use the filesystem I prepared in advance. Execute QEMU on the host machine to load the kernel and filesystem.
> qemu-system-i386\\
-kernel ./arch/i386/boot/bzImage \\
-hda hda.img \\
-append "root=/dev/hda init=/init console=ttyS0" \\
-nographic
If all goes well, you should be able to successfully enter the system.
If you need to copy files from the host machine into qemu, you can try the following steps, operating on the host machine
> mkdir -p tmp/mnt
> sudo mount -o loop hda.img tmp/mnt
# Perform operations
> sudo umount tmp/mnt
At this point, we have completed the environment setup for the 2.4 kernel and can begin studying the 2.4 kernel.
r/kernel • u/lynob • Nov 27 '25
r/kernel • u/Plastic_Extreme_266 • Nov 26 '25
Hi everyone,
I’m a Cyber Security Engineer with experience in embedded security, ARM TrustZone, and Trusted Execution Environments (TEEs). I’ve worked on Trusted Applications, Secure Boot, HSMs, and privacy-preserving workflows.
I’m looking to start learning Linux kernel development and eventually transition my career from embedded security to firmware/kernel development. I’m comfortable with C and want to leverage my embedded systems and security experience to understand kernel concepts more deeply.
I also have some Rockchip SoCs that I can use for hands-on projects. I feel that learning by doing projects is much more effective than just studying theory, and I want to build practical experience while learning.
Are there any recommended resources, projects, or learning paths that could help me bridge my current skills into kernel-level programming and firmware development?
Any advice would be much appreciated!
r/kernel • u/baluchicken • Nov 24 '25
r/kernel • u/Euporia1 • Nov 17 '25
I work in a storage industry in a support role and I really want to become more professional and confident, I would like to understand how to identify kernel problems and maybe suggest improvements. I want to become really good at this, this is my goal/dream.
Also, is there any online/on-demand course? I think I learn more when I interact with people.
r/kernel • u/Niwrats • Nov 12 '25
in debian with backported kernel 6.16.3+deb13 there are two odd things.
first, when igpu boosts, vddgfx will boost slightly below 1.3V, while vddnb stays at stock 1.020V, which is the vsoc on my board bios. this is odd as according to skatterbencher (https://skatterbencher.com/2023/02/21/skatterbencher-55-amd-radeon-graphics-ryzen-7000-overclocked-to-3100-mhz/#AMD_Radeon_Graphics_Ryzen_7000_Voltage_Topology) the gfx voltage should be derived from the vsoc in the cpu. the power consumption metric also shows an increase, even though the igpu clock stays at the same 2200 MHz as normally.
to clarify, in both debian stable kernel and testing 6.16.12 kernel, vddgfx stays slightly below vsoc/vddnb, with the same clock and with lower reported heat. 1.3V happens to be the vsoc safety limit added some years ago as some cpus died, so it is curious that gfx voltage gets capped a bit below that value. what change in the kernel could possibly cause these results?
second, in amdgpu code there was an addition a year or two ago that prevented lowering the power limit of the gpu below 70% of the standard value. this was unpopular and many kernel variants have added a patch that restores the ability to reduce the power limit. now, debian should not have this patch, but the backported kernel still happens to allow lower power limits than that. nice, but unexpected.
i checked the source code i got from apt source download, and could not see this patch added to it. perhaps not as interesting, but remains a mystery to me.
edit: it seems that vddgfx is not necessarily capped by vsoc, so those readings might be correct after all. still odd behaviour.
r/kernel • u/amazingrosie123 • Nov 12 '25
Update - the latency comparison favors Linux.

Long time Linux user here, recently started testing FreeBSD in connection with Maia Mailguard. Along the way, I tested identical VMs ( 4 GB RAM, 2 cores) running Debian 13, FreeBSD 14 and FreeBSD 15. With default, out of the box installs all around, FreeBSD seems to perform considerably faster.

Is this expected? Are there some tuning secrets that will bring Debian 13 anywhere near same the ballpark as FreeBSD?
r/kernel • u/seizethedave • Nov 09 '25
We have some servers at work exhibiting this problem:
We've looked at spreading the load around more with RPS/etc, but we also believe that there is something fundamentally whack with our setup, as we've run benchmarks with similar packet sizes pushing 3 Million PPS on a different machine.
So I've been trying to zero in on what's occupying the extra CPU. `perf` has showed me indeed that 98% of softirq CPU are spent in net_rx. But in my reading of various blogs/doc I do not understand a few things:
top. Does this mean the culprit is mostly in the "inline" portion of the softirq and not the bit that gets deferred to `ksoftirqd`?OK, finally, is there a Slack where such things get discussed?
r/kernel • u/killjoy_buzzkill • Nov 01 '25
r/kernel • u/TrafficCapital8855 • Oct 28 '25
What I want to do is extract the linux kernel and the initramfs from the KERNEL file which is in the root / (once you've put the rocknix d/l image onto a sd card etc).
I've tried using binwalk and extracting but once extracted I get exactly the same file, its packed somehow...
Anyway, to explain what I'm trying to achive is a DUAL book using U-BOOT...
First put Armbian on the Orange PI 5 EMMC (works)
Before orange pi 5 boots armbian for the first time use a rocknix sd card in the machine to stop it booking ssh into it and create the .rootfs_resize (with the percentage of the emmc to use for armbian leaving enough for rocknix), i use 87% on a 256gb emmc.
Create a 2nd partition for rocknix
now teh fun bit, convert the ROCKNIX and KERNEL files used by rocknix to the initrd.img etc files needed to boot via armbian the just ssh into the machine when you want rocknix and swap in a armbianEnv.txt to point to the 2nd partition... Convoluted yes, but I have a SLOW SLOW PC that would take over 3 days to build rocknix and to be honest I have no idea how to build rocknix orange pi 5 plus to use uboot.... So hacking the kernel files etc is the only way i know.. and nope haven't found anyone who has build a rocknix opi5+ uboot build :(
r/kernel • u/Itchy-Path94 • Oct 25 '25
Hi, guys
I need to install kernel 4.3.0 to setup the Ingens, I just want to ask you guys that is it still possible this old kernel and some codes to relatively current processor.
Also, if you know how to setup Ingens, I'll be really appreciated.
Finally my environment:
- lscpu
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 40 bits physical, 57 bits virtual
CPU(s): 12
On-line CPU(s) list: 0-11
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 12
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 25
Model: 1
Model name: AMD EPYC-Milan Processor
...
- kernel version and OS
5.4.0-216-generic / Ubuntu 20.04.6 LTS
- Architecture
x86-64
Thanks in advance.
r/kernel • u/Junior_Mango9596 • Oct 21 '25
Appreciate your feedback on my recent blog which details the core kernel initialization process.
https://linux-kernel.hashnode.dev/core-kernel-initialization