LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2012, 07:56 PM   #1
doughyi8u
Member
 
Registered: Apr 2010
Posts: 227

Rep: Reputation: 10
computer freezes when compiling kernel


I'm using an old Gateway to dual boot between FreeBSD and Debian. I had trouble compiling a kernel on FreeBSD so I used my other FreeBSD box to compile the kernel, then transferred the kernel to the problematic FreeBSD box. It works fine.

Next thing I wanted to do is set up a VPN using Linux. I configured a kernel and tried to compile it but the computer freezes the same way it did w/ FreeBSD. I poked around in CMOS but didn't see anything that would affect this.

Two questions:
1) is there any reason that anyone knows of why this desktop freezes?

2) Can I cross compile the Linux kernel on FreeBSD and move the kernel image over to the problematic desktop?

Thanks in advance
 
Old 01-05-2012, 01:50 AM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Jessie
Posts: 592

Rep: Reputation: 119Reputation: 119
Most times computer freezes/crashes during kernel build are caused by overheating problems, especially if it freezes/crashes a little while after starting the build.

If it's an old computer, make sure the cooling vents are clear and that the CPU heasink is cleaned and the fans are all working properly.

You may also throttle the CPU speed back during the build if FreeBSD allows that. Also try the -j1 make option to limit the number of concurrent make jobs.
 
Old 01-05-2012, 11:19 AM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,388

Rep: Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199
Try memtest for a few days.

As above heat.

Also set bios to slowest settings like failsafe or default.
 
Old 01-05-2012, 12:03 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
From my experience: Freezes are almost always related to a bad PSU or faulty voltage regulators on the board. Overheating may be an issue, but on modern processors there are security options enabled. At first they will reduce clockspeed and voltage when overheating, if that isn't enough they shut down the system. Normally they don't freeze. Cleaning the cooling system is always a good idea, of course, try it and have a look at the temperatures when compiling the kernel.
If overheating isn't the problem try it with a different PSU and look for bend capacitors on the board.

Last edited by TobiSGD; 01-05-2012 at 12:04 PM.
 
  


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
Computer freezes when I click on Configure your computer pburn Mandriva 1 07-28-2006 08:00 AM
computer won't boot up after compiling kernel 2.6.16 in Aurox 11.0 mac1234mac Linux - Software 2 04-10-2006 11:30 AM
Computer freezes a lot while compiling, if I have xscreensaver running, etc scawt Slackware 4 02-02-2005 10:32 PM
Problem: Promise SATA w/ 2.6.3 kernel freezes computer ShyGuy91284 Linux - Hardware 1 03-25-2004 04:19 PM
Updating to Kernel 2.6, poweroff freezes computer lunatic fringe Linux - Software 2 01-26-2004 06:25 AM


All times are GMT -5. The time now is 08:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration