Logging boot/networking info to serial console for fedora cloud images

Kashyap Chamarthy kchamart at redhat.com
Tue Apr 9 11:17:17 UTC 2013


On 04/09/2013 12:06 PM, Juerg Haefliger wrote:
> On Mon, Apr 8, 2013 at 1:54 PM, Kashyap Chamarthy <kchamart at redhat.com> wrote:
>> Hi,
>>
>> The cirros cloud images[1] appear to run a bunch of useful commands, and log
>> them to the nova console.log --
>> /var/lib/nova/instances/instance-foo/console.log by default. It was very useful
>> for debugging. The file size is just about 16K , and there is no considerable
>> performance impact either.
>>
>> IMHO, we could do the same for Fedora cloud images -- which currently do not
>> log any info to console.log -- by default. it'll be useful troubleshoot
>> networking and other boot related problems.
>>
>> Enumerating the list of commands cirros runs for reference:
>>
>>     $ /etc/rc.d/init.d/sshd start
>>     $ ifconfig -a
>>     $ route -n
>>     $ cat /etc/resolv.conf
>>     # pinging nameservers
>>     $ uname -a
>>     $ dmesg | tail
>>     $ tail -n 25 /var/log/messages
>>
>>
>> Thoughts ?
> 
> I think the most important thing is to add 'console=ttyS0' to the

It should be -- console=tty0 console=ttyS0  (or ttyS1)

A small test with fedora cloud images to access serial console
http://kashyapc.fedorapeople.org/virt/openstack/serial-console-test.txt

In short:

	- The first console uses file: <serial type='file'>
	- Second one uses a pty console: <serial type='pty'>


> kernel so that you'll get kernel messages and also networking and
> other info from cloud-init. Below is what you get with that and Fedora
> 18 in an OpenStack environment. Problem is that cloud-init is broken
> in Fedora 18 and doesn't display the networking information properly
> (https://bugzilla.redhat.com/show_bug.cgi?id=949832).
> 
> ...Juerg
> 
> 
> 
>   Booting `Fedora'
> 
> Loading Linux 3.8.3-203.fc18.x86_64 ...
> Loading initial ramdisk ...
> [    0.000000] Initializing cgroup subsys cpuset
> [    0.000000] Initializing cgroup subsys cpu
> [    0.000000] Linux version 3.8.3-203.fc18.x86_64
> (mockbuild at bkernel02) (gcc version 4.7.2 20121109 (Red Hat 4.7.2-8)
> (GCC) ) #1 SMP Mon Mar 18 12:59:28 UTC 2013
> [    0.000000] Command line:
> BOOT_IMAGE=/boot/vmlinuz-3.8.3-203.fc18.x86_64
> root=UUID=63146449-b6a5-4d99-9c03-5c791d7038b6 ro rd.md=0 rd.lvm=0
> rd.dm=0 rd.info console=ttyS0 rd.luks=0 vconsole.keymap=us
> [    0.000000] e820: BIOS-provided physical RAM map:
> [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009bbff] usable
> [    0.000000] BIOS-e820: [mem 0x000000000009bc00-0x000000000009ffff] reserved
> [    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
> [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000dfffcfff] usable
> [    0.000000] BIOS-e820: [mem 0x00000000dfffd000-0x00000000dfffffff] reserved
> [    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
> [    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
> [    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000011fffffff] usable
> [    0.000000] NX (Execute Disable) protection: active
> [    0.000000] SMBIOS 2.4 present.
> [    0.000000] Hypervisor detected: KVM
> [    0.000000] No AGP bridge found
> [    0.000000] e820: last_pfn = 0x120000 max_arch_pfn = 0x400000000
> [    0.000000] PAT not supported by CPU.
> [    0.000000] e820: last_pfn = 0xdfffd max_arch_pfn = 0x400000000
> [    0.000000] found SMP MP-table at [mem 0x000fdad0-0x000fdadf]
> mapped at [ffff8800000fdad0]
> [    0.000000] init_memory_mapping: [mem 0x00000000-0xdfffcfff]
> [    0.000000] init_memory_mapping: [mem 0x100000000-0x11fffffff]
> [    0.000000] RAMDISK: [mem 0x35330000-0x3698ffff]
> [    0.000000] ACPI: RSDP 00000000000fda80 00014 (v00 BOCHS )
> [    0.000000] ACPI: RSDT 00000000dfffd5f0 00034 (v01 BOCHS  BXPCRSDT
> 00000001 BXPC 00000001)
> [    0.000000] ACPI: FACP 00000000dffffe20 00074 (v01 BOCHS  BXPCFACP
> 00000001 BXPC 00000001)
> [    0.000000] ACPI: DSDT 00000000dfffd860 02560 (v01   BXPC   BXDSDT
> 00000001 INTL 20100528)
> [    0.000000] ACPI: FACS 00000000dffffdc0 00040
> [    0.000000] ACPI: SSDT 00000000dfffd760 000FF (v01 BOCHS  BXPCSSDT
> 00000001 BXPC 00000001)
> [    0.000000] ACPI: APIC 00000000dfffd670 0007A (v01 BOCHS  BXPCAPIC
> 00000001 BXPC 00000001)
> [    0.000000] ACPI: HPET 00000000dfffd630 00038 (v01 BOCHS  BXPCHPET
> 00000001 BXPC 00000001)
> [    0.000000] No NUMA configuration found
> [    0.000000] Faking a node at [mem 0x0000000000000000-0x000000011fffffff]
> [    0.000000] Initmem setup node 0 [mem 0x00000000-0x11fffffff]
> [    0.000000]   NODE_DATA [mem 0x11ffec000-0x11fffffff]
> [    0.000000] kvm-clock: Using msrs 12 and 11
> [    0.000000] kvm-clock: cpu 0, msr 1:1ffea001, boot clock
> [    0.000000] Zone ranges:
> [    0.000000]   DMA      [mem 0x00010000-0x00ffffff]
> [    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
> [    0.000000]   Normal   [mem 0x100000000-0x11fffffff]
> [    0.000000] Movable zone start for each node
> [    0.000000] Early memory node ranges
> [    0.000000]   node   0: [mem 0x00010000-0x0009afff]
> [    0.000000]   node   0: [mem 0x00100000-0xdfffcfff]
> [    0.000000]   node   0: [mem 0x100000000-0x11fffffff]
> [    0.000000] ACPI: PM-Timer IO Port: 0xb008
> [    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> [    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
> [    0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
> [    0.000000] IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
> [    0.000000] Using ACPI (MADT) for SMP configuration information
> [    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
> [    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
> [    0.000000] PM: Registered nosave memory: 000000000009b000 - 000000000009c000
> [    0.000000] PM: Registered nosave memory: 000000000009c000 - 00000000000a0000
> [    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
> [    0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
> [    0.000000] PM: Registered nosave memory: 00000000dfffd000 - 00000000e0000000
> [    0.000000] PM: Registered nosave memory: 00000000e0000000 - 00000000feffc000
> [    0.000000] PM: Registered nosave memory: 00000000feffc000 - 00000000ff000000
> [    0.000000] PM: Registered nosave memory: 00000000ff000000 - 00000000fffc0000
> [    0.000000] PM: Registered nosave memory: 00000000fffc0000 - 0000000100000000
> [    0.000000] e820: [mem 0xe0000000-0xfeffbfff] available for PCI devices
> [    0.000000] Booting paravirtualized kernel on KVM
> [    0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128
> nr_cpu_ids:2 nr_node_ids:1
> [    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88011fc00000 s84608
> r8192 d21888 u1048576
> [    0.000000] kvm-clock: cpu 0, msr 1:1ffea001, primary cpu clock
> [    0.000000] Built 1 zonelists in Node order, mobility grouping on.
> Total pages: 1032066
> [    0.000000] Policy zone: Normal
> [    0.000000] Kernel command line:
> BOOT_IMAGE=/boot/vmlinuz-3.8.3-203.fc18.x86_64
> root=UUID=63146449-b6a5-4d99-9c03-5c791d7038b6 ro rd.md=0 rd.lvm=0
> rd.dm=0 rd.info console=ttyS0 rd.luks=0 vconsole.keymap=us
> [    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: 4023064k/4718592k available (6513k kernel code,
> 524768k absent, 170760k reserved, 6707k data, 1088k init)
> [    0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0,
> CPUs=2, Nodes=1
> [    0.000000] Hierarchical RCU implementation.
> [    0.000000] RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=2.
> [    0.000000] NR_IRQS:8448 nr_irqs:512 16
> [    0.000000] Console: colour VGA+ 80x25
> [    0.000000] console [ttyS0] enabled
> [    0.000000] allocated 16777216 bytes of page_cgroup
> [    0.000000] please try 'cgroup_disable=memory' option if you don't
> want memory cgroups
> [    0.000000] tsc: Detected 3200.000 MHz processor
> [    0.002000] Calibrating delay loop (skipped) preset value.. 6400.00
> BogoMIPS (lpj=3200000)
> [    0.002005] pid_max: default: 32768 minimum: 301
> [    0.002448] Security Framework initialized
> [    0.003010] SELinux:  Initializing.
> [    0.003726] Dentry cache hash table entries: 524288 (order: 10,
> 4194304 bytes)
> [    0.007507] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
> [    0.009625] Mount-cache hash table entries: 256
> [    0.010147] Initializing cgroup subsys cpuacct
> [    0.010609] Initializing cgroup subsys memory
> [    0.011021] Initializing cgroup subsys devices
> [    0.011469] Initializing cgroup subsys freezer
> [    0.012005] Initializing cgroup subsys net_cls
> [    0.012401] Initializing cgroup subsys blkio
> [    0.013005] Initializing cgroup subsys perf_event
> [    0.013541] mce: CPU supports 10 MCE banks
> [    0.014043] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
> [    0.014043] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0
> [    0.014043] tlb_flushall_shift: 6
> [    0.015231] Freeing SMP alternatives: 24k freed
> [    0.018620] ACPI: Core revision 20121018
> [    0.020032] ftrace: allocating 24317 entries in 95 pages
> [    0.027201] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
> [    0.028000] smpboot: CPU0: Intel QEMU Virtual CPU version 0.14.1
> (fam: 06, model: 02, stepping: 03)
> [    0.028000] Performance Events: unsupported p6 CPU model 2 no PMU
> driver, software events only.
> [    0.029142] NMI watchdog: disabled (cpu0): hardware events not enabled
> [    0.030035] smpboot: Booting Node   0, Processors  #1 OK
> [    0.002000] kvm-clock: cpu 1, msr 1:1ffea041, secondary cpu clock
> [    0.043036] Brought up 2 CPUs
> [    0.043318] smpboot: Total of 2 processors activated (12800.00 BogoMIPS)
> [    0.044447] devtmpfs: initialized
> [    0.046084] atomic64 test passed for x86-64 platform with CX8 and with SSE
> [    0.046744] RTC time:  6:24:55, date: 04/09/13
> [    0.047052] NET: Registered protocol family 16
> [    0.047683] ACPI: bus type pci registered
> [    0.048083] PCI: Using configuration type 1 for base access
> [    0.049022] mtrr: your CPUs had inconsistent variable MTRR settings
> [    0.049591] mtrr: your CPUs had inconsistent MTRRdefType settings
> [    0.050002] mtrr: probably your BIOS does not setup all CPUs.
> [    0.050490] mtrr: corrected configuration.
> [    0.051595] bio: create slab <bio-0> at 0
> [    0.052141] ACPI: Added _OSI(Module Device)
> [    0.052500] ACPI: Added _OSI(Processor Device)
> [    0.053003] ACPI: Added _OSI(3.0 _SCP Extensions)
> [    0.053407] ACPI: Added _OSI(Processor Aggregator Device)
> [    0.055937] ACPI: Interpreter enabled
> [    0.056003] ACPI: (supports S0 S3 S4 S5)
> [    0.056405] ACPI: Using IOAPIC for interrupt routing
> [    0.059977] ACPI: No dock devices found.
> [    0.060004] PCI: Ignoring host bridge windows from ACPI; if
> necessary, use "pci=use_crs" and report a bug
> [    0.061017] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
> [    0.062106] pci_root PNP0A03:00: ACPI _OSC support notification
> failed, disabling PCIe ASPM
> [    0.062842] pci_root PNP0A03:00: Unable to request _OSC control
> (_OSC support mask: 0x08)
> [    0.063024] pci_root PNP0A03:00: fail to add MMCONFIG information,
> can't access extended PCI configuration space under this bridge.
> [    0.064033] PCI host bridge to bus 0000:00
> [    0.065005] pci_bus 0000:00: root bus resource [bus 00-ff]
> [    0.065488] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
> [    0.066003] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffff]
> [    0.068321] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by
> PIIX4 ACPI
> [    0.069011] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
> [    0.083401] ACPI _OSC control for PCIe not granted, disabling ASPM
> [    0.087058] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
> [    0.087667] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
> [    0.088202] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
> [    0.088798] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
> [    0.089197] ACPI: PCI Interrupt Link [LNKS] (IRQs 9) *0
> [    0.090213] vgaarb: device added:
> PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
> [    0.091003] vgaarb: loaded
> [    0.091244] vgaarb: bridge control possible 0000:00:02.0
> [    0.091827] SCSI subsystem initialized
> [    0.092009] ACPI: bus type scsi registered
> [    0.092476] ACPI: bus type usb registered
> [    0.093035] usbcore: registered new interface driver usbfs
> [    0.093515] usbcore: registered new interface driver hub
> [    0.094046] usbcore: registered new device driver usb
> [    0.095050] PCI: Using ACPI for IRQ routing
> [    0.095710] NetLabel: Initializing
> [    0.096005] NetLabel:  domain hash size = 128
> [    0.096382] NetLabel:  protocols = UNLABELED CIPSOv4
> [    0.096820] NetLabel:  unlabeled traffic allowed by default
> [    0.097112] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
> [    0.098098] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
> [    0.098570] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
> [    0.101069] Switching to clocksource kvm-clock
> [    0.109554] pnp: PnP ACPI init
> [    0.109864] ACPI: bus type pnp registered
> [    0.110730] pnp: PnP ACPI: found 5 devices
> [    0.111098] ACPI: ACPI bus type pnp unregistered
> [    0.122351] NET: Registered protocol family 2
> [    0.122955] TCP established hash table entries: 32768 (order: 7,
> 524288 bytes)
> [    0.123919] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
> [    0.124798] TCP: Hash tables configured (established 32768 bind 32768)
> [    0.125518] TCP: reno registered
> [    0.125807] UDP hash table entries: 2048 (order: 4, 65536 bytes)
> [    0.126388] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
> [    0.127083] NET: Registered protocol family 1
> [    0.127480] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
> [    0.127994] pci 0000:00:01.0: PIIX3: Enabling Passive Release
> [    0.128509] pci 0000:00:01.0: Activating ISA DMA hang workarounds
> [    0.129145] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
> [    0.129876] Unpacking initramfs...
> [    0.487104] Freeing initrd memory: 22912k freed
> [    0.491952] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
> [    0.492574] software IO TLB [mem 0xdbffb000-0xdfffb000] (64MB)
> mapped at [ffff8800dbffb000-ffff8800dfffafff]
> [    0.494585] Initialise module verification
> [    0.494983] audit: initializing netlink socket (disabled)
> [    0.495477] type=2000 audit(1365488696.495:1): initialized
> [    0.516571] HugeTLB registered 2 MB page size, pre-allocated 0 pages
> [    0.518900] VFS: Disk quotas dquot_6.5.2
> [    0.519309] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> [    0.520397] msgmni has been set to 7902
> [    0.522228] alg: No test for stdrng (krng)
> [    0.522609] NET: Registered protocol family 38
> [    0.523011] Key type asymmetric registered
> [    0.523364] Asymmetric key parser 'x509' registered
> [    0.523809] Block layer SCSI generic (bsg) driver version 0.4
> loaded (major 252)
> [    0.524606] io scheduler noop registered
> [    0.524950] io scheduler deadline registered
> [    0.525437] io scheduler cfq registered (default)
> [    0.525932] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> [    0.526479] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
> [    0.527084] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
> [    0.527683] acpiphp: Slot [1] registered
> [    0.528083] acpiphp: Slot [2] registered
> [    0.528440] acpiphp: Slot [3] registered
> [    0.528788] acpiphp: Slot [4] registered
> [    0.529184] acpiphp: Slot [5] registered
> [    0.529601] acpiphp: Slot [6] registered
> [    0.529961] acpiphp: Slot [7] registered
> [    0.530364] acpiphp: Slot [8] registered
> [    0.530716] acpiphp: Slot [9] registered
> [    0.531121] acpiphp: Slot [10] registered
> [    0.531486] acpiphp: Slot [11] registered
> [    0.531843] acpiphp: Slot [12] registered
> [    0.532252] acpiphp: Slot [13] registered
> [    0.532608] acpiphp: Slot [14] registered
> [    0.532984] acpiphp: Slot [15] registered
> [    0.533450] acpiphp: Slot [16] registered
> [    0.533808] acpiphp: Slot [17] registered
> [    0.534218] acpiphp: Slot [18] registered
> [    0.534583] acpiphp: Slot [19] registered
> [    0.534940] acpiphp: Slot [20] registered
> [    0.535368] acpiphp: Slot [21] registered
> [    0.535727] acpiphp: Slot [22] registered
> [    0.536163] acpiphp: Slot [23] registered
> [    0.536520] acpiphp: Slot [24] registered
> [    0.536876] acpiphp: Slot [25] registered
> [    0.537323] acpiphp: Slot [26] registered
> [    0.537692] acpiphp: Slot [27] registered
> [    0.538104] acpiphp: Slot [28] registered
> [    0.538459] acpiphp: Slot [29] registered
> [    0.538813] acpiphp: Slot [30] registered
> [    0.539246] acpiphp: Slot [31] registered
> [    0.540364] input: Power Button as
> /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
> [    0.540990] ACPI: Power Button [PWRF]
> [    0.543286] GHES: HEST is not enabled!
> [    0.543808] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
> [    0.544702] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
> [    0.545445] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
> [    0.546148] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> [    0.567990] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [    0.590080] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> [    0.591612] Non-volatile memory driver v1.3
> [    0.591973] Linux agpgart interface v0.103
> [    0.593842] loop: module loaded
> [    0.594729] scsi0 : ata_piix
> [    0.595149] scsi1 : ata_piix
> [    0.595512] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
> [    0.596188] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
> [    0.596817] libphy: Fixed MDIO Bus: probed
> [    0.597424] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    0.598036] ehci-pci: EHCI PCI platform driver
> [    0.598422] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [    0.598948] uhci_hcd: USB Universal Host Controller Interface driver
> [    0.599552] uhci_hcd 0000:00:01.2: UHCI Host Controller
> [    0.600049] uhci_hcd 0000:00:01.2: new USB bus registered, assigned
> bus number 1
> [    0.600756] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c020
> [    0.601440] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
> [    0.603061] usb usb1: New USB device strings: Mfr=3, Product=2,
> SerialNumber=1
> [    0.603682] usb usb1: Product: UHCI Host Controller
> [    0.604238] usb usb1: Manufacturer: Linux 3.8.3-203.fc18.x86_64 uhci_hcd
> [    0.604813] usb usb1: SerialNumber: 0000:00:01.2
> [    0.605449] hub 1-0:1.0: USB hub found
> [    0.605779] hub 1-0:1.0: 2 ports detected
> [    0.606380] usbcore: registered new interface driver usbserial
> [    0.606943] usbcore: registered new interface driver usbserial_generic
> [    0.607577] usbserial: USB Serial support registered for generic
> [    0.608218] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU]
> at 0x60,0x64 irq 1,12
> [    0.609571] serio: i8042 KBD port at 0x60,0x64 irq 1
> [    0.610060] serio: i8042 AUX port at 0x60,0x64 irq 12
> [    0.610750] mousedev: PS/2 mouse device common for all mice
> [    0.611664] input: AT Translated Set 2 keyboard as
> /devices/platform/i8042/serio0/input/input1
> [    0.612654] rtc_cmos 00:00: RTC can wake from S4
> [    0.613518] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
> [    0.614433] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs
> [    0.615170] device-mapper: uevent: version 1.0.3
> [    0.615705] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18)
> initialised: dm-devel at redhat.com
> [    0.616641] cpuidle: using governor ladder
> [    0.617109] cpuidle: using governor menu
> [    0.617626] EFI Variables Facility v0.08 2004-May-17
> [    0.618243] usbcore: registered new interface driver usbhid
> [    0.618725] usbhid: USB HID core driver
> [    0.619195] drop_monitor: Initializing network drop monitor service
> [    0.619835] ip_tables: (C) 2000-2006 Netfilter Core Team
> [    0.620505] TCP: cubic registered
> [    0.620797] Initializing XFRM netlink socket
> [    0.621437] NET: Registered protocol family 10
> [    0.622072] mip6: Mobile IPv6
> [    0.622395] NET: Registered protocol family 17
> [    0.623022] Loading module verification certificates
> [    0.624309] MODSIGN: Loaded cert 'Fedora kernel signing key:
> 6e92aaed9b78143111d638350a48fab33151933c'
> [    0.625236] registered taskstats version 1
> [    0.626282]   Magic number: 9:670:417
> [    0.626750] rtc_cmos 00:00: setting system clock to 2013-04-09
> 06:24:56 UTC (1365488696)
> [    0.749537] Freeing unused kernel memory: 1088k freed
> [    0.750356] Write protecting the kernel read-only data: 12288k
> [    0.754463] Freeing unused kernel memory: 1668k freed
> [    0.758360] Freeing unused kernel memory: 1348k freed
> [    0.810149] systemd[1]: systemd 197 running in system mode. (+PAM
> +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL
> +XZ)
> [    0.811345] systemd[1]: Detected virtualization 'kvm'.
> [    0.811825] systemd[1]: Running in initial RAM disk.
> 
> Welcome to Fedora 18 (Spherical Cow) dracut-024-25.git20130205.fc18 (Initramfs)!
> 
> [    0.813505] systemd[1]: No hostname configured.
> [    0.813905] systemd[1]: Set hostname to <localhost>.
> [    0.814553] systemd[1]: Initializing machine ID from KVM UUID.
> [    0.824801] systemd[1]: Starting Dispatch Password Requests to
> Console Directory Watch.
> [    0.825658] systemd[1]: Started Dispatch Password Requests to
> Console Directory Watch.
> [    0.826424] systemd[1]: Starting udev Kernel Socket.
> [  OK  ] Listening on udev Kernel Socket.
> [    0.827579] systemd[1]: Listening on udev Kernel Socket.
> [    0.828182] systemd[1]: Starting udev Control Socket.
> [  OK  ] Listening on udev Control Socket.
> [    0.829287] systemd[1]: Listening on udev Control Socket.
> [    0.829771] systemd[1]: Starting Journal Socket.
> [  OK  ] Listening on Journal Socket.
> [    0.830915] systemd[1]: Listening on Journal Socket.
> [    0.831375] systemd[1]: Starting dracut cmdline hook...
>          Starting dracut cmdline hook...
> [    0.840331] systemd[1]: Started Load Kernel Modules.
> [    0.840784] systemd[1]: Starting Journal Service...
>          Starting Journal Service...
> [  OK  ] Started Journal Service.
> [    0.852683] systemd[1]: Started Journal Service.
> [    0.859071] systemd[1]: Starting Sockets.
> [  OK  ] Reached target Sockets.
> [    0.859984] systemd[1]: Reached target Sockets.
> [    0.860417] systemd[1]: Starting Swap.
> [  OK  ] Reached target Swap.
> [    0.861331] systemd[1]: Reached target Swap.
> [    0.861715] systemd[1]: Starting Local File Systems.
> [  OK  ] Reached target Local File Systems.
> [    0.862804] systemd[1]: Reached target Local File Systems.
> [  OK  ] Started dracut cmdline hook.
>          Starting Setup Virtual Console...
>          Starting dracut pre-udev hook...
> [  OK  ] Started Setup Virtual Console.
> [  OK  ] Reached target System Initialization.
> [  OK  ] Started dracut pre-udev hook.
>          Starting udev Kernel Device Manager...
> [    0.930496] systemd-udevd[101]: starting version 197
> [  OK  ] Started udev Kernel Device Manager.
>          Starting dracut pre-trigger hook...
> [  OK  ] Reached target Basic System.
> [    1.131167] GPT:Primary header thinks Alt. header is not at the end
> of the disk.
> [    1.131808] GPT:4194303 != 20971519
> [    1.132124] GPT:Alternate GPT header not at the end of the disk.
> [    1.132632] GPT:4194303 != 20971519
> [    1.132930] GPT: Use GNU Parted to correct GPT errors.
> [    1.133428]  vda: vda1 vda2
> [    1.286244]  vdb: unknown partition table
> [    1.340808] EXT4-fs (vda2): mounted filesystem with ordered data
> mode. Opts: (null)
> [    1.451764] EXT4-fs (vda2): mounted filesystem with ordered data
> mode. Opts: (null)
> [    1.496049] tsc: Refined TSC clocksource calibration: 3200.005 MHz
> [    1.562896] input: ImExPS/2 Generic Explorer Mouse as
> /devices/platform/i8042/serio1/input/input2
> [    2.619450]  vda: vda1 vda2
> [    2.654631] EXT4-fs (vda2): mounted filesystem with ordered data
> mode. Opts: data=ordered
> [    2.761399] systemd-journald[57]: Received SIGTERM
> [    3.272275] type=1404 audit(1365488699.145:2): enforcing=1
> old_enforcing=0 auid=4294967295 ses=4294967295
> [    3.741684] SELinux:  Permission attach_queue in class tun_socket
> not defined in policy.
> [    3.742419] SELinux: the above unknown classes and permissions will
> be allowed
> [    3.760422] type=1403 audit(1365488699.633:3): policy loaded
> auid=4294967295 ses=4294967295
> [    3.768114] systemd[1]: Successfully loaded SELinux policy in 564ms 817us.
> [    3.850884] systemd[1]: Relabelled /dev and /run in 18ms 617us.
> 
> Welcome to Fedora 18 (Spherical Cow)!
> 
>          Expecting device dev-ttyS0.device...
> [  OK  ] Listening on Syslog Socket.
> [  OK  ] Reached target Syslog.
> [  OK  ] Reached target Remote File Systems.
> [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
> [  OK  ] Listening on Delayed Shutdown Socket.
>          Mounting POSIX Message Queue File System...
> [  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
>          Starting Apply Kernel Variables...
>          Mounting Configuration File System...
>          Mounting Huge Pages File System...
>          Starting Setup Virtual Console...
> [  OK  ] Reached target Encrypted Volumes.
>          Mounting Debug File System...
> [  OK  ] Reached target Swap.
> [  OK  ] Listening on udev Kernel Socket.
> [  OK  ] Listening on udev Control Socket.
>          Starting udev Coldplug all Devices...
>          Starting udev Kernel Device Manager...
>          Starting Configure read-only root support...
>          Starting Remount Root and Kernel File Systems...
> [  OK  ] Mounted POSIX Message Queue File System.
> [  OK  ] Started Apply Kernel Variables.
> [  OK  ] Mounted Configuration File System.
> [  OK  ] Mounted Huge Pages File System.
> [  OK  ] Mounted Debug File System.
> [  OK  ] Stopped Trigger Flushing of Journal to Persistent Storage.
>          Stopping Journal Service...
> [  OK  ] Stopped Journal Service.
>          Starting Journal Service...
> [  OK  ] Started Journal Service.
> [  OK  ] Started udev Coldplug all Devices.
>          Starting udev Wait for Complete Device Initialization...
> [    4.522666] systemd-udevd[262]: starting version 197
> [    4.529933] EXT4-fs (vda2): re-mounted. Opts: (null)
> [  OK  ] Started udev Kernel Device Manager.
> [  OK  ] Started Remount Root and Kernel File Systems.
> [  OK  ] Reached target Local File Systems (Pre).
>          Starting Load Random Seed...
> [  OK  ] Started udev Wait for Complete Device Initialization.
> [  OK  ] Started Setup Virtual Console.
> [  OK  ] Started Load Random Seed.
> [  OK  ] Found device /dev/ttyS0.
> [    4.837144] microcode: CPU0 sig=0x623, pf=0x0, revision=0x0
> [    4.905812] microcode: CPU1 sig=0x623, pf=0x0, revision=0x0
> [    4.909550] microcode: Microcode Update Driver: v2.00
> <tigran at aivazian.fsnet.co.uk>, Peter Oruba
> [  OK  ] Started Configure read-only root support.
> [  OK  ] Reached target Local File Systems.
>          Starting Security Auditing Service...
>          Starting Trigger Flushing of Journal to Persistent Storage...
>          Starting Recreate Volatile Files and Directories...
> [  OK  ] Started Security Auditing Service.
> [    5.056441] systemd-journald[269]: Received SIGUSR1
> [  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
> [    5.090607] piix4_smbus 0000:00:01.3: SMBus Host Controller at
> 0xb100, revision 0
> [    5.114846] [drm] Initialized drm 1.1.0 20060810
> [    5.131083] [TTM] Zone  kernel: Available graphics memory: 2025052 kiB
> [    5.131656] [TTM] Initializing pool allocator
> [    5.132073] [TTM] Initializing DMA pool allocator
> [    5.132861] [drm] fb mappable at 0x0
> [    5.133285] [drm] vram aper at 0x0
> [    5.133622] [drm] size 0
> [    5.133840] [drm] fb depth is 24
> [    5.134161] [drm]    pitch is 3840
> [    5.134612] fbcon: cirrusdrmfb (fb0) is primary device
> [    5.151197] Console: switching to colour frame buffer device 160x64
> [    5.338075] cirrus 0000:00:02.0: fb0: cirrusdrmfb frame buffer device
> [    5.338623] cirrus 0000:00:02.0: registered panic notifier
> [    5.339150] [drm] Initialized cirrus 1.0.0 20110418 for
> 0000:00:02.0 on minor 0
> [  OK  ] Started Recreate Volatile Files and Directories.
> [  OK  ] Reached target System Initialization.
> [  OK  ] Listening on D-Bus System Message Bus Socket.
> [  OK  ] Reached target Sockets.
> [  OK  ] Reached target Basic System.
>          Starting LSB: Start the ipr init daemon...
>          Starting LSB: Start the iprupdate utility...
>          Starting LSB: Bring up/down networking...
>          Starting firewalld - dynamic firewall daemon...
>          Starting Initial cloud-init job (pre-networking)...
>          Starting Login Service...
>          Starting Permit User Sessions...
>          Starting System Logging Service...
> [  OK  ] Started System Logging Service.
>          Starting D-Bus System Message Bus...
> [  OK  ] Started D-Bus System Message Bus.
> [  OK  ] Started LSB: Start the ipr init daemon.
> [  OK  ] Started LSB: Start the iprupdate utility.
> [  OK  ] Started Permit User Sessions.
>          Starting Command Scheduler...
> [  OK  ] Started Command Scheduler.
>          Starting Getty on tty1...
> [  OK  ] Started Getty on tty1.
>          Starting Serial Getty on ttyS0...
> [  OK  ] Started Serial Getty on ttyS0.
> [  OK  ] Reached target Login Prompts.
>          Starting LSB: Start the ipr dump daemon...
> [  OK  ] Started Login Service.
> [  OK  ] Started LSB: Start the ipr dump daemon.
> [  OK  ] Started firewalld - dynamic firewall daemon.
> [    7.189503] ip6_tables: (C) 2000-2006 Netfilter Core Team
> Cloud-init v. 0.7.1 running 'init-local' at Tue, 09 Apr 2013 06:25:03
> +0000. Up 7.14 seconds.
> [    7.264314] Ebtables v2.0 registered
> [    7.370235] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
> [  OK  ] Started Initial cloud-init job (pre-networking).
> [  OK  ] Started LSB: Bring up/down networking.
> [  OK  ] Reached target Network.
>          Starting OpenSSH server daemon...
>          Starting Sendmail Mail Transport Agent...
>          Starting Initial cloud-init job (metadata service crawler)...
> Cloud-init v. 0.7.1 running 'init' at Tue, 09 Apr 2013 06:25:05 +0000.
> Up 9.91 seconds.
> [  OK  ] Started Sendmail Mail Transport Agent.
>          Starting Sendmail Mail Transport Client...
> ci-info: ++++++++++++++++Net device info+++++++++++++++++
> ci-info: +--------+-------+---------+------+------------+
> ci-info: | Device |   Up  | Address | Mask | Hw-Address |
> ci-info: +--------+-------+---------+------+------------+
> ci-info: |  lo:   | False |    .    |  .   |     .      |
> ci-info: | eth0:  | False |    .    |  .   |     .      |
> ci-info: +--------+-------+---------+------+------------+
> ci-info: ++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++
> ci-info: +-------+-------------+----------+---------------+-----------+-------+
> ci-info: | Route | Destination | Gateway  |    Genmask    | Interface | Flags |
> ci-info: +-------+-------------+----------+---------------+-----------+-------+
> ci-info: |   0   |   0.0.0.0   | 10.0.0.1 |    0.0.0.0    |    eth0   |   UG  |
> ci-info: |   1   |   10.0.0.0  | 0.0.0.0  | 255.255.255.0 |    eth0   |   U   |
> ci-info: |   2   | 169.254.0.0 | 0.0.0.0  |  255.255.0.0  |    eth0   |   U   |
> ci-info: +-------+-------------+----------+---------------+-----------+-------+
> [  OK  ] Started Sendmail Mail Transport Client.
> [  OK  ] Started OpenSSH server daemon.
> [   11.849374] EXT4-fs (vda2): resizing filesystem from 523520 to 2620923 blocks
> [   11.877303] EXT4-fs (vda2): resized filesystem to 2620923
> 
> Fedora release 18 (Spherical Cow)
> Kernel 3.8.3-203.fc18.x86_64 on an x86_64 (ttyS0)
> 
> juergh-155-3-014014-001 login: 2013-04-09 06:25:07,962 -
> __init__.py[WARNING]: User root already exists, skipping.
> [  OK  ] Started Initial cloud-init job (metadata service crawler).
> [  OK  ] Reached target Cloud-config availability.
>          Starting Apply the settings specified in cloud-config...
> Cloud-init v. 0.7.1 running 'modules:config' at Tue, 09 Apr 2013
> 06:25:08 +0000. Up 12.32 seconds.
> [   12.436601] EXT4-fs (vdb): mounting ext3 file system using the ext4 subsystem
> [   12.482671] EXT4-fs (vdb): mounted filesystem with ordered data
> mode. Opts: (null)
>          Stopping OpenSSH server daemon...
> [  OK  ] Stopped OpenSSH server daemon.
>          Starting OpenSSH server daemon...
> [  OK  ] Started OpenSSH server daemon.
> [  OK  ] Started Apply the settings specified in cloud-config.
>          Starting Execute cloud user/final scripts...
> Cloud-init v. 0.7.1 running 'modules:final' at Tue, 09 Apr 2013
> 06:25:08 +0000. Up 12.75 seconds.
> ci-info: ++++++++++Authorized keys from /root/.ssh/authorized_keys for
> user root++++++++++
> ci-info: +---------+-------------------------------------------------+---------+---------+
> ci-info: | Keytype |                Fingerprint (md5)                |
> Options | Comment |
> ci-info: +---------+-------------------------------------------------+---------+---------+
> ci-info: | ssh-rsa | f3:b1:af:99:68:10:b2:cf:24:3b:80:d5:b3:91:f5:9f |
>    -    |  juergh |
> ci-info: +---------+-------------------------------------------------+---------+---------+
> ec2:
> ec2: #############################################################
> ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
> ec2: 1024 71:8e:9e:76:f7:0d:27:b0:2b:fd:b8:e1:11:4a:d0:75   (DSA)
> ec2: 2048 5d:60:7a:a1:e7:79:0c:18:5a:65:32:91:a7:6b:ce:d4   (RSA1)
> ec2: 2048 32:f9:70:37:29:25:52:b3:10:20:7f:5a:0d:70:1d:61   (RSA)
> ec2: -----END SSH HOST KEY FINGERPRINTS-----
> ec2: #############################################################
> -----BEGIN SSH HOST KEY KEYS-----
> 2048 65537 25659936447982097242903625955751562390206978113179489445209005881232327925479989107559568603820411642347473682435870094701331459915115525861005717120905306981227259553459265686013370883785556884734243864651568233760337630957864403351860315707566073522658184364807780460988758730427245386053506113610115038496348465857712714827497278311970678776689863490557229242028272112582790464534465672492847562073165943900087753737003767940584849540222416271895517901556632206677436957008212802070082842016323006294806370442076822134351225122086522641036865560012806838899013885418955172335385095053705626091019898094762087247277
> ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyv5upe2BakbQxTraNnfsLdko0VlGQJDUPaeG+9ANBKp38LHmXVDLw+WnWhHpajz5QanOgtT2okQkfb1PQrOFEBuVSj6ctKVo2AOssU6HXoHzww5Kv8V4sVPVMMFCxyXxgBQWPdiHgOEKzlMStAZuA1Xp9nwIS4u7kQ/h0gX6lIUYMXwzTt+JRChWHSMQQUUuiI+oLhbXI4GszC8C50gmRohv+mBykTXfc6XlumouXcKZYPwec5eC62hF/OVOPM+fAGPtcGSgZ4eG1OTCYJlTW+ZbbNpK6+yFKliHMao6zbVUo6M1snxg/Ytocygt7n7sItXDdAyEv+NtWEkKV0sRl
> -----END SSH HOST KEY KEYS-----
> Cloud-init v. 0.7.1 finished at Tue, 09 Apr 2013 06:25:08 +0000.
> Datasource DataSourceEc2.  Up 12.89 seconds
> [  OK  ] Started Execute cloud user/final scripts.
> [  OK  ] Reached target Multi-User.
> _______________________________________________
> cloud mailing list
> cloud at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/cloud
> 


-- 
/kashyap


More information about the cloud mailing list