Issue has recurred on 4.14.0-041400rc1-generic.

I have not worked out how to generate the problem reliably. Between 0700
this morning and 2000, syslog is 2.8G and kern.log is also 2.8G

Log events are:

Sep 18 21:31:15 muddlehead kernel: [70317.777977] ------------[ cut here 
]------------
Sep 18 21:31:15 muddlehead kernel: [70317.777982] WARNING: CPU: 1 PID: 0 at 
/home/kernel/COD/linux/drivers/mtd/nand/r852.c:746 r852_irq+0x180/0x1d0 [r852]
Sep 18 21:31:15 muddlehead kernel: [70317.777983] Modules linked in: mmc_block 
nls_iso8859_1 binfmt_misc coretemp joydev input_leds wmi_bmof serio_raw 
snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic arc4 
snd_hda_intel snd_hda_codec snd_hda_core snd_seq_midi snd_seq_midi_event 
iwl3945 snd_usb_audio snd_usbmidi_lib snd_hwdep snd_rawmidi iwlegacy r852 
sm_common snd_pcm nand nand_ecc snd_seq nand_bch uvcvideo usblp bch mac80211 
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core mtd 
snd_seq_device r592 memstick videodev cfg80211 snd_timer media lpc_ich snd 
mac_hid soundcore shpchp parport_pc ppdev lp parport autofs4 crypto_simd 
glue_helper cryptd aes_x86_64 algif_skcipher af_alg dm_crypt nilfs2 uas 
usb_storage hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper syscopyarea 
sysfillrect sysimgblt fb_sys_fops
Sep 18 21:31:15 muddlehead kernel: [70317.778043]  tg3 ahci libahci pata_acpi 
drm psmouse ptp sdhci_pci firewire_ohci sdhci firewire_core crc_itu_t pps_core 
wmi video
Sep 18 21:31:15 muddlehead kernel: [70317.778057] CPU: 1 PID: 0 Comm: swapper/1 
Tainted: G        W       4.14.0-041400rc1-generic #201709162031
Sep 18 21:31:15 muddlehead kernel: [70317.778059] Hardware name: LENOVO 
0769BMG/IEL10, BIOS 68ET24WW 08/15/2007
Sep 18 21:31:15 muddlehead kernel: [70317.778060] task: ffff9cb17a4015c0 
task.stack: ffffb2ab40694000
Sep 18 21:31:15 muddlehead kernel: [70317.778064] RIP: 
0010:r852_irq+0x180/0x1d0 [r852]
Sep 18 21:31:15 muddlehead kernel: [70317.778065] RSP: 0018:ffff9cb17fd03eb8 
EFLAGS: 00010002
Sep 18 21:31:15 muddlehead kernel: [70317.778068] RAX: ffffb2ab406d1000 RBX: 
ffff9cb175902b00 RCX: 0000000000000086
Sep 18 21:31:15 muddlehead kernel: [70317.778070] RDX: 0000000000000001 RSI: 
ffff9cb175902b00 RDI: 0000000000000001
Sep 18 21:31:15 muddlehead kernel: [70317.778072] RBP: ffff9cb17fd03ed8 R08: 
0000000000000000 R09: 000000000000c020
Sep 18 21:31:15 muddlehead kernel: [70317.778073] R10: ffff9cb17fd03f28 R11: 
0000000000000484 R12: 0000000000000001
Sep 18 21:31:15 muddlehead kernel: [70317.778075] R13: ffff9cb175902be4 R14: 
0000000000000082 R15: ffff9cb170f86580
Sep 18 21:31:15 muddlehead kernel: [70317.778077] FS:  0000000000000000(0000) 
GS:ffff9cb17fd00000(0000) knlGS:0000000000000000
Sep 18 21:31:15 muddlehead kernel: [70317.778079] CS:  0010 DS: 0000 ES: 0000 
CR0: 0000000080050033
Sep 18 21:31:15 muddlehead kernel: [70317.778081] CR2: 00007fe1eca5d019 CR3: 
0000000137339000 CR4: 00000000000006e0
Sep 18 21:31:15 muddlehead kernel: [70317.778083] Call Trace:
Sep 18 21:31:15 muddlehead kernel: [70317.778084]  <IRQ>
Sep 18 21:31:15 muddlehead kernel: [70317.778088]  
__handle_irq_event_percpu+0x3f/0x190
Sep 18 21:31:15 muddlehead kernel: [70317.778091]  
handle_irq_event_percpu+0x32/0x80
Sep 18 21:31:15 muddlehead kernel: [70317.778093]  handle_irq_event+0x3b/0x60
Sep 18 21:31:15 muddlehead kernel: [70317.778096]  handle_fasteoi_irq+0x75/0x120
Sep 18 21:31:15 muddlehead kernel: [70317.778099]  handle_irq+0x1a/0x30
Sep 18 21:31:15 muddlehead kernel: [70317.778102]  do_IRQ+0x46/0xd0
Sep 18 21:31:15 muddlehead kernel: [70317.778104]  common_interrupt+0x93/0x93
Sep 18 21:31:15 muddlehead kernel: [70317.778106]  </IRQ>
Sep 18 21:31:15 muddlehead kernel: [70317.778109] RIP: 
0010:cpuidle_enter_state+0x12d/0x2d0
Sep 18 21:31:15 muddlehead kernel: [70317.778110] RSP: 0018:ffffb2ab40697e58 
EFLAGS: 00000246 ORIG_RAX: ffffffffffffff8d
Sep 18 21:31:15 muddlehead kernel: [70317.778113] RAX: ffff9cb17fd1c200 RBX: 
00003ff4222d12ef RCX: 00003ff4222d1265
Sep 18 21:31:15 muddlehead kernel: [70317.778115] RDX: 00003ff4222d12ef RSI: 
00003ff4222d12ef RDI: 0000000000000000
Sep 18 21:31:15 muddlehead kernel: [70317.778117] RBP: ffffb2ab40697e98 R08: 
ffffffffa4c05040 R09: 0000000000000002
Sep 18 21:31:15 muddlehead kernel: [70317.778119] R10: ffffb2ab40697e00 R11: 
0000000000000484 R12: ffff9cb171edc000
Sep 18 21:31:15 muddlehead kernel: [70317.778120] R13: 0000000000000000 R14: 
0000000000000003 R15: ffffffffa4d84678
Sep 18 21:31:15 muddlehead kernel: [70317.778124]  ? 
cpuidle_enter_state+0x120/0x2d0
Sep 18 21:31:15 muddlehead kernel: [70317.778127]  cpuidle_enter+0x17/0x20
Sep 18 21:31:15 muddlehead kernel: [70317.778130]  call_cpuidle+0x23/0x40
Sep 18 21:31:15 muddlehead kernel: [70317.778132]  do_idle+0x19a/0x200
Sep 18 21:31:15 muddlehead kernel: [70317.778135]  cpu_startup_entry+0x73/0x80
Sep 18 21:31:15 muddlehead kernel: [70317.778138]  start_secondary+0x175/0x1b0
Sep 18 21:31:15 muddlehead kernel: [70317.778141]  
secondary_startup_64+0xa5/0xa5
Sep 18 21:31:15 muddlehead kernel: [70317.778143] Code: 85 12 ff ff ff 31 f6 e9 
54 ff ff ff 8b 15 49 28 00 00 85 d2 0f 84 79 ff ff ff 48 c7 c7 78 f1 73 c0 e8 
76 32 7a e3 e9 50 ff ff ff <0f> ff e9 cf fe ff ff 83 fa 01 75 c0 eb ac 44 89 e6 
48 c7 c7 a0 
Sep 18 21:31:15 muddlehead kernel: [70317.778196] ---[ end trace 
718877d9ea3a4148 ]---
Sep 18 21:31:15 muddlehead kernel: [70317.860178] r852: detected SmartMedia 
readonly card in slot
Sep 18 21:31:16 muddlehead kernel: [70318.572017] nand: timeout while waiting 
for chip to become ready
Sep 18 21:31:16 muddlehead kernel: [70318.572043] nand: No NAND device found
Sep 18 21:31:17 muddlehead kernel: [70319.772914] ------------[ cut here 
]------------

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1715861

Title:
  r592 & r852 IRQ: DMA errors cause excessive log file entries

Status in linux package in Ubuntu:
  Incomplete

Bug description:
   -- /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

  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: Blacklist 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.

  ---
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  pgrb       2220 F.... pulseaudio
   /dev/snd/controlC1:  pgrb       2220 F.... pulseaudio
   /dev/snd/controlC0:  pgrb       2220 F.... pulseaudio
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=2b7792b7-4eda-4b10-b21c-ad775ff397b3
  InstallationDate: Installed on 2017-09-05 (3 days ago)
  InstallationMedia: Lubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  MachineType: LENOVO 0769BMG
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-33-generic 
root=/dev/mapper/herd-root ro 
cryptdevice=/dev/disk/by-uuid/081dc90a-6dbc-486a-8141-6635c99caca5:mithraeum 
quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.10.0-33.37~16.04.1-generic 4.10.17
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-33-generic N/A
   linux-backports-modules-4.10.0-33-generic  N/A
   linux-firmware                             1.157.12
  RfKill:
   0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
  Tags:  xenial
  Uname: Linux 4.10.0-33-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

  _MarkForUpload: True
  dmi.bios.date: 08/15/2007
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 68ET24WW
  dmi.board.name: IEL10
  dmi.board.vendor: LENOVO
  dmi.board.version: REFERENCE
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: No Enclosure
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnLENOVO:bvr68ET24WW:bd08/15/2007:svnLENOVO:pn0769BMG:pvr3000N200:rvnLENOVO:rnIEL10:rvrREFERENCE:cvnNoEnclosure:ct10:cvrN/A:
  dmi.product.name: 0769BMG
  dmi.product.version: 3000 N200
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1715861/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to