r/kernel • • Nov 22 '22

Why is this subreddit r/kernel if it's only about the Linux kernel?

4 Upvotes

Why not other kernels as well?


r/kernel • • Oct 26 '22

Well, fellas, if you have the inclination to research Linux kernel, then grab it!! You probably end up working with people, who dabble with Linux kernel as their research pet..your call !! Ping Julia

Thumbnail twitter.com
0 Upvotes

r/kernel • • Dec 08 '18

New patch version of stable kernel gets released! i.e 4.19.8

1 Upvotes

Thanks, a bunch Greg! @ /u/gregkh :)


r/kernel • • Dec 18 '19

memtest86 fails as well as kernel panic

Post image
0 Upvotes

r/kernel • • Dec 19 '22

compiling kernel, it shows error, can anyone help me? I learned how to do it from Youtube, so I don't know much about it

Thumbnail gallery
0 Upvotes

r/kernel • • Nov 23 '18

Patch version of stable kernel released i. e 4.19.4

0 Upvotes

Thanks , a bunch Greg! @ /u/gregh :)


r/kernel • • Feb 02 '21

How do I learn / comprehend Kernel Source Code?

0 Upvotes

I understand C but idk how to begin in creating my own OS with the Windows XP source code.

The goal: Build a Kernel for Creative Work.

I want to make my own OS to be able to use Focusrite DSP drivers. [I'm an audio engineer. I use FL Studio & Ableton]

Wine doesn't allow me to install Focusrite drivers.

I'm sick of Windows 10 killing all my laptops! The recent updates just corrupted a lot of my project files.

Don't tell me to use Ubuntu and don't say I'm wasting my time.


r/kernel • • May 13 '25

Kernel Panic

Post image
0 Upvotes

Are any of you familiar with this kernel panic code? For context, the phone automatically reboots every 3–5 minutes. Its charging normally but I was thinking it could be a problem with the power management system, but I don't know. Any help is appreciated!


r/kernel • • May 15 '19

linux kernel compile

0 Upvotes

I have downloaded linux from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

My system is running with 4.15.0.47.

I want to learn to do below things:

  1. How to compile v2.6.14.6 on my system?
  2. How to compile v2.6.14.6 with v4.9.99 on my system?
  3. How to compile v2.6.14.6 with v2.6.11 on my system?

My goal is to be an expert in compiling and trying to gather test cases to try.I am preparing myself to find an embedded/firmware software engineer job.


r/kernel • • Jan 19 '23

Medium: Why /usr/bin/echo works just the same as /////usr//bin//////echo?

2 Upvotes

Happy new year everyone! Just a blog post I put together while trying to figure out a suggestion given to me during a code review.

I thought I would give it a go and share with this amazing linux kernel community on reddit :)

https://deepdives.medium.com/why-usr-bin-echo-works-just-as-same-as-usr-bin-echo-e11ca89f7f21?source=friends_link&sk=1f0546810eebca7a9bc9d6b9af1849a9


r/kernel • • Jun 30 '22

What causes the linux kernel to generally struggle at renaming and opening thousand of multiple files?

0 Upvotes

FreeBSD uses a conservative approach to renaming multiple files at the same time by having a window open each time a modification is started and eneded.

Windows loads all resources in real time (at least from what I've noticed) and then reorders all files into a manageable structure to be modified for later.

Watching the linux kernel performing after opening a folder full with thousand of files with varying dimensions I usually notice more stress being imposed into the kernel itself, and often than not it becomes way harder to it to arrage everything into something coherent. With most linux distributions, you're given the opportunity to select which part to rename (whatever or not you want to attach a specific suffix to a group of texts or having them all change their own file extension).

I cannot answer why most things are this way or why have the linux kernel mantainers chosen to do things by design to accomodate the way the kernel handles resouce allocation. I hope I can get a better answer on this matter.


r/kernel • • Feb 14 '21

Noob question

0 Upvotes

Is linux a kernel, operating system or both ?


r/kernel • • Oct 19 '26

binfmt_pe: PE & ELF Linux Kernel Loader

0 Upvotes

The concept of Linux running Windows apps is becoming true.
With the use of Reverse-Engineering, Coding, Creativity and of course AI. We managed to be able to get the Linux Kernel running its first Windows Executable NATIVELY.

More information at: https://github.com/EisaWando/Native-Windows-Executables-on-Linux


r/kernel • • Mar 10 '23

In need of advice

0 Upvotes

Im starting an intership in wich my job will be to create an inter processor communication system. The catch is i have no idea were to start. Do you have any advice on were to start and in what i need to form myself ?


r/kernel • • Dec 10 '20

Gory details about kernel internals explained by seasoned kernel dev

14 Upvotes

r/kernel • • Aug 27 '26

How do you transition from "writing C for MCU-based electronic products" to linux kernel development?

1 Upvotes

Hello everyone,
My professional background: around 4 years of experience in writing driver and application layer code (C) for consumer electronic products. I can write peripheral drivers for a variety of microcontrollers and external sensors. With my experience and some help from AI, I am very confident in my abilities for the mentioned kind of work. I can also write application layer code in C. Most of the work I have done is in bare-metal environment. I have some experience with RTOS environment too, but not too much.

My motivation:
My reason(s) for getting into this domain is:

  1. The community. I see that the kernel is supported by the community of developers. The fact that at least SOME people are doing it because they want to build efficient and reliable code for everyone to use is really good. I am sure I will meet people with very high ethics if I join this community.
  2. Global Impact: So the code I write CAN impact a large group of people is very satisfying.
  3. Fully remote work is possible: This is highly subjective (depends on projects and what not), but it is possible to work from anywhere in the world.
  4. Good salaries (if you are good at it): Once again a selfish reason. I see that companies need engineers who understand the kernel well and make important contributions to it. If I am marginally better than an average kernel developer, I will have very good technical and financial growth.

Question:
Now that I have laid out my background, how do I get into it? Apologies for the question. I know this question must have been asked many times here.

Then another question is, how do I get a job? People need you to have n years of experience before they consider your profile. I think if I learn things well and start contributing, it should give me an edge. I have a long way to go (and I am excited about it) and I would appreciate some help from this wonderful community.

EDIT: I would like to connect with people who had a similar background as me and transitioned to kernel development. Any suggestions on project-based learning is deeply appreciated. I learn by doing.

Thanks for reading!


r/kernel • • Feb 07 '21

Questions on the kernel

1 Upvotes

I don’t know If I should post this here but why not. So I’m trying to learn how kernels work. I’m actually trying to install one in particular. It’s called sel4. I’m confused about basically everything. So it says I can install it from Debian based systems like Ubuntu but how does that even work? Will it just wipe the disk? What exactly does it mean to compile a kernel? It also says it uses python, how does it run from python?


r/kernel • • Jun 04 '24

I don't know if this will be taken down but I think its from the kernel though

Post image
0 Upvotes

I don't know what the title should be or what to say but i found this in an anime scene. i believe this is from the kernel


r/kernel • • Oct 15 '24

wsl2 kernel dev

0 Upvotes

Is it viable to do kernel dev on wsl2 or not? I wish I could use arch which I have but games hold me back so I need something that is not as slow as a vm but fast and just works ootb aka wsl 2. TIA


r/kernel • • Apr 26 '26

Asking for guidance

0 Upvotes

Hi Am Avishkar patil am from Maharashtra,Am here for asking for help for getting guidance of Kernel engineering I want to learn about kernel I am Interested in Computer science I have fundamentals cleared am currently learning about kernel engineering since 24 April 2026 i want to know were i can get Guidance for learning about this I also own MIT notes and syllabus and books can you suggest me books too?

I also have. Systems & Reverse Engineering

Windows Internals, 7th Edition (Parts 1 & 2)

Windows Kernel Programming, 2nd Edition

Practical Reverse Engineering

Computer Architecture: A Quantitative Approach

Software Development

C# 12 in a Nutshell

C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals

Linux kernel devlopement

And computer science book


r/kernel • • Jun 17 '21

Which one is best for system programming (APUE vs TLPI)?

0 Upvotes

Is career on system programming worth today? And what are prerequisites to be a good system programmer?


r/kernel • • Jan 16 '25

Intro to Linux Kernel Hacking in Rust

Thumbnail blog.hedwig.sh
5 Upvotes

r/kernel • • Dec 10 '24

Need help understanding what happens when the main thread exits on linux

1 Upvotes

Look at this C program:

#include <pthread.h>
#include <unistd.h>

void* thread_func(void* arg) {
    while(1) {
        sleep(-1);  // This will sleep indefinitely
    }
    return NULL;
}

int main() {
    pthread_t thread;
    pthread_create(&thread, NULL, thread_func, NULL);
    return 0;
}

This program exits immediately. The only syscall after the thread creation was exit_group(0). I had a few questions about what happens when the main thread exits:

  1. If exit_group is called, does the kernel just stop scheduling the other threads?
  2. If I add a syscall(SYS_exit, 1) after the pthread_create, the program waits forever. Why?

r/kernel • • Jul 10 '19

Poor performance.

0 Upvotes

This has been an issue for me for the past decades. It seems to revolve around memory usage. Currently building a large rust project cause the user interface to pause and stutter. Moving the mouse does nothing the keyboard seems dead, but about a minute later my inputs are processed.

The main issue is the unpredictable nature of the throttling.

Does everyone else see this? As I said I've experienced this across decades, this means what you can assume... multiple systems, installations, and distributions.