vladkinoman / just-my-notes

Just my awesome notes :sunglasses:
11 stars 1 forks source link

Unsolved errors on Linux Mint 20 #5

Closed vladkinoman closed 3 years ago

vladkinoman commented 4 years ago

Unsolved issues on Linux Mint 20

Description

My system:

$ inxi -Fxz
System:    Kernel: 5.4.0-42-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
           Desktop: Xfce 4.14.2 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Hewlett-Packard product: HP ProBook 450 G0 v: A2018CD200 
           serial: <filter> 
           Mobo: Hewlett-Packard model: 1949 v: KBC Version 90.0F serial: <filter> 
           BIOS: Hewlett-Packard v: 68IRF Ver. F.70 date: 04/11/2019 
Battery:   ID-1: BAT0 charge: 22.9 Wh condition: 22.9/22.9 Wh (100%) 
           model: Hewlett-Packard Primary status: Full 
CPU:       Topology: Dual Core model: Intel Core i5-3230M bits: 64 type: MT MCP 
           arch: Ivy Bridge rev: 9 L2 cache: 3072 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20753 
           Speed: 2693 MHz min/max: 1200/3200 MHz Core speeds (MHz): 1: 2241 2: 2619 
           3: 2722 4: 2646 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics vendor: Hewlett-Packard 
           driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: AMD Mars [Radeon HD 8670A/8670M/8750M] vendor: Hewlett-Packard 
           driver: radeon v: kernel bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.8 driver: ati,modesetting,radeon 
           unloaded: amdgpu,fbdev,vesa resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) 
           v: 4.2 Mesa 20.3.0-devel (git-acf756a 2020-08-14 focal-oibaf-ppa) 
           direct render: Yes 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio 
           vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.4.0-42-generic 
Network:   Device-1: Ralink RT3290 Wireless 802.11n 1T/1R PCIe vendor: Hewlett-Packard 
           driver: rt2800pci v: 2.3.0 port: 3000 bus ID: 04:00.0 
           IF: wlo1 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8169 v: kernel port: 2000 bus ID: 05:00.0 
           IF: enp5s0 state: down mac: <filter> 
Drives:    Local Storage: total: 698.64 GiB used: 409.41 GiB (58.6%) 
           ID-1: /dev/sda vendor: Western Digital model: WD7500BPVT-60HXZT3 
           size: 698.64 GiB 
Partition: ID-1: / size: 100.43 GiB used: 76.03 GiB (75.7%) fs: ext4 dev: /dev/sda5 
Sensors:   System Temperatures: cpu: 64.0 C mobo: N/A gpu: radeon temp: 127 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 228 Uptime: 9h 51m Memory: 7.63 GiB used: 4.39 GiB (57.6%) 
           Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
           inxi: 3.0.38 

According to journalctl I have next unsolved issues:

$ journalctl -xb -p err
-- Logs begin at Fri 2020-06-26 01:50:56 EEST, end at Tue 2020-08-18 01:01:04 EEST. --
Aug 18 00:58:31 HP-ProBook-450-G0 kernel: radeon 0000:01:00.0: failed VCE resume (-110).
Aug 18 00:58:53 HP-ProBook-450-G0 kernel: radeon 0000:01:00.0: failed VCE resume (-110).
Aug 18 00:58:53 HP-ProBook-450-G0 kernel: radeon 0000:01:00.0: failed VCE resume (-110).
Aug 18 00:58:54 HP-ProBook-450-G0 kernel: radeon 0000:01:00.0: failed VCE resume (-110).
Aug 18 00:59:07 HP-ProBook-450-G0 ntpd[6224]: error resolving pool 0.ubuntu.pool.ntp.org: Name or service not known (-2)
Aug 18 00:59:08 HP-ProBook-450-G0 ntpd[6224]: error resolving pool 1.ubuntu.pool.ntp.org: Name or service not known (-2)
Aug 18 00:59:09 HP-ProBook-450-G0 ntpd[6224]: error resolving pool 2.ubuntu.pool.ntp.org: Name or service not known (-2)
Aug 18 00:59:10 HP-ProBook-450-G0 ntpd[6224]: error resolving pool 3.ubuntu.pool.ntp.org: Name or service not known (-2)
Aug 18 00:59:11 HP-ProBook-450-G0 ntpd[6224]: error resolving pool ntp.ubuntu.com: Name or service not known (-2)
Aug 18 00:59:56 HP-ProBook-450-G0 pulseaudio[6397]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Possible answers

  1. Here may be some hints on the pulseaudio.
vladkinoman commented 4 years ago

Not really a topic, but the system used to boot in less than 50 seconds:

$ systemd-analyze time >> ~/Desktop/time.out
Startup finished in 9.061s (kernel) + 47.282s (userspace) = 56.343s 
graphical.target reached after 47.264s in userspace
Startup finished in 9.093s (kernel) + 50.036s (userspace) = 59.130s 
graphical.target reached after 50.018s in userspace
Startup finished in 9.104s (kernel) + 49.839s (userspace) = 58.944s 
graphical.target reached after 49.819s in userspace
Startup finished in 9.172s (kernel) + 40.897s (userspace) = 50.070s 
graphical.target reached after 40.885s in userspace
Startup finished in 9.123s (kernel) + 40.736s (userspace) = 49.859s 
graphical.target reached after 40.719s in userspace
Startup finished in 9.058s (kernel) + 42.093s (userspace) = 51.152s 
graphical.target reached after 42.075s in userspace
vladkinoman commented 3 years ago

Solved the "VCE resume" issue by enabling amdgpu driver (instead of radeon) explicitly in the kernel commandline. This information helped me a lot.

Updated system information:

System:
  Kernel: 5.4.0-45-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.7 Distro: Linux Mint 20 Ulyana 
  base: Ubuntu 20.04 focal 
...
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Hewlett-Packard 
  driver: i915 v: kernel bus ID: 00:02.0 
  Device-2: AMD Mars [Radeon HD 8670A/8670M/8750M] vendor: Hewlett-Packard 
  driver: amdgpu v: kernel bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: vesa 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) 
  v: 4.2 Mesa 21.0.0-devel (git-688dda5 2020-12-01 focal-oibaf-ppa) 
  direct render: Yes 
...
Sensors:
  System Temperatures: cpu: 58.0 C mobo: N/A gpu: amdgpu temp: 127 C 
  Fan Speeds (RPM): N/A 

Updated journalctl information:

-- Logs begin at Wed 2020-09-02 14:45:43 EEST, end at Mon 2020-12-07 11:55:41 EET. --
Dec 07 10:38:38 HP-ProBook-450-G0 systemd[1]: Failed to start VirtualBox Web Service.
-- Subject: A start job for unit vboxweb.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit vboxweb.service has finished with a failure.
-- 
-- The job identifier is 110 and the job result is failed.
Dec 07 10:38:40 HP-ProBook-450-G0 ntpd[6134]: error resolving pool 0.ubuntu.pool.ntp.org: Name or service not known (-2)
Dec 07 10:38:41 HP-ProBook-450-G0 ntpd[6134]: error resolving pool 1.ubuntu.pool.ntp.org: Name or service not known (-2)
Dec 07 10:38:42 HP-ProBook-450-G0 ntpd[6134]: error resolving pool 2.ubuntu.pool.ntp.org: Name or service not known (-2)
Dec 07 10:38:43 HP-ProBook-450-G0 ntpd[6134]: error resolving pool 3.ubuntu.pool.ntp.org: Name or service not known (-2)
Dec 07 10:38:44 HP-ProBook-450-G0 ntpd[6134]: error resolving pool ntp.ubuntu.com: Name or service not known (-2)
Dec 07 10:38:48 HP-ProBook-450-G0 ntpd[6134]: bind(23) AF_INET6 fe80::8723:af41:f8af:cc84%3#123 flags 0x11 failed: Cannot assign requested address
Dec 07 10:38:48 HP-ProBook-450-G0 ntpd[6134]: unable to create socket on wlo1 (4) for fe80::8723:af41:f8af:cc84%3#123
Dec 07 10:39:01 HP-ProBook-450-G0 lightdm[6298]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
Dec 07 10:39:01 HP-ProBook-450-G0 lightdm[6298]: PAM adding faulty module: pam_kwallet.so
Dec 07 10:39:01 HP-ProBook-450-G0 lightdm[6298]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Dec 07 10:39:01 HP-ProBook-450-G0 lightdm[6298]: PAM adding faulty module: pam_kwallet5.so
Dec 07 10:39:09 HP-ProBook-450-G0 lightdm[6389]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
Dec 07 10:39:09 HP-ProBook-450-G0 lightdm[6389]: PAM adding faulty module: pam_kwallet.so
Dec 07 10:39:09 HP-ProBook-450-G0 lightdm[6389]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Dec 07 10:39:09 HP-ProBook-450-G0 lightdm[6389]: PAM adding faulty module: pam_kwallet5.so
Dec 07 10:39:30 HP-ProBook-450-G0 pulseaudio[6311]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Dec 07 10:39:34 HP-ProBook-450-G0 lightdm[6389]: gkr-pam: unable to locate daemon control file
Dec 07 10:39:59 HP-ProBook-450-G0 pulseaudio[6428]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
vladkinoman commented 3 years ago

I installed drivers that I removed during the desktop environment restoration. Loaded amdgpu display driver. However, I wonder why all the drivers were loaded at once?

Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
  Device-2: AMD Mars [Radeon HD 8670A/8670M/8750M] driver: amdgpu v: kernel 
  Display: x11 server: X.Org 1.20.8 driver: amdgpu,ati,modesetting 
  unloaded: fbdev,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) 
  v: 4.2 Mesa 21.0.0-devel (git-7c075ba 2020-12-07 focal-oibaf-ppa) 
vladkinoman commented 3 years ago

Distrohopped to Pop!_OS 20.10.