LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-12-2009, 06:44 AM   #1
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218
Blog Entries: 7

Rep: Reputation: 32
How long will this kernel take to compile?


hi all,
im updating my kernel on my aao from 2.6.24 or2.6.25 to 2.6.29.4 so i can use my wifi card.
and i started make 1.75 maybe 2.25 hours ago how long till it should be compiles days hours week minutes what???
 
Old 07-12-2009, 06:48 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
It depends on your system specs and the options you are compiling in.
 
Old 07-12-2009, 10:57 AM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
As XavierP says, the length of time the kernel compile takes will depend on the options you selected in the config, and the specification of the machine. It shouldn't take days or weeks unless you are using a very old machine (or loading your system).

A few hours isn't unreasonable if you have selected a lot of options, or have an older system.

There are a number of things that can cause even a new machine to go slowly: a lack of available memory springs to mind, as does running other processor-intensive tasks alongside the compile. You can try running "top" in a new terminal while the compile is running and see the available memory and the amount of swap space available, as well as the processes consuming the most CPU.

The worst case scenario is that the compile freezes, which will be indicated by the output on the screen staying the same for a very long time (ten minutes or more). In this case, you can kill the compile with ctrl+c (usually) and then re-run the last "make" command and it will continue where it left off.
 
Old 07-12-2009, 03:23 PM   #4
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Also since you are interested in record keeping the time it took to compile, you can record the time it took for your kernel to compile by using time command. You can see an example here.

Last edited by kushalkoolwal; 07-13-2009 at 01:46 PM.
 
Old 07-13-2009, 12:58 PM   #5
theacerguy
Member
 
Registered: Jan 2009
Location: on my pc!
Distribution: openSUSE 11.2 opensolaris 2009.06
Posts: 218

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Quote:
Originally Posted by kushalkoolwal View Post
Also since you are interesting in record keeping the time it took to compile, you can record the time it took for our kernel to compile by using time command. You can see an example here.
well its compiled now and it rocks like hell
but that is actually quite useful for things thanks i will look
 
  


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
How long does gcc take to compile? matazar42 Linux - Software 2 06-22-2006 01:07 AM
How long does it take to compile the kernel on a slow machine? Shagrath239 Slackware 10 02-14-2005 11:11 PM
Can 't compile because long string is involved Linh Programming 3 06-11-2003 05:52 PM
How long should it take to compile gcc? frankietomatoes Linux - General 2 05-08-2003 02:21 PM
How long does the mozilla compile? neo77777 General 11 07-04-2002 12:25 AM

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

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