linux – 内核恐慌 – 创建自己的AMI(亚马逊机器映像)

linux – 内核恐慌 – 创建自己的AMI(亚马逊机器映像),第1张

概述我创建了自己的AMI并在Amazon EC2上注册了它.但是在AMI启动时我收到以下错误: Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(8,1) 图像在本地运行没有任何问题. fstab包含: proc /proc proc defaults 我创建了自己的AMI并在Amazon EC2上注册了它.但是在AMI启动时我收到以下错误:

Kernel panic – not syncing: VFS: Unable to mount root fs on unkNown-block(8,1)

图像在本地运行没有任何问题.

fstab包含:

proc          /proc   proc     defaults                      0 0/dev/sda1     /       ext3     relatime,errors=remount-ro    0 1

该图像是使用以下命令创建的

ec2-bundle-image -i image.raw -r i386 -c cert-xxx.pem -k pk-xxx.pem --user 123456

完整的AMI启动日志:

linux version 2.6.16-xenU (builder@xenbat.amazonsa) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #1 SMP Mon May 28 03:41:49 SAST 2007BIOS-provIDed physical RAM map: Xen: 0000000000000000 - 000000006a400000 (usable)980MB HIGHMEM available.727MB LOWMEM available.NX (Execute disable) protection: activeIRQ lockup detection DisabledBuilt 1 zoneListsKernel command line:  root=/dev/sda1 ro 4Enabling fast FPU save and restore... done.Enabling unmasked SIMD FPU exception support... done.Initializing cpu#0PID hash table entrIEs: 4096 (order: 12,65536 bytes)Xen reported: 2666.666 MHz processor.Dentry cache hash table entrIEs: 131072 (order: 7,524288 bytes)Inode-cache hash table entrIEs: 65536 (order: 6,262144 bytes)Software IO TLB Disabledvmalloc area: ee000000-f53fe000,maxmem 2d7fe000Memory: 1718700k/1748992k available (1958k kernel code,20948k reserved,620k data,144k init,1003528k highmem)Checking if this processor honours the WP bit even in supervisor mode... Ok.Calibrating delay using timer specific routine.. 5335.60 BogoMIPS (lpj=26678013)Mount-cache hash table entrIEs: 512cpu: L1 I cache: 32K,L1 D cache: 32Kcpu: L2 cache: 6144KChecking 'hlt' instruction... OK.brought up 1 cpusmigration_cost=0Grant table initializedNET: Registered protocol family 16brought up 1 cpusxen_mem: Initialising balloon driver.highmem bounce pool size: 64 pagesVFS: disk quotas dquot_6.5.1Dquot-cache hash table entrIEs: 1024 (order 0,4096 bytes)Initializing Cryptographic APIio scheduler noop registeredio scheduler anticipatory registered (default)io scheduler deadline registeredio scheduler cfq registeredi8042.c: No controller found.RAMdisK driver initialized: 16 RAM disks of 4096K size 1024 blocksizeXen virtual console successfully installed as tty1Event-channel device installed.netfront: Initialising virtual ethernet driver.mice: PS/2 mouse device common for all micemd: md driver 0.90.3 MAX_MD_DEVS=256,MD_SB_disKS=27md: bitmap version 4.39NET: Registered protocol family 2Registering block device major 8IP route cache hash table entrIEs: 65536 (order: 6,262144 bytes)TCP established hash table entrIEs: 262144 (order: 9,2097152 bytes)TCP bind hash table entrIEs: 65536 (order: 7,524288 bytes)TCP: Hash tables configured (established 262144 bind 65536)TCP reno registeredTCP bic registeredNET: Registered protocol family 1NET: Registered protocol family 17NET: Registered protocol family 15Using IPI No-Shortcut modemd: autodetecting RAID arrays.md: autorun ...md: ... autorun DONE.Kernel panic - not syncing: VFS: Unable to mount root fs on unkNown-block(8,1)
解决方法 尝试使用正确的AKI和ARI注册AMI. 总结

以上是内存溢出为你收集整理的linux – 内核恐慌 – 创建自己的AMI(亚马逊机器映像)全部内容,希望文章能够帮你解决linux – 内核恐慌 – 创建自己的AMI(亚马逊机器映像)所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1050059.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存