我怎么能关闭DRM mod调试打印

时间:2013-04-24 02:05:14

标签: ubuntu drm

DRM mod打印日志,每秒超过10行。我在ubuntu12.04.和DRM modinfo上工作:

filename:       /lib/modules/3.5.0-28-generic/kernel/drivers/gpu/drm/drm.ko
license:        GPL and additional rights
description:    DRM shared core routines
author:         Gareth Hughes, Leif Delgass, José Fonseca, Jon Smirl
srcversion:     769B61070F6EB3D96F43DBD
depends:
intree:         Y
vermagic:       3.5.0-28-generic SMP mod_unload modversions 
parm:           edid_fixup:Minimum number of valid EDID header bytes (0-8, default 6) (int)
parm:           debug:Enable debug output (int)
parm:           vblankoffdelay:Delay until vblank irq auto-disable [msecs] (int)
parm:           timestamp_precision_usec:Max. error on timestamps [usecs] (int)

我的问题是我怎么能用deug insmod这个mod:启动时禁用?

1 个答案:

答案 0 :(得分:1)

修改/etc/default/grub, 换行:

GRUB_CMDLINE_LINUX_DEFAULT="drm.debug=0xe plymouth:debug"

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"

此解决方法也可以纠正关闭错误(有时无法关闭电源)。