Linux Lite Forums

Hardware - Support => Start up and Shutdown => Topic started by: noweare on July 06, 2019, 07:24:39 PM

Title: How to shorten boot time. It is taking about 6 minutes or so.
Post by: noweare on July 06, 2019, 07:24:39 PM
Hello All,
I just installed LL on an old laptop. LL installed fine but it is taking about 6 minutes to boot up. Looking at the boot log shows where the bottle necks are. Maybe someone can point me in the direction of a solution. New to linux.
As you can see I am getting a lot of timed out events. These are just some of them.

[    4.749564] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input5
[   13.788103] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:34:pipe A] flip_done timed out


[   13.892539] Code: ff ff e8 93 ef b9 df 48 8d 75 a8 4c 89 ff e8 f7 51 be df 45 85 ed 0f 85 ff fe ff ff 44 89 e6 48 c7 c7 10 e4 30 c0 e8 cf ec b9 df <0f> 0b e9 e9 fe ff ff 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55
[   13.892581] ---[ end trace f946054d6c513bd4 ]---
[   24.028097] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:34:pipe A] flip_done timed out
[   34.268103] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:28:plane A] flip_done timed out

[   34.286680] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[   44.764128] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:34:pipe A] flip_done timed out

[   44.868595] ---[ end trace f946054d6c513bd5 ]---
[   55.004119] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:34:pipe A] flip_done timed out
[   63.640196] usb 6-1: USB disconnect, device number 2

[  200.156308] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:35:plane B] flip_done timed out
[  211.420288] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:41:pipe B] flip_done timed out






Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: Jerry on July 07, 2019, 02:20:38 AM
There are some boot up tweaks for 4.4 in the Release notes, did you take a look?
Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: noweare on July 07, 2019, 08:50:08 AM
There are some boot up tweaks for 4.4 in the Release notes, did you take a look?


No, but I will. Thank you, Jerry
Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: noweare on July 07, 2019, 09:48:48 PM
I found out about the Vbox issue and that was not affecting my boot up time.
Most of the time is from timed out errors due to CTRC:41 pipe B, PLANE:35 plane B and CRTC: 34 pipe A
Are those errors coming from the kernal?
Just looking for some suggestions. Should I re-install or maybe try a previous release.
I am using 4.4 currently.

ran "systemd-analyze time" and got below:
Startup finished in 1min 39.571s (kernel) + 52.121s (userspace) = 2min 31.692s
graphical.target reached after 52.017s in userspace

Also,
systemd-analyze blame
         32.123s lightdm.service
         32.112s plymouth-quit-wait.service
         11.607s dev-sda1.device
         10.341s systemd-journal-flush.service
          9.821s lvm2-monitor.service
          9.027s ufw.service
          8.574s keyboard-setup.service
          8.106s systemd-modules-load.service
          7.363s systemd-tmpfiles-setup-dev.service
          4.344s NetworkManager-wait-online.service
          3.986s NetworkManager.service
          3.738s udisks2.service
          3.195s networkd-dispatcher.service
          2.811s grub-common.service
          2.522s thermald.service
          2.208s ModemManager.service
          2.019s hddtemp.service
          1.458s accounts-daemon.service
          1.189s upower.service
          1.136s zram-config.service
          1.092s user@1000.service
          1.007s motd-news.service
           964ms systemd-resolved.service

I do not know if this is considered normal. About 5 minutes to boot up now.
Thank you.
Joe

                                         
Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: Jerry on July 07, 2019, 11:21:46 PM
Check out a possible fix in this thread - https://askubuntu.com/questions/893817/boot-very-slow-because-of-drm-kms-helper-errors
Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: diskrod on July 08, 2019, 02:03:54 AM
Jerry, I went to the link you mentioned. I'm a novice when it comes to Linux Lite but I'm trying to learn new stuff.  I'm confused about "add the kernel boot parameter".  How do I add it? I'm able to get into the terminal and enter the first sudo line but after that I'm lost. Any help is appreciated since I also have a slow boot time.

Then add the kernel boot parameter: video=SVIDEO-1:d, so it will look like this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=SVIDEO-1:d"
 
Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: Jerry on July 08, 2019, 02:09:41 AM
diskrod, this fix may not be suitable for your system and may break it. Please don't hijack other peoples thread. You'll need to start your own with very specific details like the OP has provided here. Every hardware is different. You'll need a specific fix. Thank you :)
Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: noweare on July 08, 2019, 10:02:50 AM
Thank you Jerry, that worked.
My system now boots in 1 min 30 seconds compard to 5 minutes.
I really like this distro. Coming from Win10 and I have tried lxle
Thanks for your hard work and helping me with this problem.
Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: diskrod on July 08, 2019, 10:40:52 AM
I went to the link mentioned by Jerry. I recently upgraded to a HP laptop and my profile has changed. I'm a novice when it comes to Linux Lite but I'm trying to learn new stuff.  I'm confused about "add the kernel boot parameter" mentioned in the link.  How do I add it? I'm able to get into the terminal and enter the first sudo line but after that I'm lost. Any help is appreciated since I also have a slow boot time. Sorry if stepped on anyone's tools from previous post.
Then add the kernel boot parameter: video=SVIDEO-1:d, so it will look like this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=SVIDEO-1:d"
 
Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: noweare on July 08, 2019, 11:22:43 AM
Hello diskrod,
You should really start a new thread specific to what you are experiencing.
Thanks
Joe
Title: Re: How to shorten boot time. It is taking about 6 minutes or so.
Post by: Jerry on July 08, 2019, 06:10:10 PM
Thank you Jerry, that worked.
My system now boots in 1 min 30 seconds compard to 5 minutes.
I really like this distro. Coming from Win10 and I have tried lxle
Thanks for your hard work and helping me with this problem.

You're welcome :)