Enable CONFIG_NET_DROP_MONITOR

Open
#6,243 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
linux

Research direction

Start by locating the Raspberry Pi kernel configuration entries for CONFIG_NET_DROP_MONITOR across the available configurations. Check the relevant kernel configuration documentation or existing config patterns, then verify that the option is enabled as a module and that dwdump can resolve the NET_DM family on the resulting build.

Written by the indexing model from the issue text.

Description

Describe the bug

I'm trying to track down packet drops (possibly expected kernel drops, but I want to be sure) and wanted to capture them on a pcap file for analysis.

So I installed the dropwatch package (provides dwdump) on Debian/Raspbian, but it looks like the kernel needs CONFIG_NET_DROP_MONITOR[=m|y] which is not available, at least in 6.6.

Steps to reproduce the behaviour
menakite@raspy:~ $ sudo apt install dropwatch
...
menakite@raspy:~ $ sudo dwdump -s
Failed to resolve ID of "NET_DM" family
menakite@raspy:~ $ sudo modprobe configs; zgrep DROP /proc/config.gz 
# CONFIG_NET_DROP_MONITOR is not set
Device (s)

Raspberry Pi 5

System

Linux raspy 6.6.35-v8-16k+ #1779 SMP PREEMPT Tue Jun 25 11:38:45 BST 2024 aarch64 GNU/Linux

Logs

No response

Additional context

Had to select a device, but it obviously is not device-specific and in case should be enabled on all configs.

I suggest you enable as module (=m) and not built-in.

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.