qphoney記

beta

AWSのKernel IDで刺身タンポポしたよ

ここ最近、AWSに作成したAMIが何故かt1.microで起動しないという問題と戦っていました。
嘘です。そんなに戦っていないです。

自分で作ったAMIはCentOS5.7(x86_64)。
何故かm1.largeだと起動するけどt1.microだと起動しない(Status Checkで止まる)。
ec2-get-console-outputの結果は

request module: runaway loop modprobe binfmt-464c
request module: runaway loop modprobe binfmt-464c
request module: runaway loop modprobe binfmt-464c
request module: runaway loop modprobe binfmt-464c
input: AT Translated set 2 keyboard as /class input/input0

こんなのが出たり出なかったり。
ぐぐる先生に聞いてみたら「64bitのkernelを32bitで起動しようとしてるかもよ?」的な内容のメッセージだとか。
kernel周りといえば、t1.microを起動する時のKernelIDはDefaultのまんまだったのを思い出して他のKernelIDで
起動してみる事にしました。

起動した

結果的にはKernelIDを指定する事でt1.microで起動したのですが、起動しないKernelIDもちらほら。
せっかくなので全KernelIDを調べてみました。

刺身タンポポ

microインスタンス起動成功KernelID 起動後のuname -aの出力結果
aki-000fa401 Linux ip-10-152-11-117 2.6.32-305-ec2 #9-Ubuntu SMP Thu Apr 15 08:05:38 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
aki-0c04af0d Linux ip-10-146-69-106 2.6.32-313-ec2 #26-Ubuntu SMP Fri Feb 11 22:34:31 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-1c4ee41d Linux ip-10-153-7-148 2.6.32-316-ec2 #31-Ubuntu SMP Wed May 18 14:10:36 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-260fa427 Linux ip-10-146-159-182 2.6.31-307-ec2 #17-Ubuntu SMP Thu Aug 19 00:42:16 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
aki-2e1db62f Linux ip-10-146-71-48 2.6.31-308-ec2 #28-Ubuntu SMP Tue Mar 1 01:54:54 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-327fc833 Linux ip-10-146-101-146 2.6.32-341-ec2 #42-Ubuntu SMP Tue Dec 6 14:56:13 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-3e0fa43f Linux ip-10-152-249-137 2.6.31-307-ec2 #15-Ubuntu SMP Thu May 27 02:59:48 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
aki-4845f149 Linux ip-10-152-10-206 2.6.32-319-ec2 #39-Ubuntu SMP Mon Oct 17 15:09:31 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-4e0fa44f Linux ip-10-146-73-202 2.6.32-312-ec2 #24-Ubuntu SMP Fri Jan 7 18:30:50 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-50b40051 Linux ip-10-146-159-240 2.6.32-318-ec2 #38-Ubuntu SMP Thu Sep 1 18:09:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-50e95f51 Linux ip-10-162-42-114 2.6.32-342-ec2 #43-Ubuntu SMP Wed Jan 4 18:22:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
aki-620fa463 Linux ip-10-146-85-207 2.6.31-302-ec2 #7-Ubuntu SMP Tue Oct 13 19:55:22 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
aki-72d36473 Linux ip-10-146-22-10 2.6.32-340-ec2 #40-Ubuntu SMP Wed Nov 16 14:36:38 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-860fa487 Linux ip-10-146-89-87 2.6.32-311-ec2 #23-Ubuntu SMP Thu Dec 2 11:14:35 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
aki-a80fa4a9 Linux ip-10-162-47-57 2.6.32-309-ec2 #18-Ubuntu SMP Mon Oct 18 21:00:50 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
aki-a874dea9 Linux ip-10-152-10-175 2.6.32-316-ec2 #31-Ubuntu SMP Wed May 18 14:10:36 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-aaf94fab Linux ip-10-152-11-5 2.6.32-341-ec2 #42-Ubuntu SMP Tue Dec 6 14:56:13 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-c20fa4c3 Linux ip-10-146-70-198 2.6.32-308-ec2 #16-Ubuntu SMP Thu Sep 16 15:25:39 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
aki-ccd065cd Linux ip-10-146-10-97 2.6.32-317-ec2 #36-Ubuntu SMP Fri Jul 8 18:12:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-da09a2db Linux ip-10-162-47-227 2.6.18-xenU-ec2-v1.0 #2 SMP Mon Feb 18 14:28:43 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux
aki-dc0fa4dd Linux ip-10-146-69-149 2.6.32-308-ec2 #15-Ubuntu SMP Thu Aug 19 04:03:34 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
aki-de09a2df Linux ip-10-146-27-79 2.6.18-xenU-ec2-v1.2 #2 SMP Wed Aug 19 12:57:15 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
aki-e209a2e3 Linux ip-10-150-189-130 2.6.18-xenU-ec2-v1.3 #1 SMP Wed Nov 11 23:11:08 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
aki-e609a2e7 Linux ip-10-162-46-219 2.6.18-xenU-ec2-v1.4 #1 SMP Wed Dec 2 05:20:19 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
aki-ea09a2eb Linux ip-10-150-182-243 2.6.18-xenU-ec2-v1.5 #1 SMP Tue Sep 21 21:13:44 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
aki-f8ef5af9 Linux ip-10-152-95-234 2.6.32-317-ec2 #36-Ubuntu SMP Fri Jul 8 18:12:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-fe10bbff Linux ip-10-146-69-251 2.6.32-314-ec2 #27-Ubuntu SMP Wed Mar 2 22:53:38 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
aki-fed763ff Linux ip-10-148-49-93 2.6.32-318-ec2 #38-Ubuntu SMP Thu Sep 1 18:09:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

いやー、無駄にがんばっちゃいました。