linux
linux copied to clipboard
Enable CONFIG_NET_DROP_MONITOR
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.