[ale] Use cloud guest to compile kernel

Jim Lynch ale_nospam at fayettedigital.com
Sun Sep 25 06:59:51 EDT 2016


I've had situations where make failed with -j due to I guess race 
conditions.  I use -j which does 99% of the work and run it once again 
without the -j to pickup the stuff that didn't quite finish if the run 
with -j shows errors.  That works most of the time.

Jim.

On 09/23/2016 04:34 PM, Jim Kinney wrote:
>
> On Sep 23, 2016 3:55 PM, "Raj Wurttemberg" <rajaw at c64.us 
> <mailto:rajaw at c64.us>> wrote:
> >
> > Why not just cross-compile (-march=i586)  on your local system and 
> then upload the finished product? Make sure to use the “-j” switch 
> also to keep all of the CPUs busy.
>
> +1. Keep your local machine busy. The universe hates an unused, cool core.
> >
> >
> >
> > /Raj
> >
> >
> >
> >
> >
> > From: ale-bounces at ale.org <mailto:ale-bounces at ale.org> 
> [mailto:ale-bounces at ale.org <mailto:ale-bounces at ale.org>] On Behalf Of 
> Chris Fowler
> > Sent: Friday, September 23, 2016 2:42 PM
> > To: ale at ale.org <mailto:ale at ale.org>
> > Subject: [ale] Use cloud guest to compile kernel
> >
> >
> >
> > Is this a bad idea?
> >
> >
> >
> > I need to compile a 4.7.2 kernel for i586.  The kernel config is 
> copied from debian jessie with CONFIG_M586TSC=y.
> >
> >
> >
> > I don't have 2 days to wait.
> >
> >
> >
> > 1.  Spin up a CentOS 6.X 32 bit guest at Digital Ocean with 8 cores 
> and 16GB of ram.  This is $0.25/ht
> >
> > 2. Transfer linux-4.7.2.tar.xz and the config to it.
> >
> > 3.  Unpack, copy the config to .config, make, create package, and 
> transfer back to the i586 hardware.
> >
> > 4.  Delete the guest. I only pay for the usage.
> >
> >
> >
> > I'm doing this on a Digital Ocean guest of lowest power. Only 
> 0.007/hr.  It is still taking a long time.
> >
> > I need to build the same kernel, but for i586, i686, and x86_64.  I 
> have the configs ready to go.  I'm also perfecting my packaging too so 
> I may have to build a few times.
> >
> >
> >
> > I making assumptions based on my assumption that I can use 8 cores 
> at 100% each for a couple hours.  With Azure I can pay for a quarter 
> core for testing under Winders.
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org <mailto:Ale at ale.org>
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
> >
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20160925/54efea81/attachment.html>


More information about the Ale mailing list