[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
** Changed in: linux Status: Confirmed => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
please reopen if this is still an issue ** Changed in: systemd (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
** Package changed: udev (Ubuntu) => systemd (Ubuntu) ** Project changed: udev => linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
** Changed in: bluez (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/udev/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
Launchpad has imported 19 comments from the remote bug at https://bugzilla.kernel.org/show_bug.cgi?id=199035. 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 2018-03-06T21:09:45+00:00 mathieutournier wrote: Created attachment 274593 dmesg Hi, I'm currently running ubuntu 18.04 with a 4.15 kernel and i can observe very high cpu usage to the systemd-udevd deamon. removing the rule : ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInterfaceProtocol}=="02", \ ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \ RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1" Solved the high CPU usage eventhough my bluetooth card is not available anymore (as not in hci mode) It seems that the command hid2hci creates a bind/unbind loop in udev that is looping trying to set the device in hci mode. (that what udevadm monitor seems to show, looping from bind to unbind for the device) I suspect a0085f2510e8976614ad8f766b209448b385492f introduced a regression (i have not tried to revert it yet). Please not that there also seem to be a bug in hid2hci.c from bluez l148 : if (err == 0) { err = -1; errno = EALREADY; } Correcting this and recompile bluez desn't solve the issue as cpu usage remains very high. Using a 4.13 kernel result in a normal CPU usage, this seems a regression in 4.14. Other people seems to have the same issue, here is a bug report related to this : https://dev.solus-project.com/T5224 Thanks a lot for your support, Mathieu Tournier Reply at: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/comments/0 On 2018-05-04T05:57:10+00:00 boro wrote: I have the very same problem using the same distro (Ubuntu 18.04, 64-bit) on Dell Latitude E5400 laptop. Disabling BT from BIOS or removing the aforementioned rule solves the problem but leaves BT unusable. Reply at: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/comments/7 On 2018-05-09T23:02:06+00:00 lucent wrote: Bus 001 Device 009: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) Bus 001 Device 004: ID 0a5c: Broadcom Corp. Linux zontar 4.16.0-1-amd64 #1 SMP Debian 4.16.5-1 (2018-04-29) x86_64 GNU/Linux May 09 15:59:00 hostname upowerd[14610]: unhandled action 'bind' on /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.6/1-1.6.2/1-1.6.2:1.0 May 09 15:59:00 hostname upowerd[14610]: unhandled action 'unbind' on /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.6/1-1.6.2/1-1.6.2:1.0 May 09 15:59:00 hostname upowerd[14610]: unhandled action 'bind' on /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.6/1-1.6.2/1-1.6.2:1.0 May 09 15:59:00 hostname upowerd[14610]: unhandled action 'unbind' on /sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.6/1-1.6.2/1-1.6.2:1.0 ...repeating... 15632 root 20 0 233136 186656 2664 R 94.1% 4.7% 62:14.67 systemd-udevd 16222 root 20 0 88252 2432 1888 R 35.3% 0.1% 25:21.87 systemd-udevd Looks like same problem affects this Dell Precision M6500 laptop. Reply at: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/comments/8 On 2018-05-20T07:57:41+00:00 f.dittmer wrote: I observed the high cpu usage after upgrading from udev-233 to udev-236/udev-238 on Gentoo Linux. Downgrading back to udev-233 lets me use newer kernels (currently running 4.15.18) without any problems. Using DELL Latitude E6400 from 2009, with same Broadcom Bluetooth module as mentioned above. Reply at: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/comments/9 On 2018-06-13T16:50:40+00:00 rickfharris wrote: As per https://patchwork.kernel.org/patch/10384111/ editing 97-hid2hci.rules as follows works around the new uevents added to the kernel in https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1455cf8dbfd06aa7651dcfccbadb7a093944ca65 -ACTION=="remove", GOTO="hid2hci_end" +ACTION!="add", GOTO="hid2hci_end" Bluetooth now works with kernels above and below 4.14. Reply at: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/comments/11 On 2018-06-14T00:32:13+00:00
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
** Bug watch added: Linux Kernel Bug Tracker #199035 https://bugzilla.kernel.org/show_bug.cgi?id=199035 ** Also affects: udev via https://bugzilla.kernel.org/show_bug.cgi?id=199035 Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #901965 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901965 ** Also affects: bluez (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901965 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/udev/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
I am also affected for device 413c:8156 (Dell Wireless 370 Bluetooth Mini card) on Latitude E6400 For those looking for a quick fix: identify your bluetooth device ID with "lsusb |grep luetooth" (e.g. 413c:8156 and 0a5c:4500 for me) and then disable all matching entries in a line within this new file /etc/udev/rules.d/81-bluetooth-hci.rules: SUBSYSTEM=="usb", ATTRS{idVendor}=="413c", ATTRS{idProduct}=="8156", ATTR{authorized}="0" SUBSYSTEM=="usb", ATTRS{idVendor}=="0a5c", ATTRS{idProduct}=="4500", ATTR{authorized}="0" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
I am also affected by this Bug please fix quick! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
Have a look here: https://dev.solus-project.com/T5224 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
My log file (if it helps): May 1 16:26:20 leowkahman upowerd[2909]: unhandled action 'unbind' on /sys/devices/pci:00/:00:1d.0/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0 May 1 16:26:20 leowkahman systemd-udevd[516]: Process 'hid2hci --method=dell --devpath=/devices/pci:00/:00:1d.0/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0' failed with exit code 1. May 1 16:26:20 leowkahman upowerd[2909]: unhandled action 'bind' on /sys/devices/pci:00/:00:1d.0/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0 The bug poster's workaround indeed calmed my CPU fan. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: udev (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1767968] Re: systemd-udev cause high cpu load after upgrade to bionic
I have the exact same problem, also a Dell computer (Inspiron something). CPU load is almost always at 100% and temperature sensors measure over 100C! My computer has become unusable. Also seeing a lot of these: CPU1: Core temperature above threshold, cpu clock throttled (total events = 2738) Curious if this bug is a duplicate of https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1759836 (it didn't include syslog/journal so I can't know for sure) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767968 Title: systemd-udev cause high cpu load after upgrade to bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1767968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs