Is there a way to suppress one specific message from syslog?

Solution 1:

Since Ubuntu 10.04 rsyslog is used instead of plain syslog and it does have filtering capabilities. Proceed as follows:

  • Create gksudo gedit /etc/rsyslog.d/01-blocklist.conf
  • Add the following lines there
    :msg,contains,"Card not present on Slot(0-2)" ~
    :msg,contains,"Card present on Slot(0-2)" ~
  • Reboot or service rsyslog restart

The solution works as follows:

  • 01- part in file name forces rsyslog to load this config before it loads anything else
  • the lines in the file find any messages containing the text we want to ignore and discards those messages right away, thanks for discard operator (~)
  • it is possible to match by regexp or ignore case, check [this helpful guide] (http://www.rsyslog.com/doc/property_replacer.html) on matching

Note, that solving that kind of issues the right way is always preferred. For example, broken pciehp won't let your CPU to go into deeper sleep states and will increase effective TDP and power consumption of you CPU. However, since pciehp is compiled into Ubuntu kernel, there's little you can do without compiling your own kernel, which is not advisable.

Solution 2:

I am not sure this first option works, but since it's much easier than the second (which works for sure) please try.

Option 1

Edit /etc/default/grub , append pciehp.pciehp_poll_time=10000 to the GRUB_CMDLINE_LINUX_DEFAULT line.

Option 2

Rebuild the kernel without CONFIG_HOTPLUG_PCI_PCIE, for instructions check the last comment on this forum: http://www.evga.com/forums/tm.aspx?m=630487&mpage=1