[Bug 1655584] [NEW] systemd-udevd busyloops when nvidia kernel module fails to load

2017-01-11 Thread Lauri Tirkkonen
Public bug reported:

On a machine where nvidia-367 is installed, but the driver won't attach (due to
the nvidia card being older and requiring legacy drivers), systemd-udevd
repeatedly attempts to load it anyway, causing high CPU and memory usage. I
observed the systemd-udevd process at 98% CPU usage and 2.5G RSS reported by
top(1); restarting the service reduces resource usage momentarily, but it
appears to be climbing back up (I suspect the number of events is growing).

Workaround is of course installing the correct driver package, but udevd really
ought not behave like this if something fails to load.

Some journal entries for systemd-udevd.service:

Jan 11 11:22:11 systemd-udevd[11651]: Process '/sbin/modprobe nvidia-drm' 
failed with exit code 1.
Jan 11 11:22:11 systemd-udevd[11651]: Process '/sbin/modprobe nvidia-uvm' 
failed with exit code 1.
Jan 11 11:22:11 systemd-udevd[11651]: Process '/usr/bin/nvidia-smi' failed 
with exit code 9.
Jan 11 11:22:11 systemd-udevd[11651]: Process '/sbin/modprobe 
nvidia-modeset' failed with exit code 1.
Jan 11 11:22:11 systemd-udevd[11651]: Process '/sbin/modprobe nvidia-drm' 
failed with exit code 1.
Jan 11 11:22:11 systemd-udevd[11651]: Process '/sbin/modprobe nvidia-uvm' 
failed with exit code 1.
Jan 11 11:22:12 systemd-udevd[11651]: Process '/usr/bin/nvidia-smi' failed 
with exit code 9.
Jan 11 11:22:12 systemd-udevd[11651]: Process '/sbin/modprobe 
nvidia-modeset' failed with exit code 1.
Jan 11 11:22:12 systemd-udevd[11651]: Process '/sbin/modprobe nvidia-drm' 
failed with exit code 1.
Jan 11 11:22:12 systemd-udevd[11651]: Process '/sbin/modprobe nvidia-uvm' 
failed with exit code 1.

dmesg shows repeated failures for loading the nvidia module:

[1675406.587926] NVRM: The NVIDIA GeForce 9300 GE GPU installed in this 
system is
 NVRM:  supported through the NVIDIA 340.xx Legacy drivers. 
Please
 NVRM:  visit http://www.nvidia.com/object/unix.html for 
more
 NVRM:  information.  The 367.57 NVIDIA driver will ignore
 NVRM:  this GPU.  Continuing probe...
[1675406.587936] NVRM: No NVIDIA graphics adapter found!
[1675406.588078] NVRM: NVIDIA init module failed!

Release information:

# lsb_release -rd
Description:Ubuntu 16.04.1 LTS
Release:16.04
# apt policy systemd udev
systemd:
  Installed: 229-4ubuntu13
  Candidate: 229-4ubuntu13
  Version table:
 *** 229-4ubuntu13 500
500 http://ftp.funet.fi/pub/Linux/mirrors/ubuntu/archive 
xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
 229-4ubuntu10 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 
Packages
 229-4ubuntu4 500
500 http://ftp.funet.fi/pub/Linux/mirrors/ubuntu/archive 
xenial/main amd64 Packages
udev:
  Installed: 229-4ubuntu13
  Candidate: 229-4ubuntu13
  Version table:
 *** 229-4ubuntu13 500
500 http://ftp.funet.fi/pub/Linux/mirrors/ubuntu/archive 
xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
 229-4ubuntu10 500
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 
Packages
 229-4ubuntu4 500
500 http://ftp.funet.fi/pub/Linux/mirrors/ubuntu/archive 
xenial/main amd64 Packages

** Affects: systemd (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1655584

Title:
  systemd-udevd busyloops when nvidia kernel module fails to load

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1655584/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1584759] [NEW] masking NetworkManager ineffective without also masking network-manager

2016-05-23 Thread Lauri Tirkkonen
Public bug reported:

On xenial (systemd 229), 'systemctl mask NetworkManager' is ineffective;
I can still start the service (and in fact it starts on boot). This may
be due to an interaction with an init.d script with a different name
("network-manager").

root@test-paniikki:~# systemctl is-enabled NetworkManager network-manager
enabled
enabled
root@test-paniikki:~# systemctl mask NetworkManager
Created symlink from /etc/systemd/system/NetworkManager.service to 
/dev/null.
root@test-paniikki:~# systemctl is-enabled NetworkManager network-manager
masked
masked
root@test-paniikki:~# systemctl start NetworkManager; echo $?
0
root@test-paniikki:~# systemctl status --no-pager NetworkManager
● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; masked; 
vendor preset: enabled)
   Active: active (running) since Mon 2016-05-23 15:39:09 EEST; 9s ago
 Main PID: 6155 (NetworkManager)
Tasks: 6 (limit: 512)
   CGroup: /system.slice/NetworkManager.service
   ├─6155 /usr/sbin/NetworkManager --no-daemon
   ├─6167 /sbin/dhclient -d -q -sf 
/usr/lib/NetworkManager/nm-dhcp-helper -pf /va...
   └─6182 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground 
--no-hosts --bind-in...


Only if 'network-manager' is also masked will the service fail to start:

root@test-paniikki:~# systemctl mask network-manager
Created symlink from /etc/systemd/system/network-manager.service to 
/dev/null.
root@test-paniikki:~# systemctl stop NetworkManager
root@test-paniikki:~# systemctl start NetworkManager
Failed to start NetworkManager.service: Unit NetworkManager.service is 
masked.

** Affects: systemd (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1584759

Title:
  masking NetworkManager ineffective without also masking network-
  manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1584759/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 666565] Re: utf8 charmap in locale name is wrong

2012-10-18 Thread Lauri Tirkkonen
This was fixed in language-selector, which is what I originally reported
it against. I'm not sure why it's marked as affecting ubuntu-
translations.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/666565

Title:
  utf8 charmap in locale name is wrong

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/666565/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs