Launchpad has imported 3 comments from the remote bug at
https://bugzilla.kernel.org/show_bug.cgi?id=204837.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2019-09-13T15:00:18+00:00 dovla091 wrote:

Created attachment 284947
dmesg log

Hi

This affects all users having HP Spectre x360 model, with kernel version
from 4.19 to 5.3 RC

Recently I have installed Fedora 30 on my HP Spectre x360 Laptop and
found out that our logs are flooded with message:

hid-sensor-hub 001F:8087:0AC2.0003: hid_field_extract() called with n
(192) > 32!

I also install for a test Fedora 31, as it is running newest kernel
version, to see if this was fixed, but still I got the same output...
Since I am not a developer but mere mortal, I need to ask, is it
possible to fix this bug as it present since kernel version 4.19 and is
making lot of issues to all of us that have Spectre laptop (not only
Fedora but other distributions using kernel version higher the 4.19). As
the result of that bug, system is generating insane amount of data into
/var/log/message, and when I meant insane, its probably around tens of
messages within a single second, so the logs grow to couple of GB within
a day.

By doing a research I have found that another developer had the same
issue as me, and he provided some sort of a bypass by patching hid-
core.c in the drivers/hid folder and hid.h in the library/linux

Please refer to the link below:

https://patchwork.kernel.org/patch/11052949

and

https://patchwork.kernel.org/patch/11052951


If it is not a problem, can you please patch this bug and put it into a newer 
kernel version 5.3 kernel which will be released soon? At this point, our PC is 
quite unusable, as the logs are being filled up quickly, and not being able to 
have larger disk space we are forced to write a script to delete logs every 
day...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818547/comments/32

------------------------------------------------------------------------
On 2019-11-26T19:39:01+00:00 linuxkernel wrote:

Yesterday (2019-11-25) I installed the recommended BIOS updates from HP
on a HP x360 Zbook.

Now I am getting this exact same problem with KUbuntu 19.10 running
"Linux ao-x360 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC
2019 x86_64 x86_64 x86_64 GNU/Linux"

I just did a quick "ls -l" comparison over time and the system is
writing about 308kB/min (5kB/sec) to syslog and kern.log. Or, in an
hour, the two files increase in size about 20 MB each.

The message is

kernel: [ 1627.620171] hid-sensor-hub 001F:8087:0AC2.0003:
hid_field_extract() called with n (192) > 32! (kworker/3:2)


I'm concerned that this is going to rapidly degrade the hard drives in the 
system.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818547/comments/44

------------------------------------------------------------------------
On 2019-11-26T22:34:43+00:00 linuxkernel wrote:

(In reply to dovla091 from comment #0)

> 
> At this point,
> our PC is quite unusable, as the logs are being filled up quickly, and not
> being able to have larger disk space we are forced to write a script to
> delete logs every day...

dovla091,

You can stop these messages by modifying your system to not log these
messages.  For example, if you have rsyslog and the directory
/etc/rsyslog.d/

Then you can create the file:

/etc/rsyslog.d/10-hidsensor.conf

with content:

#Disable runaway messages: 
:msg, contains, "hid-sensor-hub 001F:8087:0AC2.0003: hid_field_extract() called 
with n (192) > 32!" stop


And once that file exists, when you restart rsyslog (e.g. sudo system rsyslog 
restart) the messages will no longer hit your logs.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1818547/comments/46


** Changed in: linux
       Status: Unknown => Confirmed

** Changed in: linux
   Importance: Unknown => High

-- 
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/1818547

Title:
  hid-sensor-hub spamming dmesg in 4.20 - 5.3

Status in Linux:
  Confirmed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Disco:
  Fix Released

Bug description:
  === SRU Justification ===
  [Impact]
  [ 406.165461] hid-sensor-hub 001F:8086:22D8.0002: hid_field_extract() called 
with n (192) > 32! (kworker/5:1)

  [Fix]
  Let HID core allow longer input report length.

  [Test]
  User confirmed the fix works.

  [Regression Potential]
  Low. Longer input report length is now considered valid, shorter input
  report length doesn't get touched.

  === Original Bug Report ===

  Dmesg is a constant barrage of the same error:
  ```
  [  406.165461] hid-sensor-hub 001F:8086:22D8.0002: hid_field_extract() called 
with n (192) > 32! (kworker/5:1)
  ```

  This does not occur in 4.19 but does occur in all mainline 4.20
  releases including 4.20.13 (linux-image-unsigned-4.20.13-042013).
  Tested with both Ubuntu's included libinput 1.10 and an updated
  libinput 1.12.

  Hardware (from lspci) includes a synaptic touchpad. Having the xorg
  synaptic driver installed makes no difference.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1818547/+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