Man with glasses reaches into an open rack server on a wooden desk
Linux Kernel
William  

Linux Kernel Mailing List: Read LKML the Right Way

Use the linux kernel mailing list and its subsystem lists to trace kernel failures to the source. Search lore, read the code and logs behind each thread, and post only with a reproducible case. LKML rewards evidence. An error message without a kernel version or test case rarely gets a useful reply.

Last updated: 2026-11-10

What is the linux kernel mailing list?

LKML is the Linux kernel mailing list, the channel where kernel patches get proposed, argued over, and merged. Read and search it through lore.kernel.org, the official git-backed archive service run by kernel.org.

The main linux-kernel list is the firehose. Patches land there, maintainers review them there, and the arguments that shape a release happen there in plain text. Most messages are patches and technical review, so treat it as a development forum rather than a general support queue.

Email still works here because it is scriptable, archivable, and usable offline. A maintainer can pull a patch series into git, review it in their own editor, and reply inline without creating an account on another platform.

The public record matters just as much. If a maintainer rejects an approach, you can read the reason and see which code or prior discussion supports it. That history saves you from proposing the same broken fix again.

LKML, lkml.org, and the lore archive

Lore is the record I trust. lore.kernel.org is the kernel.org mailing list archive service, and its archives use public-inbox with git-backed message storage. Threads, message headers, list metadata, raw mail, and old technical discussions live there.

lkml.org is a separate mirror. It remains useful for casual browsing and old links, but I would not cite it in a bug report or commit message. Use a lore URL so the reader gets the canonical thread and its full context.

For an investigation, the choice is settled:

ServiceStatusUse it forMy verdict
lore LKML archiveOfficial kernel.org archiveSearching, citing, raw mail, thread history, B4 and scriptsUse this
lkml.orgThird-party mirrorQuick browsing and following an existing linkKeep it as a fallback

In practical terms, lkml.org is a convenience. Lore is where I start an investigation and where I send other people to verify it.

When lore shows an Anubis page

A browser challenge on lore does not mean the archive vanished. It means the web front end is checking automated traffic. Reloading it through increasingly elaborate scraping code is the wrong fight.

For scripts, use the archive’s git access or retrieve the thread with B4. Those interfaces preserve the raw messages and avoid scraping rendered pages. If curl suddenly returns HTML instead of mail, check the output before feeding it into another command. Shell pipelines are patient enough to archive your error page.

Find the right subsystem list

A technician holds two network cards at a workbench in a server room

Do not send every problem to the main list. The person who maintains a network driver is more likely to read the networking list than every unrelated patch sent through linux-kernel.

Start with the kernel tree’s MAINTAINERS file. It maps files and subsystems to maintainers, reviewers, mailing lists, status, and source trees. For an affected file or patch, run:

./scripts/get_maintainer.pl path/to/affected/file.c

The output tells you which maintainers and lists cover that code. For a patch file, pass the patch path instead. That catches file-pattern ownership that a web search will miss.

Use the narrowest subsystem that owns the first failing function. Common areas include:

  • Networking and network drivers
  • Block storage and device-mapper code
  • Filesystems
  • USB, PCI, graphics, and other drivers
  • Memory management
  • CPU architecture code
  • Security modules
  • Virtualization

A bug can cross boundaries. For example, a storage timeout may involve a controller driver, the block layer, or a filesystem reacting badly afterward. Check the first kernel error and the functions in the trace before choosing recipients.

Review list descriptions and activity

Read the list page before subscribing. The name alone can mislead you, especially where a subsystem has separate lists for users, development, patches, and automated reports.

I check five things before I let a list into my inbox:

  • The list’s stated purpose
  • Recent archive activity
  • Named maintainers and reviewers
  • Posting and subscription instructions
  • Whether patches should also copy the main list

Then I open several recent threads. That shows how subjects are formatted, whether patches arrive there, and how reviewers quote replies. Local convention beats advice copied from an unrelated subsystem.

Also check whether the list is active enough to justify a subscription. A low-traffic list can go straight to your inbox. A busy development list belongs in its own folder, with threading enabled and HTML disabled.

Subscribe to and unsubscribe from LKML

Joining the linux kernel mailing list is rarely the first step I recommend. Browse lore first, identify the narrow list you need, and then follow that list’s published subscription instructions.

The workflow is usually:

  1. Open the list information page linked from its archive or MAINTAINERS entry.
  2. Check whether it uses a web form or a list request address.
  3. If instructed, send subscribe to the listed request address.
  4. Reply to the confirmation message from the same address.
  5. Create a mail filter before the messages begin arriving.
  6. Save the unsubscribe instructions outside that filtered folder.

For an email-managed list, the request address often follows a form such as <list>-request@host, but do not guess it. Use the address printed on the list page. The confirmation step tells you whether the request reached the actual list manager.

To leave, follow the same page’s unsubscribe procedure and complete its confirmation. Deleting incoming messages or marking them as spam leaves the subscription active and damages mail delivery for everyone else.

If you only need new thread notices, use the per-list Atom feed exposed by lore. That gives you activity without turning your inbox into a patch queue.

Search LKML before asking for help

Search lore with the kernel’s exact words. Generic web searches tend to surface old summaries, stripped context, and fixes copied from replies that were corrected later in the same thread.

Use this order:

  1. Search the exact error text from dmesg or journalctl.
  2. Add the subsystem, driver, filesystem, or function name.
  3. Search the kernel version involved.
  4. Try the commit identifier if the failure followed an update.
  5. Open the whole thread and read every revision.

Public-inbox search supports prefixes. The s: prefix matches within the subject, so a query such as s:"NULL pointer" finds threads whose subjects contain that text. That is useful when you have a panic headline but little else.

A Message-ID is even better. It identifies one email without depending on a mutable subject line. Paste it into lore or give it to B4 to recover the message and its surrounding series.

If the web search remains too broad, use the archive’s git interface and search the raw mail locally. This preserves headers, quoted context, and patch bodies that an ordinary search result may omit.

Trace the report to source, strace, and logs

A man plugs a blue ethernet cable into an open wireless router on a desk

An archive hit is a lead. The real problem is proving that the thread describes your failure path.

Use this diagnostic sequence:

  1. Capture the kernel message immediately.
dmesg -T
journalctl -k -b

dmesg reads the kernel ring buffer. journalctl -k -b shows kernel messages from the current boot with a time anchor. Look for the first failure, because later errors are often fallout.

  1. Record the running kernel and configuration.
uname -r
cat /boot/config-$(uname -r)

The first command identifies the kernel build. The configuration tells you whether the driver, filesystem, or debugging option in the thread exists in your build.

  1. Capture the hardware binding.
lspci -nnk
lsusb

These commands identify devices and, for PCI hardware, the driver currently bound to them. A thread about the same product name may still involve a different device revision or driver.

  1. Trace the user-space boundary where applicable.
strace -f -o trace.log your-command-here

strace records system calls, return values, and error codes. It cannot show an internal kernel call path, but it tells you which operation reached the kernel and what came back.

  1. Compare the trace with the patch.

Read the changed function in the kernel source. Then follow its callers and check whether your failing system call can reach that path. A matching error string alone proves little.

If an older kernel works, you have a regression lead. Record both results and narrow the first failing change with git bisect when you can build and boot test kernels. The kernel debugging workflow covers that process in more detail.

Do not hide the failure by changing unrelated sysctl values or unloading random modules from a forum post. That may make the symptom disappear while leaving the cause untouched.

Prepare and post a useful message

A useful report gives the maintainer enough evidence to reproduce or locate the bug. “USB broke after an update” gives them nothing to test.

Do not draft the report until you have:

  • The exact output of uname -r
  • The affected subsystem, driver, or device
  • Steps that reproduce the failure
  • Expected and actual behavior
  • Complete relevant kernel messages
  • Hardware identifiers
  • Kernel configuration differences
  • The last known working kernel or commit
  • Any source analysis already completed

Then send plain text with a precise subject. For a bug, name the subsystem and failure. For a patch, use the subsystem’s normal prefix and include [PATCH].

Run get_maintainer.pl against the affected file or generated patch. Put the listed subsystem address in the recipients and copy the relevant maintainers. Sending only to the main linux kernel mailing list makes the right person hunt for your report inside the firehose.

For patches, generate mail-ready output with git format-patch and send it with git send-email. Keep one logical change in each patch so reviewers can discuss, apply, or revert it on its own.

Run scripts/checkpatch.pl before sending. Checkpatch is a Perl script in the Linux kernel tree that checks for trivial patch style violations and can optionally correct some of them. It cannot validate your locking, lifetime rules, or error handling. It clears the cheap mistakes so review can reach the code.

If this is your first contribution, read the kernel contribution workflow before sending a series. The sign-off, changelog, and revision history are part of the patch, not decoration added after review.

Follow the whole development thread

Read replies in thread order and keep the quoted context attached. A one-line objection can refer to a specific hunk several messages back. Opened alone, it may look like a rejection of the entire approach.

Watch for revision markers such as v2 or v3 in patch subjects. Later revisions may change the implementation, split the series, or drop the patch you first found. Review comments against an old revision do not automatically apply to the current code.

B4 is built for distributed development workflows that use patches and mailing lists for contributions and review. To retrieve a patch series by Message-ID, the documented form includes:

b4 am [email protected]

That command retrieves the series around the specified Message-ID and prepares it for an email-based git workflow. Check the cover letter and revision before applying anything. A clean import says nothing about whether the patch fits your kernel tree.

Patchwork may also appear in subsystem workflows. It is a patch tracking system for community-based projects, so maintainers can mark submissions as new, accepted, rejected, or superseded. Treat that state as workflow metadata. The thread and resulting git commit still hold the technical record.

Finally, look for the maintainer’s decision. A confident reviewer comment is not the same as acceptance. The patch may be revised, abandoned, or replaced by a different fix later.

Avoid the posting failures that waste review time

Top-posting is the quickest way to make a technical reply hard to follow. Quote the relevant lines and answer directly below them. Delete unrelated quoted text so the next reader can see which claim you addressed.

HTML mail causes similar damage. It adds alternate parts, mangles whitespace, and can corrupt inline patches. Send plain text and confirm that your mail client did not wrap patch lines.

These mistakes waste review time and bury the useful evidence:

  • Posting logs with the first error removed
  • Dumping an entire boot log without naming the failure time
  • Omitting the kernel version and configuration
  • Copying every kernel list without checking ownership
  • Demanding immediate support from volunteer reviewers
  • Sending screenshots of text that should be searchable
  • Copying an unverified Stack Overflow command as analysis
  • Reposting the same message with a new subject and losing the thread

For large logs, include the complete relevant span from before the first error through the immediate aftermath. Explain what action triggered it. A pile of messages with no time anchor is storage, not diagnosis.

Do not resend a patch because nobody replied quickly. Check the archive first to confirm delivery, then follow the subsystem’s stated timing and resend rules. Silence often means the review queue is full.

Verify the fix in the archive and source

Never stop at the reply that sounds authoritative. Follow the thread into the final patch or commit, then compare the diff with your own evidence.

Here is the verification path I use:

  1. Find the newest patch revision or accepted commit linked from the thread.
  2. Read the changed functions in the kernel tree.
  3. Confirm that your logs or trace reach that code path.
  4. Check follow-up replies for regressions, reverts, or replacement patches.
  5. Apply the patch to a test build or install a kernel containing the accepted change.
  6. Run the original reproducer again.
  7. Capture fresh kernel logs and compare them with the failure run.

If the fix landed in a newer kernel, update through your distribution’s supported path. The safe kernel update process keeps an older bootable kernel available while you test.

A disappearing error is not enough if the operation still fails elsewhere. Check the exit code, resulting state, and kernel messages. The failure is resolved only when the original reproducer succeeds for the reason the patch intended.

FAQ

Do I need to subscribe before posting?

Check the list page before you send. Some lists accept mail from non-subscribers but hold it for moderation, while others expect subscription first. Use the same address you subscribed with, or the confirmation trail becomes harder to follow.

Should I report a distribution kernel bug to LKML?

Report it to the distribution first if its kernel carries local patches or sits outside upstream support. Then reproduce the problem on an upstream kernel when possible. Upstream maintainers cannot diagnose vendor changes they do not have.

What does RFC mean in a patch subject?

RFC means “request for comments.” Use it when you need design review before claiming the change is ready to merge. State what remains unresolved, because an unlabeled half-finished patch wastes the first review round.

Can I use webmail to send a kernel report?

Webmail is acceptable for reports if it sends plain text, preserves threading, and leaves quoted text readable. For patches, use git send-email unless you have checked every whitespace and line-wrapping setting in the web client. Mail software has ruined enough patches without needing another opportunity.