On Fri, Nov 23, 2012 at 02:43:47PM +0100, Peter Senna Tschudin wrote:
> On Fri, Nov 23, 2012 at 3:48 AM, Greg KH <[email protected]> wrote:
> > On Thu, Nov 22, 2012 at 10:01:02AM +0100, Peter Senna Tschudin wrote:
> >> I've write this scripts because I want to test both the build and the
> >> boot of -rc stable Kernels. I would like some feedback on the
> >> directions I'm going.
> >>
> >> My goal is to use cloud infrastructure like Amazon EC2 or Google
> >> Compute Engine, to build and boot stable -rc Kernels.
> >
> > EC2 makes it pretty hard to boot your own kernels, right? Does Google
> > make it any easier?
> I found a simple way of creating instances for testing Kernels at EC2.
You did? Any pointers to it? I would love to be able to do this as
part of my daily stable test builds that I do today on EC2.
> Google is on trial mode and I was not invited to test it yet. :-)
Heh, fair enough :)
> > Have you looked at the ktest program in the kernel tree? It is quite
> > useful for building and testing kernels, I use it on EC2 to build the
> > stable kernel trees.
> I'll look at it, thank you.
For example, here is my usage of ktest to take the stable kernel tree,
apply the patches on my system (which can include those not already
checked in, as I want to test them), and build a 'make allmodconfig'
system on a remote server, EC2 is suspported:
https://github.com/gregkh/gregkh-linux/blob/master/scripts/test_stable
If you want to take that, and add a option to use the built kernel to
then boot up a specific instance running that kernel (perhaps a
different vm image, as a boot system doesn't have to be as "big" as a
build system", that would be very helpful in my daily "smoketest" work.
> P.S. How do you build in near one minute at EC2? I'm using the
> cc2.8xlarge type (60GB,2 x Intel Xeon E5-2670, eight-core "Sandy
> Bridge" architecture), building on tmpfs it is taking about 5 minutes
> for me...
Hm, no, I _wish_ I could build in one minute on an EC2 image, right now
it's about 5 minutes, as you have found. I too put everything into a
tmpfs to get the speed up (EC2 disk speeds suck), and I'm also using a
cc2.8xlarge type, as that's the fastest one I could find.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html