Choose style:

Author Topic: (CLOSED) slower starting peppermint 9  (Read 1396 times)

0 Members and 1 Guest are viewing this topic.

Offline pepperOS

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
(CLOSED) slower starting peppermint 9
« on: September 10, 2018, 05:59:03 am »
Sinds i installed peppermint 9 there were some kernel updates and now i have the feeling  the startup is getting slower, and i mean the time between power on and the login screen.
i did read a topic about a slow starting system and tried the following option
sudo dmesg | grep -i "error\|warn\|fail"

and this was the result
Quote
[    0.084903] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    1.120746] i8042: Warning: Keylock active
[    1.130593] RAS: Correctable Errors collector initialized.
[    5.893508] random: 7 urandom warning(s) missed due to ratelimiting
[   11.576939] EXT4-fs (sda6): re-mounted. Opts: errors=remount-ro
[   31.371990] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20170831/utaddress-247)
[   31.372002] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[   31.372017] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)
[   31.372023] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20170831/utaddress-247)

i am using kernel 4.15.0-33-generic

are their things that have to be  dealt with?
« Last Edit: October 09, 2018, 01:54:33 am by pepperOS »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25473
  • Karma: 2803
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: slower starting peppermint 9
« Reply #1 on: September 10, 2018, 09:37:31 am »
Nothing in there jumps out at me.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline pepperOS

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: slower starting peppermint 9
« Reply #2 on: September 10, 2018, 09:51:02 am »
well, that is a good message, as a novice you always unsure ;-)

can it be that the not removed other kernels have influence?

Offline TonyBronze

  • Trusted User
  • Member
  • *****
  • Posts: 160
  • Karma: 34
  • Peppermintaholic
    • View Profile
  • Peppermint version(s): 8 & 9
Re: slower starting peppermint 9
« Reply #3 on: September 10, 2018, 10:30:11 am »
Can you post the output from

Code: [Select]
systemd-analyze blame
......to infinity and beyond..............

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25473
  • Karma: 2803
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: slower starting peppermint 9
« Reply #4 on: September 10, 2018, 10:36:41 am »
And it also might not hurt to run:
Code: [Select]
dmesg > ~/Desktop/dmesg.txt
then host the file called dmesg.txt you'll now find on your desktop on a site like
http://www.tinyupload.com/

and poat a link to it, so we can take a look at it
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline pepperOS

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: slower starting peppermint 9
« Reply #5 on: September 10, 2018, 10:55:38 am »
Can you post the output from

Code: [Select]
systemd-analyze blame
off coarse

Code: [Select]
26.920s systemd-journal-flush.service
         25.037s dev-sda6.device
         21.563s ufw.service
         20.554s keyboard-setup.service
         19.657s systemd-modules-load.service
         17.802s systemd-udevd.service
         15.797s nmbd.service
          6.832s NetworkManager-wait-online.service
          6.819s snapd.service
          5.850s mintsystem.service
          5.795s NetworkManager.service
          5.178s networkd-dispatcher.service
          4.323s udisks2.service
          4.006s run-rpc_pipefs.mount
          3.806s lircd-setup.service
          3.468s accounts-daemon.service
          3.349s grub-common.service
          3.159s systemd-random-seed.service
          3.067s ModemManager.service
          2.984s gpu-manager.service
          2.933s apparmor.service
          2.805s plymouth-start.service
          1.202s wpa_supplicant.service
          1.170s avahi-daemon.service
          1.137s postfix@-.service
lines 1-25
« Last Edit: September 12, 2018, 09:01:01 am by AndyInMokum, Reason: encapsulating with [/code] »

Offline pepperOS

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: slower starting peppermint 9
« Reply #6 on: September 10, 2018, 11:41:46 am »
And it also might not hurt to run:
Code: [Select]
dmesg > ~/Desktop/dmesg.txt

this command did not work, got the output that the file did not exist, but i think i have got it done and hope you can read it properly
 
http://s000.tinyupload.com/index.php?file_id=02229674755305721766

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25473
  • Karma: 2803
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: slower starting peppermint 9
« Reply #7 on: September 10, 2018, 07:06:58 pm »
You seem to have a 20 second pause around the time ip6_tables is loaded.

Can you try disabling the firewall .. then reboot.

and tell us whether the boot was quicker ?

and post the output from:
Code: [Select]
lsmod | grep tables
And if you have a particular need to be running a local firewall .. such as you connect to untrusted networks, or you connect to the web via something other than a NAT router.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline pepperOS

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: slower starting peppermint 9
« Reply #8 on: September 11, 2018, 01:00:24 pm »
here is the outcome of the  lsmod

Quote
ip_tables              28672  0
x_tables               40960  1 ip_tables

it did not startup faster, takes some time until the peppermint logo with starting up is appearing on the screen.

do i need firewall?  always did with windows, thought it could not hurt using it now ;-)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25473
  • Karma: 2803
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: slower starting peppermint 9
« Reply #9 on: September 11, 2018, 02:15:19 pm »
Can you do the
Code: [Select]
dmesg > ~/Desktop/dmesg.txt
thing again with the firewall still disabled.

You shouldn't need a firewall if you're behind a NAT router, on a private LAN you can trust.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline pepperOS

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: slower starting peppermint 9
« Reply #10 on: September 12, 2018, 02:42:33 am »
the results are here
http://s000.tinyupload.com/index.php?file_id=65728626286315218015

(strangly copying the dmesg > ~/Desktop/dmesg.txt  and pasting it in the terminal gives me a message that the file does not exist)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25473
  • Karma: 2803
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: slower starting peppermint 9
« Reply #11 on: September 12, 2018, 10:19:49 am »
What's the output from:
Code: [Select]
sudo blkid
and
Code: [Select]
cat /etc/initramfs-tools/conf.d/resume
and the contents of
Code: [Select]
xed /etc/fstab
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline pepperOS

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: slower starting peppermint 9
« Reply #12 on: September 14, 2018, 02:02:33 am »
blkid:
/dev/sda1: LABEL="Door systeem gereserveerd" UUID="1C56296056293BC0" TYPE="ntfs" PARTUUID="38646e12-01"
/dev/sda2: UUID="9470353270351D04" TYPE="ntfs" PARTUUID="38646e12-02"
/dev/sda5: LABEL="DATA" UUID="9AAE0D8CAE0D625D" TYPE="ntfs" PARTUUID="38646e12-05"
/dev/sda6: UUID="ef9b56fc-e831-4a0e-923b-378c83dabda9" TYPE="ext4" PARTUUID="38646e12-06"
/dev/sda7: UUID="63dd1530-571a-44f9-b4b5-dce5a73c86f4" TYPE="swap" PARTUUID="38646e12-07"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"

resume
RESUME=UUID=63dd1530-571a-44f9-b4b5-dce5a73c86f4

fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=ef9b56fc-e831-4a0e-923b-378c83dabda9 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda7 during installation
UUID=63dd1530-571a-44f9-b4b5-dce5a73c86f4 none            swap    sw              0       0

i hope this makes sense to you ;-)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25473
  • Karma: 2803
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: slower starting peppermint 9
« Reply #13 on: September 14, 2018, 12:51:54 pm »
Okay that's okay then.

Let's try something .. run:
Code: [Select]
sudo xed /etc/systemd/journald.conf
find the line
Code: [Select]
#SystemMaxUse=
and change it to
Code: [Select]
SystemMaxUse=64M
SAVE the file and exit the text editor.

Now run:
Code: [Select]
sudo journalctl --vacuum-size=64M
then post the output from
Code: [Select]
journalctl --verify
and
Code: [Select]
journalctl --disk-usage
and
Code: [Select]
du -hs /var/log/journal/
then test your boot time.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline pepperOS

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: slower starting peppermint 9
« Reply #14 on: September 17, 2018, 04:29:57 am »
I'll come back on this shortly , very busy at work at the moment