<SOLVED> Slow boot Mint 20.1

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
jodarove
Level 1
Level 1
Posts: 41
Joined: Wed Feb 19, 2020 12:16 pm

<SOLVED> Slow boot Mint 20.1

Post by jodarove »

I was having and issue witht the iGPU I solved it here Intel UHD 630 not working on Linux Mint 20.1 (Intel i5-10600K) thanks to SMG but this create a new problem. :cry:

Now my system takes too long to boot, sound is not working & wont turn off ~$ inxi -Fxxx

Code: Select all

System:    Host: la-maquina Kernel: 5.10.0-1019-oem x86_64 bits: 64 compiler: N/A Desktop: MATE 1.24.0 
           info: mate-panel wm: marco 1.24.0 dm: LightDM 1.30.0 Distro: Linux Mint 20.1 Ulyssa 
           base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: Micro-Star model: Z590-A PRO (MS-7D09) v: 1.0 serial: <superuser/root required> 
           UEFI: American Megatrends LLC. v: 1.00 date: 01/14/2021 
CPU:       Topology: 6-Core model: Intel Core i5-10600K bits: 64 type: MT MCP arch: N/A L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 98397 
           Speed: 4475 MHz min/max: 800/4800 MHz Core speeds (MHz): 1: 4341 2: 4356 3: 3956 4: 3811 5: 3787 
           6: 3674 7: 3564 8: 4131 9: 4088 10: 3589 11: 3821 12: 4245 
Graphics:  Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:9bc5 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa compositor: marco v: 1.24.0 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CML GT2) v: 4.6 Mesa 20.2.6 direct render: Yes 
wont even print the whole inxi -Fxxx stay stuck after Graphics.
systemd-analyze blame show this:

Code: Select all

3.039s ufw.service                                          
2.482s systemd-logind.service                               
2.344s networkd-dispatcher.service                          
2.222s postgresql@12-main.service                           
 869ms udisks2.service                                      
 329ms lightdm.service                                      
 323ms plymouth-quit-wait.service                           
 223ms accounts-daemon.service                              
 204ms ubuntu-system-adjustments.service                    
 185ms avahi-daemon.service                                 
 184ms NetworkManager.service                               
 180ms dev-sdb2.device                                      
 177ms polkit.service                                       
 171ms thermald.service                                     
 169ms wpa_supplicant.service                               
 167ms secureboot-db.service                                
 146ms grub-common.service                                  
 136ms gpu-manager.service                                  
 134ms networking.service                                   
  86ms systemd-fsck@dev-disk-by\x2duuid-858C\x2d5474.service
  84ms systemd-resolved.service                             
  82ms apparmor.service                                     
  76ms lvm2-monitor.service                                 
  72ms systemd-journal-flush.service                        
  68ms hddtemp.service                                      
  64ms user@1000.service                                    
  61ms rsyslog.service                                      
  52ms alsa-restore.service                                 
  52ms systemd-udevd.service                                
  49ms systemd-udev-trigger.service                         
  47ms swapfile.swap                                        
  47ms systemd-journald.service                             
  47ms ModemManager.service                                 
  44ms kerneloops.service                                   
  39ms keyboard-setup.service                               
  33ms boot-efi.mount                                       
  24ms systemd-modules-load.service                         
  19ms dns-clean.service                                    
  19ms e2scrub_reap.service                                 
  19ms systemd-tmpfiles-setup.service                       
  17ms lm-sensors.service                                   
  16ms systemd-update-utmp-runlevel.service                 
  16ms plymouth-start.service                               
  16ms packagekit.service                                   
  16ms setvtrgb.service                                     
  14ms binfmt-support.service                               
  14ms grub-initrd-fallback.service                         
  13ms systemd-sysusers.service                             
  12ms systemd-random-seed.service                          
  10ms plymouth-read-write.service                          
  10ms sysstat.service                                      
  10ms pppd-dns.service                                     
   8ms flatpak-system-helper.service                        
   8ms ntp.service                                          
   7ms dev-hugepages.mount                                  
   7ms systemd-sysctl.service                               
   7ms dev-mqueue.mount                                     
   7ms systemd-tmpfiles-setup-dev.service                   
   6ms sys-kernel-debug.mount                               
   6ms sys-kernel-tracing.mount                             
   6ms console-setup.service                                
   5ms systemd-remount-fs.service                           
   5ms blk-availability.service                             
   5ms systemd-update-utmp.service                          
   5ms kmod-static-nodes.service                            
   4ms ifupdown-pre.service                                 
   3ms postgresql.service                                   
   3ms user-runtime-dir@1000.service                        
   3ms proc-sys-fs-binfmt_misc.mount                        
   3ms finalrd.service                                      
   2ms systemd-user-sessions.service                        
   2ms rtkit-daemon.service                                 
   2ms sys-fs-fuse-connections.mount                        
   1ms sys-kernel-config.mount                              
   1ms openvpn.service
and when I shutdown this is the last line I see on the screen and it just keep repeating over and over. I had to force the shutdown.
[UFW BLOCK] IN=enp2s0 OUT= MAC=address SRC=192.168.0.1 DST=number LEN=32 TOS=0X00 PREC=0X00 TTL=1 ID=0 DF PROTO=2

Any idea how to fix this? Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
I'm here to learn!
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Slow boot Mint 20.1

Post by Larry78723 »

Two ideas:

1. Turn off the Firewall then reboot. Report inxi -Fxxzr results.

2. If still not fixed, run the following command:

Code: Select all

systemd-analyze critical-chain
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
jodarove
Level 1
Level 1
Posts: 41
Joined: Wed Feb 19, 2020 12:16 pm

Re: Slow boot Mint 20.1

Post by jodarove »

Hi Larry78723! thanks for helping me out!
Larry78723 wrote: Sat Apr 10, 2021 4:16 am Two ideas:

1. Turn off the Firewall then reboot. Report inxi -Fxxzr results.
I did this and run again the inxi still got suck on Graphics:

Code: Select all

jodarove@la-maquina:~$ inxi -Fxxzr
System:
  Kernel: 5.10.0-1019-oem x86_64 bits: 64 compiler: N/A Desktop: MATE 1.24.0 
  wm: marco dm: LightDM Distro: Linux Mint 20.1 Ulyssa 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop Mobo: Micro-Star model: Z590-A PRO (MS-7D09) v: 1.0 
  serial: <filter> UEFI: American Megatrends LLC. v: 1.00 date: 01/14/2021 
CPU:
  Topology: 6-Core model: Intel Core i5-10600K bits: 64 type: MT MCP 
  arch: N/A L2 cache: 12.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 98397 
  Speed: 800 MHz min/max: 800/4800 MHz Core speeds (MHz): 1: 800 2: 800 
  3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 801 
Graphics:
  Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:9bc5 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  compositor: marco resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CML GT2) v: 4.6 Mesa 20.2.6 
  direct render: Yes 
Larry78723 wrote: Sat Apr 10, 2021 4:16 am 2. If still not fixed, run the following command:

Code: Select all

systemd-analyze critical-chain
Here is the output for the command

Code: Select all

jodarove@la-maquina:~$ 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 @5.269s
└─multi-user.target @5.269s
  └─getty.target @5.269s
    └─getty@tty1.service @5.269s
      └─system-getty.slice @5.268s
        └─setvtrgb.service @5.252s +16ms
          └─systemd-user-sessions.service @716ms +4ms
            └─network.target @714ms
              └─NetworkManager.service @620ms +93ms
                └─dbus.service @618ms
                  └─basic.target @613ms
                    └─sockets.target @613ms
                      └─uuidd.socket @613ms
                        └─sysinit.target @611ms
                          └─apparmor.service @475ms +136ms
                            └─local-fs.target @474ms
                              └─boot-efi.mount @416ms +57ms
                                └─systemd-fsck@dev-disk-by\x2duuid-858C\x2d5474.service @383ms>
                                  └─dev-disk-by\x2duuid-858C\x2d5474.device @382ms
I'm here to learn!
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Slow boot Mint 20.1

Post by Larry78723 »

Are you by chance using Ethernet? You have a very new machine which might have 2 ethernet connection ports. If you are using ethernet and have 2 ethernet ports, try changing to the other port and reboot.
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
jodarove
Level 1
Level 1
Posts: 41
Joined: Wed Feb 19, 2020 12:16 pm

Re: Slow boot Mint 20.1

Post by jodarove »

Larry78723 wrote: Sat Apr 10, 2021 3:26 pm Are you by chance using Ethernet? You have a very new machine which might have 2 ethernet connection ports. If you are using ethernet and have 2 ethernet ports, try changing to the other port and reboot.
Yes, I am using ethernet and no, this board has one ethernet:

Code: Select all

1x Intel® I225-V 2.5Gbps LAN controller
any other idea on what can the problem could be? something on the BIOS?
I'm here to learn!
User avatar
Larry78723
Level 14
Level 14
Posts: 5479
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Slow boot Mint 20.1

Post by Larry78723 »

I'm out of ideas. Sorry
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
jodarove
Level 1
Level 1
Posts: 41
Joined: Wed Feb 19, 2020 12:16 pm

Re: Slow boot Mint 20.1

Post by jodarove »

Larry78723 wrote: Sat Apr 10, 2021 6:41 pm I'm out of ideas. Sorry
Thank you for helping me out!
I'm here to learn!
User avatar
jodarove
Level 1
Level 1
Posts: 41
Joined: Wed Feb 19, 2020 12:16 pm

Re: Slow boot Mint 20.1

Post by jodarove »

Update: I just got a kernel update and that fixed the problem.
kernel fix uhd 630 i5-10600k
kernel fix uhd 630 i5-10600k
so the solution is to install the kernel version 5.10.0.1021.22
I'm here to learn!
Locked

Return to “Installation & Boot”