[SOLVED] slow boot after fresh installation

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] slow boot after fresh installation

Postby luksch » Jul 19th, '17, 21:19

Hello,

after I have been trying out several Linux distributions I decided to switch to Mageia 6.

I completed the installation process without any issues. However, when starting the system there is a major delay before the window system is started.

There seems to be an issue with the
Code: Select all
systemd-login
service which is required by the [img]pam_systemd[/img] module, as indicated by https://bugzilla.redhat.com/show_bug.cgi?id=817395.

Code: Select all
Jul 19 20:30:39 tower.churchwood.at kernel: reserve setup_data: [mem 0x000000009e4b2018-0x000000009e4cee57] usable
...skipping...
Jul 19 20:31:08 tower.churchwood.at su[971]: pam_systemd(su-l:session): Failed to create session: timeout: Die Wartezeit für die Verbindung ist abgelaufen
Jul 19 20:31:08 tower.churchwood.at su[971]: pam_unix(su-l:session): session opened for user root by (uid=0)


By the way, I really like Mageia and I will continue to use it as my native system. Thanks for your great work!

Yours,

Lukas
Last edited by luksch on Jul 26th, '17, 11:58, edited 1 time in total.
luksch
 
Posts: 7
Joined: Jul 19th, '17, 20:49

Re: slow boot after fresh installation

Postby doktor5000 » Jul 20th, '17, 18:41

It might help if you could attach the full journal log for a fresh boot, and also the output as root from

Code: Select all
systemd-analyze blame --no-pager
systemd-analyze plot > boot.svg

(for the last one please upload the resulting boot.svg bootchart)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: slow boot after fresh installation

Postby luksch » Jul 20th, '17, 19:01

Hi doc,
the files are attached in this post.
Thanks for your answer!
Attachments
journal_201707201856_short.txt
(282.82 KiB) Downloaded 236 times
systemdBlame_201707201856.txt
(2.45 KiB) Downloaded 212 times
systemdPlot_201707201856.svg
(132.63 KiB) Downloaded 255 times
luksch
 
Posts: 7
Joined: Jul 19th, '17, 20:49

Re: slow boot after fresh installation

Postby doktor5000 » Jul 21st, '17, 07:49

The issue seems to be the 31.122s wait for mandriva-everytime.service

Please try to disable it as root via
Code: Select all
echo HARDDRAKE_ONBOOT=no >> /etc/sysconfig/system


If that still doesn't help try the hard way by masking it
Code: Select all
systemctl mask mandriva-everytime.service
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: slow boot after fresh installation

Postby luksch » Jul 21st, '17, 09:50

Thanks a lot, your solution worked. Despite seeming important the `mandriva-everytime` service is not required. Thanks again!
luksch
 
Posts: 7
Joined: Jul 19th, '17, 20:49

Re: slow boot after fresh installation

Postby isadora » Jul 21st, '17, 12:00

Please luksch, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2780
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: slow boot after fresh installation

Postby doktor5000 » Jul 22nd, '17, 08:45

luksch wrote:Thanks a lot, your solution worked.

Which one in particular? And could you please add the output as root of
Code: Select all
time dkms status
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] slow boot after fresh installation

Postby luksch » Jul 26th, '17, 11:59

The first one did the trick. I didn't have a need for trying the second one.
luksch
 
Posts: 7
Joined: Jul 19th, '17, 20:49


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest