This is related to Arch Linux kernel packages: linux-5.0.7.arch1-1,
linux-5.0.8.arch1-1
Original bug report: https://bugs.archlinux.org/task/62391
Description:
System journal gets flooded after resume from hibernation.
Flooding doesn't stop until system is rebooted/power cycled. Produces
significant ammount of system load.
Additional info:
hardware: Dell Inspiron 11 3168
kernel version: linux-5.0.7.arch1-1
Info of device at question (no hardware info utility I'm aware of
outputs it):
$ cat /sys/bus/i2c/devices/i2c-0/name
Synopsys DesignWare I2C adapter
$ /sys/bus/i2c/devices/i2c-0/i2c-DELL074D:00/uevent
DRIVER=i2c_hid
MODALIAS=acpi:DELL074D:PNP0C50:
$ cat
/sys/bus/i2c/devices/i2c-0/i2c-DELL074D:00/0018:06CB:7D47.0003/input/input17/uevent
PRODUCT=18/6cb/7d47/100
NAME="Synaptics TM3207-001"
PHYS="i2c-DELL074D:00"
UNIQ=""
PROP=5
EV=b
KEY=e520 10000 0 0 0 0
ABS=6f3800001000003
MODALIAS=input:b0018v06CBp7D47e0100-e0,1,3,k110,145,148,14A,14D,14E,14F,ra0,1,18,2F,30,31,34,35,36,37,39,3A,mlsfw
$ ls -l /sys/bus/i2c/devices/i2c-0/
total 0
--w------- 1 root root 4096 Apr 20 01:54 delete_device
lrwxrwxrwx 1 root root 0 Apr 20 01:54 device -> ../../808622C1:00
lrwxrwxrwx 1 root root 0 Apr 20 01:54 firmware_node ->
../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/808622C1:00
drwxr-xr-x 4 root root 0 Apr 20 01:43 i2c-DELL074D:00
-r--r--r-- 1 root root 4096 Apr 20 01:54 name
--w------- 1 root root 4096 Apr 20 01:54 new_device
drwxr-xr-x 2 root root 0 Apr 20 01:54 power
lrwxrwxrwx 1 root root 0 Apr 20 01:54 subsystem -> ../../../../bus/i2c
-rw-r--r-- 1 root root 4096 Apr 20 01:54 uevent
Part of journalctl output (start of th issue):
Apr 18 22:33:29 systemd[1]: Starting Hibernate...
Apr 18 22:33:29 kernel: PM: Image not found (code -22)
Apr 18 22:33:29 kernel: PM: hibernation entry
Apr 18 22:33:29 systemd-sleep[1085]: Suspending system...
Apr 18 22:33:29 kernel: PM: Syncing filesystems ...
Apr 18 22:34:03 systemd-journald[261]: Missed 36688 kernel messages
Apr 18 22:34:03 kernel: i2c_designware 808622C1:00: Error i2c_dw_xfer
call while suspended
Apr 18 22:34:03 systemd-journald[261]: Missed 263 kernel messages
Apr 18 22:34:03 kernel: i2c_designware 808622C1:00: Error i2c_dw_xfer
call while suspended
Apr 18 22:34:03 systemd-journald[261]: Missed 131 kernel messages
Apr 18 22:34:03 kernel: i2c_designware 808622C1:00: Error i2c_dw_xfer
call while suspended
Apr 18 22:34:03 systemd-journald[261]: Missed 30 kernel messages
Apr 18 22:34:03 kernel: i2c_designware 808622C1:00: Error i2c_dw_xfer
call while suspended
Steps to reproduce:
- Have Dell Inspiron 3168 (any other N3710 based laptop?)
- Have kernel version linux-5.0.7.arch1-1
- Have hibernation configured
- `systemctl hibernate`
- Resume from hibernation
- Notice about 50% CPU load, `journalctl -f` outputs over 9000
messages/second mentioned above.
May be related to this email: https://lkml.org/lkml/2019/4/4/518,
unconfirmed.
As the related hardware is quite specific, my question is more about
limiting the ammount of output the i2c_designware module produces when
encounters such errors.
Thanks for your time, skidnik.