6 Replies Latest reply: Jun 19, 2012 5:45 PM by msavy RSS

64bit Fedora 15 images fail to boot on EC2

Derek Palma Newbie

I am trying to generate a 64bit Fedora 15 image for EC2 containing boxgrinder so I can generate EBS  images there.

I have not been successul in booting any of the 64bit Fedora 15 images I have created. I have been able to successully create 32bit images and 32bit and 64bit CentOS images. Since I am using very basic manifests, I am thinking my problem lies in the VM I am running boxgrinder on. I installed Fedora 15 x64 using the default DVD installation.

 

The symptoms are these:

1) EC2 fails the status check

2) Many failure messages in log indicating OS did not boot or crashed

3) Cannot connect to any common port I would expect to be a listener on such as 22/ssh.

 

Here are the specific versions of boxgrinder I am running:

 

rubygem-boxgrinder-core-0.3.11-1.fc15.noarch

rubygem-boxgrinder-build-0.10.1-1.fc15.noarch

 

Here is the manifest I use for the 64bit Fedora 15 appliance I am trying to create:

 

name: Fedora-15

summary: Fedora 15

os:

  name: fedora

  version: 15

hardware:

  partitions:

    "/":

      size: 3

packages:

  - @base

  - @core

  - yum

  - openssh-server

  - openssh-clients

  - system-config-firewall-base

  - sudo

 

And here is an even simpler one that also fails:

 

name: f15-basic

summary: Just Enough Operating System based on Fedora 15

os:

  name: fedora

  version: 15

hardware:

  partitions:

    "/":

      size: 3

packages:

  - @core

 

Here is the boot log:

 

 

 

    Xen Minimal OS!

  start_info: 0xce2000(VA)

    nr_pages: 0x6a400

  shared_inf: 0xdfa16000(MA)

     pt_base: 0xce5000(VA)

nr_pt_frames: 0xb

    mfn_list: 0x990000(VA)

   mod_start: 0x0(VA)

     mod_len: 0

       flags: 0x0

    cmd_line: root=/dev/sda1 ro 4

  stack:      0x94f860-0x96f860

MM: Init

      _text: 0x0(VA)

     _etext: 0x5ff6d(VA)

   _erodata: 0x78000(VA)

     _edata: 0x80b00(VA)

stack start: 0x94f860(VA)

       _end: 0x98fe68(VA)

  start_pfn: cf3

    max_pfn: 6a400

Mapping memory range 0x1000000 - 0x6a400000

setting 0x0-0x78000 readonly

skipped 0x1000

MM: Initialise page allocator for 103e000(103e000)-6a400000(6a400000)

MM: done

Demand map pfns at 6a401000-206a401000.

Heap resides at 206a402000-406a402000.

Initialising timer interface

Initialising console ... done.

gnttab_table mapped at 0x6a401000.

Initialising scheduler

Thread "Idle": pointer: 0x206a402010, stack: 0x13b0000

Initialising xenbus

Thread "xenstore": pointer: 0x206a4027c0, stack: 0x13c0000

Dummy main: start_info=0x96f960

Thread "main": pointer: 0x206a402f70, stack: 0x13d0000

"main" "root=/dev/sda1" "ro" "4"

vbd 2049 is hd0

******************* BLKFRONT for device/vbd/2049 **********

 

 

backend at /local/domain/0/backend/vbd/1852/2049

Failed to read /local/domain/0/backend/vbd/1852/2049/feature-barrier.

Failed to read /local/domain/0/backend/vbd/1852/2049/feature-flush-cache.

20971520 sectors of 512 bytes

**************************

vbd 2050 is hd1

******************* BLKFRONT for device/vbd/2050 **********

 

 

backend at /local/domain/0/backend/vbd/1852/2050

Failed to read /local/domain/0/backend/vbd/1852/2050/feature-barrier.

Failed to read /local/domain/0/backend/vbd/1852/2050/feature-flush-cache.

312705024 sectors of 512 bytes

**************************

vbd 2051 is hd2

******************* BLKFRONT for device/vbd/2051 **********

 

 

backend at /local/domain/0/backend/vbd/1852/2051

Failed to read /local/domain/0/backend/vbd/1852/2051/feature-barrier.

Failed to read /local/domain/0/backend/vbd/1852/2051/feature-flush-cache.

1835008 sectors of 512 bytes

**************************

 

    [H

    [J

 

    GNU GRUB  version 0.97  (1740800K lower / 0K upper memory)

 

 

 

 

    [m

    [4;2H+-------------------------------------------------------------------------+

    [5;2H|

    [5;76H|

    [6;2H|

    [6;76H|

    [7;2H|

    [7;76H|

    [8;2H|

    [8;76H|

    [9;2H|

    [9;76H|

    [10;2H|

    [10;76H|

    [11;2H|

    [11;76H|

    [12;2H|

    [12;76H|

    [13;2H|

    [13;76H|

    [14;2H|

    [14;76H|

    [15;2H|

    [15;76H|

    [16;2H|

    [16;76H|

    [17;2H+-------------------------------------------------------------------------+

    [m

 

    Use the ^ and v keys to select which entry is highlighted.

 

    Press enter to boot the selected OS, 'e' to edit the

 

    commands before booting, or 'c' for a command-line.

    [5;78H

    [m

    [7m

    [5;3H boxgrinder64-appliance                                                 

    [5;75H

    [m

    [m

    [6;3H                                                                        

    [6;75H

    [m

    [m

    [7;3H                                                                        

    [7;75H

    [m

    [m

    [8;3H                                                                        

    [8;75H

    [m

    [m

    [9;3H                                                                        

    [9;75H

    [m

    [m

    [10;3H                                                                        

    [10;75H

    [m

    [m

    [11;3H                                                                        

    [11;75H

    [m

    [m

    [12;3H                                                                        

    [12;75H

    [m

    [m

    [13;3H                                                                        

    [13;75H

    [m

    [m

    [14;3H                                                                        

    [14;75H

    [m

    [m

    [15;3H                                                                        

    [15;75H

    [m

    [m

    [16;3H                                                                        

    [16;75H

    [m

    [16;78H

    [5;75H

    [H

    [J  Booting 'boxgrinder64-appliance'

 

 

 

root (hd0)

 

Filesystem type is ext2fs, using whole disk

 

kernel /boot/vmlinuz-2.6.43.5-2.fc15.x86_64 ro root=LABEL=79d3d2d4 rd_NO_PLYMOU

 

TH

 

initrd /boot/initramfs-2.6.43.5-2.fc15.x86_64.img

 

 

 

close blk: backend at /local/domain/0/backend/vbd/1852/2049

close blk: backend at /local/domain/0/backend/vbd/1852/2050

close blk: backend at /local/domain/0/backend/vbd/1852/2051

[    0.000000] Initializing cgroup subsys cpuset

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Linux version 2.6.43.5-2.fc15.x86_64 (mockbuild@x86-11.phx2.fedoraproject.org) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #1 SMP Tue May 8 11:09:22 UTC 2012

[    0.000000] Command line: ro root=LABEL=79d3d2d4 rd_NO_PLYMOUTH

[    0.000000] ACPI in unprivileged domain disabled

[    0.000000] Released 0 pages of unused memory

[    0.000000] Set 0 page(s) to 1-1 mapping

[    0.000000] BIOS-provided physical RAM map:

[    0.000000]  Xen: 0000000000000000 - 00000000000a0000 (usable)

[    0.000000]  Xen: 00000000000a0000 - 0000000000100000 (reserved)

[    0.000000]  Xen: 0000000000100000 - 000000006ac00000 (usable)

[    0.000000] NX (Execute Disable) protection: active

[    0.000000] DMI not present or invalid.

[    0.000000] No AGP bridge found

[    0.000000] last_pfn = 0x6ac00 max_arch_pfn = 0x400000000

[    0.000000] init_memory_mapping: 0000000000000000-000000006ac00000

[    0.000000] RAMDISK: 023bc000 - 04cb9000

[    0.000000] No NUMA configuration found

[    0.000000] Faking a node at 0000000000000000-000000006ac00000

[    0.000000] Initmem setup node 0 0000000000000000-000000006ac00000

[    0.000000]   NODE_DATA [000000006a3ec000 - 000000006a3fffff]

[    0.000000] Zone PFN ranges:

[    0.000000]   DMA      0x00000010 -> 0x00001000

[    0.000000]   DMA32    0x00001000 -> 0x00100000

[    0.000000]   Normal   empty

[    0.000000] Movable zone start PFN for each node

[    0.000000] Early memory PFN ranges

[    0.000000]     0: 0x00000010 -> 0x000000a0

[    0.000000]     0: 0x00000100 -> 0x0006ac00

[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org

[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs

[    0.000000] No local APIC present

[    0.000000] APIC: disable apic facility

[    0.000000] APIC: switched to apic NOOP

[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000

[    0.000000] Allocating PCI resources starting at 6ac00000 (gap: 6ac00000:95400000)

[    0.000000] Booting paravirtualized kernel on Xen

[    0.000000] Xen version: 3.4.3-2.6.18 (preserve-AD)

[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1

[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88006a3bc000 s82176 r8192 d24320 u114688

[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 430299

[    0.000000] Policy zone: DMA32

[    0.000000] Kernel command line: ro root=LABEL=79d3d2d4 rd_NO_PLYMOUTH

[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)

[    0.000000] Checking aperture...

[    0.000000] No AGP bridge found

[    0.000000] Memory: 1646428k/1748992k available (6287k kernel code, 448k absent, 102116k reserved, 6881k data, 1004k init)

[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

[    0.000000] Hierarchical RCU implementation.

[    0.000000] NR_IRQS:16640 nr_irqs:256 16

[    0.000000] Console: colour dummy device 80x25

[    0.000000] console [tty0] enabled

[    0.000000] console [hvc0] enabled

[    0.000000] allocated 7340032 bytes of page_cgroup

[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups

[    0.000000] installing Xen timer for CPU 0

[    0.000000] Detected 2660.000 MHz processor.

[    0.000999] Calibrating delay loop (skipped), value calculated using timer frequency.. 5320.00 BogoMIPS (lpj=2660000)

[    0.000999] pid_max: default: 32768 minimum: 301

[    0.000999] Security Framework initialized

[    0.000999] SELinux:  Initializing.

[    0.000999] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)

[    0.002149] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)

[    0.002753] Mount-cache hash table entries: 256

[    0.002988] Initializing cgroup subsys cpuacct

[    0.002996] Initializing cgroup subsys memory

[    0.003027] Initializing cgroup subsys devices

[    0.003035] Initializing cgroup subsys freezer

[    0.003040] Initializing cgroup subsys net_cls

[    0.003045] Initializing cgroup subsys blkio

[    0.003060] Initializing cgroup subsys perf_event

[    0.003149] CPU: Physical Processor ID: 0

[    0.003155] CPU: Processor Core ID: 0

[    0.003208] SMP alternatives: switching to UP code

[    0.036864] Freeing SMP alternatives: 24k freed

[    0.036891] ftrace: allocating 22853 entries in 90 pages

[    0.042117] Performance Events: unsupported p6 CPU model 23 no PMU driver, software events only.

[    0.042299] NMI watchdog disabled (cpu0): hardware events not enabled

[    0.042323] Brought up 1 CPUs

[    0.042499] devtmpfs: initialized

[    0.043216] atomic64 test passed for x86-64 platform with CX8 and with SSE

[    0.043232] Grant tables using version 1 layout.

[    0.043247] Grant table initialized

[    0.063137] RTC time: 165:165:165, date: 165/165/65

[    0.063193] NET: Registered protocol family 16

[    0.063448] PCI: setting up Xen PCI frontend stub

[    0.064715] bio: create slab <bio-0> at 0

[    0.064790] ACPI: Interpreter disabled.

[    0.064813] xen/balloon: Initialising balloon driver.

[    0.066303] xen-balloon: Initialising balloon driver.

[    0.066303] vgaarb: loaded

[    0.066303] SCSI subsystem initialized

[    0.066325] usbcore: registered new interface driver usbfs

[    0.066348] usbcore: registered new interface driver hub

[    0.066379] usbcore: registered new device driver usb

[    0.066453] PCI: System does not support PCI

[    0.066459] PCI: System does not support PCI

[    0.067023] NetLabel: Initializing

[    0.067028] NetLabel:  domain hash size = 128

[    0.067032] NetLabel:  protocols = UNLABELED CIPSOv4

[    0.067046] NetLabel:  unlabeled traffic allowed by default

[    0.067063] Switching to clocksource xen

[    0.074819] pnp: PnP ACPI: disabled

[    0.077777] NET: Registered protocol family 2

[    0.078074] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)

[    0.079775] TCP established hash table entries: 262144 (order: 10, 4194304 bytes)

[    0.082367] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)

[    0.083035] TCP: Hash tables configured (established 262144 bind 65536)

[    0.083042] TCP reno registered

[    0.083059] UDP hash table entries: 1024 (order: 3, 32768 bytes)

[    0.083094] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)

[    0.083219] NET: Registered protocol family 1

[    0.083308] Trying to unpack rootfs image as initramfs...

[    0.215220] Freeing initrd memory: 41972k freed

[    0.325694] platform rtc_cmos: registered platform RTC device (no PNP device found)

[    0.325974] Intel AES-NI instructions are not detected.

[    0.326164] audit: initializing netlink socket (disabled)

[    0.326187] type=2000 audit(1337221374.966:1): initialized

[    0.342381] HugeTLB registered 2 MB page size, pre-allocated 0 pages

[    0.344138] VFS: Disk quotas dquot_6.5.2

[    0.344197] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)

[    0.344727] msgmni has been set to 3297

[    0.345356] alg: No test for stdrng (krng)

[    0.345373] NET: Registered protocol family 38

[    0.345419] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

[    0.345451] io scheduler noop registered

[    0.345458] io scheduler deadline registered

[    0.345511] io scheduler cfq registered (default)

[    0.345604] pci_hotplug: PCI Hot Plug PCI Core version: 0.5

[    0.345628] pciehp: PCI Express Hot Plug Controller Driver version: 0.4

[    0.345635] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5

[    0.346110] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    0.346535] Non-volatile memory driver v1.3

[    0.346542] Linux agpgart interface v0.103

[    0.347760] brd: module loaded

[    0.348426] loop: module loaded

[    0.348540] Fixed MDIO Bus: probed

[    0.348598] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.348617] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[    0.348629] uhci_hcd: USB Universal Host Controller Interface driver

[    0.348691] usbcore: registered new interface driver usbserial

[    0.348705] USB Serial support registered for generic

[    0.348721] usbcore: registered new interface driver usbserial_generic

[    0.348727] usbserial: USB Serial Driver core

[    0.348746] i8042: PNP: No PS/2 controller found. Probing ports directly.

[    0.349643] mousedev: PS/2 mouse device common for all mice

[    0.479200] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0

[    0.479261] rtc_cmos: probe of rtc_cmos failed with error -38

[    0.479433] device-mapper: uevent: version 1.0.3

[    0.479519] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com

[    0.479567] EFI Variables Facility v0.08 2004-May-17

[    0.479685] usbcore: registered new interface driver usbhid

[    0.479690] usbhid: USB HID core driver

[    0.479770] ip_tables: (C) 2000-2006 Netfilter Core Team

[    0.479813] TCP cubic registered

[    0.479817] Initializing XFRM netlink socket

[    0.479929] NET: Registered protocol family 10

[    0.480114] Mobile IPv6

[    0.480119] NET: Registered protocol family 17

[    0.480132] Registering the dns_resolver key type

[    0.480246] registered taskstats version 1

[    0.480269] XENBUS: Device with no driver: device/vbd/2049

[    0.480273] XENBUS: Device with no driver: device/vbd/2050

[    0.480277] XENBUS: Device with no driver: device/vbd/2051

[    0.480281] XENBUS: Device with no driver: device/vif/0

[    0.480285] XENBUS: Device with no driver: device/console/0

[    0.480296]   Magic number: 1:252:3141

[    0.480343] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

[    0.480361] Initializing network drop monitor service

[    0.480848] Freeing unused kernel memory: 1004k freed

[    0.481298] Write protecting the kernel read-only data: 12288k

[    0.487588] Freeing unused kernel memory: 1888k freed

[    0.488940] Freeing unused kernel memory: 1472k freed

[    0.631991] dracut: dracut-009-12.fc15

[    0.737755] udev[102]: starting version 167

[    0.866589] blkfront: xvda1: barrier or flush: disabled

[    0.871044] blkfront: xvda2: barrier or flush: disabled

[    0.874908] blkfront: xvda3: barrier or flush: disabled

[    1.250033] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)

[    1.262563] dracut: Checking filesystems

[    1.262596] dracut: fsck -T -t noopts=_netdev -A -a

[    1.277144] dracut: 79d3d2d4: clean, 27945/655360 files, 272300/2621440 blocks

[    1.277392] dracut: Remounting /dev/disk/by-label/79d3d2d4 with -o ro,

[    1.280762] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)

[    1.283210] dracut: Mounted root filesystem /dev/xvda1

[    1.392994] dracut: Switching root

[    2.531971] type=1403 audit(1337221377.171:2): policy loaded auid=4294967295 ses=4294967295

[    3.110918] systemd[1]: systemd 26 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +SYSVINIT +LIBCRYPTSETUP; fedora)

 

Welcome to

    [0;34mFedora release 15 (Lovelock)

    [0m!

 

[    3.114680] systemd[1]: Set hostname to <localhost.localdomain>.

Starting Collect Read-Ahead Data...

Started Replay Read-Ahead Data.

Starting Bootup hack...

Starting Syslog Kernel Log Buffer Bridge...

Started Syslog Kernel Log Buffer Bridge.

Started Lock Directory.

Starting Media Directory...

Started Runtime Directory.

Started Collect Read-Ahead Data.

Started Bootup hack.

Starting Load legacy module configuration...

Starting Remount API VFS...

Started File System Check on Root Device.

Starting Remount Root FS...

Starting Apply Kernel Variables...

Started Load Kernel Modules.

Started Set Up Additional Binary Formats.

Starting Setup Virtual Console...

Starting Apply System Clock UTC Offset...

Started Media Directory.

Starting Stdio Syslog Bridge...

Started Stdio Syslog Bridge.

Started Remount API VFS.

Started Apply System Clock UTC Offset.

Starting udev Kernel Device Manager...

Started Apply Kernel Variables.

[    4.315961] EXT4-fs (xvda1): re-mounted. Opts: (null)

Started Remount Root FS.

Starting Configure read-only root support...

Started Load legacy module configuration.

Started Setup Virtual Console.

Started udev Kernel Device Manager.

Starting udev Coldplug all Devices...

[    4.539234] udev[255]: starting version 167

Started Configure read-only root support.

Started udev Coldplug all Devices.

Starting udev Wait for Complete Device Initialization...

Started udev Kernel Device Manager.

[    5.110066] Initialising Xen virtual ethernet driver.

Started udev Wait for Complete Device Initialization.

Starting Wait for storage scan...

Starting Show Plymouth Boot Screen...

Started Wait for storage scan.

Starting Initialize storage subsystems (RAID, LVM, etc.)...

Started Show Plymouth Boot Screen.

Starting Huge Pages File System...

Started Huge Pages File System.

Starting POSIX Message Queue File System...

Started POSIX Message Queue File System.

Started Initialize storage subsystems (RAID, LVM, etc.).

Starting Initialize storage subsystems (RAID, LVM, etc.)...

Started Initialize storage subsystems (RAID, LVM, etc.).

[   93.366578] systemd[1]: Job dev-xvdc.device/start timed out.

Starting /data

    [1;31maborted

    [0m because a dependency failed.

Starting Mark the need to relabel after reboot

    [1;31maborted

    [0m because a dependency failed.

[   93.366885] systemd[1]: Job fedora-autorelabel-mark.service/start failed with result 'dependency'.

Starting Relabel all filesystems, if necessary

    [1;31maborted

    [0m because a dependency failed.

[   93.366953] systemd[1]: Job fedora-autorelabel.service/start failed with result 'dependency'.

[   93.366965] systemd[1]: Job local-fs.target/start failed with result 'dependency'.

[   93.366974] systemd[1]: Triggering OnFailure= dependencies of local-fs.target.

[   93.368065] systemd[1]: Job data.mount/start failed with result 'dependency'.

[   93.368077] systemd[1]: Job dev-xvdc.device/start failed with result 'timeout'.

Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.

[   93.492389] systemd[1]: Startup finished in 500ms 103us (kernel) + 2s 694ms 101us (initrd) + 1min 30s 294ms 788us (userspace) = 1min 33s 488ms 992us.

Give root password for maintenance

(or type Control-D to continue):