[Touch-packages] [Bug 1759836] Re: systemd-udevd consumes 100% of CPU

2019-09-10 Thread Jón Bjarni Bjarnason
Sorry for the late reply. Here comes the output:
KERNEL[90619.640204] remove   /module/nvidia (module)
UDEV  [90619.659490] add  /kernel/slab/:0012288 (slab)
KERNEL[90619.696504] add  /module/nvidia (module)
KERNEL[90619.697757] add  /kernel/slab/:0012288 (slab)
KERNEL[90619.697792] add  /bus/pci/drivers/nvidia-nvswitch (drivers)
KERNEL[90619.698144] remove   /bus/pci/drivers/nvidia-nvswitch (drivers)
UDEV  [90619.734780] add  /bus/pci/drivers/nvidia-nvswitch (drivers)
KERNEL[90619.760125] remove   /kernel/slab/:0012288 (slab)
KERNEL[90619.780134] remove   /module/nvidia (module)
UDEV  [90619.799634] add  /module/nvidia (module)
UDEV  [90619.863581] remove   /module/nvidia (module)
UDEV  [90619.914399] remove   /bus/pci/drivers/nvidia-nvswitch (drivers)
UDEV  [90619.980993] remove   /kernel/slab/:0012288 (slab)
KERNEL[90619.987727] add  
/kernel/slab/:A-256/cgroup/filp(351529:nvidia-persistenced.service) (cgroup)
KERNEL[90619.987765] add  
/kernel/slab/dentry/cgroup/dentry(351529:nvidia-persistenced.service) (cgroup)
KERNEL[90619.987787] add  
/kernel/slab/inode_cache/cgroup/inode_cache(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.987807] add  
/kernel/slab/:A-128/cgroup/pid(351529:nvidia-persistenced.service) (cgroup)
KERNEL[90619.987827] add  
/kernel/slab/sock_inode_cache/cgroup/sock_inode_cache(351529:nvidia-persistenced.service)
 (cgroup)
KERNEL[90619.987846] add  
/kernel/slab/:A-0001024/cgroup/UNIX(351529:nvidia-persistenced.service) (cgroup)
KERNEL[90619.987873] add  
/kernel/slab/skbuff_head_cache/cgroup/skbuff_head_cache(351529:nvidia-persistenced.service)
 (cgroup)
KERNEL[90619.987893] add  
/kernel/slab/kmalloc-512/cgroup/kmalloc-512(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.987918] add  
/kernel/slab/:A-192/cgroup/cred_jar(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.987938] add  
/kernel/slab/mm_struct/cgroup/mm_struct(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.987956] add  
/kernel/slab/:A-208/cgroup/vm_area_struct(351529:nvidia-persistenced.service)
 (cgroup)
KERNEL[90619.988007] add  
/kernel/slab/:A-064/cgroup/anon_vma_chain(351529:nvidia-persistenced.service)
 (cgroup)
KERNEL[90619.988029] add  
/kernel/slab/anon_vma/cgroup/anon_vma(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.988058] add  
/kernel/slab/kmalloc-192/cgroup/kmalloc-192(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.988076] add  
/kernel/slab/kmalloc-1k/cgroup/kmalloc-1k(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.988094] add  
/kernel/slab/task_struct/cgroup/task_struct(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.988113] add  
/kernel/slab/:A-080/cgroup/task_delay_info(351529:nvidia-persistenced.service)
 (cgroup)
KERNEL[90619.988128] add  
/kernel/slab/:A-704/cgroup/files_cache(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.988144] add  
/kernel/slab/sighand_cache/cgroup/sighand_cache(351529:nvidia-persistenced.service)
 (cgroup)
KERNEL[90619.988159] add  
/kernel/slab/:A-0001088/cgroup/signal_cache(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.989100] add  
/kernel/slab/shmem_inode_cache/cgroup/shmem_inode_cache(351529:nvidia-persistenced.service)
 (cgroup)
KERNEL[90619.989133] add  
/kernel/slab/:A-040/cgroup/pde_opener(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90619.989163] add  
/kernel/slab/kmalloc-4k/cgroup/kmalloc-4k(351529:nvidia-persistenced.service) 
(cgroup)
KERNEL[90620.018974] add  /module/nvidia (module)
KERNEL[90620.019912] add  /kernel/slab/:0012288 (slab)
KERNEL[90620.019938] add  /bus/pci/drivers/nvidia-nvswitch (drivers)
KERNEL[90620.020631] remove   /bus/pci/drivers/nvidia-nvswitch (drivers)
KERNEL[90620.080127] remove   /kernel/slab/:0012288 (slab)
KERNEL[90620.104154] remove   /module/nvidia (module)
KERNEL[90620.137366] add  /module/nvidia (module)
KERNEL[90620.138144] add  /kernel/slab/:0012288 (slab)
KERNEL[90620.138175] add  /bus/pci/drivers/nvidia-nvswitch (drivers)
KERNEL[90620.138657] remove   /bus/pci/drivers/nvidia-nvswitch (drivers)


** Attachment added: "longer log"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1759836/+attachment/5287861/+files/udevd.log

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1759836

Title:
  systemd-udevd consumes 100% of CPU

Status in linux:
  Confirmed
Status in The Ubuntu Power Consumption Project:
  New
Status in bluez package in Ubuntu:
  In Progress
Status in linux package in Ubuntu:
  Invalid
Status in systemd package in Ubuntu:
  Invalid
Status in bluez package in Debian:
  New

Bug description:
  The systemd-udevd proccess consumes 100% of a thread everytime, but
  i'm not noticing any difference 

[Touch-packages] [Bug 1759836] Re: systemd-udevd consumes 100% of CPU

2019-09-01 Thread Jón Bjarni Bjarnason
Hi

I tried your fix Dan and it seems not to work. I am running on popOs
19.04 (Dell latitude E6530 i7)

kernel vers: Linux 5.0.0-25-generic x86_64

$ sudo apt-cache policy bluez
bluez:
  Installed: 5.50-0ubuntu2+bug1759836v20190827b1~disco

from top: 
488 root  20   0   66264  51564   3208 R 100.0   0.4  18:10.64 systemd-udevd

I previously disabled the bluetooth in the bios.

This is my .rules file (after the update):

# do not edit this file, it will be overwritten on update

ACTION!="add", GOTO="hid2hci_end"
SUBSYSTEM!="usb*", GOTO="hid2hci_end"

# Variety of Dell Bluetooth devices - match on a mouse device that is
# self powered and where a HID report needs to be sent to switch modes
# Known supported devices: 413c:8154, 413c:8158, 413c:8162
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"

# Logitech devices
KERNEL=="hiddev*", ATTRS{idVendor}=="046d", 
ATTRS{idProduct}=="c70[345abce]|c71[3bc]", \
  RUN+="hid2hci --method=logitech-hid --devpath=%p"
# Logitech, Inc. diNovo Edge Keyboard
KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c7[01]4", \
  RUN+="hid2hci --method=logitech-hid --devpath=%p"

ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"

# When a Dell device recovers from S3, the mouse child needs to be repoked
# Unfortunately the only event seen is the BT device disappearing, so the mouse
# device needs to be chased down on the USB bus.
ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01", 
ATTR{bDeviceProtocol}=="01", ATTR{idVendor}=="413c", \
  ENV{REMOVE_CMD}="/sbin/udevadm trigger --action=change --subsystem-match=usb 
--property-match=HID2HCI_SWITCH=1"

# CSR devices
ATTR{idVendor}=="0a12|0458|05ac", ATTR{idProduct}=="1000", RUN+="hid2hci 
--method=csr --devpath=%p"

LABEL="hid2hci_end"

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1759836

Title:
  systemd-udevd consumes 100% of CPU

Status in linux:
  Confirmed
Status in The Ubuntu Power Consumption Project:
  New
Status in bluez package in Ubuntu:
  In Progress
Status in linux package in Ubuntu:
  Invalid
Status in systemd package in Ubuntu:
  Invalid
Status in bluez package in Debian:
  Unknown

Bug description:
  The systemd-udevd proccess consumes 100% of a thread everytime, but
  i'm not noticing any difference in my computer.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: systemd 237-3ubuntu6
  ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
  Uname: Linux 4.15.0-13-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.9-0ubuntu2
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Mar 29 08:52:54 2018
  InstallationDate: Installed on 2018-03-05 (23 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180304)
  MachineType: Dell Inc. Inspiron N5010
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-13-generic 
root=UUID=3c29e292-f1ae-45e1-a0ed-a82524278ce1 ro quiet splash vt.handoff=1
  SourcePackage: systemd
  SystemdDelta:
   [EXTENDED]   /lib/systemd/system/rc-local.service → 
/lib/systemd/system/rc-local.service.d/debian.conf
   [EXTENDED]   /lib/systemd/system/user@.service → 
/lib/systemd/system/user@.service.d/timeout.conf

   2 overridden configuration files found.
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/25/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A12
  dmi.board.name: 08R0GW
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A12
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: A12
  dmi.modalias: 
dmi:bvnDellInc.:bvrA12:bd01/25/2011:svnDellInc.:pnInspironN5010:pvrA12:rvnDellInc.:rn08R0GW:rvrA12:cvnDellInc.:ct8:cvrA12:
  dmi.product.name: Inspiron N5010
  dmi.product.version: A12
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/kernel/+bug/1759836/+subscriptions

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