Fedora Linux Support Community & Resources Center
  #1  
Old 9th September 2011, 05:15 PM
dedman Offline
Registered User
 
Join Date: Sep 2011
Location: New Delhi, India
Posts: 16
linuxfirefox
Too Long Boot Time [15]

Hi.
Im a novice and migrated from ubuntu to fedora a few days back and now lovin fedora.
Also, recently i installed a few packages that were mainly programming libraries.

Earlier my boot time was well under 40 seconds. However now it has strangely risen to above 2.5 minutes.

Can someone please help me figure out , what has gone wrong.

I have uploaded the bootchart image : http://img705.imageshack.us/img705/5686/bootchartj.png

Also the the file BOOT.LOG is attached.

The Output from dmesg also has been attached.

Please forgive me for my lack of knowledge on this.
Attached Files
File Type: log boot.log (6.4 KB, 121 views)
File Type: txt dmesg.txt (65.8 KB, 144 views)
Reply With Quote
  #2  
Old 9th September 2011, 10:08 PM
dedman Offline
Registered User
 
Join Date: Sep 2011
Location: New Delhi, India
Posts: 16
linuxopera
Re: Too Long Boot Time [15]

a gentle bounce!
__________________
Fedora 15 is really a LoveLock :)
Reply With Quote
  #3  
Old 10th September 2011, 12:36 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,864
linuxfirefox
Re: Too Long Boot Time [15]

For some reason I can't view the boot chart graphic on my laptop. I looked at boot.log and dmesg.txt. There's probably some hints there for those more experienced than I, although looking at dmesg.txt the system may be hanging here
Quote:
[ 27.864012] ppdev: user-space parallel port driver
[ 160.566133] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
here
Quote:
[ 168.951529] bootchart-collector pid: 1340 unmounted proc / clean exit
[ 301.548960] fuse init (API version 7.16)
or here
Quote:
[ 301.600624] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[ 818.597428] usb 2-1.3: new high speed USB device number 3 using ehci_hcd
Or it could be hanging at all three points. My first suggestion would be to boot using text mode. Do that by editing /boot/grub/grub.conf and removing the "rhgb quiet" and replacing it with a space and "vga=788", minus the quotes. The system will still boot to the GUI but you will be able to see all the text flying by and will be able to see where it is hanging. Might be helpful.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #4  
Old 11th September 2011, 12:46 PM
weitjong Offline
Registered User
 
Join Date: Oct 2006
Location: Singapore, 新加坡
Posts: 948
linuxfirefox
Re: Too Long Boot Time [15]

Could you post the output from this command.
Code:
$ systemd-analyze blame
It show you which service(s) should take the blame of your long boot time.
__________________
YaoWT - Leave no window unbroken ♪ (^。^) 

Last edited by weitjong; 11th September 2011 at 01:00 PM.
Reply With Quote
  #5  
Old 11th September 2011, 12:54 PM
cneil Offline
Registered User
 
Join Date: Oct 2010
Location: Cambridgeshire UK
Posts: 31
linuxfirefox
Re: Too Long Boot Time [15]

Quote:
Originally Posted by dedman View Post
Hi.
Im a novice and migrated from ubuntu to fedora a few days back and now lovin fedora.
Also, recently i installed a few packages that were mainly programming libraries.

Earlier my boot time was well under 40 seconds. However now it has strangely risen to above 2.5 minutes.

Can someone please help me figure out , what has gone wrong.

I have uploaded the bootchart image : http://img705.imageshack.us/img705/5686/bootchartj.png

Also the the file BOOT.LOG is attached.

The Output from dmesg also has been attached.

Please forgive me for my lack of knowledge on this.
In a terminal type in 'top' and look at the result. It will tell you what is running and what is not.
__________________
Neil
Linux counter 335851
Reply With Quote
  #6  
Old 11th September 2011, 09:10 PM
dedman Offline
Registered User
 
Join Date: Sep 2011
Location: New Delhi, India
Posts: 16
linuxopera
Re: Too Long Boot Time [15]

Thanks a lot for looking into my problem.

I have looked in to the systemd-analyze blame command's output.

It seems SENDMAIL.SERVICE is taking too long.

Here is the output :
Code:
121005ms sendmail.service
  5328ms udev-settle.service
  5127ms systemd-vconsole-setup.service
  4094ms fedora-readonly.service
  3375ms bootchart.service
  3301ms remount-rootfs.service
  2815ms media.mount
  2752ms systemd-remount-api-vfs.service
  2737ms cups.service
  2462ms udev.service
  2061ms fedora-sysinit-hack.service
  1594ms systemd-sysctl.service
  1593ms hwclock-load.service
  1231ms udev-trigger.service
   865ms bluetooth.service
   862ms rsyslog.service
   817ms avahi-daemon.service
   773ms abrtd.service
   678ms NetworkManager.service
   492ms fedora-storage-init.service
   422ms fedora-sysinit-unhack.service
   387ms lvm2-monitor.service
   376ms console-kit-log-system-start.service
   323ms systemd-tmpfiles-setup.service
   304ms dbus.service
   289ms livesys.service
   259ms irqbalance.service
   241ms mcelog.service
   236ms fedora-storage-init-late.service
   235ms ip6tables.service
   226ms iptables.service
   221ms cpuspeed.service
   181ms mdmonitor.service
   179ms auditd.service
   172ms netfs.service
   171ms systemd-readahead-collect.service
   171ms iscsi.service
   167ms lldpad.service
   159ms abrt-ccpp.service
   155ms iscsid.service
   135ms portreserve.service
   132ms sandbox.service
   131ms systemd-readahead-replay.service
   127ms console-kit-daemon.service
   118ms abrt-oops.service
   105ms fedora-wait-storage.service
    88ms smolt.service
    84ms rc-local.service
    82ms fedora-autoswap.service
    43ms rtkit-daemon.service
    39ms livesys-late.service
    30ms accounts-daemon.service
    19ms systemd-user-sessions.service
__________________
Fedora 15 is really a LoveLock :)
Reply With Quote
  #7  
Old 11th September 2011, 09:16 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,895
linuxfedorafirefox
Re: Too Long Boot Time [15]

Sendmail doesn't stop. It just starts and continues.

Most workstations don't need sendmail, though it is useful to receive local messages from cron.

One of the issues with sendmail is that it needs the TCP service to be funtctional, and if the network is not, then it runs into difficulty looking up names and identifying itself. This can cause a long delay in certain startup modes.
Reply With Quote
  #8  
Old 11th September 2011, 09:28 PM
dedman Offline
Registered User
 
Join Date: Sep 2011
Location: New Delhi, India
Posts: 16
linuxopera
Re: Too Long Boot Time [15]

Also, i tried booting the older version of the kernel, but no improvement in boot time. However i got this at the screen.

Started SYSV : Late init script for Live Image

http://img9.imageshack.us/img9/3016/dsc00014yf.jpg

---------- Post added at 12:58 AM ---------- Previous post was at 12:56 AM ----------

Quote:
Originally Posted by jpollard View Post
Sendmail doesn't stop. It just starts and continues.

Most workstations don't need sendmail, though it is useful to receive local messages from cron.

One of the issues with sendmail is that it needs the TCP service to be funtctional, and if the network is not, then it runs into difficulty looking up names and identifying itself. This can cause a long delay in certain startup modes.
I do not have a working internet connection during boot, since i connect using a USB Modem. Could it cause the issue, you are talking about ??
What do you suggest in such a case ?
__________________
Fedora 15 is really a LoveLock :)
Reply With Quote
  #9  
Old 11th September 2011, 09:30 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,895
linuxfedorafirefox
Re: Too Long Boot Time [15]

You can try disabling the service.

Since sendmail will try to resolve it's own name, what you CAN do is put the local host name in /etc/hosts as 127.0.0.1. This can sometimes resolve DNS timeout issues.
Reply With Quote
  #10  
Old 11th September 2011, 09:36 PM
dedman Offline
Registered User
 
Join Date: Sep 2011
Location: New Delhi, India
Posts: 16
linuxopera
Re: Too Long Boot Time [15]

Quote:
Originally Posted by jpollard View Post
You can try disabling the service.

Since sendmail will try to resolve it's own name, what you CAN do is put the local host name in /etc/hosts as 127.0.0.1. This can sometimes resolve DNS timeout issues.
Well, this is how the file looks like. The 127.0.0.1 has already been added twice.

Here is the screenshot : http://img18.imageshack.us/img18/8560/etcn.png

Is the ::1 line causing the problem, or adding the address 127.0.0.1 twice ??
__________________
Fedora 15 is really a LoveLock :)
Reply With Quote
  #11  
Old 11th September 2011, 10:15 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,895
linuxfedorafirefox
Re: Too Long Boot Time [15]

Neither should be causing a problem.

I suspect the problem is elsewhere, but due to the parallel problem of systemd, it will be hard to find.

You can try disabling each active service until you find the one that unlocks things.
Reply With Quote
  #12  
Old 12th September 2011, 05:27 AM
weitjong Offline
Registered User
 
Join Date: Oct 2006
Location: Singapore, 新加坡
Posts: 948
linuxfirefox
Re: Too Long Boot Time [15]

I had the exactly the same problem with the sendmail service a few weeks ago. Look at the sendmail log file in the "/var/log/maillog". For my case back then, I was seeing some time out entries due to the sendmail service not able to reach my host machine by its hostname. If that is also your problem then the fix is easy. Just add your hostname to the end of localhost entries in "/etc/hosts" file.

For example, this is what I have. Replace "igloo" with your own hostname.
Code:
[root@igloo etc]# grep igloo hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 igloo
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 igloo
__________________
YaoWT - Leave no window unbroken ♪ (^。^) 
Reply With Quote
  #13  
Old 19th September 2011, 10:16 PM
dedman Offline
Registered User
 
Join Date: Sep 2011
Location: New Delhi, India
Posts: 16
linuxopera
Smile Re: Too Long Boot Time [15]

Quote:
Originally Posted by jpollard View Post
Neither should be causing a problem.

I suspect the problem is elsewhere, but due to the parallel problem of systemd, it will be hard to find.

You can try disabling each active service until you find the one that unlocks things.
Quote:
Originally Posted by weitjong View Post
I had the exactly the same problem with the sendmail service a few weeks ago. Look at the sendmail log file in the "/var/log/maillog". For my case back then, I was seeing some time out entries due to the sendmail service not able to reach my host machine by its hostname. If that is also your problem then the fix is easy. Just add your hostname to the end of localhost entries in "/etc/hosts" file.

For example, this is what I have. Replace "igloo" with your own hostname.
Code:
[root@igloo etc]# grep igloo hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 igloo
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6 igloo
Thanks a lot for the help. I checked out the file. and added the hostname. I also removed 127.0.0.1 that was added redundantly by my XAMPP installation. This did the trick. Thanks guys for the help.
__________________
Fedora 15 is really a LoveLock :)
Reply With Quote
  #14  
Old 8th December 2011, 09:16 AM
maeniel Offline
Registered User
 
Join Date: Jun 2011
Posts: 31
linuxfirefox
Re: Too Long Boot Time [15]

Thanks for this, solved my issue as well.
Reply With Quote
  #15  
Old 9th December 2011, 02:59 AM
Mariusz W Offline
Registered User
 
Join Date: Nov 2007
Location: Berkeley, California
Posts: 690
macosmidori
Re: Too Long Boot Time [15]

In my case sendmail.service takes 7.5 longer to initialize (61 seconds) than the next slowest service, udev-settle.service, which takes 8 seconds.

The list of services is long: on my default Fedora 16 installation exactly 54 are initialized at boot time. If to add up all the initialization times according to systemd-analyze blame, then one gets 156 seconds.

The actual boot time however is significatly faster, around 20-25 seconds.
Reply With Quote
Reply

Tags
boot, fedora 15, time

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC 13 has long boot time, Boot Messages Posted teknodude Using Fedora 3 26th August 2010 04:34 AM
long boot time joseph-54 Using Fedora 5 6th February 2009 10:42 AM
FC4 Boot Time - Very Long nd81 Using Fedora 11 29th July 2005 11:56 PM
take long time to boot freshmeat Installation, Upgrades and Live Media 6 15th May 2005 09:10 PM
Long boot up time vbmark Using Fedora 8 23rd April 2004 01:16 PM


Current GMT-time: 19:57 (Wednesday, 17-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Aeroporto Intacional De Belem D Para - Kim Long, Hue - Cafe del Mar - Savannah River - Weserpromenade Instagram Photos