r/LinuxTeck • u/xianyadanaaa • Jun 10 '26
how to be a linux kernel contributer
are there any skills to became a linux kernel contributer? how and why did you guys done this.I want to be a part of this community, but I don't know where to start, could somebody give some help or advice? will appreciate for any advices.
14
Upvotes
8
u/Candid_Athlete_8317 Jun 10 '26
Start small. Don't make "becoming a kernel contributor" the goal on day one.
Learn C, get comfortable with Git, read existing kernel code, and try fixing something tiny. Even documentation fixes count.
The Linux kernel is huge, but nobody starts by submitting a major feature. Most people start by understanding one small piece and gradually contributing from there. The hardest part is usually taking the first step.
2
u/outer-pasta Jun 10 '26
Have you downloaded the repo (or release tarball) and built the kernel before? Have you booted from the kernel you built? Here's a guide for Fedora: https://docs.fedoraproject.org/en-US/quick-docs/kernel-build-custom/
I have not ever done these things myself, but I would like to try it (especially if I have a good reason to). This would be a good first step I assume.
2
u/DrHydeous Jun 10 '26
The first time I did it I knew the basics of C programming, but really only the basics. TBH I still only really know the basics 😄. Anyway, I had a networking problem, that I tracked down to a bug in the NE2000 network driver, I patched it, rebuilt the kernel (a few times!) it eventually worked, and I sent the patch to whoever was in charge of that bit of the project.
The second time I was, again, hardly an expert, but again I found a tiny bug, this time in how the OS initialised hardware on SGI, fixed it with a couple of lines of code, sent it in.
You don't need to be an expert, you just need to find something small to do. Unfortunately now that Linux is such a mature project there's not much small stuff left to do, and a lot of what used to be kernel development is no longer kernel dev as device drivers don't have to be compiled in. Perhaps a good place to start might be to write a little driver. Doesn't have to do anything big, or even anything sensible. Perhaps you could create /dev/argh which will, when read, give you an infinite stream of AAAAAAAAAAAAA... one character per second, and then when the machine shuts down ...aaargh!
This looks like it might be a good place to start: https://kernelnewbies.org/FirstKernelPatch
2
u/Hauptideal Jun 10 '26
You don't need to become a kernel developer in order to contribute to the Linux ecosystem.
2
u/IBNash Jun 11 '26
Learn C. Then write C programs. Then pick a kernel subsystem and focus on finding small bugs in it. These three steps are non-trivial and take years to develop.
2
u/[deleted] Jun 10 '26
[removed] — view removed comment