LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2006, 09:49 AM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Rep: Reputation: 31
Really wierd computer slow boot at random


If I boot the computer it boots really really slow. I timed it. 40 minutes to completely boot FC4. When booted I run top. Top takes about 10-20% CPU to run. (which explains why everything is slow.)

If I boot with Knoppix off CD I get a screen saying knoppix tried to select an invalid video mode. So I select 80x50 characters. Then reset the computer and pull out the cd. (Before Knoppix even starts booting)

Then FC4 boots in about 1-2 minutes. Top takes about 0.3 %CPU. If I reboot FC4 I'm right back to the same problem as above till I boot with Knoppix.

I tried replacing the video card and it doesn't fix the problem. I've been endlessly changing settings in the CMOS to try to fix it. Nothing is working. The dmesg show nothing different between the two boots. nothing is different in the message log files. (I did diff on the output of both)

Any ideas where I should look for this problem? I'm assuming FC4 is making something stick. Which Knoppix corrects. Any ideas?


Thanks,
Michael
 
Old 03-18-2006, 06:25 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
First of all when it takes 40 minutes to boot, you probably have problem with a particular service (and NOT a hardware resource). For example the nfs shares do take up a lot of time to boot if you have not configured it properly.
If you know how - follow the following steps
1)Boot into single user mode
2)remove the services that may be creating trouble
3)reboot and reconfigure the services.
 
Old 03-18-2006, 04:25 PM   #3
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Original Poster
Rep: Reputation: 31
The NFS could be part of it. But it doesn't explain the 5 minutes to bring up the udev or the 5-10 minutes on the initializing hardware (storage, network, audio, etc) All before it even mounts the hard drive.

Unless there is a service which loads at the same time as the FC4 kernel. (before it boots)

Michael
 
Old 03-18-2006, 05:21 PM   #4
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Original Poster
Rep: Reputation: 31
fixed it. I added mem=500M to the grub.conf. Not the system takes about 1-2 minutes to boot every time.

Can anyone tell me what this parameter does or why this fixes my problem?

Michael
 
Old 03-19-2006, 01:30 AM   #5
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
it tells the kernel that the memory(RAM) in your computer is 500MB.
read the kernel docs.
Robin
 
Old 03-19-2006, 03:46 AM   #6
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Seemingly, because of some strange hardware problem or otherwise, the kernel failed to probe/find the exact amount of RAM your machine has. And so, it probably was working with very little RAM and that explains the 40 minutes boot !!

Passing the parameter mem=500M told the kernel that the amount of RAM you have is 500M and that resulted ....... !

Although, I do not know the reason why the kernel fails to find out the amount of RAM, I have come across forums with threads similar to this one.

Well done !! You figured it out (perhaps accidentally ? ;-) ) yourself and in such a short time.
 
  


Reply



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
Network Slow, giving random 404s, etc in AOL:Ubuntu-Hoary bengoodger Linux - Networking 0 05-31-2005 05:26 PM
intel 536EP random connection speed to ISP (<10% 45333 bps, mostly often slow 33000) Emmanuel_uk Linux - Newbie 10 05-16-2005 01:14 AM
computer is slow blackman890 Mandriva 6 12-04-2004 09:14 AM
random computer freezing silvercat Linux - General 17 09-20-2004 12:58 AM
Why is my computer so SLOW? Kairelyn Linux - Newbie 7 09-17-2004 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 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