Linux: console: printk: console_no_auto_verbose

这个参数是说,可以讲printk打印verbose,更多log的功能禁掉,从这个commit看,这些更多的log没有什么用。建议是在波特率比较低的环境下可以禁掉。其他情况还是开着,可以打印更多的信息。

https://github.com/rtreffer/ubuntu-kernel-pinephone-pro/commit/10102a890b543a8a08457dc69fa55bc032403c7d

bash 复制代码
console_verbose() increases console loglevel to
CONSOLE_LOGLEVEL_MOTORMOUTH, which provides more information
to debug a panic/oops.

Unfortunately, in Arista we maintain some DUTs (Device Under Test) that
are configured to have 9600 baud rate. While verbose console messages
have their value to post-analyze crashes, on such setup they:
- may prevent panic/oops messages being printed
- take too long to flush on console resulting in watchdog reboot

In all our setups we use kdump which saves dmesg buffer after panic,
so in reality those extra messages on console provide no additional value,
but rather add risk of not getting to __crash_kexec().

Provide printk.console_no_auto_verbose boot parameter, which allows
to switch off printk being verbose on oops/panic/lockdep.

printk.console_no_auto_verbose=

Disable console loglevel raise on oops, panic

or lockdep-detected issues (only if lock debug is on).

With an exception to setups with low baudrate on

serial console, keeping this 0 is a good choice

in order to provide more debug information.

Format:

default: 0 (auto_verbose is enabled)

相关推荐
乔碧萝成都分萝几秒前
十八、使用class分类管理设备
linux·驱动开发·嵌入式
xjxijd16 分钟前
数据中心能效 AI 引擎:全链数字孪生 + 传热学算法,PUE 稳定 1.05 以下
大数据·服务器·人工智能
G_H_S_3_25 分钟前
【网络运维】MySQL 高可用架构实践:备份策略、主从复制与读写分离
运维·网络·mysql
@noNo25 分钟前
VMware Workstation 虚拟机 Ubuntu 24.04 主机与虚拟机之间无法复制粘贴
linux·运维·ubuntu
TG:@yunlaoda360 云老大36 分钟前
华为云国际站代理商的运维保障具体要求中,服务响应与SLA硬指标的具体内容是什么?
大数据·运维·华为云
ZeroNews内网穿透38 分钟前
Typecho博客搭建与公网访问指南
运维·服务器·网络·ssh
wdfk_prog39 分钟前
[Linux]学习笔记系列 -- [fs]initramfs
linux·笔记·学习
盛世宏博北京41 分钟前
守护千年文脉:图书馆古籍库房自动化环境治理(温湿度 + 消毒)技术方案
服务器·数据库·自动化·图书馆温湿度监控
Violet_YSWY41 分钟前
CentOS 的 DVD 镜像 和 Minimal 镜像 的区别
linux·运维·centos
企微自动化43 分钟前
企业微信二次开发:外部群消息自动化推送指南
运维·自动化·企业微信