lede-Heleguo/package/kernel/linux/modules
Catalin Toda 64d53bd4b6 kernel: netconsole: add network console logging support
Accessing the console on many devices is difficult.
netconsole eases debugging on devices that crash
after the network is up.

Reference to the netconsole documentation in upstream Linux:
<https://www.kernel.org/doc/html/latest/networking/netconsole.html>
|
|netconsole=[+][src-port]@[src-ip]/[<dev>],[tgt-port]@<tgt-ip>/[tgt-macaddr]
|
| where
|  +            if present, enable extended console support
|  src-port     source for UDP packets (defaults to 6665)
|  src-ip       source IP to use (interface address)
|  dev          network interface (eth0)
|  tgt-port     port for logging agent (6666)
|  tgt-ip       IP address for logging agent
|  tgt-macaddr  ethernet MAC address for logging agent (broadcast)

OpenWrt specific notes:

OpenWrt's device userspace scripts are attaching the network
interface (i.e. eth0) to a (virtual) bridge (br-lan) device.
This will cause netconsole to report:
|network logging stopped on interface eth0 as it is joining a master device
(and unfortunately the traffic/logs to stop at this point)

As a workaround, the netconsole module can be manually loaded
again after the bridge has been setup with:

 insmod netconsole netconsole=@/br-lan,@192.168.1.x/MA:C...

One way of catching errors before the handoff, try to
append the /etc/modules.conf file with the following extra line:
 options netconsole netconsole=@/eth0,@192.168.1.x/MA:C...

and install the kmod-netconsole (=y) into the base image.

Signed-off-by: Catalin Toda <catalinii@yahoo.com>
(Added commit message from PR, added links to documentation)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-20 17:45:24 +08:00
..
001-depends.mk
block.mk kmod-ata-ahci-platform: add rockchip RK3566/RK3568 sata support 2022-07-11 14:45:48 +08:00
can.mk kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
crypto.mk crypto.mk : add backport config 2022-07-14 15:47:10 +08:00
firewire.mk
fs.mk fs: fix ntfs3 in kernel 5.18 2022-07-10 17:51:38 +08:00
hwmon.mk kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
i2c.mk
iio.mk kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
input.mk kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
leds.mk kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
lib.mk kernel: fix asn1-encoder KCONFIG 2022-03-25 15:31:45 +08:00
netdevices.mk kernel: add linux 5.18 support for x86/x64 2022-07-08 19:21:32 +08:00
netfilter.mk kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
netsupport.mk kernel: netconsole: add network console logging support 2022-07-20 17:45:24 +08:00
nls.mk
other.mk kernel: fix tpm modules in kernel 5.18 2022-07-09 00:58:37 +08:00
pcmcia.mk
sound.mk kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
spi.mk kernel:fix komd-mmc-spi build with kernel 5.15 2022-02-18 12:17:18 +08:00
usb.mk usb net: fix usb-net-asix in 5.18 2022-07-10 17:54:49 +08:00
video.mk kernel: add linux 5.18 support for x86/x64 2022-07-08 19:21:32 +08:00
virt.mk Revert "kernel: bump 5.15 to 5.15.44 (#9457)" 2022-06-07 14:35:37 +08:00
w1.mk kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
wireless.mk module/firmware: remove intersil PRISM54 support 2022-07-17 00:17:41 +08:00
wpan.mk