EBS卷挂载不用UUID导致的EC2实例无法正常启动的问题
Nov 15, 2019
0x00 前言
我有一台t2.micro的EC2实例,上头挂了一个EBS卷,完事有一天我给他切成t3.micro的实例,再重启实例之后就起不来了,这是啥原因导致的呢?
简单来讲原因是我在挂在EBS卷的时候,用的是文件名,不是UUID,而我切到NVME的时候,我的设备命令方式就变了,然后找不到原来那个文件名的EBS卷,所以就报错了,解决这个问题的方法也很简单,改成UUID就完事了。
0x01 问题复现
启动一台t2.micro的EC2实例,并且给他挂载一个EBS卷
1
2
3
4
5
6
7sudo vim /etc/fstab
#
UUID=0a5c8d10-5fd5-4c87-8778-4afc3ce97dd9 / xfs defaults,noatime 1 1
/dev/xvdf /data xfs defaults,noatime 1 1
sudo mount -a挂载成功后重启实力观察下正常情况下系统日志的输出
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852[ 0.000000] Linux version 4.14.146-120.181.amzn2.x86_64 (mockbuild@ip-10-0-1-243) (gcc version 7.3.1 20180712 (Red Hat 7.3.1-6) (GCC)) #1 SMP Fri Oct 18 17:01:06 UTC 2019
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.14.146-120.181.amzn2.x86_64 root=UUID=0a5c8d10-5fd5-4c87-8778-4afc3ce97dd9 ro console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 rd.emergency=poweroff rd.shell=0
[ 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: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009dfff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003fffffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000fc000000-0x00000000ffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.7 present.
[ 0.000000] DMI: Xen HVM domU, BIOS 4.2.amazon 08/24/2006
[ 0.000000] Hypervisor detected: Xen HVM
[ 0.000000] Xen version 4.2.
[ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs.
[ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks.
[ 0.000000] You might have to change the root device
[ 0.000000] from /dev/hd[a-d] to /dev/xvd[a-d]
[ 0.000000] in your root= kernel command line option
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] e820: last_pfn = 0x40000 max_arch_pfn = 0x400000000
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000000] found SMP MP-table at [mem 0x000fbc50-0x000fbc5f]
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] RAMDISK: [mem 0x3442e000-0x3620efff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000EA020 000024 (v02 Xen )
[ 0.000000] ACPI: XSDT 0x00000000FC00E2A0 000054 (v01 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: FACP 0x00000000FC00DF60 0000F4 (v04 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: DSDT 0x00000000FC0021C0 00BD19 (v02 Xen HVM 00000000 INTL 20090123)
[ 0.000000] ACPI: FACS 0x00000000FC002180 000040
[ 0.000000] ACPI: FACS 0x00000000FC002180 000040
[ 0.000000] ACPI: APIC 0x00000000FC00E060 0000D8 (v02 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: HPET 0x00000000FC00E1B0 000038 (v01 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: WAET 0x00000000FC00E1F0 000028 (v01 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: SSDT 0x00000000FC00E220 000031 (v02 Xen HVM 00000000 INTL 20090123)
[ 0.000000] ACPI: SSDT 0x00000000FC00E260 000033 (v02 Xen HVM 00000000 INTL 20090123)
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x3ffde000-0x3fffffff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x000000003fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009dfff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x000000003fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003fffffff]
[ 0.000000] ACPI: PM-Timer IO Port: 0xb008
[ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47
[ 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 low level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] smpboot: Allowing 15 CPUs, 14 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[ 0.000000] e820: [mem 0x40000000-0xfbffffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on Xen HVM
[ 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+0x94/0x4c8 with crng_init=0
[ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:15 nr_cpu_ids:15 nr_node_ids:1
[ 0.000000] percpu: Embedded 44 pages/cpu s140504 r8192 d31528 u262144
[ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257928
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.146-120.181.amzn2.x86_64 root=UUID=0a5c8d10-5fd5-4c87-8778-4afc3ce97dd9 ro console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 rd.emergency=poweroff rd.shell=0
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Memory: 971264K/1048180K available (10252K kernel code, 1956K rwdata, 2764K rodata, 2084K init, 3924K bss, 76916K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1
[ 0.000000] Kernel/User page tables isolation: enabled
[ 0.000000] ftrace: allocating 26556 entries in 104 pages
[ 0.004000] Hierarchical RCU implementation.
[ 0.004000] RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=15.
[ 0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=15
[ 0.004000] NR_IRQS: 524544, nr_irqs: 952, preallocated irqs: 16
[ 0.004000] xen:events: Using 2-level ABI
[ 0.004000] xen:events: Xen HVM callback vector for event delivery is enabled
[ 0.004000] Console: colour VGA+ 80x25
[ 0.004000] console [tty0] enabled
[ 0.004000] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
[ 0.004000] console [ttyS0] enabled
[ 0.004000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 30580167144 ns
[ 0.008000] tsc: Fast TSC calibration using PIT
[ 0.024004] tsc: Detected 2399.992 MHz processor
[ 0.028009] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.06 BogoMIPS (lpj=9600128)
[ 0.036006] pid_max: default: 32768 minimum: 301
[ 0.040022] ACPI: Core revision 20170728
[ 0.048484] ACPI: 3 ACPI AML tables successfully acquired and loaded
[ 0.052032] Security Framework initialized
[ 0.056009] SELinux: Initializing.
[ 0.060200] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.064088] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.080026] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.084009] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.092248] mce: CPU supports 2 MCE banks
[ 0.096029] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024
[ 0.100005] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
[ 0.108004] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.116004] Spectre V2 : Mitigation: Full generic retpoline
[ 0.120002] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.128004] Speculative Store Bypass: Vulnerable
[ 0.132029] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[ 0.145583] smpboot: Max logical packages: 15
[ 0.148775] x2apic: IRQ remapping doesn't support X2APIC mode
[ 0.152006] Switched APIC routing to physical flat.
[ 0.162551] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[ 0.207295] clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.216018] installing Xen timer for CPU 0
[ 0.224085] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz (family: 0x6, model: 0x3f, stepping: 0x2)
[ 0.228037] cpu 0 spinlock event irq 53
[ 0.231750] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only.
[ 0.232060] Hierarchical SRCU implementation.
[ 0.236243] NMI watchdog: Perf event create on CPU 0 failed with -2
[ 0.240008] NMI watchdog: Perf NMI watchdog permanently disabled
[ 0.244213] smp: Bringing up secondary CPUs ...
[ 0.248007] smp: Brought up 1 node, 1 CPU
[ 0.252008] smpboot: Total of 1 processors activated (4800.06 BogoMIPS)
[ 0.256471] devtmpfs: initialized
[ 0.260050] x86/mm: Memory block size: 128MB
[ 0.264237] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.268021] futex hash table entries: 4096 (order: 6, 262144 bytes)
[ 0.272259] NET: Registered protocol family 16
[ 0.276269] cpuidle: using governor ladder
[ 0.280008] cpuidle: using governor menu
[ 0.284064] ACPI: bus type PCI registered
[ 0.288006] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.292579] PCI: Using configuration type 1 for base access
[ 0.299224] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.300281] ACPI: Added _OSI(Module Device)
[ 0.304015] ACPI: Added _OSI(Processor Device)
[ 0.308008] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.312008] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.319174] ACPI: Interpreter enabled
[ 0.320022] ACPI: (supports S0 S4 S5)
[ 0.323782] ACPI: Using IOAPIC for interrupt routing
[ 0.324053] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.328506] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 0.392237] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.396022] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[ 0.400032] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.404028] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 0.409269] acpiphp: Slot [0] registered
[ 0.413608] acpiphp: Slot [3] registered
[ 0.416549] acpiphp: Slot [4] registered
[ 0.420512] acpiphp: Slot [5] registered
[ 0.424617] acpiphp: Slot [6] registered
[ 0.428585] acpiphp: Slot [7] registered
[ 0.432470] acpiphp: Slot [8] registered
[ 0.436475] acpiphp: Slot [9] registered
[ 0.440645] acpiphp: Slot [10] registered
[ 0.444488] acpiphp: Slot [11] registered
[ 0.448440] acpiphp: Slot [12] registered
[ 0.452750] acpiphp: Slot [13] registered
[ 0.456479] acpiphp: Slot [14] registered
[ 0.460658] acpiphp: Slot [15] registered
[ 0.464563] acpiphp: Slot [16] registered
[ 0.468527] acpiphp: Slot [17] registered
[ 0.472699] acpiphp: Slot [18] registered
[ 0.476535] acpiphp: Slot [19] registered
[ 0.480590] acpiphp: Slot [20] registered
[ 0.484559] acpiphp: Slot [21] registered
[ 0.488634] acpiphp: Slot [22] registered
[ 0.492585] acpiphp: Slot [23] registered
[ 0.496617] acpiphp: Slot [24] registered
[ 0.500665] acpiphp: Slot [25] registered
[ 0.504609] acpiphp: Slot [26] registered
[ 0.508604] acpiphp: Slot [27] registered
[ 0.512593] acpiphp: Slot [28] registered
[ 0.516610] acpiphp: Slot [29] registered
[ 0.520769] acpiphp: Slot [30] registered
[ 0.524763] acpiphp: Slot [31] registered
[ 0.528510] PCI host bridge to bus 0000:00
[ 0.532013] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.536008] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.540012] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 0.544011] pci_bus 0000:00: root bus resource [mem 0xf0000000-0xfbffffff window]
[ 0.548008] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.563133] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.564011] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.568011] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.572009] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.577068] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
[ 0.577068] * this clock source is slow. Consider trying other clock sources
[ 0.582449] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
[ 0.595144] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 10 11)
[ 0.596292] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 0.600321] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 0.604290] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 10 11)
[ 0.633199] xen:balloon: Initialising balloon driver
[ 0.644177] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 0.648000] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.648029] pci 0000:00:02.0: vgaarb: bridge control possible
[ 0.652006] vgaarb: loaded
[ 0.655639] EDAC MC: Ver: 3.0.0
[ 0.656842] PCI: Using ACPI for IRQ routing
[ 0.660747] NetLabel: Initializing
[ 0.664011] NetLabel: domain hash size = 128
[ 0.667875] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.668026] NetLabel: unlabeled traffic allowed by default
[ 0.672276] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 0.676029] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.680013] hpet0: 3 comparators, 64-bit 62.500000 MHz counter
[ 0.686136] clocksource: Switched to clocksource xen
[ 0.696694] VFS: Disk quotas dquot_6.6.0
[ 0.700953] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.707397] pnp: PnP ACPI init
[ 0.715950] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved
[ 0.722553] system 00:01: [io 0x08a0-0x08a3] has been reserved
[ 0.727607] system 00:01: [io 0x0cc0-0x0ccf] has been reserved
[ 0.732911] system 00:01: [io 0x04d0-0x04d1] has been reserved
[ 0.738812] system 00:07: [io 0x10c0-0x1141] has been reserved
[ 0.744676] system 00:07: [io 0xb044-0xb047] has been reserved
[ 0.774604] pnp: PnP ACPI: found 8 devices
[ 0.778540] random: fast init done
[ 0.788760] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.796873] NET: Registered protocol family 2
[ 0.808201] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.814540] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.821525] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.827460] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.832896] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.838546] NET: Registered protocol family 1
[ 0.842668] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.848363] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.853616] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.859531] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.867703] Unpacking initramfs...
[ 0.947346] Freeing initrd memory: 30596K
[ 0.951902] Scanning for low memory corruption every 60 seconds
[ 0.962945] audit: initializing netlink subsys (disabled)
[ 0.968085] Initialise system trusted keyrings
[ 0.972699] Key type blacklist registered
[ 0.977000] audit: type=2000 audit(1573718998.226:1): state=initialized audit_enabled=0 res=1
[ 0.985302] workingset: timestamp_bits=36 max_order=18 bucket_order=0
[ 0.992262] zbud: loaded
[ 1.161369] Key type asymmetric registered
[ 1.167563] Asymmetric key parser 'x509' registered
[ 1.172109] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 1.179241] io scheduler noop registered (default)
[ 1.183614] io scheduler cfq registered
[ 1.187568] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[ 1.192177] crc32: self tests passed, processed 225944 bytes in 162812 nsec
[ 1.200974] crc32c: CRC_LE_BITS = 64
[ 1.205404] crc32c: self tests passed, processed 225944 bytes in 81046 nsec
[ 1.226844] crc32_combine: 8373 self tests passed
[ 1.246791] crc32c_combine: 8373 self tests passed
[ 1.253272] xen:grant_table: Grant tables using version 1 layout
[ 1.260474] Grant table initialized
[ 1.265109] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
[ 1.271788] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.317085] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 1.328869] xen_netfront: Initialising Xen virtual ethernet driver
[ 1.342601] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 1.354532] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.359648] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.366331] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 1.375854] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
[ 1.382863] rtc_cmos 00:02: alarms up to one day, 114 bytes nvram, hpet irqs
[ 1.390281] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.396556] NET: Registered protocol family 17
[ 1.402307] sched_clock: Marking stable (1401935491, 0)->(2454683182, -1052747691)
[ 1.411635] registered taskstats version 1
[ 1.416047] Loading compiled-in X.509 certificates
[ 1.423184] Loaded X.509 cert 'Build time autogenerated kernel key: 6299c6d6e1a24aa79e34ed5acce2ba03c8deb4ff'
[ 1.432288] zswap: loaded using pool lzo/zbud
[ 1.437475] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 1.444989] ima: Allocated hash algorithm: sha1
[ 1.552123] xenbus_probe_frontend: Device with no driver: device/vbd/51712
[ 1.559071] xenbus_probe_frontend: Device with no driver: device/vbd/51792
[ 1.567078] rtc_cmos 00:02: setting system clock to 2019-11-14 08:09:59 UTC (1573718999)
[ 1.581280] Freeing unused kernel memory: 2084K
[ 1.592094] Write protecting the kernel read-only data: 16384k
[ 1.598397] Freeing unused kernel memory: 2016K
[ 1.607024] Freeing unused kernel memory: 1332K
[ 1.651713] systemd[1]: Inserted module 'autofs4'
[ 1.669143] NET: Registered protocol family 10
[ 1.676087] Segment Routing with IPv6
[ 1.680505] systemd[1]: Inserted module 'ipv6'
[ 1.687065] random: systemd: uninitialized urandom read (16 bytes read)
[ 1.696111] random: systemd: uninitialized urandom read (16 bytes read)
[ 1.702360] random: systemd: uninitialized urandom read (16 bytes read)
[ 1.710275] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 1.744832] systemd[1]: Detected virtualization xen.
[ 1.749375] systemd[1]: Detected architecture x86-64.
[ 1.753604] systemd[1]: Running in initial RAM disk.
Welcome to [0;34mAmazon Linux 2 dracut-033-535.amzn2.1.3 (Initramfs)[0m!
[ 1.763333] systemd[1]: No hostname configured.
[ 1.770334] systemd[1]: Set hostname to <localhost>.
[ 1.777607] systemd[1]: Initializing machine ID from random generator.
[[32m OK [0m] Reached target Local File Systems.
[ 1.816024] systemd[1]: Reached target Local File Systems.
[ 1.821089] systemd[1]: Starting Local File Systems.
[[32m OK [0m] Reached target Timers.
[ 1.829223] systemd[1]: Reached target Timers.
[[32m OK [0m] Reached target Swap.
[[32m OK [0m] Reached target Local Encrypted Volumes.
[[32m OK [0m] Created slice Root Slice.
[[32m OK [0m] Listening on udev Control Socket.
[[32m OK [0m] Listening on udev Kernel Socket.
[[32m OK [0m] Created slice System Slice.
[[32m OK [0m] Reached target Slices.
[[32m OK [0m] Listening on Journal Socket.
Starting Setup Virtual Console...
Starting Create list of required st... nodes for the current kernel...
[[32m OK [0m] Reached target Sockets.
Starting Journal Service...
Starting dracut cmdline hook...
Starting Apply Kernel Variables...
[[32m OK [0m] Started Setup Virtual Console.
[[32m OK [0m] Started Create list of required sta...ce nodes for the current kernel.
[ 1.952087] tsc: Refined TSC clocksource calibration: 2399.999 MHz
[ 1.957717] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2298364cab5, max_idle_ns: 440795214892 ns
[[32m OK [0m] Started Apply Kernel Variables.
[[32m OK [0m] Started Journal Service.
Starting Create Static Device Nodes in /dev...
[[32m OK [0m] Started Create Static Device Nodes in /dev.
[[32m OK [0m] Started dracut cmdline hook.
Starting dracut pre-udev hook...
[ 2.069351] device-mapper: uevent: version 1.0.3
[ 2.075197] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: [email protected]
[[32m OK [0m] Started dracut pre-udev hook.
Starting udev Kernel Device Manager...
[[32m OK [0m] Started udev Kernel Device Manager.
Starting dracut pre-trigger hook...
[[32m OK [0m] Started dracut pre-trigger hook.
Starting udev Coldplug all Devices...
[[32m OK [0m] Started udev Coldplug all Devices.
Starting dracut initqueue hook...
[[32m OK [0m] Reached target System Initialization.
Starting Show Plymouth Boot Screen...
[[32m OK [0m] Started Show Plymouth Boot Screen.
[[32m OK [0m] Reached target Paths.
[[32m OK [0m] Reached target Basic System.
[ 2.338572] SCSI subsystem initialized
[ 2.360522] Invalid max_queues (4), will use default max: 1.
[ 2.384475] AVX2 version of gcm_enc/dec engaged.
[ 2.388424] AES CTR mode by8 optimization enabled
%G[ 2.398122] scsi host0: ata_piix
[ 2.402460] scsi host1: ata_piix
[ 2.406206] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc100 irq 14
[ 2.413347] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc108 irq 15
[ 2.487354] blkfront: xvda: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled;
[ 2.501223] alg: No test for pcbc(aes) (pcbc-aes-aesni)
[ 2.515176] xvda: xvda1
[ 2.526801] blkfront: xvdf: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled;
[[32m OK [0m] Found device /dev/disk/by-uuid/0a5c8d10-5fd5-4c87-8778-4afc3ce97dd9.
Starting File System Check on /dev/...0-5fd5-4c87-8778-4afc3ce97dd9...
[[32m OK [0m] Started dracut initqueue hook.
[[32m OK [0m] Reached target Remote File Systems (Pre).
[[32m OK [0m] Reached target Remote File Systems.
Starting dracut pre-mount hook...
[[32m OK [0m] Started File System Check on /dev/d...d10-5fd5-4c87-8778-4afc3ce97dd9.
[[32m OK [0m] Started dracut pre-mount hook.
Mounting /sysroot...
[ 2.743138] SGI XFS with ACLs, security attributes, no debug enabled
[ 2.751297] XFS (xvda1): Mounting V5 Filesystem
[ 3.068566] XFS (xvda1): Ending clean mount
[[32m OK [0m] Mounted /sysroot.
[[32m OK [0m] Reached target Initrd Root File System.
Starting Reload Configuration from the Real Root...
[[32m OK [0m] Started Reload Configuration from the Real Root.
[[32m OK [0m] Reached target Initrd File Systems.
[[32m OK [0m] Reached target Initrd Default Target.
Starting dracut pre-pivot and cleanup hook...
[[32m OK [0m] Started dracut pre-pivot and cleanup hook.
Starting Cleaning Up and Shutting Down Daemons...
[[32m OK [0m] Stopped Cleaning Up and Shutting Down Daemons.
[[32m OK [0m] Stopped dracut pre-pivot and cleanup hook.
Stopping dracut pre-pivot and cleanup hook...
[[32m OK [0m] Stopped target Remote File Systems.
[[32m OK [0m] Stopped target Timers.
[[32m OK [0m] Stopped dracut pre-mount hook.
Stopping dracut pre-mount hook...
[[32m OK [0m] Stopped target Remote File Systems (Pre).
[[32m OK [0m] Stopped dracut initqueue hook.
Stopping dracut initqueue hook...
Starting Plymouth switch root service...
[[32m OK [0m] Stopped target Initrd Default Target.
[[32m OK [0m] Stopped target Basic System.
[[32m OK [0m] Stopped target Paths.
[[32m OK [0m] Stopped target Sockets.
[[32m OK [0m] Stopped target System Initialization.
[[32m OK [0m] Stopped target Local File Systems.
[[32m OK [0m] Stopped target Swap.
[[32m OK [0m] Stopped target Local Encrypted Volumes.
[[32m OK [0m] Stopped udev Coldplug all Devices.
Stopping udev Coldplug all Devices...
[[32m OK [0m] Stopped dracut pre-trigger hook.
Stopping dracut pre-trigger hook...
Stopping udev Kernel Device Manager...
[[32m OK [0m] Stopped Apply Kernel Variables.
Stopping Apply Kernel Variables...
[[32m OK [0m] Stopped target Slices.
[[32m OK [0m] Stopped udev Kernel Device Manager.
[[32m OK [0m] Stopped Create Static Device Nodes in /dev.
Stopping Create Static Device Nodes in /dev...
[[32m OK [0m] Stopped Create list of required sta...ce nodes for the current kernel.
Stopping Create list of required st... nodes for the current kernel...
[[32m OK [0m] Stopped dracut pre-udev hook.
Stopping dracut pre-udev hook...
[[32m OK [0m] Stopped dracut cmdline hook.
Stopping dracut cmdline hook...
[[32m OK [0m] Closed udev Control Socket.
[[32m OK [0m] Closed udev Kernel Socket.
Starting Cleanup udevd DB...
[[32m OK [0m] Started Cleanup udevd DB.
[[32m OK [0m] Reached target Switch Root.
[[32m OK [0m] Started Plymouth switch root service.
Starting Switch Root...
[ 3.461464] systemd-journald[935]: Received SIGTERM from PID 1 (systemd).
[ 3.490373] systemd: 28 output lines suppressed due to ratelimiting
[ 3.578935] SELinux: Disabled at runtime.
[ 3.592118] audit: type=1404 audit(1573719001.524:2): selinux=0 auid=4294967295 ses=4294967295
[ 3.629245] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.636968] systemd[1]: Inserted module 'ip_tables'
Welcome to [0;33mAmazon Linux 2[0m!
[[32m OK [0m] Stopped Switch Root.
[[32m OK [0m] Stopped Journal Service.
Starting Journal Service...
[[32m OK [0m] Created slice system-getty.slice.
Mounting Huge Pages File System...
Mounting Debug File System...
Starting Create list of required st... nodes for the current kernel...
[[32m OK [0m] Created slice system-serial\x2dgetty.slice.
[[32m OK [0m] Set up automount Arbitrary Executab...ats File System Automount Point.
[[32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe.
[[32m OK [0m] Listening on udev Control Socket.
Starting Remount Root and Kernel File Systems...
[[32m OK [0m] Created slice User and Session Slice.
[[32m OK [0m] Reached target Slices.
[[32m OK [0m] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice.
[[32m OK [0m] Listening on LVM2 metadata daemon socket.
[[32m OK [0m] Listening on Delayed Shutdown Socket.
[[32m OK [0m] Listening on LVM2 poll daemon socket.
[[32m OK [0m] Reached target Paths.
Starting Load Kernel Modules...
[[32m OK [0m] Listening on Device-mapper event daemon FIFOs.
[ 3.975370] ena: Elastic Network Adapter (ENA) v2.1.1g
[ 4.021973] systemd-journald[1935]: Received request to flush runtime journal from PID 1
Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...
[[32m OK [0m] Reached target Swap.
[[32m OK [0m] Stopped target Switch Root.
[[32m OK [0m] Stopped target Initrd File Systems.
[[32m OK [0m] Stopped target Initrd Root File System.
Mounting POSIX Message Queue File System...
[[32m OK [0m] Created slice system-systemd\x2dfsck.slice.
[[32m OK [0m] Listening on udev Kernel Socket.
[[32m OK [0m] Mounted Debug File System.
[[32m OK [0m] Mounted Huge Pages File System.
[[32m OK [0m] Started Journal Service.
[[32m OK [0m] Started Create list of required sta...ce nodes for the current kernel.
[[32m OK [0m] Started Remount Root and Kernel File Systems.
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Create Static Device Nodes in /dev...
Starting Flush Journal to Persistent Storage...
[[32m OK [0m] Mounted POSIX Message Queue File System.
[[32m OK [0m] Started Load Kernel Modules.
[[32m OK [0m] Started Load/Save Random Seed.
[[32m OK [0m] Started LVM2 metadata daemon.
Starting LVM2 metadata daemon...
Starting Apply Kernel Variables...
[[32m OK [0m] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[[32m OK [0m] Started Apply Kernel Variables.
[[32m OK [0m] Started udev Coldplug all Devices.
Starting udev Wait for Complete Device Initialization...
[ 4.374754] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[ 4.377891] ACPI: Power Button [PWRF]
[ 4.377940] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input4
[ 4.377949] ACPI: Sleep Button [SLPF]
[ 4.457594] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input5
[ 4.502536] mousedev: PS/2 mouse device common for all mice
[ 4.534600] EDAC sbridge: Seeking for: PCI ID 8086:2fa0
[ 4.534603] EDAC sbridge: Ver: 1.1.2
[[32m OK [0m] Started udev Kernel Device Manager.
[[32m OK [0m] Started Flush Journal to Persistent Storage.
%G[[32m OK [0m] Found device /dev/ttyS0.
[[32m OK [0m] Created slice system-ec2net\x2difup.slice.
[[32m OK [0m] Found device /dev/xvdf.
[[32m OK [0m] Started udev Wait for Complete Device Initialization.
Starting Activation of DM RAID sets...
[[32m OK [0m] Started Activation of DM RAID sets.
[[32m OK [0m] Reached target Local Encrypted Volumes.
[[32m OK [0m] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[[32m OK [0m] Reached target Local File Systems (Pre).
Starting File System Check on /dev/xvdf...
[ 4.732438] systemd-fsck[2634]: /usr/sbin/fsck.xfs: XFS file system.
[[32m OK [0m] Started File System Check on /dev/xvdf.
Mounting /data...
[ 4.759156] XFS (xvdf): Mounting V5 Filesystem
[ 4.780691] XFS (xvdf): Ending clean mount
[[32m OK [0m] Mounted /data.
[[32m OK [0m] Reached target Local File Systems.
Starting Preprocess NFS configuration...
Starting Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
[[32m OK [0m] Started Preprocess NFS configuration.
[[32m OK [0m] Started Create Volatile Files and Directories.
Mounting RPC Pipe File System...
Starting Security Auditing Service...
[ 4.891999] RPC: Registered named UNIX socket transport module.
[ 4.891999] RPC: Registered udp transport module.
[ 4.892000] RPC: Registered tcp transport module.
[ 4.892000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[[32m OK [0m] Mounted RPC Pipe File System.
[[32m OK [0m] Reached target rpc_pipefs.target.
[[32m OK [0m] Started Tell Plymouth To Write Out Runtime Data.
[[32m OK [0m] Started Security Auditing Service.
Starting Update UTMP about System Boot/Shutdown...
[[32m OK [0m] Started Update UTMP about System Boot/Shutdown.
[[32m OK [0m] Reached target System Initialization.
[[32m OK [0m] Listening on D-Bus System Message Bus Socket.
[[32m OK [0m] Reached target Timers.
[[32m OK [0m] Listening on RPCbind Server Activation Socket.
Starting RPC bind service...
[[32m OK [0m] Reached target Sockets.
[ 5.106374] random: crng init done
[ 5.112685] random: 7 urandom warning(s) missed due to ratelimiting
[[32m OK [0m] Reached target Basic System.
Starting ACPI Event Daemon...
Starting Resets System Activity Logs...
[[32m OK [0m] Started Hardware RNG Entropy Gatherer Daemon.
Starting Hardware RNG Entropy Gatherer Daemon...
[[32m OK [0m] Started libstoragemgmt plug-in server daemon.
Starting libstoragemgmt plug-in server daemon...
[[32m OK [0m] Started D-Bus System Message Bus.
Starting D-Bus System Message Bus...
Starting Initial cloud-init job (pre-networking)...
Starting Login Service...
[[32m OK [0m] Started irqbalance daemon.
Starting irqbalance daemon...
Starting NTP client/server...
Starting GSSAPI Proxy Daemon...
[[32m OK [0m] Started RPC bind service.
[[32m OK [0m] Started ACPI Event Daemon.
[[32m OK [0m] Started Resets System Activity Logs.
[[32m OK [0m] Started Login Service.
[[32m OK [0m] Started GSSAPI Proxy Daemon.
[[32m OK [0m] Reached target NFS client services.
[[32m OK [0m] Reached target Remote File Systems (Pre).
[[32m OK [0m] Reached target Remote File Systems.
[[32m OK [0m] Started NTP client/server.
[ 6.110545] cloud-init[2698]: Cloud-init v. 18.5-2.amzn2 running 'init-local' at Thu, 14 Nov 2019 08:10:04 +0000. Up 6.07 seconds.
[[32m OK [0m] Started Initial cloud-init job (pre-networking).
[[32m OK [0m] Reached target Network (Pre).
Starting LSB: Bring up/down networking...
[[32m OK [0m] Started LSB: Bring up/down networking.
[[32m OK [0m] Reached target Network.
Starting Postfix Mail Transport Agent...
Starting Initial cloud-init job (metadata service crawler)...
[ 8.385484] cloud-init[3057]: Cloud-init v. 18.5-2.amzn2 running 'init' at Thu, 14 Nov 2019 08:10:06 +0000. Up 8.33 seconds.
[ 8.432184] cloud-init[3057]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
[ 8.436977] cloud-init[3057]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
[ 8.437462] cloud-init[3057]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 8.440969] cloud-init[3057]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
[ 8.441378] cloud-init[3057]: ci-info: | eth0 | True | 10.0.3.4 | 255.255.255.0 | global | 06:db:1b:e7:ab:1e |
[ 8.441715] cloud-init[3057]: ci-info: | eth0 | True | fe80::4db:1bff:fee7:ab1e/64 | . | link | 06:db:1b:e7:ab:1e |
[ 8.441840] cloud-init[3057]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 8.441959] cloud-init[3057]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 8.442069] cloud-init[3057]: ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
[ 8.442187] cloud-init[3057]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++
[ 8.442301] cloud-init[3057]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[ 8.442418] cloud-init[3057]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
[ 8.442525] cloud-init[3057]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[ 8.442633] cloud-init[3057]: ci-info: | 0 | 0.0.0.0 | 10.0.3.1 | 0.0.0.0 | eth0 | UG |
[ 8.442740] cloud-init[3057]: ci-info: | 1 | 10.0.3.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
[ 8.442846] cloud-init[3057]: ci-info: | 2 | 169.254.169.254 | 0.0.0.0 | 255.255.255.255 | eth0 | UH |
[ 8.442952] cloud-init[3057]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[ 8.443063] cloud-init[3057]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[ 8.443177] cloud-init[3057]: ci-info: +-------+-------------+---------+-----------+-------+
[ 8.443293] cloud-init[3057]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 8.443402] cloud-init[3057]: ci-info: +-------+-------------+---------+-----------+-------+
[ 8.443508] cloud-init[3057]: ci-info: | 9 | fe80::/64 | :: | eth0 | U |
[ 8.443614] cloud-init[3057]: ci-info: | 11 | local | :: | eth0 | U |
[ 8.443727] cloud-init[3057]: ci-info: | 12 | ff00::/8 | :: | eth0 | U |
[ 8.443851] cloud-init[3057]: ci-info: +-------+-------------+---------+-----------+-------+
[[32m OK [0m] Started Postfix Mail Transport Agent.
[[32m OK [0m] Started Initial cloud-init job (metadata service crawler).
Starting Permit User Sessions...
[[32m OK [0m] Reached target Cloud-config availability.
[[32m OK [0m] Reached target Network is Online.
Starting Notify NFS peers of a restart...
Starting Dynamically Generate Message Of The Day...
Starting System Logging Service...
Starting Apply the settings specified in cloud-config...
[[32m OK [0m] Started amazon-ssm-agent.
Starting amazon-ssm-agent...
Starting EC2 Instance Connect Host Key Harvesting...
[[32m OK [0m] Started Permit User Sessions.
[[32m OK [0m] Started Notify NFS peers of a restart.
Starting Terminate Plymouth Boot Screen...
[[32m OK [0m] Started Job spooling tools.
Starting Job spooling tools...
[[32m OK [0m] Started Command Scheduler.
Starting Command Scheduler...
Starting Wait for Plymouth Boot Screen to Quit...
[[32m OK [0m] Started System Logging Service.
[ 10.049503] cloud-init[3188]: Cloud-init v. 18.5-2.amzn2 running 'modules:config' at Thu, 14 Nov 2019 08:10:07 +0000. Up 9.96 seconds.
[ 10.778911] cloud-init[3321]: Cloud-init v. 18.5-2.amzn2 running 'modules:final' at Thu, 14 Nov 2019 08:10:08 +0000. Up 10.67 seconds.
[ 10.813622] cloud-init[3321]: Cloud-init v. 18.5-2.amzn2 finished at Thu, 14 Nov 2019 08:10:08 +0000. Datasource DataSourceEc2. Up 10.80 seconds
Amazon Linux 2
Kernel 4.14.146-120.181.amzn2.x86_64 on an x86_64
ip-10-0-3-4 login:然后我们给它切到t3.micro再重启看看
可以看到现在已经1/2检查失败了,然后看看系统日志的输出:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750[ 0.000000] Linux version 4.14.146-120.181.amzn2.x86_64 (mockbuild@ip-10-0-1-243) (gcc version 7.3.1 20180712 (Red Hat 7.3.1-6) (GCC)) #1 SMP Fri Oct 18 17:01:06 UTC 2019
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.14.146-120.181.amzn2.x86_64 root=UUID=0a5c8d10-5fd5-4c87-8778-4afc3ce97dd9 ro console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 rd.emergency=poweroff rd.shell=0
[ 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-0x000000003e3f9fff] usable
[ 0.000000] BIOS-e820: [mem 0x000000003e3fa000-0x000000003fffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000e03fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.7 present.
[ 0.000000] DMI: Amazon EC2 t3.micro/, BIOS 1.0 10/16/2017
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] e820: last_pfn = 0x3e3fa max_arch_pfn = 0x400000000
[ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] Using GB pages for direct mapping
[ 0.000000] RAMDISK: [mem 0x3442e000-0x3620efff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000F8FA0 000014 (v00 AMAZON)
[ 0.000000] ACPI: RSDT 0x000000003E3FE360 00003C (v01 AMAZON AMZNRSDT 00000001 AMZN 00000001)
[ 0.000000] ACPI: FACP 0x000000003E3FFF80 000074 (v01 AMAZON AMZNFACP 00000001 AMZN 00000001)
[ 0.000000] ACPI: DSDT 0x000000003E3FE3A0 0010E9 (v01 AMAZON AMZNDSDT 00000001 AMZN 00000001)
[ 0.000000] ACPI: FACS 0x000000003E3FFF40 000040
[ 0.000000] ACPI: SSDT 0x000000003E3FF6C0 00087A (v01 AMAZON AMZNSSDT 00000001 AMZN 00000001)
[ 0.000000] ACPI: APIC 0x000000003E3FF5D0 000076 (v01 AMAZON AMZNAPIC 00000001 AMZN 00000001)
[ 0.000000] ACPI: SRAT 0x000000003E3FF530 0000A0 (v01 AMAZON AMZNSRAT 00000001 AMZN 00000001)
[ 0.000000] ACPI: SLIT 0x000000003E3FF4C0 00006C (v01 AMAZON AMZNSLIT 00000001 AMZN 00000001)
[ 0.000000] ACPI: WAET 0x000000003E3FF490 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] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x3fffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x3e3d7000-0x3e3f8fff]
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:3e357001, primary cpu clock
[ 0.000000] kvm-clock: using sched offset of 7141099624 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-0x000000003e3f9fff]
[ 0.000000] Normal 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-0x000000003e3f9fff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003e3f9fff]
[ 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 2 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] e820: [mem 0x40000000-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+0x94/0x4c8 with crng_init=0
[ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
[ 0.000000] percpu: Embedded 44 pages/cpu s140504 r8192 d31528 u1048576
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 3e0161c0
[ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 250867
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.146-120.181.amzn2.x86_64 root=UUID=0a5c8d10-5fd5-4c87-8778-4afc3ce97dd9 ro console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 rd.emergency=poweroff rd.shell=0
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Memory: 944356K/1019488K available (10252K kernel code, 1956K rwdata, 2764K rodata, 2084K init, 3924K bss, 75132K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Kernel/User page tables isolation: enabled
[ 0.000000] ftrace: allocating 26556 entries in 104 pages
[ 0.004000] Hierarchical RCU implementation.
[ 0.004000] RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=2.
[ 0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.004000] NR_IRQS: 524544, nr_irqs: 440, preallocated irqs: 16
[ 0.004000] Console: colour VGA+ 80x25
[ 0.004000] console [tty0] enabled
[ 0.004000] console [ttyS0] enabled
[ 0.004005] tsc: Detected 2499.998 MHz processor
[ 0.007380] Calibrating delay loop (skipped) preset value.. 4999.99 BogoMIPS (lpj=9999992)
[ 0.008002] pid_max: default: 32768 minimum: 301
[ 0.012006] ACPI: Core revision 20170728
[ 0.016573] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 0.020015] Security Framework initialized
[ 0.023158] SELinux: Initializing.
[ 0.024155] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.028072] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.032009] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.036005] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.040233] mce: CPU supports 32 MCE banks
[ 0.043467] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[ 0.044002] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[ 0.048002] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.052003] Spectre V2 : Mitigation: Full generic retpoline
[ 0.056002] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.060002] Speculative Store Bypass: Vulnerable
[ 0.064024] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[ 0.068083] Freeing SMP alternatives memory: 24K
[ 0.072754] smpboot: Max logical packages: 1
[ 0.076245] x2apic enabled
[ 0.080003] Switched APIC routing to physical x2apic.
[ 0.085113] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
[ 0.088000] smpboot: CPU0: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz (family: 0x6, model: 0x55, stepping: 0x4)
[ 0.088068] Performance Events: unsupported p6 CPU model 85 no PMU driver, software events only.
[ 0.092043] Hierarchical SRCU implementation.
[ 0.095698] NMI watchdog: Perf event create on CPU 0 failed with -2
[ 0.096003] NMI watchdog: Perf NMI watchdog permanently disabled
[ 0.099984] smp: Bringing up secondary CPUs ...
[ 0.100098] x86: Booting SMP configuration:
[ 0.103305] .... node #0, CPUs: #1
[ 0.004000] kvm-clock: cpu 1, msr 0:3e357041, secondary cpu clock
[ 0.105851] KVM setup async PF for cpu 1
[ 0.107117] kvm-stealtime: cpu 1, msr 3e1161c0
[ 0.112263] 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.116005] smp: Brought up 1 node, 2 CPUs
[ 0.119184] smpboot: Total of 2 processors activated (9999.99 BogoMIPS)
[ 0.120359] devtmpfs: initialized
[ 0.122893] x86/mm: Memory block size: 128MB
[ 0.124138] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.132013] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.136116] NET: Registered protocol family 16
[ 0.140099] cpuidle: using governor ladder
[ 0.144014] cpuidle: using governor menu
[ 0.147189] ACPI: bus type PCI registered
[ 0.148006] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.152134] PCI: Using configuration type 1 for base access
[ 0.158011] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.160004] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.164060] ACPI: Added _OSI(Module Device)
[ 0.164060] ACPI: Added _OSI(Processor Device)
[ 0.168011] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.172006] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.177191] ACPI: Interpreter enabled
[ 0.180010] ACPI: (supports S0 S4 S5)
[ 0.184008] ACPI: Using IOAPIC for interrupt routing
[ 0.188017] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.196003] ACPI: Enabled 16 GPEs in block 00 to 0F
[ 0.200023] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.204006] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[ 0.208009] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.312008] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 0.320313] acpiphp: Slot [3] registered
[ 0.324004] acpiphp: Slot [4] registered
[ 0.324041] acpiphp: Slot [5] registered
[ 0.328007] acpiphp: Slot [6] registered
[ 0.332038] acpiphp: Slot [7] registered
[ 0.336007] acpiphp: Slot [8] registered
[ 0.340038] acpiphp: Slot [9] registered
[ 0.343232] acpiphp: Slot [10] registered
[ 0.344038] acpiphp: Slot [11] registered
[ 0.348003] acpiphp: Slot [12] registered
[ 0.352038] acpiphp: Slot [13] registered
[ 0.356003] acpiphp: Slot [14] registered
[ 0.356038] acpiphp: Slot [15] registered
[ 0.360007] acpiphp: Slot [16] registered
[ 0.364040] acpiphp: Slot [17] registered
[ 0.368007] acpiphp: Slot [18] registered
[ 0.372038] acpiphp: Slot [19] registered
[ 0.375269] acpiphp: Slot [20] registered
[ 0.376038] acpiphp: Slot [21] registered
[ 0.380003] acpiphp: Slot [22] registered
[ 0.384039] acpiphp: Slot [23] registered
[ 0.388004] acpiphp: Slot [24] registered
[ 0.392038] acpiphp: Slot [25] registered
[ 0.395231] acpiphp: Slot [26] registered
[ 0.396037] acpiphp: Slot [27] registered
[ 0.400007] acpiphp: Slot [28] registered
[ 0.404038] acpiphp: Slot [29] registered
[ 0.408006] acpiphp: Slot [30] registered
[ 0.408038] acpiphp: Slot [31] registered
[ 0.412003] PCI host bridge to bus 0000:00
[ 0.416006] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.420003] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.424006] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 0.432006] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfebfffff window]
[ 0.436003] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.444003] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
[ 0.448020] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB
[ 0.452065] pci 0000:00:01.3: PIIX4 devres E PIO at fff0-ffff
[ 0.456005] pci 0000:00:01.3: PIIX4 devres F MMIO at ffc00000-ffffffff
[ 0.460020] pci 0000:00:01.3: PIIX4 devres G PIO at fff0-ffff
[ 0.464006] pci 0000:00:01.3: PIIX4 devres H MMIO at ffc00000-ffffffff
[ 0.468020] pci 0000:00:01.3: PIIX4 devres I PIO at fff0-ffff
[ 0.472006] pci 0000:00:01.3: PIIX4 devres J PIO at fff0-ffff
[ 0.500026] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[ 0.504095] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 0.508003] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 0.512093] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[ 0.516003] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[ 0.520396] pci 0000:00:03.0: vgaarb: setting as boot VGA device
[ 0.524000] pci 0000:00:03.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.528009] pci 0000:00:03.0: vgaarb: bridge control possible
[ 0.531882] vgaarb: loaded
[ 0.536099] EDAC MC: Ver: 3.0.0
[ 0.540018] PCI: Using ACPI for IRQ routing
[ 0.544049] NetLabel: Initializing
[ 0.544049] NetLabel: domain hash size = 128
[ 0.548007] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.552003] NetLabel: unlabeled traffic allowed by default
[ 0.556122] clocksource: Switched to clocksource kvm-clock
[ 0.566513] VFS: Disk quotas dquot_6.6.0
[ 0.569636] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.573949] pnp: PnP ACPI init
[ 0.577127] pnp: PnP ACPI: found 5 devices
[ 0.586991] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.593447] NET: Registered protocol family 2
[ 0.596827] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.601178] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.605283] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.609392] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.613294] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.617337] NET: Registered protocol family 1
[ 0.620618] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.624485] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.628534] pci 0000:00:03.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.634806] Unpacking initramfs...
[ 0.709848] Freeing initrd memory: 30596K
[ 0.713066] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x240937b9988, max_idle_ns: 440795218083 ns
[ 0.720381] Scanning for low memory corruption every 60 seconds
[ 0.725642] audit: initializing netlink subsys (disabled)
[ 0.729436] audit: type=2000 audit(1573791346.804:1): state=initialized audit_enabled=0 res=1
[ 0.729734] Initialise system trusted keyrings
[ 0.739406] Key type blacklist registered
[ 0.742581] workingset: timestamp_bits=36 max_order=18 bucket_order=0
[ 0.747973] zbud: loaded
[ 0.878144] Key type asymmetric registered
[ 0.881355] Asymmetric key parser 'x509' registered
[ 0.884906] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.890983] io scheduler noop registered (default)
[ 0.894504] io scheduler cfq registered
[ 0.897882] crc32: CRC_LE_BITS = 64, CRC_BE BITS = 64
[ 0.901483] crc32: self tests passed, processed 225944 bytes in 127555 nsec
[ 0.905982] crc32c: CRC_LE_BITS = 64
[ 0.908979] crc32c: self tests passed, processed 225944 bytes in 63858 nsec
[ 0.922989] crc32_combine: 8373 self tests passed
[ 0.936100] crc32c_combine: 8373 self tests passed
[ 0.939858] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.971398] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.977896] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 0.984358] i8042: Warning: Keylock active
[ 2.152313] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 2.156011] rtc_cmos 00:00: RTC can wake from S4
[ 2.159970] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[ 2.164141] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram
[ 2.168217] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.171981] NET: Registered protocol family 17
[ 2.175597] sched_clock: Marking stable (2175546497, 0)->(2833341676, -657795179)
[ 2.181815] registered taskstats version 1
[ 2.185058] Loading compiled-in X.509 certificates
[ 2.190503] Loaded X.509 cert 'Build time autogenerated kernel key: 6299c6d6e1a24aa79e34ed5acce2ba03c8deb4ff'
[ 2.197476] zswap: loaded using pool lzo/zbud
[ 2.200898] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 2.204994] ima: Allocated hash algorithm: sha1
[ 2.208792] rtc_cmos 00:00: setting system clock to 2019-11-15 04:15:48 UTC (1573791348)
[ 2.216860] Freeing unused kernel memory: 2084K
[ 2.236110] Write protecting the kernel read-only data: 16384k
[ 2.240773] Freeing unused kernel memory: 2016K
[ 2.246592] Freeing unused kernel memory: 1332K
[ 2.280262] systemd[1]: Inserted module 'autofs4'
[ 2.295095] NET: Registered protocol family 10
[ 2.300020] Segment Routing with IPv6
[ 2.303123] systemd[1]: Inserted module 'ipv6'
[ 2.307232] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.311686] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.315990] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.322766] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 2.334502] systemd[1]: Detected virtualization kvm.
[ 2.338073] systemd[1]: Detected architecture x86-64.
[ 2.341654] systemd[1]: Running in initial RAM disk.
Welcome to [0;34mAmazon Linux 2 dracut-033-535.amzn2.1.3 (Initramfs)[0m!
[ 2.347316] systemd[1]: No hostname configured.
[ 2.350694] systemd[1]: Set hostname to <localhost>.
[ 2.354276] systemd[1]: Initializing machine ID from KVM UUID.
[[32m OK [0m] Reached target Local Encrypted Volumes.
[ 2.384614] systemd[1]: Reached target Local Encrypted Volumes.
[ 2.388594] systemd[1]: Starting Local Encrypted Volumes.
[[32m OK [0m] Reached target Timers.
[ 2.393517] systemd[1]: Reached target Timers.
[[32m OK [0m] Reached target Local File Systems.
[[32m OK [0m] Reached target Swap.
[[32m OK [0m] Created slice Root Slice.
[[32m OK [0m] Listening on udev Control Socket.
[[32m OK [0m] Listening on Journal Socket.
[[32m OK [0m] Created slice System Slice.
Starting Create list of required st... nodes for the current kernel...
Starting Setup Virtual Console...
Starting Apply Kernel Variables...
Starting Journal Service...
[[32m OK [0m] Reached target Slices.
Starting dracut cmdline hook...
[[32m OK [0m] Listening on udev Kernel Socket.
[[32m OK [0m] Reached target Sockets.
[[32m OK [0m] Started Journal Service.
[[32m OK [0m] Started Create list of required sta...ce nodes for the current kernel.
[[32m OK [0m] Started Setup Virtual Console.
[[32m OK [0m] Started Apply Kernel Variables.
Starting Create Static Device Nodes in /dev...
[[32m OK [0m] Started Create Static Device Nodes in /dev.
[[32m OK [0m] Started dracut cmdline hook.
Starting dracut pre-udev hook...
[ 2.512333] device-mapper: uevent: version 1.0.3
[ 2.515930] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: [email protected]
[[32m OK [0m] Started dracut pre-udev hook.
Starting udev Kernel Device Manager...
[[32m OK [0m] Started udev Kernel Device Manager.
Starting dracut pre-trigger hook...
[[32m OK [0m] Started dracut pre-trigger hook.
Starting udev Coldplug all Devices...
[[32m OK [0m] Started udev Coldplug all Devices.
Starting dracut initqueue hook...
Starting Show Plymouth Boot Screen...
[[32m OK [0m] Reached target System Initialization.
[[32m OK [0m] Started Show Plymouth Boot Screen.
[[32m OK [0m] Reached target Paths.
[[32m OK [0m] Reached target Basic System.
[ 2.671676] nvme nvme0: pci function 0000:00:04.0
[ 2.675603] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 2.676101] nvme nvme1: pci function 0000:00:1f.0
[ 2.683714] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[ 2.690459] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 2.697051] AVX2 version of gcm_enc/dec engaged.
[ 2.700874] AES CTR mode by8 optimization enabled
%G[ 2.723678] alg: No test for pcbc(aes) (pcbc-aes-aesni)
[ 2.903158] nvme0n1: p1 p128
[ 2.916394] random: fast init done
[[32m OK [0m] Found device /dev/disk/by-uuid/0a5c8d10-5fd5-4c87-8778-4afc3ce97dd9.
Starting File System Check on /dev/...0-5fd5-4c87-8778-4afc3ce97dd9...
[[32m OK [0m] Started File System Check on /dev/d...d10-5fd5-4c87-8778-4afc3ce97dd9.
[[32m OK [0m] Started dracut initqueue hook.
[[32m OK [0m] Reached target Remote File Systems (Pre).
[[32m OK [0m] Reached target Remote File Systems.
Starting dracut pre-mount hook...
[[32m OK [0m] Started dracut pre-mount hook.
Mounting /sysroot...
[ 3.332526] SGI XFS with ACLs, security attributes, no debug enabled
[ 3.440566] XFS (nvme0n1p1): Mounting V5 Filesystem
[ 3.883852] XFS (nvme0n1p1): Ending clean mount
[[32m OK [0m] Mounted /sysroot.
[[32m OK [0m] Reached target Initrd Root File System.
Starting Reload Configuration from the Real Root...
[[32m OK [0m] Started Reload Configuration from the Real Root.
[[32m OK [0m] Reached target Initrd File Systems.
[[32m OK [0m] Reached target Initrd Default Target.
Starting dracut pre-pivot and cleanup hook...
[[32m OK [0m] Started dracut pre-pivot and cleanup hook.
Starting Cleaning Up and Shutting Down Daemons...
Starting Plymouth switch root service...
[[32m OK [0m] Stopped target Timers.
[[32m OK [0m] Stopped Cleaning Up and Shutting Down Daemons.
[[32m OK [0m] Stopped dracut pre-pivot and cleanup hook.
Stopping dracut pre-pivot and cleanup hook...
[[32m OK [0m] Stopped dracut pre-mount hook.
Stopping dracut pre-mount hook...
[[32m OK [0m] Stopped target Initrd Default Target.
[[32m OK [0m] Stopped target Remote File Systems.
[[32m OK [0m] Stopped target Remote File Systems (Pre).
[[32m OK [0m] Stopped dracut initqueue hook.
Stopping dracut initqueue hook...
[[32m OK [0m] Stopped target Basic System.
[[32m OK [0m] Stopped target Slices.
[[32m OK [0m] Stopped target Sockets.
[[32m OK [0m] Stopped target Paths.
[[32m OK [0m] Stopped target System Initialization.
[[32m OK [0m] Stopped target Local File Systems.
[[32m OK [0m] Stopped target Local Encrypted Volumes.
[[32m OK [0m] Stopped target Swap.
[[32m OK [0m] Stopped udev Coldplug all Devices.
Stopping udev Coldplug all Devices...
[[32m OK [0m] Stopped dracut pre-trigger hook.
Stopping dracut pre-trigger hook...
Stopping udev Kernel Device Manager...
[[32m OK [0m] Stopped Apply Kernel Variables.
Stopping Apply Kernel Variables...
[ 4.113588] systemd-journald[673]: Received SIGTERM from PID 1 (systemd).
[[32m OK [0m] Started Plymouth switch root service.
[[32m OK [0m] Stopped udev Kernel Device Manager.
[[32m OK [0m] Stopped Create Static Device Nodes in /dev.
Stopping Create Static Device Nodes in /dev...
[[32m OK [0m] Stopped Create list of required sta...ce nodes for the current kernel.
Stopping Create list of required st... nodes for the current kernel...
[[32m OK [0m] Stopped dracut pre-udev hook.
Stopping dracut pre-udev hook...
[[32m OK [0m] Stopped dracut cmdline hook.
Stopping dracut cmdline hook...
[[32m OK [0m] Closed udev Kernel Socket.
[[32m OK [0m] Closed udev Control Socket.
Starting Cleanup udevd DB...
[[32m OK [0m] Started Cleanup udevd DB.
[[32m OK [0m] Reached target Switch Root.
Starting Switch Root...
[ 4.168220] systemd: 25 output lines suppressed due to ratelimiting
[ 4.272567] SELinux: Disabled at runtime.
[ 4.336112] audit: type=1404 audit(1573791350.624:2): selinux=0 auid=4294967295 ses=4294967295
[ 4.381684] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 4.386502] systemd[1]: Inserted module 'ip_tables'
Welcome to [0;33mAmazon Linux 2[0m!
[[32m OK [0m] Stopped Switch Root.
[[32m OK [0m] Stopped Journal Service.
Starting Journal Service...
[[32m OK [0m] Listening on LVM2 poll daemon socket.
[[32m OK [0m] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice.
Mounting POSIX Message Queue File System...
[[32m OK [0m] Listening on udev Control Socket.
Mounting Huge Pages File System...
[[32m OK [0m] Listening on Device-mapper event daemon FIFOs.
[[32m OK [0m] Listening on LVM2 metadata daemon socket.
Starting Monitoring of LVM2 mirrors... dmeventd or progress polling...
[[32m OK [0m] Created slice system-systemd\x2dfsck.slice.
[[32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe.
Starting Remount Root and Kernel File Systems...
[[32m OK [0m] Stopped target Switch Root.
[[32m OK [0m] Stopped target Initrd Root File System.
[[32m OK [0m] Stopped target Initrd File Systems.
[[32m OK [0m] Reached target Paths.
[[32m OK [0m] Reached target Swap.
[[32m OK [0m] Set up automount Arbitrary Executab...ats File System Automount Point.
[[32m OK [0m] Listening on udev Kernel Socket.
[ 4.624731] ena: Elastic Network Adapter (ENA) v2.1.1g
[ 4.624811] ena 0000:00:05.0: Elastic Network Adapter (ENA) v2.1.1g
[ 4.640142] ena: ena device version: 0.10
[ 4.640143] ena: ena controller version: 0.0.1 implementation version 1
[ 4.687575] systemd-journald[1391]: Received request to flush runtime journal from PID 1
[[32m OK [0m] Created slice system-serial\x2dgetty.slice.
[[32m OK [0m] Created slice system-getty.slice.
[[32m OK [0m] Listening on Delayed Shutdown Socket.
Starting Load Kernel Modules...
Mounting Debug File System...
[[32m OK [0m] Created slice User and Session Slice.
[[32m OK [0m] Reached target Slices.
Starting Create list of required st... nodes for the current kernel...
[[32m OK [0m] Mounted Debug File System.
[[32m OK [0m] Mounted POSIX Message Queue File System.
[[32m OK [0m] Mounted Huge Pages File System.
[[32m OK [0m] Started Journal Service.
[[32m OK [0m] Started Remount Root and Kernel File Systems.
[[32m OK [0m] Started Create list of required sta...ce nodes for the current kernel.
[[32m OK [0m] Started LVM2 metadata daemon.
Starting LVM2 metadata daemon...
Starting Create Static Device Nodes in /dev...
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Flush Journal to Persistent Storage...
[[32m OK [0m] Started Load/Save Random Seed.
[[32m OK [0m] Started udev Coldplug all Devices.
Starting udev Wait for Complete Device Initialization...
[ 4.768025] ena 0000:00:05.0: LLQ is not supported Fallback to host mode policy.
[ 4.768044] ena 0000:00:05.0: creating 2 io queues. rx queue size: 1024 tx queue size. 1024 LLQ is DISABLED
[ 4.784169] ena 0000:00:05.0: Elastic Network Adapter (ENA) found at mem febf4000, mac addr 06:db:1b:e7:ab:1e Queues 2, Placement policy: Regular
[[32m OK [0m] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[[32m OK [0m] Started udev Kernel Device Manager.
[[32m OK [0m] Started Load Kernel Modules.
Starting Apply Kernel Variables...
[[32m OK [0m] Started Apply Kernel Variables.
[ 4.839083] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 4.845300] ACPI: Power Button [PWRF]
[ 4.845401] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input2
[ 4.845410] ACPI: Sleep Button [SLPF]
[[32m OK [0m] Started Flush Journal to Persistent Storage.
[[32m OK [0m] Found device /dev/ttyS0.
%G[[32m OK [0m] Created slice system-ec2net\x2difup.slice.
[[32m OK [0m] Started udev Wait for Complete Device Initialization.
Starting Activation of DM RAID sets...
[[32m OK [0m] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[[32m OK [0m] Reached target Local File Systems (Pre).
[[32m OK [0m] Started Activation of DM RAID sets.
[[32m OK [0m] Reached target Local Encrypted Volumes.
[[1;31m TIME [0m] Timed out waiting for device dev-xvdf.device.
[[1;33mDEPEND[0m] Dependency failed for /data.
[[1;33mDEPEND[0m] Dependency failed for Local File Systems.
[[1;33mDEPEND[0m] Dependency failed for Migrate local... structure to the new structure.
[[1;33mDEPEND[0m] Dependency failed for File System Check on /dev/xvdf.
[ 94.759235] random: crng init done
[ 94.762559] random: 7 urandom warning(s) missed due to ratelimiting
Starting Preprocess NFS configuration...
Starting Initial hibernation setup job...
[[32m OK [0m] Reached target Timers.
[[32m OK [0m] Reached target Login Prompts.
Starting Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
[[32m OK [0m] Started Emergency Shell.
Starting Emergency Shell...
[[32m OK [0m] Reached target Emergency Mode.
[[32m OK [0m] Reached target Sockets.
[[32m OK [0m] Reached target Network (Pre).
[[32m OK [0m] Reached target Network.
[[32m OK [0m] Reached target Cloud-init target.
Starting Initial cloud-init job (metadata service crawler)...
[[32m OK [0m] Started Preprocess NFS configuration.
[[32m OK [0m] Started Create Volatile Files and Directories.
Starting RPC bind service...
Mounting RPC Pipe File System...
Starting Security Auditing Service...
[ 94.838985] RPC: Registered named UNIX socket transport module.
[ 94.838985] RPC: Registered udp transport module.
[ 94.838986] RPC: Registered tcp transport module.
[ 94.838986] RPC: Registered tcp NFSv4.1 backchannel transport module.
[[32m OK [0m] Mounted RPC Pipe File System.
[[32m OK [0m] Reached target rpc_pipefs.target.
[[32m OK [0m] Reached target NFS client services.
[[32m OK [0m] Reached target Remote File Systems (Pre).
[[32m OK [0m] Reached target Remote File Systems.
[[32m OK [0m] Started RPC bind service.
[[32m OK [0m] Started Tell Plymouth To Write Out Runtime Data.
Starting Activation of DM RAID sets...
[[32m OK [0m] Stopped target Emergency Mode.
[[32m OK [0m] Started Activation of DM RAID sets.
[[32m OK [0m] Started Security Auditing Service.
Starting Update UTMP about System Boot/Shutdown...
[[32m OK [0m] Started Update UTMP about System Boot/Shutdown.
Starting Update UTMP about System Runlevel Changes...
[[32m OK [0m] Started Update UTMP about System Runlevel Changes.
[ 95.540099] cloud-init[1827]: Cloud-init v. 18.5-2.amzn2 running 'init' at Fri, 15 Nov 2019 04:17:21 +0000. Up 95.51 seconds.
[ 95.567423] cloud-init[1827]: ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++
[ 95.567635] cloud-init[1827]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+
[ 95.568072] cloud-init[1827]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 95.568462] cloud-init[1827]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+
[ 95.568875] cloud-init[1827]: ci-info: | eth0 | False | . | . | . | 06:db:1b:e7:ab:1e |
[ 95.569306] cloud-init[1827]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 95.569759] cloud-init[1827]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 95.570163] cloud-init[1827]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+
[ 95.570586] cloud-init[1827]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[ 95.570743] cloud-init[1827]: ci-info: +-------+-------------+---------+-----------+-------+
[ 95.574544] cloud-init[1827]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 95.576261] cloud-init[1827]: ci-info: +-------+-------------+---------+-----------+-------+
[ 95.576505] cloud-init[1827]: ci-info: +-------+-------------+---------+-----------+-------+
[[32m OK [0m] Started Initial cloud-init job (metadata service crawler).
[[32m OK [0m] Reached target Cloud-config availability.
[[32m OK [0m] Reached target Network is Online.
[ 184.998542] systemctl[1856]: Job for acpid.service canceled.
Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.
Press Enter to continue.
划重点1
2
3
4
5
6
7
8
9[[1;31m TIME [0m] Timed out waiting for device dev-xvdf.device.
[[1;33mDEPEND[0m] Dependency failed for /data.
[[1;33mDEPEND[0m] Dependency failed for Local File Systems.
[[1;33mDEPEND[0m] Dependency failed for Migrate local... structure to the new structure.
[[1;33mDEPEND[0m] Dependency failed for File System Check on /dev/xvdf.
0x02 解决办法
知道问题的原因,也就容易解决了,把实例切回去,然后把设备名改成UUID就完事了。1
2
3blkid 查看设备的UUID
vim /etc/fstab 替换UUID
mount -a 完事
1 | [root@ip-10-0-3-4 ec2-user]# blkid |
然后再切成nvme的实例类型就没啥事了。
0x03 后记
心累,太菜了我。