Choose style:

Author Topic: Very Slow Boot Process in Peppermint9  (Read 2312 times)

0 Members and 1 Guest are viewing this topic.

Offline plumtreed

  • Jr. Member
  • **
  • Posts: 91
  • Karma: 10
  • Been using Peppermint since it's start-up
    • View Profile
  • Peppermint version(s): 10 64bit
Very Slow Boot Process in Peppermint9
« on: June 26, 2018, 06:39:26 pm »
I installed Peppermint 9 on my Acer Aspire 5315, and everything seems to work well, except booting the system. It appears that drm_kms_helper-errors occur repeatedly and takes a lot of time each. The exact error is like this:

[drm:drm_atomic_helper_commit_cleanup_done [drm_kms_helper]] *ERROR* [CRTC:26:pipe A] flip_done timed out etc

The CRTC-value and the pipe-value varies, but otherwise all the errors are identical.

What does this mean and how do I fix it? If it can't be fixed, how do I prevent it from using so much time when booting?

I usually boot this lap-top only once a day so it is not a huge problem.......boot time is in minutes tho, not seconds like my favourite Peppermint 7

Installed to a 80GB HDD, 2 GB RAM, Processor x86-64 Celeron.

Code: [Select]
kg@kg-Aspire-5315 ~ $ inxi -Fz
System:    Host: kg-Aspire-5315 Kernel: 4.15.0-23-generic x86_64 bits: 64
           Desktop: N/A Distro: Peppermint Nine
Machine:   Device: other-vm? System: Acer product: Aspire 5315 v: V1.35 serial: N/A
           Mobo: Acer model: Acadia v: V1.35 serial: N/A
           BIOS: Acer v: V1.35 date: 04/29/2008
Battery    BAT0: charge: 21.3 Wh 100.0% condition: 21.3/71.0 Wh (30%)
CPU:       Single core Intel Celeron 560 (-UP-) cache: 1024 KB speed: 2128 MHz (max)
Graphics:  Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1280x800@60.00hz
           OpenGL: renderer: Mesa DRI Intel 965GM version: 2.1 Mesa 18.0.0-rc5
Audio:     Card Intel 82801H (ICH8 Family) HD Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-23-generic
Network:   Card-1: Broadcom Limited NetLink BCM5906M Fast Ethernet PCIE driver: tg3
           IF: enp5s0 state: down mac: <filter>
           Card-2: Broadcom Limited BCM4312 802.11b/g LP-PHY driver: wl
           IF: wlp6s0 state: up mac: <filter>
Drives:    HDD Total Size: 140.0GB (33.6% used)
           ID-1: /dev/sda model: TOSHIBA_MK8046GS size: 80.0GB
           ID-2: /dev/sdb model: KingDian_S180_60 size: 60.0GB
Partition: ID-1: / size: 20G used: 4.7G (26%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 2.13GB used: 0.00GB (0%) fs: swap dev: /dev/sdb5
           ID-3: swap-2 size: 41.94GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 60.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 149 Uptime: 14 min Memory: 549.6/1984.2MB
« Last Edit: June 27, 2018, 12:19:24 am by AndyInMokum, Reason: Encapsulating output with [code] »

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1907
  • Karma: 188
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: Very Slow Boot Process in Peppermint9
« Reply #1 on: June 26, 2018, 07:36:25 pm »
Sorry about your slow boot plumtreed... would you mind opening up a terminal and giving us the
Code: [Select]
inxi -Fz
for the machine in question? This may give others with better triage skills some hints on where to begin pinpointing your slowdown.

 :-\
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1907
  • Karma: 188
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: Very Slow Boot Process in Peppermint9
« Reply #2 on: June 26, 2018, 07:45:38 pm »
reviewing a thread I have bookmarked about boot times...

PCNetSpec starts off by saying:
"Boot times are dependent on the drivers (as well as services) loading.

what's the output from

Code: [Select]
systemd-analyze blame

https://forum.peppermintos.com/index.php/topic,6257.0.html
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1837
  • Karma: 258
    • View Profile
Re: Very Slow Boot Process in Peppermint9
« Reply #3 on: June 27, 2018, 12:12:08 am »
This appears to be a rather know bug.
See:
https://bugs.archlinux.org/task/51703
https://askubuntu.com/questions/893817/boot-very-slow-because-of-drm-kms-helper-errors

You could try to change GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" into: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=SVIDEO-1:d" like suggested in the links to see if works for you.

If it doesn't help, you could also revert to the LTS kernel. Although, reeding those posts... you might need to revert to the 4.4 series.

Yet another possibility, would be to move to the 4.16 series.

Let us know if you need help with any of this.

Skickat från min SM-G900F via Tapatalk
« Last Edit: June 27, 2018, 12:14:41 am by pin »

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Very Slow Boot Process in Peppermint9
« Reply #4 on: June 27, 2018, 12:23:03 am »
Hi plumtreed, how's it going  :)?  For future reference, could you please remember to encapsulate all terminal outputs with the Insert, Code # function.  For extra long outputs, please use the Spoiler, Sp function.  If you’re a Chromium Browser and/or a Google Chrome user, please don't combine these functions.  For some reason, they don’t work well together with these browsers.  Only use one or the other  ;).  These forum functions preserve the original format of the output.  This makes it easier for future visitors to relate to their own issues.  These functions are found in the forum editor, above the,  :-[ Embarrassed and  the :'( Cry emoticon respectively.  Use the Preview button to check how it'll look in the forum.  This time, I've done it for you - many thanks  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline plumtreed

  • Jr. Member
  • **
  • Posts: 91
  • Karma: 10
  • Been using Peppermint since it's start-up
    • View Profile
  • Peppermint version(s): 10 64bit
Re: Very Slow Boot Process in Peppermint9
« Reply #5 on: June 27, 2018, 12:24:01 am »
This appears to be a rather know bug.
See:
https://bugs.archlinux.org/task/51703
https://askubuntu.com/questions/893817/boot-very-slow-because-of-drm-kms-helper-errors

You could try to change GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" into: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=SVIDEO-1:d" like suggested in the links to see if works for you.

If it doesn't help, you could also revert to the LTS kernel. Although, reeding those posts... you might need to revert to the 4.4 series.

Yet another possibility, would be to move to the 4.16 series.

Let us know if you need help with any of this.

Skickat från min SM-G900F via Tapatalk


I have tried the ' Grub ' suggestion with no effect......and a couple of other things without any improvement.

.......reluctant to change kernel but as you say it may be necessary.....will think about it a bit more.....thanks v/much for your feedback!

Offline plumtreed

  • Jr. Member
  • **
  • Posts: 91
  • Karma: 10
  • Been using Peppermint since it's start-up
    • View Profile
  • Peppermint version(s): 10 64bit
Re: Very Slow Boot Process in Peppermint9
« Reply #6 on: June 27, 2018, 06:22:58 am »
As Pin suggested, I checked a few kernels and going up didn't help so I reluctantly reverted to 4.4   -130 and this reduced boot time considerably.............

I guess I will find out what I am missing by using an old kernel but there is no obvious problem so far.

Thanks Pin!

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1837
  • Karma: 258
    • View Profile
Re: Very Slow Boot Process in Peppermint9
« Reply #7 on: June 27, 2018, 07:38:37 am »
Hmm!
I was afraid of that, since the bug appeared in the 4.8.0 series  :'(
4.4.0 will be supported until April 2021, but you have to check for the updates yourself using Synaptic, it will not update automatically.

You could investigate what caused this change in behavior. Look around to find which was the first kernel with this "bug" and what is the difference when compared to the last "good" kernel.
You could also contact the kernel developers, maybe they can tell you what is causing the problem.

In case it's a single or just a few modules, you can then build any kernel you want leaving this module out when compiling.
NOTE: I've never compiled the kernel from source on Peppermint, but I've done it several times, on Void. With an i5 cpu, 8Gb of RAM and a SSD (very important with the r/w speeds), you can get it done in about 90min. Also you need about 30Gb free space, it swells  :o
Don't worry, after the building is finished it will shrink down to about 80Mb, this large space is only used during compile/build phases.

That said, if your hardware is fine with the 4.4.0 series, you won't miss much, it means you actually don't need the new modules that have been added to the kernel. As for security, you will be fine, since a LTS kernel will get all security updates needed. Which brings us back to what I wrote in the beginning... keep an eye on Synaptic for updates.
« Last Edit: June 27, 2018, 07:40:27 am by pin »

Offline plumtreed

  • Jr. Member
  • **
  • Posts: 91
  • Karma: 10
  • Been using Peppermint since it's start-up
    • View Profile
  • Peppermint version(s): 10 64bit
Re: Very Slow Boot Process in Peppermint9
« Reply #8 on: June 27, 2018, 07:54:13 am »
Appreciate your help and your suggestions........I will check things out as time permits ......much better with a reasonable reboot time when needed:)

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1837
  • Karma: 258
    • View Profile
Re: Very Slow Boot Process in Peppermint9
« Reply #9 on: June 27, 2018, 07:57:41 am »
You are most welcome!

I had a second look at your machine specs. With that processor, 2GB of RAM and a 80Gb HDD, I would be looking to compile and build the kernel on a more powerful machine and import the final binary. It will take many hours on that hardware.

EDIT: Anyway, you will be fine for another 3 years  ;)

Offline plumtreed

  • Jr. Member
  • **
  • Posts: 91
  • Karma: 10
  • Been using Peppermint since it's start-up
    • View Profile
  • Peppermint version(s): 10 64bit
Re: Very Slow Boot Process in Peppermint9
« Reply #10 on: June 27, 2018, 06:08:19 pm »
.......................3 years sounds good.....this laptop is like an old friend

...........I have also purged Samba, Apparmor, btrfs-tools and cut back swappiness to 10............boots well for HDD and since prices on small SSDs have dropped we might even look for a boost in that area.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Very Slow Boot Process in Peppermint9
« Reply #11 on: June 27, 2018, 08:19:52 pm »
.......................3 years sounds good.....this laptop is like an old friend

...........I have also purged Samba, Apparmor, btrfs-tools and cut back swappiness to 10............boots well for HDD and since prices on small SSDs have dropped we might even look for a boost in that area.

Honestly, I never thought an SSD could make too much difference.  I then bought one; OMG how wrong I was  :o.  I'll never use a spinner as a primary drive again.  On this HP Elitebook 8470p, I've customized it to have two drives.  I have a,  240GB SanDisk Ultra II SSD as my primary disk and a, 1TB Seagate FireCuda SSHD, (Solid State Hybrid Drive) for my /DATA partition and testing area:
Spoiler (click here to view / hide)
andy@PM9-HP-EliteBook-8470p ~ $ inxi -Fz
System:    Host: PM9-HP-EliteBook-8470p Kernel: 4.15.0-23-generic x86_64 bits: 64
           Desktop: N/A Distro: Peppermint Nine
Machine:   Device: laptop System: Hewlett-Packard product: HP EliteBook 8470p v: A1029D1102 serial: N/A
           Mobo: Hewlett-Packard model: 179B v: KBC Version 42.1A serial: N/A
           BIOS: Hewlett-Packard v: 68ICF Ver. F.04 date: 06/12/2012
Battery    BAT0: charge: 49.6 Wh 96.5% condition: 51.4/51.4 Wh (100%)
CPU:       Dual core Intel Core i5-3320M (-MT-MCP-) cache: 3072 KB
           clock speeds: max: 3300 MHz 1: 1275 MHz 2: 1313 MHz 3: 1331 MHz
           4: 1328 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile
           version: 4.2 Mesa 18.0.0-rc5
Audio:     Card Intel 7 Series/C216 Family High Def. Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-23-generic
Network:   Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi
           IF: wlo1 state: up mac: <filter>
Drives:    HDD Total Size: 2240.5GB (5.2% used)
           ID-1: /dev/mmcblk0 model: N/A size: 16.0GB
           ID-2: /dev/sda model: SanDisk_Ultra_II size: 240.1GB
           ID-3: /dev/sdb model: ST1000LX015 size: 1000.2GB
           ID-4: USB /dev/sdc model: USB_3.0_Device size: 1000.2GB
Partition: ID-1: / size: 12G used: 7.1G (64%) fs: ext4 dev: /dev/sda7
           ID-2: /home size: 30G used: 4.1G (15%) fs: ext4 dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 47.0C mobo: 0.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 213 Uptime: 2:29 Memory: 1012.9/7842.5MB
           Client: Shell (bash) inxi: 2.3.56
andy@PM9-HP-EliteBook-8470p ~ $
[close]
I've done the same as you and got rid of all the rubble, plus all the Snaps and Flatpak crap.  I get a boot time of just under 6 seconds. Shutdown is much the same.  Loading packages, is faster than greased lighting.  Everything is warp speed quick and it's quieter with a much better battery life.  That's even with the SSHD.  This laptop is notorious for having an abysmal battery life.  I was really lucky to squeeze 2hrs out it.  Now I get around 3 1/2 hrs.  Yeah, I recommend a good quality SSD, and/or a good quality SSHD.  You'll not regret it  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1907
  • Karma: 188
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: Very Slow Boot Process in Peppermint9
« Reply #12 on: June 27, 2018, 10:13:03 pm »
Agree wholeheartedly with AndyInMokum.... this 8 year old laptop booted in a minute or two with the old mechanical drive... now under 12 seconds with a PNY SSD...

Best investment one can make... I'll be converting it from MBR to GPT soon as well... as that cut my boot time on my desktop substantially....
   8)
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Very Slow Boot Process in Peppermint9
« Reply #13 on: June 28, 2018, 01:44:55 am »
... I'll be converting it from MBR to GPT soon as well... as that cut my boot time on my desktop substantially.... [/color]   8)
I wish I could do the same.  I tried and unfortunately this HP Elitebook 8470p has an early and very poorly implemented UEFI  :(.  There's no option to turn the Secure Boot off.  It's stuck on permanently  >:(.  I've to switch back to legacy BIOS compatibility and use the MBR file system.  That's fine, I just make the hard drives into extended partitions.  The laptop works too well with Linux, to moan too much about the goofy UEFI/BIOS  ;).  I can live with the "sluggish" sub 6 second boot times :)).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25997
  • Karma: 2836
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Very Slow Boot Process in Peppermint9
« Reply #14 on: June 28, 2018, 12:53:34 pm »
Yep, I've been banging the SSD drum since I first used one a few years back, it's hard to get the difference across (in words) to someone that hasn't seen one in action .. for some reason no matter how much you protest they always think you're exaggerating.

An old adage was "if you want to speed up your PC, add more RAM" .. I can't stress strongly enough that (in most use cases) the invention of SSD's has has completely destroyed (to the Nth order of magnitude) that statement.

Here comes the obligatory car reference .. are you ready ? ..

Spinner Vs Hybrid Vs SSD == Ford Escort (possibly an Escort RS if you have something like a WD Black) Vs BMW M3 Vs McLaren P1 GTR.

Trust me (aw go on .. "please?"), just occasionally I have a useful insight :)

[EDIT]

Oh, and if you could get a McLaren P1 GTR for just £30 more than the price of an Escort, I'm pretty confident you wouldn't skimp.......

[EDIT2]

And on a laptop (or any other machine that gets moved or knocked whilst running), having no easily damaged moving parts makes an SSD a no-brainer .. personally I think it should now be illegal to sell a "mobile" computing device with a spinner .. in fact it might already be borderline arguable considering laws surrounding "fit for purpose".
« Last Edit: June 28, 2018, 01:21:58 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec