Bug 974285 - cloud-init failing in EC2 due to serial console setting
Summary: cloud-init failing in EC2 due to serial console setting
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: cloud-init
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Miller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-13 20:34 UTC by Matthew Miller
Modified: 2015-02-18 11:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-18 11:12:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthew Miller 2013-06-13 20:34:51 UTC
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.9.4-301.fc19.x86_64 (mockbuild@bkernel02) (gcc version 4.8.0 20130526 (Red Hat 4.8.0-8) (GCC) ) #1 SMP Tue Jun 4 00:30:04 UTC 2013
[    0.000000] Command line: ro root=UUID=82c5a617-dd5a-45fb-86ee-096ea0a3ff6a console=tty0 console=ttyS0
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] Xen: [mem 0x0000000000100000-0x000000006abfffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x6ac00 max_arch_pfn = 0x400000000
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x6a200000-0x6a3fffff]
[    0.000000] init_memory_mapping: [mem 0x68000000-0x6a1fffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x67ffffff]
[    0.000000] init_memory_mapping: [mem 0x6a400000-0x6abfffff]
[    0.000000] RAMDISK: [mem 0x023e5000-0x04a02fff]
[    0.000000] NUMA turned off
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000006abfffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x6abfffff]
[    0.000000]   NODE_DATA [mem 0x6a0c2000-0x6a0d5fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009ffff]
[    0.000000]   node   0: [mem 0x00100000-0x6abfffff]
[    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.000000] smpboot: 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] e820: [mem 0x6ac00000-0xffffffff] available for PCI devices
[    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:128 nr_cpumask_bits:128 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff880069a00000 s85120 r8192 d21376 u2097152
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 430298
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: ro root=UUID=82c5a617-dd5a-45fb-86ee-096ea0a3ff6a console=tty0 console=ttyS0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 1649228k/1748992k available (6472k kernel code, 388k absent, 99376k reserved, 6765k data, 1352k init)
[    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=1.
[    0.000000] NR_IRQS:8448 nr_irqs:256 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [hvc0] enabled
[    0.000000] console [ttyS0] 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] tsc: Detected 2666.762 MHz processor
[    0.001000] Calibrating delay loop (skipped), value calculated using timer frequency.. 5333.52 BogoMIPS (lpj=2666762)
[    0.001000] pid_max: default: 32768 minimum: 301
[    0.001000] Security Framework initialized
[    0.001000] SELinux:  Initializing.
[    0.001000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.002315] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.002877] Mount-cache hash table entries: 256
[    0.003209] Initializing cgroup subsys cpuacct
[    0.003258] Initializing cgroup subsys memory
[    0.003321] Initializing cgroup subsys devices
[    0.003369] Initializing cgroup subsys freezer
[    0.003416] Initializing cgroup subsys net_cls
[    0.003464] Initializing cgroup subsys blkio
[    0.003510] Initializing cgroup subsys perf_event
[    0.003632] CPU: Physical Processor ID: 0
[    0.003675] CPU: Processor Core ID: 0
[    0.003718] Last level iTLB entries: 4KB 128, 2MB 4, 4MB 4
[    0.003718] Last level dTLB entries: 4KB 256, 2MB 0, 4MB 32
[    0.003718] tlb_flushall_shift: -1
[    0.026350] Freeing SMP alternatives: 24k freed
[    0.027865] ftrace: allocating 24409 entries in 96 pages
[    0.033161] Performance Events: unsupported p6 CPU model 23 no PMU driver, software events only.
[    0.034969] Brought up 1 CPUs
[    0.035059] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.035241] devtmpfs: initialized
[    0.036238] atomic64 test passed for x86-64 platform with CX8 and with SSE
[    0.036316] Grant tables using version 1 layout.
[    0.036377] Grant table initialized
[    0.055880] RTC time: 165:165:165, date: 165/165/65
[    0.056112] NET: Registered protocol family 16
[    0.057017] PCI: setting up Xen PCI frontend stub
[    0.057861] bio: create slab <bio-0> at 0
[    0.057991] ACPI: Interpreter disabled.
[    0.058025] xen/balloon: Initialising balloon driver.
[    0.059022] xen-balloon: Initialising balloon driver.
[    0.059137] vgaarb: loaded
[    0.059202] SCSI subsystem initialized
[    0.059370] usbcore: registered new interface driver usbfs
[    0.059436] usbcore: registered new interface driver hub
[    0.059519] usbcore: registered new device driver usb
[    0.059639] PCI: System does not support PCI
[    0.059687] PCI: System does not support PCI
[    0.060100] NetLabel: Initializing
[    0.060137] NetLabel:  domain hash size = 128
[    0.060183] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.060248] NetLabel:  unlabeled traffic allowed by default
[    0.060338] Switching to clocksource xen
[    0.066845] pnp: PnP ACPI: disabled
[    0.068841] NET: Registered protocol family 2
[    0.069112] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
[    0.069388] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.069611] TCP: Hash tables configured (established 16384 bind 16384)
[    0.069759] TCP: reno registered
[    0.069805] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.069893] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.070057] NET: Registered protocol family 1
[    0.070162] Unpacking initramfs...
[    0.233593] Freeing initrd memory: 39032k freed
[    0.348173] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.348712] Initialise system trusted keyring
[    0.348819] audit: initializing netlink socket (disabled)
[    0.348900] type=2000 audit(1371155088.088:1): initialized
[    0.371253] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.373181] VFS: Disk quotas dquot_6.5.2
[    0.373272] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.373767] msgmni has been set to 3297
[    0.374498] alg: No test for stdrng (krng)
[    0.374548] NET: Registered protocol family 38
[    0.374598] Key type asymmetric registered
[    0.374641] Asymmetric key parser 'x509' registered
[    0.374693] Asymmetric key parser 'pefile' registered
[    0.374785] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.374890] io scheduler noop registered
[    0.374934] io scheduler deadline registered
[    0.374986] io scheduler cfq registered (default)
[    0.375130] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.375204] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.375273] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.375988] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.376471] Non-volatile memory driver v1.3
[    0.376520] Linux agpgart interface v0.103
[    0.377270] loop: module loaded
[    0.377400] libphy: Fixed MDIO Bus: probed
[    0.377487] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.377557] ehci-pci: EHCI PCI platform driver
[    0.377613] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.377683] uhci_hcd: USB Universal Host Controller Interface driver
[    0.377798] usbcore: registered new interface driver usbserial
[    0.377866] usbcore: registered new interface driver usbserial_generic
[    0.377940] usbserial: USB Serial support registered for generic
[    0.378035] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    3.022105] mousedev: PS/2 mouse device common for all mice
[    3.171781] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    3.171904] rtc_cmos: probe of rtc_cmos failed with error -38
[    3.172072] device-mapper: uevent: version 1.0.3
[    3.172193] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel
[    3.172321] EFI Variables Facility v0.08 2004-May-17
[    3.172387] hidraw: raw HID events driver (C) Jiri Kosina
[    3.172529] usbcore: registered new interface driver usbhid
[    3.172588] usbhid: USB HID core driver
[    3.172657] drop_monitor: Initializing network drop monitor service
[    3.172799] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.172894] TCP: cubic registered
[    3.172932] Initializing XFRM netlink socket
[    3.173084] NET: Registered protocol family 10
[    3.173298] mip6: Mobile IPv6
[    3.173333] NET: Registered protocol family 17
[    3.173491] Loading compiled-in X.509 certificates
[    3.174641] Loaded X.509 cert 'Fedora kernel signing key: 4b95318c238c8b1105720228960d7676abd10d0c'
[    3.174812] registered taskstats version 1
[    3.174877] XENBUS: Device with no driver: device/vbd/2049
[    3.174935] XENBUS: Device with no driver: device/vbd/2051
[    3.174991] XENBUS: Device with no driver: device/vif/0
[    3.175179]   Magic number: 1:252:3141
[    3.175275] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    3.175769] Freeing unused kernel memory: 1352k freed
[    3.176794] Write protecting the kernel read-only data: 12288k
[    3.181361] Freeing unused kernel memory: 1708k freed
[    3.182616] Freeing unused kernel memory: 1332k freed
[    3.188897] systemd[1]: systemd 204 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[    3.189139] systemd[1]: Detected virtualization 'xen'.
[    3.189199] systemd[1]: Running in initial RAM disk.
[    3.189475] systemd[1]: No hostname configured.
[    3.189531] systemd[1]: Set hostname to <localhost>.
[    3.189691] systemd[1]: Initializing machine ID from random generator.
[    3.289348] systemd[1]: Expecting device dev-disk-by\x2duuid-82c5a617\x2ddd5a\x2d45fb\x2d86ee\x2d096ea0a3ff6a.device...
[    3.289547] systemd[1]: Starting Timers.
[    3.289621] systemd[1]: Reached target Timers.
[    3.289685] systemd[1]: Starting Journal Socket.
[    3.289838] systemd[1]: Listening on Journal Socket.
[    3.290162] systemd[1]: Started dracut cmdline hook.
[    3.290498] systemd[1]: Starting dracut pre-udev hook...
[    3.291670] systemd[1]: Starting Journal Service...
[    3.292685] systemd[1]: Started Journal Service.
[    3.437513] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    3.437976] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    3.438148] systemd[1]: Starting Paths.
[    3.438277] systemd[1]: Reached target Paths.
[    3.438453] systemd[1]: Starting udev Kernel Socket.
[    3.438577] systemd[1]: Listening on udev Kernel Socket.
[    3.438702] systemd[1]: Starting udev Control Socket.
[    3.438822] systemd[1]: Listening on udev Control Socket.
[    3.438892] systemd[1]: Starting Sockets.
[    3.438962] systemd[1]: Reached target Sockets.
[    3.439263] systemd[1]: Started Load Kernel Modules.
[    3.439333] systemd[1]: Starting Swap.
[    3.439404] systemd[1]: Reached target Swap.
[    3.439467] systemd[1]: Starting Local File Systems.
[    3.439551] systemd[1]: Reached target Local File Systems.
[    3.440086] systemd[1]: Started dracut pre-udev hook.
[    3.440255] systemd[1]: Starting udev Kernel Device Manager...
[    3.445036] systemd-udevd[62]: starting version 204
[    3.447252] systemd[1]: Started udev Kernel Device Manager.
[    3.447556] systemd[1]: Started dracut pre-trigger hook.
[    3.447706] systemd[1]: Starting udev Coldplug all Devices...
[    3.725094] blkfront: xvda1: barrier or flush: disabled 
[    3.729999] blkfront: xvda3: barrier or flush: disabled 
[    4.396824] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
[    4.709100] systemd-journald[43]: Received SIGTERM
[    7.801273] type=1404 audit(1371155095.541:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
[   10.127119] type=1403 audit(1371155097.867:3): policy loaded auid=4294967295 ses=4294967295
[   10.140369] systemd[1]: Successfully loaded SELinux policy in 2.346242s.
[   11.434577] systemd[1]: Relabelled /dev and /run in 16.066ms.
[   14.769037] systemd-udevd[116]: starting version 204
[   16.166363] microcode: CPU0 sig=0x1067a, pf=0x40, revision=0xa07
[   16.166825] microcode: Microcode Update Driver: v2.00 <tigran.co.uk>, Peter Oruba
[   16.519680] Initialising Xen virtual ethernet driver.
[   16.540087] input: PC Speaker as /devices/platform/pcspkr/input/input0
[   16.555290] EXT4-fs (xvda1): re-mounted. Opts: (null)
[   17.883862] type=1305 audit(1371155105.622:4): audit_pid=146 old=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1
[   17.887423] systemd[1]: Unit cloud-init-local.service entered failed state.
[   19.504170] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)

    [r
    [H
    [J

Fedora release 19 (Schrödinger’s Cat)
Kernel 3.9.4-301.fc19.x86_64 on an x86_64 (hvc0)

Comment 1 Matthew Miller 2013-06-13 20:38:36 UTC
Jun 13 20:15:58 localhost systemd[432]: Failed at step STDOUT spawning /usr/bin/cloud-init: Inappropriate ioctl for device

Comment 2 Matthew Miller 2013-06-14 13:02:42 UTC
Adding "console=hvc0" (in addition to existing parameters) seems to make it work. Need further testing.

Comment 3 Matthew Miller 2013-10-04 13:27:31 UTC
Garrett, do you think we should go ahead with the separate extlinux.conf and menu.list?

Comment 4 Garrett Holmstrom 2013-10-04 17:49:34 UTC
It's hacky, but I don't have any better ideas at the moment that don't involve using two slightly-different images.  Unless you're up for doing the latter then I think we should just go with the former for now -- at least it's simple and mostly works.

Comment 6 Fedora End Of Life 2015-01-09 22:34:27 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2015-02-18 11:12:22 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.