#987961 systemd-udevd using 100% of CPU

Package:
upower
Source:
upower
Description:
abstraction for power management
Submitter:
Aaron Small
Date:
2025-08-12 21:43:02 UTC
Severity:
normal
#987961#5
Date:
2021-05-02 19:08:46 UTC
From:
To:
After plugging a USB-powered light into a USB port (I have used the same light
in the same port many times before, but certainly possible that it broke since
the last time I used it) the light did not turn on,I get continuous repeated
messages in syslog and systemd-udevd is using 100% of the CPU.

When I plug the lamp in, I see this:

May  2 15:06:59 beta kernel: [18507.692791] usb usb4-port2: over-current
condition
May  2 15:06:59 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0
May  2 15:06:59 beta kernel: [18507.832869] usb 3-1-port3: over-current
condition
May  2 15:06:59 beta kernel: [18507.908867] usb usb2-port1: over-current
condition
May  2 15:06:59 beta kernel: [18507.908908] usb usb4-port1: over-current
condition
May  2 15:06:59 beta kernel: [18508.124875] usb usb2-port2: over-current
condition
May  2 15:06:59 beta kernel: [18508.124937] usb usb4-port2: over-current
condition
May  2 15:06:59 beta kernel: [18508.136867] usb 3-1-port3: over-current
condition
May  2 15:06:59 beta kernel: [18508.340867] usb usb2-port1: over-current
condition
May  2 15:06:59 beta kernel: [18508.340909] usb usb4-port1: over-current
condition
May  2 15:06:59 beta kernel: [18508.352860] usb 3-1-port4: over-current
condition
May  2 15:07:00 beta kernel: [18508.556738] usb usb4-port2: over-current
condition
May  2 15:07:00 beta kernel: [18508.556762] usb usb2-port2: over-current
condition
May  2 15:07:00 beta kernel: [18508.656865] usb 3-1-port3: over-current
condition
May  2 15:07:00 beta kernel: [18508.772814] usb usb4-port1: over-current
condition
May  2 15:07:00 beta kernel: [18508.772846] usb usb2-port1: over-current
condition
May  2 15:07:00 beta kernel: [18508.872863] usb 3-1-port4: over-current
condition
May  2 15:07:00 beta kernel: [18508.988745] usb usb4-port2: over-current
condition
May  2 15:07:00 beta kernel: [18508.988771] usb usb2-port2: over-current
condition
May  2 15:07:00 beta kernel: [18509.176940] usb 3-1-port3: over-current
condition
May  2 15:07:00 beta kernel: [18509.204731] usb usb4-port1: over-current
condition
May  2 15:07:00 beta kernel: [18509.204745] usb usb2-port1: over-current
condition
May  2 15:07:00 beta kernel: [18509.393089] usb 3-1-port4: over-current
condition
May  2 15:07:00 beta kernel: [18509.420731] usb usb2-port2: over-current
condition
May  2 15:07:00 beta kernel: [18509.420748] usb usb4-port2: over-current
condition
May  2 15:07:01 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0
May  2 15:07:01 beta kernel: [18509.608855] usb 3-1-port3: over-current
condition
May  2 15:07:01 beta kernel: [18509.636718] usb usb4-port1: over-current
condition
May  2 15:07:01 beta kernel: [18509.636730] usb usb2-port1: over-current
condition
May  2 15:07:01 beta kernel: [18509.852717] usb usb2-port2: over-current
condition
May  2 15:07:01 beta kernel: [18509.852742] usb usb4-port2: over-current
condition


When I unplug the lamp, I see this:

May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb2/2-0:1.0
May  2 15:07:39 beta upowerd[1306]: treating change event as add on
/sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/usb4/4-0:1.0

So even unplugging the lamp, leaving nothing plugged into USB, does not resolve
the situation.

#987961#8
Date:
2021-05-03 06:09:11 UTC
From:
To:
Hello,

Please note there is no systemd-udevd package.

The messages come from the kernel and upowerd so I'm tentatively
reassigning to upower, hopefully the Maintainer(s) will have a better
understanding of what's wrong / where this belongs.

Full quote below for their convenience.

Kind regards,
Andrei