netconsole
将 printk 的信息输出到网络中,而非
内核文档:
- https://www.kernel.org/doc/Documentation/networking/netconsole.txt
具体使用还是参考
- https://wiki.ubuntu.com/Kernel/Netconsole
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_netconsole
配置相当麻烦,需要源端的 ip 和网卡名称,我的鬼鬼啊
static struct console netconsole = {
.name = "netcon",
.flags = CON_ENABLED,
.write = write_msg,
};
本站所有文章转发 CSDN 将按侵权追究法律责任,其它情况随意。