really slow bootup

Asked by redraider0807

I recently installed Feisty and windows xp boots up real quick, but when I boot up Ubuntu it takes forever. I searched around and found that alot of people were having problems with the network card and just needed to edit /etc/network/interfaces but that didn't work for me. After even more searching i found bootchart and gave that a try to see where the hang up was. Looking at it it takes about 145 seconds to boot up with 115 of those scsi eh 1 and modprobe. I'm assuming its a scsi drive but i'm not sure. I don't have a scsi drive in my computer and after looking around I haven't found anyone that has the same problem. Here's a picture of my boot chart http://www.flickr.com/photo_zoom.gne?id=486234653&size=l hopefully I can get this workin out, I'm fairly new to linux and while it can be a pain in the ass to get workin sometimes (ati drivers and compiz don't work well together at all) its provided a nice distraction while studyin for finals. Thanks for the help

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
redraider0807
Solved:
Last query:
Last reply:
Revision history for this message
Christoph Langner (chrissss) said :
#1

Don't convert those pictures to jpg, it's not possible to read the image ;) How are you connected to the internet? I think your computer tries to get the current time via ntp, but the connection times out. This is why you have to wait for such a long time.

Revision history for this message
redraider0807 (redraider0807) said :
#2

Ha ha...sorry about that picture, I didn't realize that flickr converted it
and i can't send it right now as I'm at work. But i connect to the internet
through ethernet provided by my apartment. Its connected to the apartment's
connection through a router.

Revision history for this message
redraider0807 (redraider0807) said :
#3

how do I change that to keep it gettin the time via ntp? and where can i post to where it doesn't change the image?

Revision history for this message
TraceyLedbetter (concept10) said :
#4

To disable NTP (or anything else) from the boot:

Download and install the sysv-rc-conf (sudo apt-get install sysv-rc-conf)

Scroll down and look for ntpdate. Remove the X for run level 2 (the default run-level)

Now, don't start getting happy removing stuff from the boot unless you know the purpose of the application.

in this case, you do. You can always do your research and find out what the program or script does.

Good luck

Revision history for this message
Christoph Langner (chrissss) said :
#5

Hm, so access to the internet should be possible from the start. Because of that i don't think it's a problem related to ntp. But you can try. Instead of using a gui, you might use this command

# sudo update-rc.d -f ntpdate remove

to remove ntpdate. And to add ntpdate again to your runlevels execute

# sudo update-rc.d ntpdate defaults

CU, Christoph

Revision history for this message
redraider0807 (redraider0807) said :
#6

Langner I tried what you said and nothing happened. I did find when booting up i get this message "ata2: failed to recover some devices, retrying in 5 secs" it does that about five times and then moves on...thats what takes forever. Anyone else having this problem???

Revision history for this message
Best redraider0807 (redraider0807) said :
#7

I found out what it was, something with my CD-R and the kernel had to add to arguments for boot up irqpoll and now boots up in 35 seconds. Thanks for the help though. I'm having another problem now but i'll start a new post for that.