clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
524 stars 29 forks source link

can't get system log from clearlinux AWS VM #1078

Open jwang11 opened 5 years ago

jwang11 commented 5 years ago

Create and launch clearlinux VM instance in AWS cloud. From AWS EC2 dashboard, click Instances -> Action -> Instance setting -> Get system log. There is nothing output.

However, in Ubuntu 18.04 instance, when click "Get system log", I can see a lot of journal log message including kernel message and other syslog like below.

[    0.000000] Linux version 4.15.0-1043-aws (buildd@lcy01-amd64-030) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #45-Ubuntu SMP Mon Jun 24 14:07:03 UTC 2019 (Ubuntu 4.15.0-1043.45-aws 4.15.18)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1043-aws root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0 nvme_core.io_timeout=4294967295
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
[    0.000000] x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
[    0.000000] x86/fpu: xstate_offset[5]:  960, xstate_sizes[5]:   64
[    0.000000] x86/fpu: xstate_offset[6]: 1024, xstate_sizes[6]:  512
[    0.000000] x86/fpu: xstate_offset[7]: 1536, xstate_sizes[7]: 1024
[    0.000000] x86/fpu: xstate_offset[9]: 2560, xstate_sizes[9]:    8
[    0.000000] x86/fpu: Enabled xstate features 0x2ff, context size is 2568 bytes, using 'compacted' format.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bfff8fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bfff9000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000e03fffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000007feffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000007ff000000-0x000000083fffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.7 present.
[    0.000000] DMI: Amazon EC2 c5.4xlarge/, BIOS 1.0 10/16/2017
[    0.000000] Hypervisor detected: KVM
[    0.000000] e820: last_pfn = 0x7ff000 max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] e820: last_pfn = 0xbfff9 max_arch_pfn = 0x400000000
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Using GB pages for direct mapping
[    0.000000] RAMDISK: [mem 0x35997000-0x36cc2fff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F8FA0 000014 (v00 AMAZON)
[    0.000000] ACPI: RSDT 0x00000000BFFFDCC0 00003C (v01 AMAZON AMZNRSDT 00000001 AMZN 00000001)
[    0.000000] ACPI: FACP 0x00000000BFFFFF80 000074 (v01 AMAZON AMZNFACP 00000001 AMZN 00000001)
[    0.000000] ACPI: DSDT 0x00000000BFFFDD00 0010E9 (v01 AMAZON AMZNDSDT 00000001 AMZN 00000001)
[    0.000000] ACPI: FACS 0x00000000BFFFFF40 000040
[    0.000000] ACPI: SSDT 0x00000000BFFFF170 000DC8 (v01 AMAZON AMZNSSDT 00000001 AMZN 00000001)
[    0.000000] ACPI: APIC 0x00000000BFFFF010 0000E6 (v01 AMAZON AMZNAPIC 00000001 AMZN 00000001)
[    0.000000] ACPI: SRAT 0x00000000BFFFEE90 000180 (v01 AMAZON AMZNSRAT 00000001 AMZN 00000001)
[    0.000000] ACPI: SLIT 0x00000000BFFFEE20 00006C (v01 AMAZON AMZNSLIT 00000001 AMZN 00000001)
[    0.000000] ACPI: WAET 0x00000000BFFFEDF0 000028 (v01 AMAZON AMZNWAET 00000001 AMZN 00000001)
[    0.000000] SRAT: PXM 0 -> APIC 0x00 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x01 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x02 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x03 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x04 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x05 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x06 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x07 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x08 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x09 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x0a -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x0b -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x0c -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x0d -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x0e -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x0f -> Node 0
[    0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0xbfffffff]
[    0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0x83fffffff]
[    0.000000] NUMA: Node 0 [mem 0x00000000-0xbfffffff] + [mem 0x100000000-0x7feffffff] -> [mem 0x00000000-0x7feffffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x7fefd4000-0x7feffefff]
[    0.000000] kvm-clock: cpu 0, msr 7:fef53001, primary cpu clock
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: using sched offset of 4091492300 cycles
[    0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000007feffffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000bfff8fff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x00000007feffffff]
[    0.000000] Reserved but unavailable: 4201 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x00000007feffffff]
[    0.000000] ACPI: PM-Timer IO Port: 0xb008
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    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] smpboot: Allowing 16 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xbfff9000-0xbfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xc0000000-0xdfffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xe03fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xe0400000-0xfffbffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
[    0.000000] e820: [mem 0xc0000000-0xdfffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.000000] random: get_random_bytes called from start_kernel+0x99/0x4fd with crng_init=0
[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:16 nr_cpu_ids:16 nr_node_ids:1
[    0.000000] percpu: Embedded 46 pages/cpu @        (ptrval) s151552 r8192 d28672 u262144
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 7fe224040
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 7995330
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1043-aws root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0 nvme_core.io_timeout=4294967295
[    0.000000] Memory: 31866024K/32489052K available (12300K kernel code, 2394K rwdata, 3924K rodata, 2380K init, 2376K bss, 623028K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.000000] Kernel/User page tables isolation: enabled
[    0.000000] ftrace: allocating 37560 entries in 147 pages
[    0.004000] Hierarchical RCU implementation.
[    0.004000]  RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=16.
[    0.004000]  Tasks RCU enabled.
[    0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[    0.004000] NR_IRQS: 524544, nr_irqs: 552, preallocated irqs: 16
[    0.004000] Console: colour VGA+ 80x25
[    0.004000] console [tty1] enabled
[    0.004000] console [ttyS0] enabled
[    0.004000] ACPI: Core revision 20170831
[    0.004000] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    0.004005] APIC: Switch to symmetric I/O mode setup
[    0.007875] x2apic enabled
[    0.008002] Switched APIC routing to physical x2apic.
[    0.017092] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
[    0.020000] tsc: Detected 3000.000 MHz processor
[    0.020006] Calibrating delay loop (skipped) preset value.. 6000.00 BogoMIPS (lpj=12000000)
[    0.024001] pid_max: default: 32768 minimum: 301
[    0.028036] Security Framework initialized
[    0.032001] Yama: becoming mindful.
[    0.036026] AppArmor: AppArmor initialized
[    0.044969] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes)
[    0.053326] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.056087] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.060075] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.064288] mce: CPU supports 32 MCE banks
[    0.068105] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    0.072000] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.076001] Spectre V2 : Mitigation: Full generic retpoline
[    0.080000] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.084000] Speculative Store Bypass: Vulnerable
[    0.088027] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.092099] Freeing SMP alternatives memory: 36K
[    0.100240] smpboot: CPU0: Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz (family: 0x6, model: 0x55, stepping: 0x3)
[    0.104072] Performance Events: unsupported p6 CPU model 85 no PMU driver, software events only.
[    0.108030] Hierarchical SRCU implementation.
[    0.112323] NMI watchdog: Perf event create on CPU 0 failed with -2
[    0.116002] NMI watchdog: Perf NMI watchdog permanently disabled
[    0.120173] smp: Bringing up secondary CPUs ...
[    0.123741] x86: Booting SMP configuration:
[    0.124003] .... node  #0, CPUs:        #1
[    0.004000] kvm-clock: cpu 1, msr 7:fef53041, secondary cpu clock
[    0.126229] KVM setup async PF for cpu 1
[    0.127121] kvm-stealtime: cpu 1, msr 7fe264040
[    0.132093]   #2
[    0.004000] kvm-clock: cpu 2, msr 7:fef53081, secondary cpu clock
[    0.133937] KVM setup async PF for cpu 2
[    0.135099] kvm-stealtime: cpu 2, msr 7fe2a4040
[    0.140093]   #3
[    0.004000] kvm-clock: cpu 3, msr 7:fef530c1, secondary cpu clock
[    0.141913] KVM setup async PF for cpu 3
[    0.143139] kvm-stealtime: cpu 3, msr 7fe2e4040
[    0.148088]   #4
[    0.004000] kvm-clock: cpu 4, msr 7:fef53101, secondary cpu clock
[    0.149935] KVM setup async PF for cpu 4
[    0.151102] kvm-stealtime: cpu 4, msr 7fe324040
[    0.260088]   #5
[    0.004000] kvm-clock: cpu 5, msr 7:fef53141, secondary cpu clock
[    0.261932] KVM setup async PF for cpu 5
[    0.263124] kvm-stealtime: cpu 5, msr 7fe364040
[    0.268090]   #6
[    0.004000] kvm-clock: cpu 6, msr 7:fef53181, secondary cpu clock
[    0.272465] KVM setup async PF for cpu 6
[    0.275141] kvm-stealtime: cpu 6, msr 7fe3a4040
[    0.276091]   #7
[    0.004000] kvm-clock: cpu 7, msr 7:fef531c1, secondary cpu clock
[    0.280973] KVM setup async PF for cpu 7
[    0.283188] kvm-stealtime: cpu 7, msr 7fe3e4040
[    0.284090]   #8
[    0.004000] kvm-clock: cpu 8, msr 7:fef53201, secondary cpu clock
[    0.289959] KVM setup async PF for cpu 8
[    0.291096] kvm-stealtime: cpu 8, msr 7fe424040
[    0.296501] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[    0.300099]   #9
[    0.004000] kvm-clock: cpu 9, msr 7:fef53241, secondary cpu clock
[    0.301903] KVM setup async PF for cpu 9
[    0.303124] kvm-stealtime: cpu 9, msr 7fe464040
[    0.308091]  #10
[    0.004000] kvm-clock: cpu 10, msr 7:fef53281, secondary cpu clock
[    0.309899] KVM setup async PF for cpu 10
[    0.311105] kvm-stealtime: cpu 10, msr 7fe4a4040
[    0.316093]  #11
[    0.004000] kvm-clock: cpu 11, msr 7:fef532c1, secondary cpu clock
[    0.317920] KVM setup async PF for cpu 11
[    0.319095] kvm-stealtime: cpu 11, msr 7fe4e4040
[    0.324093]  #12
[    0.004000] kvm-clock: cpu 12, msr 7:fef53301, secondary cpu clock
[    0.325897] KVM setup async PF for cpu 12
[    0.327158] kvm-stealtime: cpu 12, msr 7fe524040
[    0.332089]  #13
[    0.004000] kvm-clock: cpu 13, msr 7:fef53341, secondary cpu clock
[    0.333892] KVM setup async PF for cpu 13
[    0.335108] kvm-stealtime: cpu 13, msr 7fe564040
[    0.340087]  #14
[    0.004000] kvm-clock: cpu 14, msr 7:fef53381, secondary cpu clock
[    0.344381] KVM setup async PF for cpu 14
[    0.347123] kvm-stealtime: cpu 14, msr 7fe5a4040
[    0.348086]  #15
[    0.004000] kvm-clock: cpu 15, msr 7:fef533c1, secondary cpu clock
[    0.352895] KVM setup async PF for cpu 15
[    0.355137] kvm-stealtime: cpu 15, msr 7fe5e4040
[    0.356007] smp: Brought up 1 node, 16 CPUs
[    0.360002] smpboot: Max logical packages: 1
[    0.363327] smpboot: Total of 16 processors activated (96000.00 BogoMIPS)
[    0.365490] devtmpfs: initialized
[    0.366991] x86/mm: Memory block size: 128MB
[    0.369717] evm: security.selinux
[    0.376003] evm: security.SMACK64
[    0.378945] evm: security.SMACK64EXEC
[    0.380002] evm: security.SMACK64TRANSMUTE
[    0.383282] evm: security.SMACK64MMAP
[    0.388002] evm: security.apparmor
[    0.390962] evm: security.ima
[    0.392002] evm: security.capability
[    0.396125] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.404022] futex hash table entries: 4096 (order: 6, 262144 bytes)
[    0.408405] RTC time:  3:03:17, date: 07/12/19
[    0.411968] NET: Registered protocol family 16
[    0.416069] audit: initializing netlink subsys (disabled)
[    0.420012] audit: type=2000 audit(1562900596.673:1): state=initialized audit_enabled=0 res=1
[    0.424006] cpuidle: using governor ladder
[    0.428040] cpuidle: using governor menu
[    0.431421] ACPI: bus type PCI registered
[    0.436003] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.440119] PCI: Using configuration type 1 for base access
[    0.445353] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.448003] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.456115] ACPI: Added _OSI(Module Device)
[    0.459407] ACPI: Added _OSI(Processor Device)
[    0.460003] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.463529] ACPI: Added _OSI(Processor Aggregator Device)
[    0.468002] ACPI: Added _OSI(Linux-Dell-Video)
[    0.471397] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.476002] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.481637] ACPI: Interpreter enabled
[    0.484009] ACPI: (supports S0 S4 S5)
[    0.487083] ACPI: Using IOAPIC for interrupt routing
[    0.492011] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.496756] ACPI: Enabled 16 GPEs in block 00 to 0F
[    0.502173] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.508006] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[    0.512005] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.516006] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.524292] acpiphp: Slot [3] registered
[    0.527544] acpiphp: Slot [4] registered
[    0.532031] acpiphp: Slot [5] registered
[    0.535271] acpiphp: Slot [6] registered
[    0.536031] acpiphp: Slot [7] registered
[    0.539280] acpiphp: Slot [8] registered
[    0.544031] acpiphp: Slot [9] registered
[    0.547270] acpiphp: Slot [10] registered
[    0.552031] acpiphp: Slot [11] registered
[    0.555284] acpiphp: Slot [12] registered
[    0.556033] acpiphp: Slot [13] registered
[    0.559289] acpiphp: Slot [14] registered
[    0.564031] acpiphp: Slot [15] registered
[    0.567306] acpiphp: Slot [16] registered
[    0.572032] acpiphp: Slot [17] registered
[    0.575281] acpiphp: Slot [18] registered
[    0.576031] acpiphp: Slot [19] registered
[    0.579272] acpiphp: Slot [20] registered
[    0.584032] acpiphp: Slot [21] registered
[    0.587270] acpiphp: Slot [22] registered
[    0.592031] acpiphp: Slot [23] registered
[    0.595264] acpiphp: Slot [24] registered
[    0.596031] acpiphp: Slot [25] registered
[    0.599257] acpiphp: Slot [26] registered
[    0.604031] acpiphp: Slot [27] registered
[    0.607301] acpiphp: Slot [28] registered
[    0.608031] acpiphp: Slot [29] registered
[    0.611274] acpiphp: Slot [30] registered
[    0.616031] acpiphp: Slot [31] registered
[    0.619275] PCI host bridge to bus 0000:00
[    0.624003] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.628003] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.632002] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.636002] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[    0.644003] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.650304] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.656018] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.660067] pci 0000:00:01.3: PIIX4 devres E PIO at fff0-ffff
[    0.664017] pci 0000:00:01.3: PIIX4 devres F MMIO at ffc00000-ffffffff
[    0.668018] pci 0000:00:01.3: PIIX4 devres G PIO at fff0-ffff
[    0.672018] pci 0000:00:01.3: PIIX4 devres H MMIO at ffc00000-ffffffff
[    0.676018] pci 0000:00:01.3: PIIX4 devres I PIO at fff0-ffff
[    0.679979] pci 0000:00:01.3: PIIX4 devres J PIO at fff0-ffff
[    0.693311] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.696099] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.700054] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.703999] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.707892] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.712779] SCSI subsystem initialized
[    0.716026] pci 0000:00:03.0: vgaarb: setting as boot VGA device
[    0.720000] pci 0000:00:03.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.728003] pci 0000:00:03.0: vgaarb: bridge control possible
[    0.731949] vgaarb: loaded
[    0.736017] ACPI: bus type USB registered
[    0.739246] usbcore: registered new interface driver usbfs
[    0.740010] usbcore: registered new interface driver hub
[    0.744008] usbcore: registered new device driver usb
[    0.748054] EDAC MC: Ver: 3.0.0
[    0.752029] PCI: Using ACPI for IRQ routing
[    0.756216] NetLabel: Initializing
[    0.759203] NetLabel:  domain hash size = 128
[    0.764002] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.767962] NetLabel:  unlabeled traffic allowed by default
[    0.772070] clocksource: Switched to clocksource kvm-clock
[    0.784115] VFS: Disk quotas dquot_6.6.0
[    0.787320] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.791806] AppArmor: AppArmor Filesystem Enabled
[    0.795317] pnp: PnP ACPI init
[    0.798501] pnp: PnP ACPI: found 5 devices
[    0.808031] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.814783] NET: Registered protocol family 2
[    0.818331] TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.824609] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.829048] TCP: Hash tables configured (established 262144 bind 65536)
[    0.833404] UDP hash table entries: 16384 (order: 7, 524288 bytes)
[    0.837598] UDP-Lite hash table entries: 16384 (order: 7, 524288 bytes)
[    0.841977] NET: Registered protocol family 1
[    0.845332] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.849360] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.853552] pci 0000:00:03.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.860048] Unpacking initramfs...
[    1.095751] Freeing initrd memory: 19632K
[    1.099033] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.103262] software IO TLB [mem 0xbbff9000-0xbfff9000] (64MB) mapped at [        (ptrval)-        (ptrval)]
[    1.110346] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2b3e459bf4c, max_idle_ns: 440795289890 ns
[    1.117482] Scanning for low memory corruption every 60 seconds
[    1.122020] Initialise system trusted keyrings
[    1.125469] Key type blacklist registered
[    1.128744] workingset: timestamp_bits=36 max_order=23 bucket_order=0
[    1.133775] zbud: loaded
[    1.136833] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.140979] fuse init (API version 7.26)
[    1.145602] Key type asymmetric registered
[    1.148874] Asymmetric key parser 'x509' registered
[    1.152486] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.158583] io scheduler noop registered
[    1.161786] io scheduler deadline registered
[    1.165145] io scheduler cfq registered (default)
[    1.168942] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    1.277320] ACPI: Power Button [PWRF]
[    1.280451] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[    1.286627] ACPI: Sleep Button [SLPF]
[    1.290334] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.318142] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.324764] Linux agpgart interface v0.103
[    1.330556] loop: module loaded
[    1.333599] nvme nvme0: pci function 0000:00:04.0
[    1.337197] libphy: Fixed MDIO Bus: probed
[    1.337404] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[    1.344605] tun: Universal TUN/TAP device driver, 1.6
[    1.348262] PPP generic driver version 2.4.2
[    1.351641] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.355897] ehci-pci: EHCI PCI platform driver
[    1.359283] ehci-platform: EHCI generic platform driver
[    1.362986] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.367077] ohci-pci: OHCI PCI platform driver
[    1.370475] ohci-platform: OHCI generic platform driver
[    1.374190] uhci_hcd: USB Universal Host Controller Interface driver
[    1.378423] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    1.384915] i8042: Warning: Keylock active
[    1.554170]  nvme0n1: p1
[    2.543224] serio: i8042 KBD port at 0x60,0x64 irq 1
[    2.546998] mousedev: PS/2 mouse device common for all mice
[    2.551077] rtc_cmos 00:00: RTC can wake from S4
[    2.555153] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[    2.559518] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram
[    2.563707] device-mapper: uevent: version 1.0.3
[    2.567287] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.574139] NET: Registered protocol family 10
[    2.580520] Segment Routing with IPv6
[    2.583645] NET: Registered protocol family 17
[    2.587133] Key type dns_resolver registered
[    2.591649] RAS: Correctable Errors collector initialized.
[    2.595529] sched_clock: Marking stable (2595519114, 0)->(3522343626, -926824512)
[    2.602206] registered taskstats version 1
[    2.605525] Loading compiled-in X.509 certificates
[    2.610783] Loaded X.509 cert 'Build time autogenerated kernel key: 577300d4b04f19d4cf0bc080fdbe98f8a68368c7'
[    2.617960] zswap: loaded using pool lzo/zbud
[    2.623914] Key type big_key registered
[    2.627113] Key type trusted registered
[    2.631376] Key type encrypted registered
[    2.634659] AppArmor: AppArmor sha1 policy hashing enabled
[    2.638540] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    2.642742] ima: Allocated hash algorithm: sha1
[    2.646254] evm: HMAC attrs: 0x1
[    2.649385]   Magic number: 11:734:57
[    2.652534] nvme-subsystem nvme-subsys0: hash matches
[    2.656293] memory memory89: hash matches
[    2.659761] rtc_cmos 00:00: setting system clock to 2019-07-12 03:03:19 UTC (1562900599)
[    2.666456] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    2.670544] EDD information not available.
[    2.676388] Freeing unused kernel image memory: 2380K
[    2.712010] Write protecting the kernel read-only data: 18432k
[    2.716746] Freeing unused kernel image memory: 2008K
[    2.720564] Freeing unused kernel image memory: 172K
[    2.729068] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    2.733337] x86/mm: Checking user space page tables
[    2.741630] x86/mm: Checked W+X mappings: passed, no W+X pages found.
Loading, please wait...
starting version 237
[    2.794895] ena: Elastic Network Adapter (ENA) v2.0.3K
[    2.798987] ena 0000:00:05.0: Elastic Network Adapter (ENA) v2.0.3K
[    2.809150] AVX2 version of gcm_enc/dec engaged.
[    2.812795] AES CTR mode by8 optimization enabled
[    2.816025] ena: ena device version: 0.10
[    2.816026] ena: ena controller version: 0.0.1 implementation version 1
[    2.960041] ena 0000:00:05.0: creating 8 io queues. queue size: 1024. LLQ is ENABLED
[    2.968550] ena 0000:00:05.0: Elastic Network Adapter (ENA) found at mem febf4000, mac addr 0a:42:29:6e:8c:8c Queues 8, Placement policy: Low Latency
[    2.978049] ena 0000:00:05.0 ens5: renamed from eth0
[    3.068508] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
Begin: Loading essential drivers ... [    6.176012] raid6: sse2x1   gen() 11827 MB/s
[    6.224010] raid6: sse2x1   xor()  8613 MB/s
[    6.272011] raid6: sse2x2   gen() 14600 MB/s
[    6.320009] raid6: sse2x2   xor()  9874 MB/s
[    6.368007] raid6: sse2x4   gen() 16602 MB/s
[    6.416009] raid6: sse2x4   xor() 10662 MB/s
[    6.464009] raid6: avx2x1   gen() 19460 MB/s
[    6.512008] raid6: avx2x1   xor() 16209 MB/s
[    6.560009] raid6: avx2x2   gen() 27630 MB/s
[    6.608008] raid6: avx2x2   xor() 17780 MB/s
[    6.656009] raid6: avx2x4   gen() 29008 MB/s
[    6.704007] raid6: avx2x4   xor() 18757 MB/s
[    6.752009] raid6: avx512x1 gen() 29483 MB/s
[    6.800009] raid6: avx512x1 xor() 17039 MB/s
[    6.848008] raid6: avx512x2 gen() 31638 MB/s
[    6.896009] raid6: avx512x2 xor() 21250 MB/s
[    6.944008] raid6: avx512x4 gen() 32746 MB/s
[    6.992009] raid6: avx512x4 xor() 18532 MB/s
[    6.995377] raid6: using algorithm avx512x4 gen() 32746 MB/s
[    6.999335] raid6: .... xor() 18532 MB/s, rmw enabled
[    7.003045] raid6: using avx512x2 recovery algorithm
[    7.007572] xor: automatically using best checksumming function   avx       
[    7.012949] async_tx: api initialized (async)
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [    7.049421] Btrfs loaded, crc32c=crc32c-intel
Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[    7.089561] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... [    7.174391] random: fast init done
done.
[    7.931187] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.956247] random: systemd: uninitialized urandom read (16 bytes read)
[    7.961699] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    7.976260] systemd[1]: Detected virtualization kvm.
[    7.979867] systemd[1]: Detected architecture x86-64.
[    7.983555] random: systemd: uninitialized urandom read (16 bytes read)
[    7.987886] random: systemd: uninitialized urandom read (16 bytes read)

Welcome to Ubuntu 18.04.2 LTS!

[    8.023264] systemd[1]: Set hostname to <ubuntu>.
[    8.046007] systemd[1]: Initializing machine ID from KVM UUID.
[    8.050000] systemd[1]: Installed transient /etc/machine-id file.
[    8.340048] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    8.344444] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.348728] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    8.354071] systemd[1]: Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on LVM2 poll daemon socket.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket.
         Starting Remount Root and Kernel File Systems...
         Mounting POSIX Message Queue File System...
         Starting Create list of required st…ce nodes for the current kernel...
         Starting Load Kernel Modules...
         Mounting Kernel Debug File System...
         Starting Set the console keyboard layout...
[  OK  ] Listening on udev Control Socket.
         Starting Journal Service...
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on Network Service Netlink Socket.
         Starting Uncomplicated firewall...
[  OK  ] Reached target User and Group Name Lookups.
[  OK  ] Reached target Swap.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
         Starting Monitoring of LVM2 mirrors…ng dmeventd or progress polling...
[    8.387562] Loading iSCSI transport class v2.0-870.
         Mounting Huge Pages File System...
         Starting udev Coldplug all Devices...
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Uncomplicated firewall.
         Starting Create Static Device Nodes in /dev...
[    8.407988] iscsi: registered transport (tcp)
[  OK  ] Started Journal Service.
[  OK  ] Started Create Static Device Nodes in /dev.
[    8.449760] iscsi: registered transport (iser)
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Load Kernel Modules.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
         Starting Load/Save Random Seed...
         Starting udev Kernel Device Manager...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started LVM2 metadata daemon.
[  OK  ] Started Monitoring of LVM2 mirrors,…sing dmeventd or progress polling.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Commit a transient machine-id on disk...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Set console font and keymap...
         Starting ebtables ruleset management...
         Starting AppArmor initialization...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started ebtables ruleset management.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Commit a transient machine-id on disk.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started AppArmor initialization.
         Starting Initial cloud-init job (pre-networking)...
[   11.512807] cloud-init[762]: Cloud-init v. 19.1-1-gbaa47854-0ubuntu1~18.04.1 running 'init-local' at Fri, 12 Jul 2019 03:03:27 +0000. Up 11.06 seconds.
[  OK  ] Started Initial cloud-init job (pre-networking).
[  OK  ] Reached target Network (Pre).
         Starting Network Service...
[  OK  ] Started Network Service.
         Starting Network Name Resolution...
         Starting Wait for Network to be Configured...
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started Wait for Network to be Configured.
         Starting Initial cloud-init job (metadata service crawler)...
[   14.226188] cloud-init[872]: Cloud-init v. 19.1-1-gbaa47854-0ubuntu1~18.04.1 running 'init' at Fri, 12 Jul 2019 03:03:30 +0000. Up 14.11 seconds.
[   14.228095] cloud-init[872]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
[   14.229732] cloud-init[872]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
[   14.231336] cloud-init[872]: ci-info: | Device |  Up  |           Address           |      Mask     | Scope  |     Hw-Address    |
[   14.232958] cloud-init[872]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
[   14.234569] cloud-init[872]: ci-info: |  ens5  | True |        172.31.30.148        | 255.255.240.0 | global | 0a:42:29:6e:8c:8c |
[   14.236212] cloud-init[872]: ci-info: |  ens5  | True | fe80::842:29ff:fe6e:8c8c/64 |       .       |  link  | 0a:42:29:6e:8c:8c |
[   14.237836] cloud-init[872]: ci-info: |   lo   | True |          127.0.0.1          |   255.0.0.0   |  host  |         .         |
[   14.239402] cloud-init[872]: ci-info: |   lo   | True |           ::1/128           |       .       |  host  |         .         |
[   14.258290] cloud-init[872]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
[   14.259944] cloud-init[872]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++
[   14.261354] cloud-init[872]: ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
[   14.262779] cloud-init[872]: ci-info: | Route | Destination |   Gateway   |     Genmask     | Interface | Flags |
[   14.264212] cloud-init[872]: ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
[   14.265644] cloud-init[872]: ci-info: |   0   |   0.0.0.0   | 172.31.16.1 |     0.0.0.0     |    ens5   |   UG  |
[   14.267077] cloud-init[872]: ci-info: |   1   | 172.31.16.0 |   0.0.0.0   |  255.255.240.0  |    ens5   |   U   |
[   14.268520] cloud-init[872]: ci-info: |   2   | 172.31.16.1 |   0.0.0.0   | 255.255.255.255 |    ens5   |   UH  |
[   14.269910] cloud-init[872]: ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
[   14.288218] cloud-init[872]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[   14.289429] cloud-init[872]: ci-info: +-------+-------------+---------+-----------+-------+
[   14.290569] cloud-init[872]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[   14.291715] cloud-init[872]: ci-info: +-------+-------------+---------+-----------+-------+
[   14.292884] cloud-init[872]: ci-info: |   1   |  fe80::/64  |    ::   |    ens5   |   U   |
[   14.294050] cloud-init[872]: ci-info: |   3   |    local    |    ::   |    ens5   |   U   |
[   14.295173] cloud-init[872]: ci-info: |   4   |   ff00::/8  |    ::   |    ens5   |   U   |
[   14.296333] cloud-init[872]: ci-info: +-------+-------------+---------+-----------+-------+
[   15.628895] cloud-init[872]: Generating public/private rsa key pair.
[   15.629949] cloud-init[872]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
[   15.631135] cloud-init[872]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
[   15.632320] cloud-init[872]: The key fingerprint is:
[   15.633051] cloud-init[872]: SHA256:TKCMjXmtPE+94wfbSX1MdgP/oXpb510uCmQ6DHj/xkU root@ip-172-31-30-148
[   15.634282] cloud-init[872]: The key's randomart image is:
[   15.635046] cloud-init[872]: +---[RSA 2048]----+
[   15.635733] cloud-init[872]: |      .          |
[   15.636439] cloud-init[872]: |   * o .     .   |
[   15.637140] cloud-init[872]: |  + = . .     o  |
[   15.637829] cloud-init[872]: |   o o +    E o+.|
[   15.638521] cloud-init[872]: |    = + S oo +..+|
[   15.639209] cloud-init[872]: |     = +.=. o.o .|
[   15.639907] cloud-init[872]: |      . B*.o.. .o|
[   15.640621] cloud-init[872]: |       ..+*o .oo+|
[   15.641308] cloud-init[872]: |        .o. oo..+|
[   15.641993] cloud-init[872]: +----[SHA256]-----+
[   15.642674] cloud-init[872]: Generating public/private dsa key pair.
[   15.643578] cloud-init[872]: Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
[   15.644736] cloud-init[872]: Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
[   15.657957] cloud-init[872]: The key fingerprint is:
[   15.658691] cloud-init[872]: SHA256:J/eNDzRww9Jz+VjwuE+q/f/rCyZaos1TmIlSkcrd2z0 root@ip-172-31-30-148
[   15.659978] cloud-init[872]: The key's randomart image is:
[   15.660819] cloud-init[872]: +---[DSA 1024]----+
[   15.661527] cloud-init[872]: |        .     .  |
[   15.662217] cloud-init[872]: |       o   o   = |
[   15.662905] cloud-init[872]: |    . o o o * + o|
[   15.663611] cloud-init[872]: |     o o . + + = |
[   15.664316] cloud-init[872]: |      . S O + o o|
[   15.665008] cloud-init[872]: |     . . O = E + |
[   15.665708] cloud-init[872]: |      .  ..o+o+ .|
[   15.666404] cloud-init[872]: |        +.+ o=.  |
[   15.667095] cloud-init[872]: |       . +. . +=O|
[   15.667782] cloud-init[872]: +----[SHA256]-----+
[  OK  ] Started Initial cloud-init job (metadata service crawler).
[   15.668493] cloud-init[872]: Generating public/private ecdsa key pair.
[  OK  ] Reached target Network is Online.
[   15.670954] cloud-init[872]: Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
[   15.677926]          cloud-initStarting Availability of block devices...[872]: 
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
[  OK  ] Reached target Remote File Systems (Pre).[   15.679658] 
cloud-init[872]: The key fingerprint is:
[  OK  ] Reached target Remote File Systems.
[   15.681034] cloud-init[872]: SHA256:rT/84UU65Ix3mva0XuC0AiDEHYKLLzJvXZ7z5knlvzo root@ip-172-31-30-148
[  OK  ] Reached target System Initialization.
[   15.682889] cloud-init[872]: The key's randomart image is:
[  OK  ] Listening on Open-iSCSI iscsid Socket.[   15.684515] 
cloud-init[872]: +---[ECDSA 256]---+
[   15.685980] cloud-init[872]: |     oo...       |
         Starting Socket activation for snappy daemon.
[   15.697448] cloud-init[872]: |    .....        |
[  OK  ] Started Discard unused blocks once a week.
[   15.698697] cloud-init[872]: |   . .. .        |
[  OK  ] Started Daily Cleanup of Temporary Directories.
[   15.700155] cloud-init[872]: |  . .  . o       |
[   15.701693] cloud-init[872]: |   .    S + . +  |
[  OK  ] Started ACPI Events Check.[   15.702389] 
cloud-init[872]: |o . . .  + * = o |
[  OK  ] Reached target Paths.
[   15.703587] cloud-init[872]: | + o o .o.o O * .|
[  OK  ] Listening on D-Bus System Message Bus Socket.
[   15.704717] cloud-init[872]: |  o . +..oE+.X o |
[   15.706205] cloud-init[872]: | .     =+ o*B++  |
[  OK  ] Listening on UUID daemon activation socket.
[   15.706250] cloud-init[872]: +----[SHA256]-----+
[   15.708248] cloud-init[872]: Generating public/private ed25519 key pair.
         Starting LXD - unix socket.
[   15.709193] cloud-init[872]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
[   15.710871] [  OK  cloud-init] [872]: Listening on ACPID Listen Socket.Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.

[  OK  ] Started Daily apt download activities.
[   15.729212] cloud-init[872]: The key fingerprint is:
[  OK  ] Started Daily apt upgrade and clean activities.
[   15.729938] cloud-init[872]: SHA256:g0PDFHAcpLookU85uGq+9R83w0DcAkU5Y3NP2VSlwqA root@ip-172-31-30-148
[  OK  ] Started Message of the Day.
[   15.731880] cloud-init[872]: The key's randomart image is:
[  OK  ] Reached target Timers.
[   15.733172] cloud-init[872]: +--[ED25519 256]--+
[  OK  ] Reached target Cloud-config availability.
ahkok commented 5 years ago

This is most likely due to kernel output not going to /dev/console or perhaps /dev/ttyS0 or similar.

Can you boot an instance and show the contents of /proc/cmdline?

jwang11 commented 5 years ago

login AWS clear VM,

$cat /proc/cmdline
BOOT_IMAGE=org.clearlinux.aws.5.2.2-143 root=PARTUUID=b54327a8-241c-451f-85e9-56784b59665f console=tty0 console=ttyS0,115200n8 quiet init=/usr/bin/initra-aws initcall_debug tsc=reliable no_timer_check noreplace-smp rootfstype=ext4 cryptomgr.notests rcupdate.rcu_expedited=1 rw

$ uname -a
Linux clr-ec2b8e88e0a629db2c6fc0235bbd545f 5.2.2-143.aws #2 SMP Tue Jul 23 16:26:39 PDT 2019 x86_64 GNU/Linux

login AWS ubuntu VM,

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-1043-aws root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0 nvme_core.io_timeout=4294967295

$uname -a
Linux ip-172-31-30-148 4.15.0-1043-aws #45-Ubuntu SMP Mon Jun 24 14:07:03 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
jwang11 commented 5 years ago

Compare kernel cmdline between clearlinux and Ubuntu in AWS, clear use console=tty0 but ubuntu is console=tty1

ahkok commented 5 years ago

@jwang11 can you try modifying the boot options such that console=tty1 and see if that works???

jwang11 commented 5 years ago

AWS image use legacy bios and syslinux as bootloader. I just change kernel boot parameter console=tty1 in /boot/syslinux.cfg, but still can't get system log from dashboard. I will take a look at Ubuntu kernel config.

ahkok commented 5 years ago

Root caused (partially)

Our AWS kernel has serial port support disabled. This is what is used to generate the system logs. The kernel configs are correct as far as I can see, therefore, once we fix the kernel to include serial port support, it should just start working.

@miguelinux can you enable the following options in the linux-aws kernel:

CONFIG_SERIAL_CORE=y 
CONFIG_SERIAL_8250=y

These are =m now, which is the problem.

miguelinux commented 5 years ago

The early serial console is enabled as built-in at linux-aws-5.3.6-169

puneetse commented 4 years ago

@jwang11 can you confirm this is working after the configuration was enabled in the kernel?