0

I have some issues with finding the source code of Amazon EC2 compatible kernels. There is a tutorial in Amazon EC2 documentation of how to run instances with custom kernels, but those must be from the Amazon EC2 compatible kernels. It is hard to find sources for the Amazon EC2 kernels though, according to this conversation: https://groups.google.com/forum/#!topic/ec2debian/OKDnCZQikEc

The following post explains how to compile a kernel from source and register it to EC2, but this kernel must be an Amazon EC2 compatible kernel, and the provided links to download it are broken: http://alestic.com/2008/05/kernel-modules-2-6-21

I need to have the kernel from source in order to compile the OrangeFS kernel module.

So do you think that there is a place to find the source of an Amazon EC2 kernel?

Many thanks, Dimos

12
  • Why not build it as a module? Jul 3, 2013 at 20:15
  • To build the kernel as a module? How am I supposed to build it if I don't have its source?
    – Dimos
    Jul 3, 2013 at 20:37
  • You don't need the kernel's source, only its -devel package. Jul 3, 2013 at 20:39
  • I don't think you can build OrangeFS kernel module when having just the -devel package: orangefs.org/documentation/releases/current/doc/…
    – Dimos
    Jul 3, 2013 at 20:45
  • 1
    The articles you reference (and which I wrote) are obsolete. The standard today is to run an AKI that uses PV (paravirtualization). The end result is that the kernel in your AMI boot disk is the true kernel that is run on the instance. This means you can build and use your own kernel on EC2. You should use the latest kernel source provided by your distro (Ubuntu, Amazon Linux, CentOS, Debian, etc.). Note that there might be a special EC2 or cloud variation. Jul 3, 2013 at 21:03

1 Answer 1

1

Orangefs also available through the amazon marketplace https://aws.amazon.com/marketplace/seller-profile?id=f34f2eeb-dcc6-4e41-90e1-92fbd146db9f

it supports an automated deployment via cloud formation templates, easier than dealing with compiling the source.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .