LINUX.ORG.RU

Ubuntu 20.10 долго грузится

 , ,


1

2

Доброго времени суток. Появилась проблема, linux ubuntu 20.10 очень долго загружается. Буду благодарен за помощь.

Система: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.10 DISTRIB_CODENAME=groovy DISTRIB_DESCRIPTION=«Ubuntu 20.10»

OS: Ubuntu 20.10 x86_64 Host: Inspiron 3580 Kernel: 5.8.0-53-generic Uptime: 2 hours, 12 mins Packages: 3220 (dpkg) Shell: bash 5.0.17 Resolution: 1920x1080 DE: GNOME 3.38.2 WM: Mutter WM Theme: Adwaita Terminal: gnome-terminal

Результат команды: journalctl -b -p err

-- Logs begin at Tue 2021-03-23 18:03:39 CET, end at Tue 2021-05-25 15:39:15 CEST. --
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: ACPI Error: No pointer back to namespace node in package 0000000014a01c66 (20200528/dsargs-301)
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: psmouse serio1: elantech: elantech_send_cmd query 0x02 failed.
мая 25 15:30:56 stasdell-Inspiron-3580 kernel: psmouse serio1: elantech: failed to query capabilities.
мая 25 15:30:56 stasdell-Inspiron-3580 systemd[1]: /etc/systemd/system/summerpalace.service:3: Failed to add dependency on dbus, ignoring: Invalid argument
мая 25 15:32:32 stasdell-Inspiron-3580 lightdm[2919]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
мая 25 15:32:32 stasdell-Inspiron-3580 lightdm[2919]: PAM adding faulty module: pam_kwallet.so
мая 25 15:32:32 stasdell-Inspiron-3580 lightdm[2919]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
мая 25 15:32:32 stasdell-Inspiron-3580 lightdm[2919]: PAM adding faulty module: pam_kwallet5.so
мая 25 15:33:04 stasdell-Inspiron-3580 lightdm[3065]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
мая 25 15:33:04 stasdell-Inspiron-3580 lightdm[3065]: PAM adding faulty module: pam_kwallet.so
мая 25 15:33:04 stasdell-Inspiron-3580 lightdm[3065]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
мая 25 15:33:04 stasdell-Inspiron-3580 lightdm[3065]: PAM adding faulty module: pam_kwallet5.so
мая 25 15:33:08 stasdell-Inspiron-3580 lightdm[3065]: gkr-pam: unable to locate daemon control file
мая 25 15:33:20 stasdell-Inspiron-3580 systemd[3077]: Failed to start Application launched by gnome-session-binary.
мая 25 15:33:20 stasdell-Inspiron-3580 systemd[3077]: Failed to start Application launched by gnome-session-binary.
мая 25 15:33:20 stasdell-Inspiron-3580 systemd[3077]: Failed to start Application launched by gnome-session-binary.
мая 25 15:33:41 stasdell-Inspiron-3580 systemd[3077]: Failed to start Application launched by gnome-session-binary.

Результат команды: systemd-analyze

Startup finished in 12.013s (firmware) + 8.192s (loader) + 9.433s (kernel) + 1min 36.638s (userspace) = 2min 6.278s 
graphical.target reached after 1min 36.614s in userspace

systemd-analyze critical-chain

The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @1min 36.614s
└─multi-user.target @1min 36.613s
  └─snapd.seeded.service @1min 31.869s +4.742s
    └─snapd.service @49.582s +42.282s
      └─basic.target @49.371s
        └─sockets.target @49.370s
          └─snapd.socket @49.367s +2ms
            └─sysinit.target @49.299s
              └─systemd-timesyncd.service @48.967s +331ms
                └─systemd-tmpfiles-setup.service @48.424s +537ms
                  └─systemd-journal-flush.service @6.601s +41.819s
                    └─systemd-journald.service @5.726s +869ms
                      └─systemd-journald.socket @5.709s
                        └─-.mount @2.688s
                          └─system.slice @2.688s
                            └─-.slice @2.688s

Результат команды: systemd-analyze blame –no-pager

42.282s snapd.service                                                 
41.819s systemd-journal-flush.service                                 
29.269s dev-sda3.device                                               
28.671s NetworkManager-wait-online.service                            
22.721s networkd-dispatcher.service                                   
22.074s logrotate.service                                             
20.935s dev-loop44.device                                             
20.101s dev-loop60.device                                             
19.862s udisks2.service                                               
19.811s dev-loop54.device                                             
19.803s dev-loop55.device                                             
19.592s dev-loop69.device                                             
19.096s dev-loop71.device                                             
18.733s dev-loop72.device                                             
18.709s dev-loop73.device                                             
18.456s dev-loop80.device                                             
18.340s dev-loop78.device                                             
18.333s dev-loop75.device                                             
18.327s dev-loop74.device                                             
18.180s dev-loop70.device                                             
18.160s dev-loop63.device                                             
18.092s dev-loop84.device                                             
18.062s dev-loop34.device                                             
18.059s dev-loop79.device                                             
17.936s dev-loop89.device                                             
17.848s dev-loop36.device                                             
17.762s systemd-rfkill.service                                        
17.683s dev-loop88.device                                             
17.663s dev-loop87.device                                             
17.529s dev-loop59.device                                             
17.521s dev-loop82.device                                             
17.503s dev-loop53.device                                             
17.408s dev-loop91.device                                             
17.319s dev-loop81.device                                             
17.233s dev-loop85.device                                             
17.202s dev-loop67.device                                             
16.981s dev-loop90.device                                             
16.814s dev-loop64.device                                             
16.698s dev-loop77.device                                             
16.693s dev-loop37.device                                             
16.688s dev-loop76.device                                             
16.549s dev-loop47.device                                             
16.332s dev-loop56.device                                             
16.270s dev-loop51.device                                             
16.266s dev-loop40.device                                             
16.181s dev-loop66.device                                             
16.129s dev-loop42.device                                             
16.093s dev-loop61.device                                             
16.079s dev-loop52.device                                             
16.071s dev-loop43.device                                             
15.932s dev-loop83.device                                             
15.718s dev-loop49.device                                             
15.662s dev-loop39.device                                             
15.642s dev-loop57.device                                             
15.401s dev-loop86.device                                             
15.143s dev-loop46.device                                             
14.883s dev-loop62.device                                             
14.802s dev-loop23.device                                             
14.784s dev-loop50.device                                             
14.534s dev-loop26.device                                             
14.411s dev-loop65.device                                             
14.403s dev-loop35.device                                             
14.292s dev-loop68.device                                             
14.238s dev-loop38.device                                             
14.162s dev-loop18.device                                             
14.000s dev-loop45.device                                             
13.770s dev-loop48.device                                             
13.558s dev-loop31.device                                             
13.242s dev-loop24.device                                             
13.018s dev-loop58.device                                             
13.016s dev-loop9.device                                              
12.685s dev-loop27.device                                             
12.388s dev-loop32.device                                             
12.295s dev-loop33.device                                             
12.283s dev-loop22.device                                             
11.791s dev-loop20.device                                             
11.662s dev-loop19.device                                             
11.602s dev-loop21.device                                             
11.447s dev-loop30.device                                             
11.419s dev-loop41.device                                             
11.403s dev-loop5.device                                              
11.212s dev-loop25.device                                             
11.172s dev-loop2.device                                              
10.850s dev-loop8.device                                              
10.714s dev-loop28.device                                             
10.556s dev-loop4.device                                              
10.517s dev-loop16.device                                             
10.436s accounts-daemon.service                                       
10.186s dev-loop10.device                                             
10.151s dev-loop3.device                                              
10.128s dev-loop14.device                                             
 9.438s dev-loop29.device                                             
 9.100s NetworkManager.service                                        
 8.910s dev-loop17.device                                             
 8.782s dev-loop11.device                                             
 8.715s dev-loop15.device                                             
 8.671s dev-loop7.device                                              
 8.415s dev-loop6.device                                              
 8.089s dev-loop12.device                                             
 7.884s polkit.service                                                
 7.883s avahi-daemon.service                                          
 7.874s bluetooth.service                                             
 7.619s switcheroo-control.service                                    
 7.618s ModemManager.service                                          
 7.597s thermald.service                                              
 7.589s systemd-logind.service                                        
 7.586s wpa_supplicant.service                                        
 7.290s grub-initrd-fallback.service                                  
 7.083s grub-common.service                                           
 6.764s apport.service                                                
 6.569s gpu-manager.service                                           
 6.381s dev-loop13.device                                             
 6.143s vboxdrv.service                                               
 5.614s dev-loop0.device                                              
 5.588s upower.service                                                
 5.417s dev-loop1.device                                              
 5.370s teamviewerd.service                                           
 5.280s snapd.apparmor.service                                        
 5.149s systemd-resolved.service                                      
 4.757s snap-htmldoc-532.mount                                        
 4.742s snapd.seeded.service                                          
 4.557s snap-kstars-45.mount                                          
 4.349s snap-obs\x2dstudio-1185.mount                                 
 3.974s snap-pypy3-72.mount                                           
 3.890s snap-wine\x2dplatform\x2druntime-216.mount                    
 3.862s snap-sublime\x2dtext-85.mount                                 
 3.784s snap-sweethome3d\x2dhomedesign-12.mount                       
 3.733s lightdm.service                                               
 3.724s snap-sublime\x2dtext-97.mount                                 
 3.721s plymouth-quit-wait.service                                    
 3.708s systemd-udevd.service                                         
 3.517s snap-qt551-31.mount                                           
 3.494s snap-pycharm\x2dcommunity-224.mount                           
 3.480s snap-wine\x2dplatform\x2d3\x2dstable-10.mount                 
 3.473s snap-wine\x2dplatform\x2d5\x2dstable-13.mount                 
 3.455s snap-pypy3-70.mount                                           
 3.407s snap-webstorm-189.mount                                       
 3.353s systemd-sysctl.service                                        
 3.184s rsyslog.service                                               
 3.173s secureboot-db.service                                         
 3.118s snap-youtube\x2ddl-3641.mount                                 
 3.086s fwupd.service                                                 
 3.044s snap-snap\x2dstore-498.mount                                  
 2.998s snap-youtube\x2ddl-3805.mount                                 
 2.801s snap-acrordrdc-23.mount                                       
 2.764s snap-acrordrdc-24.mount                                       
 2.720s snap-webengine513-3.mount                                     
 2.709s snap-android\x2dstudio-100.mount                              
 2.664s snap-android\x2dstudio-99.mount                               
 2.664s colord.service                                                
 2.661s snap-photogimp-141.mount                                      
 2.647s snap-pycharm\x2dprofessional-230.mount                        
 2.628s snap-arduino-41.mount                                         
 2.575s snap-hugo-9706.mount                                          
 2.574s snap-kde\x2dframeworks\x2d5\x2dqt\x2d5\x2d14\x2dcore18-4.mount
 2.571s snap-arduino-50.mount                                         
 2.567s snap-bjarkan-35.mount                                         
 2.539s snap-blender-111.mount                                        
 2.507s snap-blender-65.mount                                         
 2.498s snap-brackets-138.mount                                       
 2.436s snap-chromium-1479.mount                                      
 2.367s snap-qt551-30.mount                                           
 2.332s snap-pycharm\x2dprofessional-228.mount                        
 2.131s snap-chromium-1497.mount                                      
 2.078s snap-kde\x2dframeworks\x2d5\x2dcore18-32.mount                
 2.048s snap-clion-139.mount                                          
 2.041s snap-shotcut-186.mount                                        
 1.982s snap-color\x2dpicker-10.mount                                 
 1.949s snap-core-10583.mount                                         
 1.941s snap-vokoscreen\x2dng-105.mount                               
 1.925s snap-core-10823.mount                                         
 1.916s snap-core18-1944.mount                                        
 1.913s snap-core18-1988.mount                                        
 1.875s snap-core20-875.mount                                         
 1.860s snap-core20-904.mount                                         
 1.856s snap-deckboard-3.mount                                        
 1.843s snap-kde\x2dframeworks\x2d5\x2dqt\x2d5\x2d14\x2dcore18-3.mount
 1.811s snap-discord-122.mount                                        
 1.775s systemd-modules-load.service                                  
 1.772s snap-pycharm\x2dcommunity-226.mount                           
 1.761s snap-flutter-50.mount                                         
 1.758s snap-gimp-322.mount                                           
 1.754s snap-gimp-347.mount                                           
 1.751s snap-gnome\x2d3\x2d26\x2d1604-100.mount                       
 1.748s snap-gnome\x2d3\x2d26\x2d1604-98.mount                        
 1.741s snap-qsnapstore-10.mount                                      
 1.730s update-notifier-download.service                              
 1.716s snap-qsnapstore-9.mount                                       
 1.710s snap-wine\x2dplatform\x2d5\x2dstable-16.mount                 
 1.646s snap-obs\x2dstudio-1195.mount                                 
 1.576s snap-kolourpaint-56.mount                                     
 1.563s snap-webengine\x2dapp-1.mount                                 
 1.532s snap-wine\x2dplatform\x2druntime-212.mount                    
 1.515s snap-libreoffice-213.mount                                    
 1.470s snap-gnome\x2d3\x2d28\x2d1804-128.mount                       
 1.431s kerneloops.service                                            
 1.424s snap-gnome\x2d3\x2d28\x2d1804-145.mount                       
 1.413s snap-notepad\x2dplus\x2dplus-258.mount                        
 1.412s snap-gnome\x2d3\x2d34\x2d1804-60.mount                        
 1.409s snap-gnome\x2d3\x2d34\x2d1804-66.mount                        
 1.405s snap-gnome\x2dsystem\x2dmonitor-148.mount                     
 1.400s snap-gnome\x2dsystem\x2dmonitor-157.mount                     
 1.375s snap-gtk2\x2dcommon\x2dthemes-13.mount                        
 1.372s snap-gtk2\x2dcommon\x2dthemes-9.mount                         
 1.360s snap-shotcut-241.mount                                        
 1.339s systemd-backlight@backlight:intel_backlight.service           
 1.334s apparmor.service                                              
 1.331s snap-gtk\x2dcommon\x2dthemes-1513.mount                       
 1.324s systemd-sysusers.service                                      
 1.323s snap-gtk\x2dcommon\x2dthemes-1514.mount                       
 1.311s snap-guvcview-81.mount                                        
 1.275s snap-inkscape-8049.mount                                      
 1.237s lm-sensors.service                                            
 1.215s snap-heroku-4033.mount                                        
 1.208s snap-heroku-4037.mount                                        
 1.200s snap-notepad\x2dplus\x2dplus-253.mount                        
 1.192s snap-modem\x2dmanager-426.mount                               
 1.175s snap-htmldoc-467.mount                                        
 1.149s snap-usbmuxd\x2ddaemon-9.mount                                
 1.147s snap-hugo-9775.mount                                          
 1.135s snap-inkscape-7947.mount                                      
 1.114s snap-wine\x2dplatform\x2d3\x2dstable-11.mount                 
 1.075s snap-kolourpaint-53.mount                                     
 1.069s snap-webstorm-187.mount                                       
 1.057s snap-sweethome3d\x2dhomedesign-9.mount                        
  976ms snap-vokoscreen\x2dng-94.mount                                
  937ms systemd-udev-trigger.service                                  
  913ms keyboard-setup.service                                        
  869ms systemd-journald.service                                      
  818ms snap-snap\x2dstore-518.mount                                  
  696ms systemd-fsck@dev-disk-by\x2duuid-D45D\x2dC180.service         
  684ms swapfile.swap                                                 
  644ms systemd-user-sessions.service                                 
  624ms systemd-random-seed.service                                   
  553ms user@1001.service                                             
  537ms systemd-tmpfiles-setup.service                                
  519ms systemd-tmpfiles-setup-dev.service                            
  462ms blueman-mechanism.service                                     
  460ms e2scrub_reap.service                                          
  459ms vboxweb-service.service                                       
  381ms setvtrgb.service                                              
  372ms binfmt-support.service                                        
  331ms systemd-timesyncd.service                                     
  319ms lvm2-monitor.service                                          
  308ms systemd-remount-fs.service                                    
  211ms plymouth-start.service                                        
  195ms ufw.service                                                   
  175ms pppd-dns.service                                              
  170ms kmod-static-nodes.service                                     
  154ms boot-efi.mount                                                
   93ms dev-hugepages.mount                                           
   92ms dev-mqueue.mount                                              
   90ms user-runtime-dir@1001.service                                 
   89ms rtkit-daemon.service                                          
   89ms sys-kernel-debug.mount                                        
   87ms sys-kernel-tracing.mount                                      
   86ms vboxballoonctrl-service.service                               
   86ms vboxautostart-service.service                                 
   86ms blk-availability.service                                      
   70ms proc-sys-fs-binfmt_misc.mount                                 
   68ms plymouth-read-write.service                                   
   52ms openvpn.service                                               
   40ms systemd-tmpfiles-clean.service                                
   36ms alsa-restore.service                                          
   33ms systemd-update-utmp.service                                   
   26ms console-setup.service                                         
   25ms ureadahead-stop.service                                       
   19ms systemd-update-utmp-runlevel.service                          
   17ms sys-fs-fuse-connections.mount                                 
   16ms sys-kernel-config.mount                                       
    9ms finalrd.service                                               
    2ms snapd.socket 


Последнее исправление: Nitagas (всего исправлений: 2)

19.803s dev-loop55.device
19.592s dev-loop69.device
19.096s dev-loop71.device
18.733s dev-loop72.device
18.709s dev-loop73.device
18.456s dev-loop80.device
18.340s dev-loop78.device
18.333s dev-loop75.device
18.327s dev-loop74.device
18.180s dev-loop70.device
18.160s dev-loop63.device
18.092s dev-loop84.device
18.062s dev-loop34.device
18.059s dev-loop79.device
17.936s dev-loop89.device
17.848s dev-loop36.device

что это?
хотя догадывать что трапы снапы

либо у тебя диск медленный/дохнет и чекается вдобавок.
либо ты обмазался софтом нетрадиционной сексуальной ориентации по голову.

darkenshvein ★★★★★
()

Выкидывай snap из системы, либо на меньшей количество snap пакетов.

Каждый snap - это монтирование, а у тебя в системе сотня snap пакетов.

anonymous
()
Ответ на: комментарий от anonymous

Отключил и удалил snap пакеты, так же отключил некоторые сервисы. Стал быстрее. $ systemd-analyze

Startup finished in 12.329s (firmware) + 7.467s (loader) + 8.948s (kernel) + 1min 3.218s (userspace) = 1min 31.963s 
graphical.target reached after 1min 3.193s in userspace

$ systemd-analyze blame –no-pager

36.591s systemd-journal-flush.service                        
12.074s udisks2.service                                      
 9.157s grub-common.service                                  
 9.020s accounts-daemon.service                              
 8.701s NetworkManager.service                               
 8.272s dev-sda3.device                                      
 7.223s vboxdrv.service                                      
 5.862s teamviewerd.service                                  
 5.406s polkit.service                                       
 5.147s avahi-daemon.service                                 
 5.130s bluetooth.service                                    
 4.853s switcheroo-control.service                           
 4.829s thermald.service                                     
 4.813s systemd-logind.service                               
 4.810s wpa_supplicant.service                               
 4.209s gpu-manager.service                                  
 3.617s systemd-resolved.service                             
 3.610s apport.service                                       
 3.473s lightdm.service                                      
 3.466s plymouth-quit-wait.service                           
 2.956s rsyslog.service                                      
 2.943s secureboot-db.service                                
 2.603s ModemManager.service                                 
 2.043s systemd-udevd.service                                
 1.978s apparmor.service                                     
 1.961s systemd-modules-load.service                         
 1.603s colord.service                                       
 1.463s systemd-sysusers.service                             
 1.346s grub-initrd-fallback.service                         
  849ms systemd-fsck@dev-disk-by\x2duuid-D45D\x2dC180.service
  843ms setvtrgb.service                                     
  731ms packagekit.service                                   
  663ms systemd-random-seed.service                          
  660ms upower.service                                       
  654ms kerneloops.service                                   
  650ms systemd-tmpfiles-setup.service                       
  604ms e2scrub_reap.service                                 
  584ms binfmt-support.service                               
  574ms systemd-tmpfiles-setup-dev.service                   
  566ms keyboard-setup.service                               
  520ms systemd-journald.service                             
  430ms systemd-timesyncd.service                            
  426ms systemd-udev-trigger.service                         
  424ms user@1001.service                                    
  406ms systemd-backlight@backlight:intel_backlight.service  
  389ms lm-sensors.service                                   
  337ms lvm2-monitor.service                                 
  335ms blueman-mechanism.service                            
  309ms swapfile.swap                                        
  293ms systemd-remount-fs.service                           
  278ms geoclue.service                                      
  240ms pppd-dns.service                                     
  224ms systemd-rfkill.service                               
  219ms rtkit-daemon.service                                 
  187ms plymouth-start.service                               
  168ms systemd-sysctl.service                               
  155ms console-setup.service                                
  140ms dev-hugepages.mount                                  
  137ms dev-mqueue.mount                                     
  132ms sys-kernel-debug.mount                               
  128ms sys-kernel-tracing.mount                             
  115ms blk-availability.service                             
  114ms plymouth-read-write.service                          
  110ms vboxweb-service.service                              
  106ms ufw.service                                          
  103ms kmod-static-nodes.service                            
   79ms systemd-user-sessions.service                        
   70ms systemd-update-utmp.service                          
   43ms boot-efi.mount                                       
   41ms proc-sys-fs-binfmt_misc.mount                        
   40ms user-runtime-dir@1001.service                        
   38ms vboxballoonctrl-service.service                      
   37ms vboxautostart-service.service                        
   33ms openvpn.service                                      
   27ms alsa-restore.service                                 
   23ms ureadahead-stop.service                              
   20ms sys-fs-fuse-connections.mount                        
   19ms sys-kernel-config.mount                              
   19ms systemd-update-utmp-runlevel.service                 
    9ms finalrd.service       
Nitagas
() автор топика

А какая тебе разница, сколько грузится система? 1, или 2 минуты? Включил, сходил за пивом в холодильник, она и загрузилась.

Benis
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.