LinuxQuestions.org
Visit Jeremy's Blog.
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 04-26-2004, 10:46 PM   #1
buddha joe
LQ Newbie
 
Registered: Apr 2004
Location: Richmond, VA
Distribution: SUSE 8.2 Pro
Posts: 14

Rep: Reputation: 0
Machine locks up hard when compiling software


Before I begin let me start with the default statement that I am a newbie.

Just recently installed suse 8.2 pro

I have a Tyan tiger (s2460) with 2 AMD MP 1800's and the latest BIOS revision installed (V1.05). 512MB of ram.

I have run into a problem where the machine will just lock up all together when I am compiling software. This does not happen all the time either. I just compiled apache2 and it compiled fine. I began compiling mysql and during the mysql compile the machine has locked up each time I have attempted it. I see no error messages in the terminal prior to this happening.

I am using gcc ver 3.3-23

kernel is 2.4.20

anyone have any ideas?

Last edited by buddha joe; 04-26-2004 at 10:47 PM.
 
Old 04-27-2004, 04:37 AM   #2
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Shot in the dark:How much free space you got in the directory where you compile things?Some apps need a lot of temp space during the compile.
 
Old 04-27-2004, 06:36 AM   #3
maenho
Member
 
Registered: Nov 2003
Location: Belgium
Posts: 81

Rep: Reputation: 15
maybe try downgrading the BIOS. I had something similar (crash halfway the boot process so nothing to do with compiling). Flashing the BIOS using the older version solved it.
 
Old 04-27-2004, 07:07 AM   #4
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
try a smp kernel, or if you are using one try a uni processor kernel
 
Old 04-27-2004, 08:30 AM   #5
buddha joe
LQ Newbie
 
Registered: Apr 2004
Location: Richmond, VA
Distribution: SUSE 8.2 Pro
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the responses,

Crashmeister said:

Quote:
Shot in the dark:How much free space you got in the directory where you compile things?Some apps need a lot of temp space during the compile.
I had not thought about a space issue, but I have plenty of free space


leckie said:

Quote:
try a smp kernel, or if you are using one try a uni processor kernel
I see what you are getting at. I am using an smp kernel, going back to a uni processor setup kind of defeats the point.

But your idea did get me looking at my kernel a bit closer. I got brave and checked the config. I noticed that along with all of the other various things this kernel is loading that the processor support is configuered for Intel Pentium chips. I changed that to K7. I had to use a live CD (gentoo minimal) to get the compile to happen as it kept locking up when I tried to compile the kernel. When I booted the system with the new kernel the mysql compile completed.

I still question if I handled the kernel compile properly. the only change I made was changng the processor family.

I followed the instructions for configuring the kernel (manually) from the gentoo handbook. I made sure that I loaded the config file that was in /boot. it seemed to work.


maenho said:

Quote:
maybe try downgrading the BIOS. I had something similar (crash halfway the boot process so nothing to do with compiling). Flashing the BIOS using the older version solved it.
That will be the next thing I try if I run into problems again. I already setup a floppy with the images

If anybody else has any other ideas I am still interested in hearing what you think.
 
Old 04-27-2004, 02:31 PM   #6
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 244

Rep: Reputation: 31
Also check for dust and crud on your cpu heatsinks/cooling fans. Overheating during a long compile can cause segfault.
 
Old 04-27-2004, 04:53 PM   #7
buddha joe
LQ Newbie
 
Registered: Apr 2004
Location: Richmond, VA
Distribution: SUSE 8.2 Pro
Posts: 14

Original Poster
Rep: Reputation: 0
camelrider said:

Quote:
Also check for dust and crud on your cpu heat-sinks/cooling fans. Overheating during a long compile can cause segfault.
That is another thing that may be problem . I don't think that I am moving enough air. I have 2 80mm exhaust fans and a 120mm intake.. but they are all pretty slow. I have been looking into different cooling options for the underfunded . I already have plans to open up the guards over the fans.. I know they are restricting airflow.

I have compiled a couple of other things since I messed with my Kernel and so far so good.

I'll definitely start working on my cooling issues.. thanks.
 
  


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
Suse 9.3 install locks up my machine Joe Phoebus Linux - Hardware 1 07-29-2005 03:33 PM
Machine randomly shuts off/locks up - how to track down? BrianK Linux - General 4 10-28-2004 03:53 PM
Machine locks up starting KDE session mjmuscato Linux - General 1 08-20-2003 08:49 PM
Machine locks up at 100% usage... vbp6us Linux - General 10 08-18-2003 01:24 PM
Yast2 Locks machine dbs Linux - Software 0 08-17-2002 04:34 PM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration