LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-17-2010, 10:21 AM   #1
wb8nbs
LQ Newbie
 
Registered: Mar 2005
Location: Naperville, Illinois, USA
Posts: 12

Rep: Reputation: 0
slow boot 10.04


My system after installing Ubuntu 10.04 has an annoying 30 second pause during the boot process. It comes after BIOS checks and before the splash screen, the monitor is just black with a flashing cursor.

The system has two IDE drives (/boot and /home) and a SCSI drive (/). There is a SCSI MO drive on it's own controller. Partial lspci:

01:09.0 SCSI storage controller: Adaptec AIC-7892B U160/m (rev 02)
01:0a.0 SCSI storage controller: LSI Logic / Symbios Logic 53c810 (rev 23)

I attached a clip from bootchart and a boot log file. Could someone give me a clue?
Attached Thumbnails
Click image for larger version

Name:	junkbox-lucid-20101017-1.png
Views:	35
Size:	143.1 KB
ID:	4886  
Attached Files
File Type: log boot.log (39.9 KB, 11 views)
 
Old 10-17-2010, 01:26 PM   #2
spiderbatdad
Member
 
Registered: Nov 2009
Location: mote of dust suspended in a sunbeam
Distribution: Arch Linux / Ubuntu 10.10
Posts: 40

Rep: Reputation: 17
looks like the plymouth daemon is causing the delay. Try removing it.
 
Old 10-17-2010, 01:56 PM   #3
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Hi,
In case that does not work. Go to the /etc/default/grub and change the timeout value to 5 or 3 (this would be in seconds) and reboot. This will cause grub to boot the default os in the specified seconds.
Hope this helps.
 
Old 10-17-2010, 03:05 PM   #4
martinbc
Member
 
Registered: Jun 2010
Distribution: Ubuntu, played with Puppy Slitaz & OpenSUSE
Posts: 40

Rep: Reputation: 4
Hi
I've just looked at the bootchart for my laptop, the main difference between it and your chart is the section when udevd and modprobe are running in the early stages.
I'm new to these sort of problems but a few quick searches told me that udevd synchronizes the various processes involved in booting up a computer to make sure events happen in the correct order, and that modprobe installs loadable kernel modules for automatically detected hardware.
I suspect that you'll have to give details of your hardware so that people cleverer than me can help you.

Martin
 
Old 10-17-2010, 03:50 PM   #5
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Quote:
Originally Posted by spiderbatdad View Post
looks like the plymouth daemon is causing the delay. Try removing it.
The Plymouth daemon? Trying to remove it from Ubuntu 10.04 will remove half the system with it!

Here's what I suggest: Download the Ubuntu 10.10 ISO image, use usb-creator-gtk (System -> Administration -> Startup Disk Creator) to write the image to a USB flash drive, boot from the USB drive, and then install 10.10. You'd be glad how much faster your system will boot.
 
Old 10-17-2010, 10:15 PM   #6
wb8nbs
LQ Newbie
 
Registered: Mar 2005
Location: Naperville, Illinois, USA
Posts: 12

Original Poster
Rep: Reputation: 0
spiderbatdad:
Renamed /sbin/plymouthd to plymouthd.orig. no bootsplash, but still have 30 second delay. the /etc/init/plymouthd.conf says plymouth runs from initrd. How can I disable it there?

SilverBack:
Changed timeout to 3. No effect.

martinbc:
System is Athlon XP 2800 in Asus A7N8X-X motherboard.
Attached is the report from Ubuntu system test. It is gzipped (why can't I upload a .gz file directly?).

Kenny:
I was kinda hoping to stay with the Long Term release. It took me a month and a half to get the system to the condition is is in.
Attached Files
File Type: txt submission.xml.gz.txt (80.6 KB, 12 views)

Last edited by wb8nbs; 10-17-2010 at 10:20 PM. Reason: file didn't attach
 
Old 10-17-2010, 11:43 PM   #7
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by wb8nbs View Post
spiderbatdad:
Renamed /sbin/plymouthd to plymouthd.orig. no bootsplash, but still have 30 second delay. the /etc/init/plymouthd.conf says plymouth runs from initrd. How can I disable it there?

SilverBack:
Changed timeout to 3. No effect.

martinbc:
System is Athlon XP 2800 in Asus A7N8X-X motherboard.
Attached is the report from Ubuntu system test. It is gzipped (why can't I upload a .gz file directly?).

Kenny:
I was kinda hoping to stay with the Long Term release. It took me a month and a half to get the system to the condition is is in.
You are dealing with 2 things here. Plymouthd which is probably wise to leave alone and Plymouth. Plymouth is jsut a graphics generator that is easy to avoid. It depends on libplymouth2 which is where plymouthd comes from.

Plymouthd is your boot manager and is in charge of writing error logs and so forth about the boot process. It is not very good at that.

If you go to /etc/default/grub and remove the splash from the instruction string (ro quite splash) and then run update-grub you will have no more boot splash and you should boot somewhat faster.

Plymouth is a problem for a lot of folks. I can't really use 10.04 as it needs too many tweeks to get it to boot and then will not shut down.

You may want to try 10.10 which has better patched Plymouth if you are not worried about long term support.
 
1 members found this post helpful.
Old 10-18-2010, 12:51 PM   #8
wb8nbs
LQ Newbie
 
Registered: Mar 2005
Location: Naperville, Illinois, USA
Posts: 12

Original Poster
Rep: Reputation: 0
Commented out this line:
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
It boots a little bit faster about 1 minute total but still seems to be fussing with SCSI matters for an inordinate amount of time.

Dmesg attached
Attached Files
File Type: txt 1018boot.txt (40.0 KB, 33 views)
 
Old 10-18-2010, 01:11 PM   #9
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by wb8nbs View Post
Commented out this line:
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
It boots a little bit faster about 1 minute total but still seems to be fussing with SCSI matters for an inordinate amount of time.

Dmesg attached
That speed is actually pretty fair in my experience. There are a lot of folks who do a lot better but the results are pretty inconsistent among all hardware configurations.

I would not have commented out the entire line, just removed the "splash". If it works for you that is great.

If this is an old installation that has been upgraded you may want to consider saving your data and doing a clean install. This is particularly true if you are on ext3. If you are, a clean install, without splash, could get you to somewhere in the 25 to 45 second range.

There is a gain in all around speed and performance too that you will notice.
 
Old 10-18-2010, 01:54 PM   #10
wb8nbs
LQ Newbie
 
Registered: Mar 2005
Location: Naperville, Illinois, USA
Posts: 12

Original Poster
Rep: Reputation: 0
OK, I guess I will live with it.
This was a clean install, converting from SuSE 11.0.

Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow boot SavoTU Slackware 9 03-14-2010 03:02 PM
slow to boot, slow dns resolution after host name change FC5 edavis6678 Linux - Newbie 3 01-03-2007 06:26 PM
windows boot slow on dual boot machine fobster Linux - Newbie 4 04-21-2006 07:58 AM
slow boot up ust Linux - Software 2 08-17-2005 11:54 AM
slow boot up johnboy1967 Mandriva 1 05-27-2005 10:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration