Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th May 2007, 15:04
slybob slybob is offline
Junior Member
 
Join Date: May 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default building kernels the Debain way, SMP & kpkg

Hi,

Ive just started building my own kernels. I have a dual processor sun so would like to compile using both processors, does anyone know how I can adapt the command below to use both processors for the compile? Some info on what the command below is doing would be nice. why is there two cleans for instance? I got this "mantra" from dpkg on #debian

Thanks

Code:
make-kpkg clean && make-kpkg --initrd --append-to-version=.holway kernel_image modules_image clean && make-kpkg --initrd --append-to-version=.sly kernel_image modules_image

Last edited by slybob; 24th May 2007 at 15:10.
Reply With Quote
Sponsored Links
  #2  
Old 25th May 2007, 15:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Do you want to use both CPUs for the compile process, or is your uestion how to make an SMP kernel?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th May 2007, 18:29
slybob slybob is offline
Junior Member
 
Join Date: May 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I wanted to use both CPU's for the compile process. But I have since discovered

Code:
export CONCURRENCY_LEVEL="3"
where 3 is the number of cores +1

This command is entered before make or kpkg and seems to set the -j variable.

Perhaps someone can explain this better.

Cheers,

Andy
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 12:59


All times are GMT +2. The time now is 09:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.