Comment 0 for bug 1715861

Revision history for this message
Pontus Gråskæg (graaskaeg) wrote :

Issue on a newly installed Lubuntu 16.04.3 with 'apt upgrade' freshly applied.

 -- /var/log/syslog and /var/log/kern.log grow to 100s of MiB in less than a day. --

Typical excessive syslog entry is attached (hostname redacted). I am not making hardware changes at the times these entries are made. Entires are of the form:

Sep 7 20:05:55 <hostname> kernel: [14098.011547] r592: IRQ: card added
Sep 7 20:05:55 <hostname> kernel: [14098.011548] r592: IRQ: DMA error

followed by 38 lines of trace information

Note that the kernel reports itself as tainted. This is due to a previous kernel warning issued during the boot-up, which I believe to be unrelated - kern.log extract (hostname redacted) of warning and taint also attached.

The laptop reports itself as having the problematic Ricoh devices. Relevant hwinfo attached. grepped extract follows

  Model: "Ricoh R5C832 IEEE 1394 Controller"
  Vendor: pci 0x1180 "Ricoh Co Ltd"
  Model: "Ricoh xD-Picture Card Controller"
  Vendor: pci 0x1180 "Ricoh Co Ltd"
  Model: "Ricoh R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter"
  Vendor: pci 0x1180 "Ricoh Co Ltd"
  Model: "Ricoh R5C592 Memory Stick Bus Host Adapter"
  Vendor: pci 0x1180 "Ricoh Co Ltd"

Workaround is blacklisting devices by adding the following lines at the end of /etc/modprobe.d/blacklist.conf

# Stop errors filling up log - see
# https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1530187
# Blacklist Ricoh card reader
blacklist r592
blacklist r852

This stops messages from appearing in /var/log/kern.log and /var/log/syslog. The Ricoh cardreader built into the laptop still reads SD cards after such blacklisting.

(lsb_release -rd output is
Description: Ubuntu 16.04.3 LTS
Release: 16.04

graaskaeg

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.10.0-33-generic 4.10.0-33.37~16.04.1
ProcVersionSignature: Ubuntu 4.10.0-33.37~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-33-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Fri Sep 8 13:30:06 2017
InstallationDate: Installed on 2017-09-05 (3 days ago)
InstallationMedia: Lubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
SourcePackage: linux-hwe
UpgradeStatus: No upgrade log present (probably fresh install)