Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Linux Kernel Maintainers: What They Do & How to Help

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Linux kernel maintainers are the developers who review, approve, and manage changes to the Linux kernel source code. They act as gatekeepers for specific subsystems (like networking, storage, or graphics) and ensure that patches are correct, safe, and well-tested before they are merged into the mainline kernel. They need your help because the kernel is massive—millions of lines of code—and maintainers are often overwhelmed by the volume of patches, bug reports, and testing requests. You don't need to be a kernel expert to contribute; even testing, reporting bugs, or writing documentation makes a real difference.

What You'll Need

  • A computer running Linux (any distribution) with internet access.
  • Basic familiarity with the command line (using cd, ls, cat).
  • Optionally, a text editor (like vim or nano) and git installed.
  • An account on a kernel bug tracker (like bugzilla.kernel.org) if you plan to report issues.
  • For code contributions: a working C compiler and the kernel build tools (usually available via your distribution's "development" packages).

Step-by-Step

  1. Understand what maintainers actually do. Maintainers are responsible for a specific subsystem (e.g., USB, sound, or ARM architecture). They review patches submitted by developers, provide feedback, and decide which patches get accepted. They also coordinate with other maintainers, handle bug reports, and ensure their subsystem works with the rest of the kernel. This is a volunteer role, and many maintainers spend hours each day just triaging emails.
  2. Start by testing the latest kernel release candidates. Maintainers need people to test new kernels on real hardware. Download a release candidate from kernel.org, install it on a spare machine or a virtual machine, and use it for a few days. If you find any bugs, report them with a clear description of your hardware and what you were doing when the problem occurred.
  3. Report bugs properly. When you find a kernel bug, search the existing bug tracker first to avoid duplicates. If it's new, file a report that includes: your kernel version (run uname -r), your hardware details (use lspci and lshw), the exact steps to reproduce the issue, and any error messages from dmesg. A good bug report saves maintainers hours of back-and-forth.
  4. Join the relevant mailing list. Most kernel development happens on mailing lists, not web forums. Find the list for the subsystem you're interested in (e.g., linux-usb@vger.kernel.org for USB). Subscribe and read for a while to learn the culture and the current issues. You don't have to post immediately; just observing is helpful.
  5. Help with patch review. Even if you're not a C expert, you can review patches for style, documentation, or logic. The kernel has strict coding style rules (see Documentation/process/coding-style.rst). You can run checkpatch.pl on a patch to find style issues. Post your comments to the mailing list, but be polite and constructive.
  6. Write or improve documentation. The kernel's documentation is in the Documentation/ directory. If you understand a feature, you can help by clarifying instructions, fixing typos, or adding examples. Documentation patches are often easier for newcomers and are always welcome.
  7. Submit your first patch (if you're ready). Start with a small fix: a typo, a comment correction, or a minor bug. Set up git, clone the kernel tree, make your change, and follow the "Submitting Patches" guide (Documentation/process/submitting-patches.rst). Send it to the appropriate maintainer and mailing list. Expect feedback; that's normal.
  8. Test patches from others. Maintainers often ask for testers on the mailing list. If you see a patch that addresses an issue you care about, apply it and test it. Report your results (e.g., "Tested on my laptop, works fine")—this is extremely valuable because maintainers can't test every hardware combination.
  9. Help with bug triage. On the bug tracker, you can help by confirming bugs, adding missing information, or testing if a bug still exists in the latest kernel. This reduces the maintainer's workload.

Common Mistakes

  • Posting to the wrong mailing list. Each subsystem has its own list. Sending a USB patch to the general linux-kernel list will likely be ignored. Check the MAINTAINERS file in the kernel source to find the correct list.
  • Not following the coding style. The kernel has strict rules (e.g., tabs for indentation, no trailing whitespace). Run checkpatch.pl before submitting.
  • Sending patches as attachments. Patches should be inline in the email body, not as attachments, because maintainers use tools that apply them directly.
  • Being rude or demanding. Maintainers are volunteers. A polite, well-researched request gets far more attention than an angry one.
  • Submitting large, untested changes. Start small. A massive patch that breaks something will be rejected and may discourage maintainers from reviewing your future work.

Tips

  • Read the maintainer's response carefully. They often give specific hints on what to fix. Address every point in your next revision.
  • Use git format-patch and git send-email. These tools format your patch correctly and send it properly. They're worth learning.
  • Test on both old and new kernels. If you're testing a bug fix, try it on the latest mainline and on the stable kernel your distribution uses.
  • Keep a test log. When you test a kernel, write down the exact hardware and kernel version. This makes your bug reports more credible.
  • Be patient. Maintainers are busy. It may take weeks or months for a patch to get reviewed. That's normal.

Troubleshooting

If your patch is rejected or you don't get a response, here's what to do:

  • Wait at least a week before following up. People have other commitments. A gentle reminder on the mailing list is fine.
  • If rejected, read the feedback carefully. Fix the issues and resubmit. Don't argue unless you have strong technical reasons, and then do so respectfully.
  • If you can't build the kernel, check that you have the necessary packages installed (e.g., build-essential on Debian/Ubuntu, base-devel on Arch). Also, use the configuration from your distribution (make olddefconfig) to avoid missing options.
  • If your bug report is ignored, try adding more detail or posting to the subsystem's mailing list instead of just the bug tracker. Sometimes maintainers rely on email more.
  • If you're overwhelmed by the kernel's size, focus on one small area—like a driver you use. You don't need to understand the whole kernel.

Frequently Asked Questions

Do I need to be a C expert to help?

No. You can help with testing, documentation, bug reporting, and even code style review without being a C wizard. Many maintainers started as testers.

How do I find the right mailing list?

Look at the MAINTAINERS file in the kernel source. Each subsystem has a list of maintainers and the relevant mailing list. You can also check kernel.org for a list of lists.

Can I get paid for this?

Most kernel maintainers are volunteers, though some are employed by companies like Red Hat, Intel, or Google to work on the kernel. But the first step is always contributing as a volunteer.

What if my patch is rejected?

That's common. Read the feedback, fix the issues, and resubmit. Rejection is not personal; it's about making the kernel better.

How long does it take to become a maintainer?

It takes years of consistent, high-quality contributions. Most maintainers have been contributing for a long time. But you don't need to become a maintainer to help; every contribution counts.

Is it safe to test a release candidate kernel on my main machine?

It's safer to use a virtual machine or a spare computer. Release candidates can have bugs that may cause data loss or crashes. Always back up important data first.