[04:04] <flaccid> i'm researching ec2 kernels and mods - what to use for debian particularly
[04:05] <flaccid> confused on what to use basically
[04:43] <flaccid> ubuntu lucid i386 linux image 2 6 32 302 ec2 v 2 6 32 302 6 kernel i think will work ok with squeeze
[05:26] <erichammond> flaccid: The supported Ubuntu kernel images (AKIs) would be the ones which are used by the active public Ubuntu AMIs.
[05:26] <erichammond> Anything else is potentially subject to removal, which could ruin your day.
[05:27] <flaccid> well in terms of debian however?
[05:28] <flaccid> squeeze seems to run well on the lucid aki but needs the linux modules (which i guess i could install from the lucid repos)
[05:32] <flaccid> erichammond what you think?
[05:32] <flaccid> http://thecloudmarket.com/image/ami-bb3a6bfe--debian-6-0-squeeze-server#/definition uses older fedora kernel/ramdisk images
[05:33] <erichammond> I abandoned support for Debian squeeze because of kernel incompatibilities.  I would avoid any Alestic squeeze AMIs.
[05:34] <flaccid> well i'm finally getting around to the debian support thing
[05:35] <flaccid> did lenny play nicely enough with the amazon kernels?
[05:35] <erichammond> I'd recommend building your AMIs from scratch so that you can reliably reproduce the process as time goes on.
[05:35] <flaccid> erichammond: yep thats what i'm doing now
[05:36] <flaccid> i have created a servertemplate
[05:37] <flaccid> erichammond: i've updated http://support.rightscale.com/12-Guides/RightLink/04-Creating_RightScale-enabled_Images_with_RightLink/RightLink_Installer_for_Ubuntu to work with lucid
[05:37] <flaccid> you can add that to your vmbuilder process which will give the latest rightlink v5 package
[05:38] <flaccid> so now i'm going back to cover debian
[05:45] <flaccid> wb
[05:46] <flaccid> i basically would like to know the link between the kernel and it loading kernel mods from /lib/modules on boot
[05:47] <flaccid> it appears to be a hardcoded relationship
[05:47] <flaccid> i'm trying to make the ami independent of the kernel used
[05:49] <erichammond1> The kernel modules must match the kernel version exactly.
[05:49] <erichammond> Whenever you run a different kernel, you must have those kernel modules available.
[05:50] <erichammond> Ubuntu was looking at downloading the kernel modules at run time or adding them to the ARI instead of the AMI.
[05:50] <erichammond> but I don't think that went anywhere.
[05:50] <flaccid> yeah its cool to have a switchable kernel but if the mods are not installed then no good
[05:50] <flaccid> so i guess the ami can only support 'a range of kernels'
[05:53] <erichammond> Yes, this is the general practice.
[05:53] <flaccid> so where would i get the kernel modules for http://thecloudmarket.com/image/aki-f70657b2.html?page=6 (aki-f70657b2) ?
[05:53] <flaccid> this is the default kernel to Debian Squeeze Alestic, root@
[05:53] <erichammond> Most often it is a single recommended kernel and new AMIs are released when new kernels come out.
[05:53] <erichammond> flaccid: What region?
[05:54] <flaccid> us-west atm
[05:54] <flaccid> i just want to bundle vol with the same kernel and ramdisk as you are and see how it boots
[05:54] <erichammond> If you have an AMI that uses that kernel, then the kernel modules should be installed on that AMI.
[05:54] <flaccid> erichammond: thats what i am trying to do
[05:56] <erichammond> No, I'm saying you could copy the kernel modules from the Alestic AMI.
[05:57] <flaccid> erichammond: where did they come from originally? i'm debootstrapping
[05:57] <erichammond> The Alestic Debian AMIs were built with ec2ubuntu-build-ami which would have pointers to the downloadable kernel modules.
[05:58] <flaccid> must of missed it in http://ec2ubuntu.googlecode.com/svn/trunk/bin/ec2ubuntu-build-ami
[05:58] <flaccid> http://alestic-downloads.s3.amazonaws.com/ec2-kernel-modules-2.6.21.7-2.fc8xen-ec2-x86_64-20090930.tar.gz
[06:08] <erichammond> looks right.
[06:08] <flaccid> doing a re-run now
[06:12] <erichammond> flaccid: The point, however, was that that old Amazon kernel will no longer work with squeeze.
[06:13] <flaccid> does it work with lenny?
[06:25] <flaccid> i'm also creating the bundle on /tmp/image-bundles/foo of the deboostrap root. does not seem like an ebs volume is required for s3 only building
[06:34] <flaccid> bundled created:
[06:34] <flaccid> Kernel image	Amazon vmlinuz 2.6.21 2.fc8xen ec2 v1.0.i386.aki
[06:34] <flaccid> Ramdisk image	Amazon initrd 2.6.21.7 2.fc8xen ec2 v1.0.1.i386.ari
[06:35] <flaccid> boot instance
[06:52] <flaccid> doesn't seem to like lenny
[08:06] <erichammond> flaccid: The old lenny AMI I built months ago still runs.  It's possible lenny upgrades no longer work with that old kernel.
[09:15] <flaccid> erichammond: i got squeeze going with an ubuntu lucid kernel
[17:46] <erichammond> flaccid: Congrats on getting squeeze to run.  The ec2debian Google group might be interested in your findings.
[19:08] <smoser> erichammond, "new 32-bit Karmic ebs server based on Alestic's ami-6743ae0e"
[19:08] <smoser> when will you stop taking credit for Ubuntu's work ;-)
[19:09] <erichammond> Where are you reading that?
[19:09] <smoser> i'm amazed at the namespace you've carved out (and i completely realize that you give Ubuntu credit and correct those statements)
[19:09] <smoser> ec2ubuntu mail
[19:10] <erichammond> It's amazed me, too.
[19:10] <erichammond> I did originally recommend that you put "canonical" in the bucket names to make the source clear to folks.
[19:11] <erichammond> oh, wait.  That AMI *is* one I published.
[19:12] <erichammond> I use the Ubuntu image built by Canonical, but then, pretty much every Linux image anybody publishes uses files created by somebody else.
[19:12] <erichammond> :)
[19:13] <erichammond> The key is that if I die and Amazon cancels my account, that AMI will disappear :-/
[19:15] <smoser> gah! it is, you're right.
[19:15] <smoser> your naming is the same as ours too :)
[19:15] <smoser> so i was confused.
[19:15] <erichammond> er, your naming is the same as min :)
[19:15] <erichammond> e
[19:16] <smoser> anyway
[19:16] <smoser> sorry
[19:16] <erichammond> but your original point is true with other examples.
[19:16] <smoser> thats what you get for doing a helluva good job
[19:16] <smoser> i'll respond to that thread with: "I would help you, but i have no idea what that crazy 'alestic.com' does with their images"
[19:16] <smoser> :)
[19:16] <erichammond> :)
[19:18] <erichammond> I think you already know this, but the Karmic EBS boot AMIs I published are exact file system image copies from your published Ubuntu images.
[19:19] <smoser> yeah i know
[19:24] <erichammond> smoser: Thanks for all the great support you've been providing to the ec2ubuntu group.  If you'd like to take over approving new posters and filtering spam, let me know :)
[23:54] <flaccid> erichammond: and smoser yeah guys still not very happy with kernels for debian* atm. still pondering on what to use that will work with at least lenny and squeeze without even the smallest issue