Sloooow boot

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Sloooow boot

Postby dski » Jan 5th, '13, 19:11

Since changing a motherboard and processor for much faster system, my Linux boot time has gone up considerably (into minutes), when it should have sped up.

I've attached an image generated by bootchart, which suggests the computer doesn't really do anything useful between 6 seconds and 164 seconds into the boot sequence. Is there any way to figure out why the boot has gone so slow? Can't find out what "mandrake_everyt" and "service_harddra" do, but they look like the likely culprits.

I am not due to do a clean install of Mageia again until I can install version3, where there are supposed to be changes, especially to the partitions and where files live.

(hard to trim bootchart to get under 1MB file size limit on the forum.)
Attachments
bootchart-20130105-1.png
Bootchart.
bootchart-20130105-1.png (1012.83 KiB) Viewed 736 times
dski
 
Posts: 9
Joined: Jan 3rd, '13, 15:57
Location: UK

Re: Sloooow boot

Postby benmc » Jan 6th, '13, 10:57

when booting the system have you switched to verbose mode [ esc key ]

I see that mount.ntfs-3g [ Windows partition? ] is taking a long time to be mounted.
In verbose boot you may have a clue that this partition has not been cleanly unmounted and the system is doing a file integrity check or it is looking for the partition info and timing out after about a minute per partition if it doesn't find it.
benmc
 
Posts: 1214
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Sloooow boot

Postby dski » Jan 7th, '13, 22:13

I commented out the NTFS partitions in fstab and rebooted the computer, but that did not improve the boot time, still same very slow.
dski
 
Posts: 9
Joined: Jan 3rd, '13, 15:57
Location: UK

Re: Sloooow boot

Postby benmc » Jan 8th, '13, 04:48

Yes.
but did you go into verbose mode and see which calls are being made to various operations?

by updating the motherboard new subsystems have become available and there there may be timeouts as the system checks all original system calls as it boots, some of which are now obseleted due to the change in motherboard.

I have had a similar extended boot time [ 10s of minutes ] when connecting a second ide drive and was only able to confirm via verbose mode.
benmc
 
Posts: 1214
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Sloooow boot

Postby dski » Jan 8th, '13, 10:14

from /var/log/boot.log

Code: Select all
08/01/2013 08:03:06         Started OSS (Open Sound System) Proxy Daemon     [  OK  ]
08/01/2013 08:03:06         Started Console System Startup Logging     [  OK  ]
08/01/2013 08:03:06         Started Restore Sound Card State     [  OK  ]
08/01/2013 08:03:06         Starting Legacy USB proc File System...
08/01/2013 08:03:06         Started Legacy USB proc File System     [  OK  ]

<-- Boot appears to stall here, nothing displays on screen.

08/01/2013 08:03:06         >/[145G[  OK  >/[0;39m]
 ( >/ = greater equal sign formatting to forum messes up symbol display)
<-- This entry does not show on screen


<-- Boot continues here as normal and rest displays as normal on screen.

08/01/2013 08:03:06         Started Reconfigure the system on administrator request      [  OK  ]
08/01/2013 08:03:06         Starting LSB: Checks if a partition is close to full up...
08/01/2013 08:03:06         Starting LSB: Enable execution of denyhosts, an SSH log watcher...
08/01/2013 08:03:06         Starting CUPS Printing Service...
08/01/2013 08:03:06         Started CUPS Printing Service     [  OK  ]
dski
 
Posts: 9
Joined: Jan 3rd, '13, 15:57
Location: UK

Re: Sloooow boot

Postby benmc » Jan 8th, '13, 23:21

as the system appears to be attempting to find something from the old motherboard you will have re-install M2 [ which you have said you wont do ] or as you have stated wait for M3.

Sorry I couldn't be more help.
benmc
 
Posts: 1214
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Sloooow boot

Postby doktor5000 » Jan 8th, '13, 23:48

You could try to regenerate your initrd as described here: https://wiki.mageia.org/en/Mageia_2_Errata#Base_system
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: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest