Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL2: Boot slow with multi-core CPU #5289

Closed
L4ys opened this issue May 29, 2020 · 13 comments
Closed

WSL2: Boot slow with multi-core CPU #5289

L4ys opened this issue May 29, 2020 · 13 comments
Labels
needs-investigation likely actionable and/or needs more investigation

Comments

@L4ys
Copy link

L4ys commented May 29, 2020

  • Your Windows build number: (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.19041.264]
  • What you're doing and what's happening:

WSL2 spent much longer (about 2.9sec) than expected to boot up on my Ryzen 3700X desktop
and seems the bottleneck is UMIP (User Mode Instruction Prevention):

C:\Users\Lays>wsl --shutdown && wsl "dmesg"
[    0.000000] Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Feb 19 06:37:35 UTC 2020
[    0.000000] Command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=16
[    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: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000066a3fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Microsoft Hyper-V
[    0.000000] Hyper-V: features 0xae7f, hints 0xc2c
[    0.000000] Hyper-V Host Build:19041-10.0-0-0.264
[    0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[    0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[    0.000000] Hyper-V: Using hypercall for remote TLB flush
[    0.000000] tsc: Detected 3593.267 MHz processor
[    0.000004] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000005] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000007] last_pfn = 0x66a400 max_arch_pfn = 0x400000000
[    0.000029] MTRR default type: uncachable
[    0.000029] MTRR fixed ranges disabled:
[    0.000030]   00000-FFFFF uncachable
[    0.000030] MTRR variable ranges disabled:
[    0.000030]   0 disabled
[    0.000030]   1 disabled
[    0.000031]   2 disabled
[    0.000031]   3 disabled
[    0.000031]   4 disabled
[    0.000031]   5 disabled
[    0.000031]   6 disabled
[    0.000031]   7 disabled
[    0.000032] Disabled
[    0.000032] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000039] CPU MTRRs all blank - virtualized system.
[    0.000040] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.000041] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.000051] Using GB pages for direct mapping
[    0.000052] BRK [0x02e00000, 0x02e00fff] PGTABLE
[    0.000052] BRK [0x02e01000, 0x02e01fff] PGTABLE
[    0.000053] BRK [0x02e02000, 0x02e02fff] PGTABLE
[    0.000072] BRK [0x02e03000, 0x02e03fff] PGTABLE
[    0.000314] RAMDISK: [mem 0x02e35000-0x02e44fff]
[    0.000317] ACPI: Early table checksum verification disabled
[    0.000323] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.000325] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000328] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000331] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.000332] ACPI: FACS 0x0000000000101114 000040
[    0.000333] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000335] ACPI: SRAT 0x000000000011F33C 000310 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000336] ACPI: APIC 0x000000000011F64C 0000C8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000339] ACPI: Local APIC address 0xfee00000
[    0.000511] Zone ranges:
[    0.000512]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000513]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000514]   Normal   [mem 0x0000000100000000-0x000000066a3fffff]
[    0.000514] Movable zone start for each node
[    0.000515] Early memory node ranges
[    0.000515]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000516]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000516]   node   0: [mem 0x0000000100000000-0x000000066a3fffff]
[    0.001051] Zeroed struct page in unavailable ranges: 23905 pages
[    0.001052] Initmem setup node 0 [mem 0x0000000000001000-0x000000066a3fffff]
[    0.001053] On node 0 totalpages: 6693535
[    0.001054]   DMA zone: 59 pages used for memmap
[    0.001054]   DMA zone: 22 pages reserved
[    0.001055]   DMA zone: 3743 pages, LIFO batch:0
[    0.001107]   DMA32 zone: 16320 pages used for memmap
[    0.001108]   DMA32 zone: 1011712 pages, LIFO batch:63
[    0.018494]   Normal zone: 88720 pages used for memmap
[    0.018495]   Normal zone: 5678080 pages, LIFO batch:63
[    0.019083] ACPI: Local APIC address 0xfee00000
[    0.019088] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.019349] IOAPIC[0]: apic_id 16, version 17, address 0xfec00000, GSI 0-23
[    0.019352] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.019353] ACPI: IRQ9 used by override.
[    0.019354] Using ACPI (MADT) for SMP configuration information
[    0.019359] smpboot: Allowing 16 CPUs, 0 hotplug CPUs
[    0.019366] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.019367] Booting paravirtualized kernel on bare hardware
[    0.019368] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.110428] random: get_random_bytes called from start_kernel+0x93/0x4bb with crng_init=0
[    0.110441] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:16 nr_node_ids:1
[    0.111022] percpu: Embedded 42 pages/cpu s133400 r8192 d30440 u262144
[    0.111025] pcpu-alloc: s133400 r8192 d30440 u262144 alloc=1*2097152
[    0.111026] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15 
[    0.111036] Built 1 zonelists, mobility grouping on.  Total pages: 6588414
[    0.111038] Kernel command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=16
[    0.115236] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes)
[    0.117419] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.134686] Memory: 4096404K/26774140K available (14360K kernel code, 1575K rwdata, 2836K rodata, 1504K init, 2792K bss, 568644K reserved, 0K cma-reserved)
[    0.134889] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.134895] ftrace: allocating 41537 entries in 163 pages
[    0.144360] rcu: Hierarchical RCU implementation.
[    0.144361] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=16.
[    0.144361] 	All grace periods are expedited (rcu_expedited).
[    0.144362] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[    0.145948] Using NULL legacy PIC
[    0.145948] NR_IRQS: 16640, nr_irqs: 552, preallocated irqs: 0
[    0.146209] Console: colour dummy device 80x25
[    0.146211] console [tty0] enabled
[    0.146214] ACPI: Core revision 20180810
[    0.146293] Failed to register legacy timer interrupt
[    0.146300] APIC: Switch to symmetric I/O mode setup
[    0.146301] Switched APIC routing to physical flat.
[    0.146313] Hyper-V: Using IPI hypercalls
[    0.146313] Hyper-V: Using MSR based APIC access
[    0.146317] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.146388] Calibrating delay loop (skipped), value calculated using timer frequency.. 7186.53 BogoMIPS (lpj=35932670)
[    0.146389] pid_max: default: 32768 minimum: 301
[    0.146403] Security Framework initialized
[    0.146450] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.146618] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.146800] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.146809] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[    0.146809] Last level dTLB entries: 4KB 2048, 2MB 2048, 4MB 1024, 1GB 0
[    0.146810] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.146811] Spectre V2 : Spectre mitigation: LFENCE not serializing, switching to generic retpoline
[    0.146811] Spectre V2 : Mitigation: Full generic retpoline
[    0.146811] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.146814] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.146814] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[    0.146815] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.146968] Freeing SMP alternatives memory: 44K
[    0.147590] smpboot: CPU0: AMD Ryzen 7 3700X 8-Core Processor (family: 0x17, model: 0x71, stepping: 0x0)
[    0.147631] Performance Events: PMU not available due to virtualization, using software events only.
[    0.147733] rcu: Hierarchical SRCU implementation.
[    0.147854] random: crng done (trusting CPU's manufacturer)
[    0.147919] smp: Bringing up secondary CPUs ...
[    0.147952] x86: Booting SMP configuration:
[    0.147953] .... node  #0, CPUs:        #1
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.296972]   #2
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.446452]   #3
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.596462]   #4
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.746582]   #5
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    0.896445]   #6
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    1.046460]   #7
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    1.196464]   #8
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    1.346443]   #9
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    1.496470]  #10
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    1.646460]  #11
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    1.796484]  #12
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    1.946468]  #13
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    2.096466]  #14
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    2.246469]  #15
[    0.010191] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    2.396469] smp: Brought up 1 node, 16 CPUs
[    2.396469] smpboot: Max logical packages: 1
[    2.396469] smpboot: Total of 16 processors activated (115233.03 BogoMIPS)
[    2.506394] node 0 initialised, 5527273 pages in 110ms
[    2.507681] devtmpfs: initialized
[    2.507681] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    2.507681] futex hash table entries: 4096 (order: 6, 262144 bytes)
[    2.507681] xor: automatically using best checksumming function   avx       
[    2.507703] NET: Registered protocol family 16
[    2.507869] ACPI: bus type PCI registered
[    2.507869] PCI: Fatal: No config space access function found
[    2.517112] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    2.517112] raid6: Forced to use recovery algorithm avx2x2
[    2.517112] raid6: Forced gen() algo avx2x4
[    2.517112] ACPI: Added _OSI(Module Device)
[    2.517112] ACPI: Added _OSI(Processor Device)
[    2.517112] ACPI: Added _OSI(3.0 _SCP Extensions)
[    2.517112] ACPI: Added _OSI(Processor Aggregator Device)
[    2.517112] ACPI: Added _OSI(Linux-Dell-Video)
[    2.517112] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    2.519699] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    2.520236] ACPI: Interpreter enabled
[    2.520236] ACPI: (supports S0 S5)
[    2.520236] ACPI: Using IOAPIC for interrupt routing
[    2.520236] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    2.520236] ACPI: Enabled 1 GPEs in block 00 to 0F
[    2.520249] SCSI subsystem initialized
[    2.520249] hv_vmbus: Vmbus version:5.0
[    2.520249] PCI: Using ACPI for IRQ routing
[    2.520249] PCI: System does not support PCI
[    2.520249] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[    2.520249] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    2.526564] VFS: Disk quotas dquot_6.6.0
[    2.526573] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.526601] FS-Cache: Loaded
[    2.526619] pnp: PnP ACPI init
[    2.526647] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    2.526679] pnp: PnP ACPI: found 1 devices
[    2.530068] NET: Registered protocol family 2
[    2.530241] tcp_listen_portaddr_hash hash table entries: 16384 (order: 6, 262144 bytes)
[    2.530264] TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
[    2.530615] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    2.530830] TCP: Hash tables configured (established 262144 bind 65536)
[    2.530851] UDP hash table entries: 16384 (order: 7, 524288 bytes)
[    2.530891] UDP-Lite hash table entries: 16384 (order: 7, 524288 bytes)
[    2.530954] NET: Registered protocol family 1
[    2.531381] RPC: Registered named UNIX socket transport module.
[    2.531382] RPC: Registered udp transport module.
[    2.531382] RPC: Registered tcp transport module.
[    2.531382] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.531383] PCI: CLS 0 bytes, default 64
[    2.531401] Trying to unpack rootfs image as initramfs...
[    2.531482] Freeing initrd memory: 64K
[    2.531483] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    2.531484] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[    2.532597] kvm: no hardware support
[    2.532598] has_svm: svm not available
[    2.532598] kvm: no hardware support
[    2.532923] Initialise system trusted keyrings
[    2.532992] workingset: timestamp_bits=46 max_order=23 bucket_order=0
[    2.533632] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.533923] NFS: Registering the id_resolver key type
[    2.533926] Key type id_resolver registered
[    2.533926] Key type id_legacy registered
[    2.533928] Installing knfsd (copyright (C) 1996 [email protected]).
[    2.534859] Key type cifs.idmap registered
[    2.534904] fuse init (API version 7.27)
[    2.535015] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    2.535994] 9p: Installing v9fs 9p2000 file system support
[    2.535999] FS-Cache: Netfs '9p' registered for caching
[    2.536028] FS-Cache: Netfs 'ceph' registered for caching
[    2.536030] ceph: loaded (mds proto 32)
[    2.538979] NET: Registered protocol family 38
[    2.538980] Key type asymmetric registered
[    2.538980] Asymmetric key parser 'x509' registered
[    2.538985] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    2.538986] io scheduler noop registered (default)
[    2.539580] hv_vmbus: registering driver hv_pci
[    2.539747] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.540016] Non-volatile memory driver v1.3
[    2.542439] brd: module loaded
[    2.543134] loop: module loaded
[    2.543334] hv_vmbus: registering driver hv_storvsc
[    2.543368] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    2.543668] tun: Universal TUN/TAP device driver, 1.6
[    2.543989] PPP generic driver version 2.4.2
[    2.544041] PPP BSD Compression module registered
[    2.544042] PPP Deflate Compression module registered
[    2.544043] PPP MPPE Compression module registered
[    2.544044] NET: Registered protocol family 24
[    2.544047] hv_vmbus: registering driver hv_netvsc
[    2.546838] scsi host0: storvsc_host_t
[    2.550644] VFIO - User Level meta-driver version: 0.3
[    2.550752] hv_vmbus: registering driver hyperv_keyboard
[    2.550903] rtc_cmos 00:00: RTC can wake from S4
[    2.572006] rtc_cmos 00:00: registered as rtc0
[    2.572013] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[    2.572121] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[    2.572495] hv_utils: Registering HyperV Utility Driver
[    2.572496] hv_vmbus: registering driver hv_util
[    2.572517] hv_vmbus: registering driver hv_balloon
[    2.572521] hv_utils: cannot register PTP clock: 0
[    2.572690] hv_utils: TimeSync IC version 4.0
[    2.572719] drop_monitor: Initializing network drop monitor service
[    2.572737] Mirror/redirect action on
[    2.572948] hv_balloon: Using Dynamic Memory protocol version 2.0
[    2.573048] IPVS: Registered protocols (TCP, UDP)
[    2.573063] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    2.573576] hv_balloon: cold memory discard enabled
[    2.574725] IPVS: ipvs loaded.
[    2.574726] IPVS: [rr] scheduler registered.
[    2.574726] IPVS: [wrr] scheduler registered.
[    2.574727] IPVS: [sh] scheduler registered.
[    2.576443] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    2.576787] Initializing XFRM netlink socket
[    2.576827] NET: Registered protocol family 10
[    2.577228] Segment Routing with IPv6
[    2.579421] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.579481] NET: Registered protocol family 17
[    2.579494] Bridge firewalling registered
[    2.579499] 8021q: 802.1Q VLAN Support v1.8
[    2.579512] sctp: Hash tables configured (bind 512/512)
[    2.579545] 9pnet: Installing 9P2000 support
[    2.579554] Key type dns_resolver registered
[    2.579558] Key type ceph registered
[    2.579839] libceph: loaded (mon/osd proto 15/24)
[    2.579840] hv_vmbus: registering driver hv_sock
[    2.579896] NET: Registered protocol family 40
[    2.580098] registered taskstats version 1
[    2.580102] Loading compiled-in X.509 certificates
[    2.580253] Btrfs loaded, crc32c=crc32c-generic
[    2.580749] rtc_cmos 00:00: setting system clock to 2020-05-29 05:36:08 UTC (1590730568)
[    2.580759] Unstable clock detected, switching default tracing clock to "global"
               If you want to keep using the local clock, then add:
                 "trace_clock=local"
               on the kernel command line
[    2.582571] Freeing unused kernel image memory: 1504K
[    2.646409] Write protecting the kernel read-only data: 20480k
[    2.647117] Freeing unused kernel image memory: 1988K
[    2.647303] Freeing unused kernel image memory: 1260K
[    2.647303] Run /init as init process
[    2.807307] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    2.807583] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.808194] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    2.808195] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    2.808252] sd 0:0:0:0: [sda] Write Protect is off
[    2.808253] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[    2.808392] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.808446] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    2.810553] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.816159] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    2.816448] sd 0:0:0:1: Attached scsi generic sg1 type 0
[    2.817015] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    2.817017] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[    2.817082] sd 0:0:0:1: [sdb] Write Protect is off
[    2.817083] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[    2.817217] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.817647] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    2.819308] sd 0:0:0:1: [sdb] Attached SCSI disk
[    2.832600] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    2.874133] FS-Cache: Duplicate cookie detected
[    2.874135] FS-Cache: O-cookie c=000000009125dab8 [p=000000004be303ff fl=222 nc=0 na=1]
[    2.874136] FS-Cache: O-cookie d=00000000b59f4d0c n=0000000051cb110a
[    2.874136] FS-Cache: O-key=[10] '34323934393337353638'
[    2.874138] FS-Cache: N-cookie c=0000000050cb4c01 [p=000000004be303ff fl=2 nc=0 na=1]
[    2.874138] FS-Cache: N-cookie d=00000000b59f4d0c n=00000000bc43d22d
[    2.874138] FS-Cache: N-key=[10] '34323934393337353638'
[    2.875341] FS-Cache: Duplicate cookie detected
[    2.875342] FS-Cache: O-cookie c=000000009125dab8 [p=000000004be303ff fl=222 nc=0 na=1]
[    2.875343] FS-Cache: O-cookie d=00000000b59f4d0c n=0000000051cb110a
[    2.875343] FS-Cache: O-key=[10] '34323934393337353638'
[    2.875345] FS-Cache: N-cookie c=000000000645c538 [p=000000004be303ff fl=2 nc=0 na=1]
[    2.875345] FS-Cache: N-cookie d=00000000b59f4d0c n=0000000031de24f0
[    2.875345] FS-Cache: N-key=[10] '34323934393337353638'
[    2.932459] Adding 7340032k swap on /swap/file.  Priority:-2 extents:3 across:7356416k 

On my X1C 6th with i7-8550u (No UMIP support) it only tooks 0.6 sec to boot up WSL2:

C:\Users\Lays>wsl --shutdown && wsl "dmesg"
[    0.000000] Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Feb 19 06:37:35 UTC 2020
[    0.000000] Command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=8
[    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: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000333dfffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Microsoft Hyper-V
[    0.000000] Hyper-V: features 0x2e7f, hints 0x20c2c
[    0.000000] Hyper-V Host Build:19041-10.0-0-0.264
[    0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[    0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[    0.000000] Hyper-V: Using hypercall for remote TLB flush
[    0.000000] tsc: Detected 1991.999 MHz processor
[    0.000008] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000009] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000010] last_pfn = 0x333e00 max_arch_pfn = 0x400000000
[    0.000044] MTRR default type: uncachable
[    0.000044] MTRR fixed ranges disabled:
[    0.000045]   00000-FFFFF uncachable
[    0.000045] MTRR variable ranges disabled:
[    0.000046]   0 disabled
[    0.000046]   1 disabled
[    0.000046]   2 disabled
[    0.000047]   3 disabled
[    0.000047]   4 disabled
[    0.000047]   5 disabled
[    0.000047]   6 disabled
[    0.000047]   7 disabled
[    0.000048] Disabled
[    0.000048] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000053] CPU MTRRs all blank - virtualized system.
[    0.000054] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC
[    0.000055] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.000066] Using GB pages for direct mapping
[    0.000068] BRK [0x02e00000, 0x02e00fff] PGTABLE
[    0.000069] BRK [0x02e01000, 0x02e01fff] PGTABLE
[    0.000069] BRK [0x02e02000, 0x02e02fff] PGTABLE
[    0.000090] BRK [0x02e03000, 0x02e03fff] PGTABLE
[    0.000605] RAMDISK: [mem 0x02e35000-0x02e44fff]
[    0.000609] ACPI: Early table checksum verification disabled
[    0.000625] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.000627] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000631] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000636] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.000638] ACPI: FACS 0x0000000000101114 000040
[    0.000640] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000643] ACPI: SRAT 0x000000000011F33C 000290 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000645] ACPI: APIC 0x000000000011F5CC 000088 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000651] ACPI: Local APIC address 0xfee00000
[    0.000986] Zone ranges:
[    0.000987]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000988]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.000989]   Normal   [mem 0x0000000100000000-0x0000000333dfffff]
[    0.000990] Movable zone start for each node
[    0.000990] Early memory node ranges
[    0.000990]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000991]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000991]   node   0: [mem 0x0000000100000000-0x0000000333dfffff]
[    0.002094] Zeroed struct page in unavailable ranges: 17249 pages
[    0.002095] Initmem setup node 0 [mem 0x0000000000001000-0x0000000333dfffff]
[    0.002096] On node 0 totalpages: 3325087
[    0.002097]   DMA zone: 59 pages used for memmap
[    0.002098]   DMA zone: 22 pages reserved
[    0.002098]   DMA zone: 3743 pages, LIFO batch:0
[    0.002152]   DMA32 zone: 16320 pages used for memmap
[    0.002153]   DMA32 zone: 1011712 pages, LIFO batch:63
[    0.028053]   Normal zone: 36088 pages used for memmap
[    0.028054]   Normal zone: 2309632 pages, LIFO batch:63
[    0.028766] ACPI: Local APIC address 0xfee00000
[    0.028773] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.029083] IOAPIC[0]: apic_id 8, version 17, address 0xfec00000, GSI 0-23
[    0.029086] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.029088] ACPI: IRQ9 used by override.
[    0.029089] Using ACPI (MADT) for SMP configuration information
[    0.029093] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
[    0.029101] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.029102] Booting paravirtualized kernel on bare hardware
[    0.029103] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.126532] random: get_random_bytes called from start_kernel+0x93/0x4bb with crng_init=0
[    0.126539] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:8 nr_node_ids:1
[    0.127097] percpu: Embedded 42 pages/cpu s133400 r8192 d30440 u262144
[    0.127101] pcpu-alloc: s133400 r8192 d30440 u262144 alloc=1*2097152
[    0.127101] pcpu-alloc: [0] 0 1 2 3 4 5 6 7
[    0.127114] Built 1 zonelists, mobility grouping on.  Total pages: 3272598
[    0.127115] Kernel command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=8
[    0.130882] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.132635] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.156422] Memory: 4096404K/13300348K available (14360K kernel code, 1575K rwdata, 2836K rodata, 1504K init, 2792K bss, 331772K reserved, 0K cma-reserved)
[    0.156754] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.156758] Kernel/User page tables isolation: enabled
[    0.156789] ftrace: allocating 41537 entries in 163 pages
[    0.168491] rcu: Hierarchical RCU implementation.
[    0.168492] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8.
[    0.168493]  All grace periods are expedited (rcu_expedited).
[    0.168494] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.170443] Using NULL legacy PIC
[    0.170444] NR_IRQS: 16640, nr_irqs: 488, preallocated irqs: 0
[    0.170790] Console: colour dummy device 80x25
[    0.170793] console [tty0] enabled
[    0.170799] ACPI: Core revision 20180810
[    0.170927] Failed to register legacy timer interrupt
[    0.170933] APIC: Switch to symmetric I/O mode setup
[    0.170947] Hyper-V: Using IPI hypercalls
[    0.170947] Hyper-V: Using MSR based APIC access
[    0.170951] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.171033] Calibrating delay loop (skipped), value calculated using timer frequency.. 3983.99 BogoMIPS (lpj=19919990)
[    0.171034] pid_max: default: 32768 minimum: 301
[    0.171049] Security Framework initialized
[    0.171084] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.171113] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.171312] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    0.171312] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.171314] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.171315] Spectre V2 : Mitigation: Full generic retpoline
[    0.171315] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.171315] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.171322] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.171322] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[    0.171323] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.171356] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.171567] Freeing SMP alternatives memory: 44K
[    0.172625] smpboot: CPU0: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (family: 0x6, model: 0x8e, stepping: 0xa)
[    0.172674] Performance Events: unsupported p6 CPU model 142 no PMU driver, software events only.
[    0.172693] rcu: Hierarchical SRCU implementation.
[    0.172758] random: crng done (trusting CPU's manufacturer)
[    0.172804] smp: Bringing up secondary CPUs ...
[    0.172843] x86: Booting SMP configuration:
[    0.172844] .... node  #0, CPUs:      #1
[    0.173273] 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.173273]  #2 #3 #4 #5 #6 #7
[    0.173273] smp: Brought up 1 node, 8 CPUs
[    0.173273] smpboot: Max logical packages: 1
[    0.173273] smpboot: Total of 8 processors activated (31871.98 BogoMIPS)
[    0.231025] node 0 initialised, 2218043 pages in 60ms
[    0.232911] devtmpfs: initialized
[    0.232911] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.232911] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.232911] xor: automatically using best checksumming function   avx
[    0.232911] NET: Registered protocol family 16
[    0.232911] ACPI: bus type PCI registered
[    0.232911] PCI: Fatal: No config space access function found
[    0.241066] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.241295] raid6: Forced to use recovery algorithm avx2x2
[    0.241295] raid6: Forced gen() algo avx2x4
[    0.241295] ACPI: Added _OSI(Module Device)
[    0.241295] ACPI: Added _OSI(Processor Device)
[    0.241295] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.241295] ACPI: Added _OSI(Processor Aggregator Device)
[    0.241295] ACPI: Added _OSI(Linux-Dell-Video)
[    0.241295] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.245288] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.246043] ACPI: Interpreter enabled
[    0.246043] ACPI: (supports S0 S5)
[    0.246043] ACPI: Using IOAPIC for interrupt routing
[    0.246043] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.246043] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.246058] SCSI subsystem initialized
[    0.251028] hv_vmbus: Vmbus version:5.0
[    0.251078] PCI: Using ACPI for IRQ routing
[    0.251079] PCI: System does not support PCI
[    0.251358] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[    0.251435] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    0.265174] VFS: Disk quotas dquot_6.6.0
[    0.265185] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.265217] FS-Cache: Loaded
[    0.265241] pnp: PnP ACPI init
[    0.265402] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.265429] pnp: PnP ACPI: found 1 devices
[    0.271126] NET: Registered protocol family 2
[    0.271423] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes)
[    0.271439] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.271891] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.272015] TCP: Hash tables configured (established 131072 bind 65536)
[    0.272040] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[    0.272075] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[    0.272461] NET: Registered protocol family 1
[    0.272900] RPC: Registered named UNIX socket transport module.
[    0.272901] RPC: Registered udp transport module.
[    0.272901] RPC: Registered tcp transport module.
[    0.272902] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.272903] PCI: CLS 0 bytes, default 64
[    0.272927] Trying to unpack rootfs image as initramfs...
[    0.273073] Freeing initrd memory: 64K
[    0.273075] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.273076] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[    0.273148] kvm: no hardware support
[    0.273149] has_svm: not amd
[    0.273149] kvm: no hardware support
[    0.273552] Initialise system trusted keyrings
[    0.273788] workingset: timestamp_bits=46 max_order=22 bucket_order=0
[    0.274664] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.274996] NFS: Registering the id_resolver key type
[    0.275000] Key type id_resolver registered
[    0.275000] Key type id_legacy registered
[    0.275002] Installing knfsd (copyright (C) 1996 [email protected]).
[    0.275873] Key type cifs.idmap registered
[    0.275969] fuse init (API version 7.27)
[    0.276100] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    0.277025] 9p: Installing v9fs 9p2000 file system support
[    0.277033] FS-Cache: Netfs '9p' registered for caching
[    0.277080] FS-Cache: Netfs 'ceph' registered for caching
[    0.277082] ceph: loaded (mds proto 32)
[    0.282449] NET: Registered protocol family 38
[    0.282451] Key type asymmetric registered
[    0.282452] Asymmetric key parser 'x509' registered
[    0.282464] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.282465] io scheduler noop registered (default)
[    0.282972] hv_vmbus: registering driver hv_pci
[    0.283111] ACPI: AC Adapter [AC1] (on-line)
[    0.283376] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.283819] Non-volatile memory driver v1.3
[    0.283854] battery: ACPI: Battery Slot [BAT1] (battery present)
[    0.286120] brd: module loaded
[    0.287277] loop: module loaded
[    0.287421] hv_vmbus: registering driver hv_storvsc
[    0.287460] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    0.287777] tun: Universal TUN/TAP device driver, 1.6
[    0.287845] PPP generic driver version 2.4.2
[    0.287964] PPP BSD Compression module registered
[    0.287965] PPP Deflate Compression module registered
[    0.287970] PPP MPPE Compression module registered
[    0.287971] NET: Registered protocol family 24
[    0.287975] hv_vmbus: registering driver hv_netvsc
[    0.292358] scsi host0: storvsc_host_t
[    0.298088] VFIO - User Level meta-driver version: 0.3
[    0.298220] hv_vmbus: registering driver hyperv_keyboard
[    0.298422] rtc_cmos 00:00: RTC can wake from S4
[    0.299876] rtc_cmos 00:00: registered as rtc0
[    0.299885] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[    0.300042] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[    0.300321] hv_utils: Registering HyperV Utility Driver
[    0.300322] hv_vmbus: registering driver hv_util
[    0.300345] hv_vmbus: registering driver hv_balloon
[    0.300350] hv_utils: cannot register PTP clock: 0
[    0.300450] drop_monitor: Initializing network drop monitor service
[    0.300856] hv_utils: TimeSync IC version 4.0
[    0.300965] hv_balloon: Using Dynamic Memory protocol version 2.0
[    0.301630] hv_balloon: cold memory discard enabled
[    0.303086] Mirror/redirect action on
[    0.303247] IPVS: Registered protocols (TCP, UDP)
[    0.303256] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    0.304285] IPVS: ipvs loaded.
[    0.304286] IPVS: [rr] scheduler registered.
[    0.304287] IPVS: [wrr] scheduler registered.
[    0.304287] IPVS: [sh] scheduler registered.
[    0.305611] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.305874] Initializing XFRM netlink socket
[    0.305924] NET: Registered protocol family 10
[    0.306748] Segment Routing with IPv6
[    0.308693] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.308769] NET: Registered protocol family 17
[    0.308783] Bridge firewalling registered
[    0.308789] 8021q: 802.1Q VLAN Support v1.8
[    0.308805] sctp: Hash tables configured (bind 256/256)
[    0.308844] 9pnet: Installing 9P2000 support
[    0.308854] Key type dns_resolver registered
[    0.308859] Key type ceph registered
[    0.309067] libceph: loaded (mon/osd proto 15/24)
[    0.309069] hv_vmbus: registering driver hv_sock
[    0.309141] NET: Registered protocol family 40
[    0.309359] registered taskstats version 1
[    0.309365] Loading compiled-in X.509 certificates
[    0.309548] Btrfs loaded, crc32c=crc32c-generic
[    0.310052] rtc_cmos 00:00: setting system clock to 2020-05-29 06:13:10 UTC (1590732790)
[    0.310065] Unstable clock detected, switching default tracing clock to "global"
               If you want to keep using the local clock, then add:
                 "trace_clock=local"
               on the kernel command line
[    0.311392] Freeing unused kernel image memory: 1504K
[    0.361974] Write protecting the kernel read-only data: 20480k
[    0.362943] Freeing unused kernel image memory: 1988K
[    0.363298] Freeing unused kernel image memory: 1260K
[    0.363548] Run /init as init process
[    0.533144] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.533578] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.534329] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    0.534331] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    0.534471] sd 0:0:0:0: [sda] Write Protect is off
[    0.534472] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[    0.534647] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.534974] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    0.539592] sd 0:0:0:0: [sda] Attached SCSI disk
[    0.551251] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.551680] sd 0:0:0:1: Attached scsi generic sg1 type 0
[    0.552943] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    0.552946] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[    0.553144] sd 0:0:0:1: [sdb] Write Protect is off
[    0.553146] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[    0.553306] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    0.553371] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.557269] sd 0:0:0:1: [sdb] Attached SCSI disk
[    0.574359] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    0.654833] Adding 4194304k swap on /swap/file.  Priority:-2 extents:2 across:4202496k
  • What's wrong / what should be happening instead:
  1. Is it expected to spend so long to active UMIP?
  2. Do we really need UMIP on WSL2?
  3. Is there any way to disable UMIP currently?
@onomatopellan
Copy link

You can try to add clearcpuid=514 as a kernel boot option to disable UMIP support.

Following this you can add the kernel parameter to .wslconfig as kernelCommandLine=clearcpuid=514

Remember to wsl.exe --shutdown every time you change the values.

@L4ys
Copy link
Author

L4ys commented May 29, 2020

After disable the UMIP, I found the problem is not UMIP...

...
[    0.148216] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.148217] Spectre V2 : Spectre mitigation: LFENCE not serializing, switching to generic retpoline
[    0.148217] Spectre V2 : Mitigation: Full generic retpoline
[    0.148217] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.148220] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.148221] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[    0.148221] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.148376] Freeing SMP alternatives memory: 44K
[    0.148999] smpboot: CPU0: AMD Ryzen 7 3700X 8-Core Processor (family: 0x17, model: 0x71, stepping: 0x0)
[    0.149040] Performance Events: PMU not available due to virtualization, using software events only.
[    0.149141] rcu: Hierarchical SRCU implementation.
[    0.149263] random: crng done (trusting CPU's manufacturer)
[    0.149329] smp: Bringing up secondary CPUs ...
[    0.149362] x86: Booting SMP configuration:
[    0.149362] .... node  #0, CPUs:        #1  #2  #3  #4  #5  #6  #7  #8  #9 #10 #11 #12 #13 #14 #15
[    2.397888] smp: Brought up 1 node, 16 CPUs
[    2.397888] smpboot: Max logical packages: 1
[    2.397888] smpboot: Total of 16 processors activated (115009.08 BogoMIPS)
...

@onomatopellan
Copy link

onomatopellan commented May 29, 2020

Interesting. Try reducing the number of processors on .wslconfig

@L4ys
Copy link
Author

L4ys commented May 29, 2020

I set kernelCommandLine=clearcpuid=514 and processors=8 in .wslconfig and now it takes 1.6sec to boot up with my Ryzen 3700X.

not sure why it's still slower then laptop, but at least acceptable now.

@L4ys L4ys changed the title WSL2: Boot slow with User Mode Instruction Prevention actived WSL2: Boot slow with ~User Mode Instruction Prevention activated~ multi-core CPU May 29, 2020
@L4ys L4ys changed the title WSL2: Boot slow with ~User Mode Instruction Prevention activated~ multi-core CPU WSL2: Boot slow with multi-core CPU May 29, 2020
@onomatopellan
Copy link

You can also try to compile latest kernel. I'd read it wasn't until kernel 4.21.x that linux wasn't optimized for zen2 CPUs.

@therealkenc
Copy link
Collaborator

Confirmed here on 3950X (no surprise natch). About ~4.6s to get the whole herd:

[    0.171621] x86: Booting SMP configuration:
[    0.171621] .... node  #0, CPUs:        #1
...
[    0.010227] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    4.517283]  #30
[    0.010227] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    4.667179]  #31
[    0.010227] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[    4.817191] smp: Brought up 1 node, 32 CPUs

Thing is, the delay is going to be an upstream thing; either in the kernel, or some suboptimal interaction with the hypervisor. Someone especially motivated would have to try booting Linux on bare metal to see if the wait is hypervisor related or just the kernel (I give evens). Whatever the cause, the inconvenient truth is it probably won't get many eyeballs in this venue. You could try posting an issue in the kernel github in the hope it might get a sighting.

@tarpaha
Copy link

tarpaha commented Jul 31, 2020

Same problem on 3900x, even with UMIP disabled.

[    0.153633] Performance Events: PMU not available due to virtualization, using software events only.
[    0.153738] rcu: Hierarchical SRCU implementation.
[    0.153860] random: crng done (trusting CPU's manufacturer)
[    0.153973] smp: Bringing up secondary CPUs ...
[    0.154009] x86: Booting SMP configuration:
[    0.154009] .... node  #0, CPUs:        #1  #2  #3  #4  #5  #6  #7  #8  #9 #10 #11 #12 #13 #14 #15 #16 #17 #18 #19 #20 #21 #22 #23
[    3.602429] smp: Brought up 1 node, 24 CPUs
[    3.602429] smpboot: Max logical packages: 1
[    3.602429] smpboot: Total of 24 processors activated (182064.65 BogoMIPS)```

@unavaliabl3
Copy link

This may be a problem related to the hypervisor.
my cpu is ryzen 5 4600h

Ubuntu 20.04 on bare metal with kernel 5.4 and 5.7:

boot time 2.5s
Screenshot from 2020-08-01 01-35-01

WSL2 Ubuntu 20.04 kernel 4.19 smp 6

[    0.284149] x86: Booting SMP configuration:
[    0.284150] .... node  #0, CPUs:      #1
[    0.010359] calibrate_delay_direct() dropping min bogoMips estimate 1 = 26533200
[    0.432563]  #2
[    0.010359] calibrate_delay_direct() dropping min bogoMips estimate 1 = 24990120
[    0.581251]  #3
[    0.010359] calibrate_delay_direct() dropping min bogoMips estimate 3 = 20268600
[    0.731243]  #4 #5
[    1.031319] smp: Brought up 1 node, 6 CPUs
[    1.031319] smpboot: Max logical packages: 1
[    1.031319] smpboot: Total of 6 processors activated (36279.73 BogoMIPS)

WSL2 Ubuntu 20.04 with kernel 5.4 smp 6

[    0.235670] Freeing SMP alternatives memory: 44K
[    0.236063] smpboot: CPU0: AMD Ryzen 5 4600H with Radeon Graphics (family: 0x17, model: 0x60, stepping: 0x1)
[    0.236139] Performance Events: PMU not available due to virtualization, using software events only.
[    0.236324] rcu: Hierarchical SRCU implementation.
[    0.236431] smp: Bringing up secondary CPUs ...
[    0.236492] x86: Booting SMP configuration:
[    0.236493] .... node  #0, CPUs:      #1 #2 #3 #4 #5
[    0.985036] smp: Brought up 1 node, 6 CPUs
[    0.985038] smpboot: Max logical packages: 1
[    0.985040] smpboot: Total of 6 processors activated (35897.61 BogoMIPS)
[    1.034879] node 0 initialised, 2117734 pages in 50ms

qemu-system-x86_64 -accel=whpx -smp 12 Ubuntu 20.04 cloud image with kernel 5.4

whpx is a qemu accelerator using Windows Hypervisor Platform API (an API that third-party developers can use in order to use Hyper-V)
QEMU 7_31_2020 6_55_54 PM
QEMU 7_31_2020 6_56_01 PM

KVM -smp 12 Ubuntu 20.04 cloud image with kernel 5.4

[    0.246820] x86: Booting SMP configuration:
[    0.246822] .... node  #0, CPUs:      #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11
[    0.286165] smp: Brought up 1 node, 12 CPUs
[    0.286165] smpboot: Max logical packages: 1

@unavaliabl3
Copy link

just compiled kernel 5.7.11 for WSL2

[    0.056108] .... node  #0, CPUs:        #1  #2  #3  #4  #5  #6  #7  #8  #9 #10 #11
[    0.065166] smp: Brought up 1 node, 12 CPUs
[    0.065167] smpboot: Max logical packages: 1
[    0.065169] smpboot: Total of 12 processors activated (71862.28 BogoMIPS)
[    0.092017] node 0 initialised, 2117409 pages in 20ms
[    0.095315] devtmpfs: initialized
[    0.095320] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.095320] futex hash table entries: 4096 (order: 6, 262144 bytes, linear)
[    0.095496] xor: automatically using best checksumming function   avx
[    0.095748] NET: Registered protocol family 16
[    0.095920] ACPI: bus type PCI registered
[    0.095920] PCI: Fatal: No config space access function found
[    0.095920] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.265147] raid6: avx2x4   gen() 32570 MB/s
[    0.435147] raid6: avx2x4   xor() 10053 MB/s
[    0.605149] raid6: avx2x2   gen() 34098 MB/s
[    0.775147] raid6: avx2x2   xor() 23087 MB/s
[    0.945148] raid6: avx2x1   gen() 28050 MB/s
[    1.115147] raid6: avx2x1   xor() 18773 MB/s
[    1.285148] raid6: sse2x4   gen() 16554 MB/s
[    1.455147] raid6: sse2x4   xor()  9006 MB/s
[    1.625151] raid6: sse2x2   gen() 16743 MB/s
[    1.795148] raid6: sse2x2   xor() 11917 MB/s
[    1.965147] raid6: sse2x1   gen() 14397 MB/s
[    2.135149] raid6: sse2x1   xor()  9671 MB/s
[    2.135150] raid6: using algorithm avx2x2 gen() 34098 MB/s
[    2.135151] raid6: .... xor() 23087 MB/s, rmw enabled

the delay between smp reduced a lot but another strange raid6 appears

@ltmit
Copy link

ltmit commented Nov 14, 2020

Like the same problem (Hareware: R5 2600, 16GB mem)

  • My windows build number:

Microsoft Windows [版本 10.0.20257.1]

  • What's happening:

My WSL2 distro(one of ubuntu16.04 and another ubuntu 18.04 ) start very slow (usually more than 50s).
'dmesg' messages were pasted below:
1、 ubuntu16.04

[ 0.000000] Linux version 4.19.128-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Jun 23 12:58:10 UTC 2020
[ 0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[ 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: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000207ffffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI not present or invalid.
[ 0.000000] Hypervisor detected: Microsoft Hyper-V
[ 0.000000] Hyper-V: features 0xae7f, hints 0x2c2c, misc 0xc0bed7b2
[ 0.000000] Hyper-V Host Build:20257-10.0-0-0.1
[ 0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[ 0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[ 0.000000] Hyper-V: Using hypercall for remote TLB flush
[ 0.000000] tsc: Detected 3393.728 MHz processor
[ 0.000005] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000006] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000008] last_pfn = 0x208000 max_arch_pfn = 0x400000000
[ 0.000033] MTRR default type: uncachable
[ 0.000034] MTRR fixed ranges disabled:
[ 0.000035] 00000-FFFFF uncachable
[ 0.000035] MTRR variable ranges disabled:
[ 0.000035] 0 disabled
[ 0.000036] 1 disabled
[ 0.000036] 2 disabled
[ 0.000036] 3 disabled
[ 0.000036] 4 disabled
[ 0.000036] 5 disabled
[ 0.000037] 6 disabled
[ 0.000037] 7 disabled
[ 0.000037] Disabled
[ 0.000038] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[ 0.000045] CPU MTRRs all blank - virtualized system.
[ 0.000047] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000048] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[ 0.000061] Using GB pages for direct mapping
[ 0.000062] BRK [0x02e00000, 0x02e00fff] PGTABLE
[ 0.000062] BRK [0x02e01000, 0x02e01fff] PGTABLE
[ 0.000063] BRK [0x02e02000, 0x02e02fff] PGTABLE
[ 0.000086] BRK [0x02e03000, 0x02e03fff] PGTABLE
[ 0.000399] RAMDISK: [mem 0x02e35000-0x02e43fff]
[ 0.000403] ACPI: Early table checksum verification disabled
[ 0.000409] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[ 0.000412] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000415] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000419] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01 00000001 MSFT 05000000)
[ 0.000421] ACPI: FACS 0x0000000000101114 000040
[ 0.000422] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000424] ACPI: SRAT 0x000000000011F33C 000370 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000426] ACPI: APIC 0x000000000011F6AC 0000A8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000429] ACPI: Local APIC address 0xfee00000
[ 0.000640] Zone ranges:
[ 0.000641] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000642] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.000643] Normal [mem 0x0000000100000000-0x0000000207ffffff]
[ 0.000643] Movable zone start for each node
[ 0.000644] Early memory node ranges
[ 0.000644] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[ 0.000645] node 0: [mem 0x0000000000200000-0x00000000f7ffffff]
[ 0.000645] node 0: [mem 0x0000000100000000-0x0000000207ffffff]
[ 0.000834] Zeroed struct page in unavailable ranges: 353 pages
[ 0.000836] Initmem setup node 0 [mem 0x0000000000001000-0x0000000207ffffff]
[ 0.000837] On node 0 totalpages: 2096799
[ 0.000838] DMA zone: 59 pages used for memmap
[ 0.000838] DMA zone: 22 pages reserved
[ 0.000839] DMA zone: 3743 pages, LIFO batch:0
[ 0.000899] DMA32 zone: 16320 pages used for memmap
[ 0.000899] DMA32 zone: 1011712 pages, LIFO batch:63
[ 0.021393] Normal zone: 16896 pages used for memmap
[ 0.021395] Normal zone: 1081344 pages, LIFO batch:63
[ 0.022096] ACPI: Local APIC address 0xfee00000
[ 0.022105] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.022537] IOAPIC[0]: apic_id 12, version 17, address 0xfec00000, GSI 0-23
[ 0.022540] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.022541] ACPI: IRQ9 used by override.
[ 0.022542] Using ACPI (MADT) for SMP configuration information
[ 0.022549] smpboot: Allowing 12 CPUs, 0 hotplug CPUs
[ 0.022558] [mem 0xf8000000-0xffffffff] available for PCI devices
[ 0.022559] Booting paravirtualized kernel on bare hardware
[ 0.022560] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.152835] random: get_random_bytes called from start_kernel+0x93/0x4be with crng_init=0
[ 0.152842] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:12 nr_node_ids:1
[ 0.153581] percpu: Embedded 42 pages/cpu s133400 r8192 d30440 u262144
[ 0.153585] pcpu-alloc: s133400 r8192 d30440 u262144 alloc=1*2097152
[ 0.153586] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 -- -- -- --
[ 0.153600] Built 1 zonelists, mobility grouping on. Total pages: 2063502
[ 0.153601] Kernel command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[ 0.155137] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.156013] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.178842] Memory: 4096408K/8387196K available (14360K kernel code, 1575K rwdata, 2856K rodata, 1512K init, 2756K bss, 242324K reserved, 0K cma-reserved)
[ 0.179129] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[ 0.179136] ftrace: allocating 41883 entries in 164 pages
[ 0.190767] rcu: Hierarchical RCU implementation.
[ 0.190768] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=12.
[ 0.190769] All grace periods are expedited (rcu_expedited).
[ 0.190770] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=12
[ 0.192586] Using NULL legacy PIC
[ 0.192587] NR_IRQS: 16640, nr_irqs: 520, preallocated irqs: 0
[ 0.192959] Console: colour dummy device 80x25
[ 0.192961] console [tty0] enabled
[ 0.192966] ACPI: Core revision 20180810
[ 0.193057] Failed to register legacy timer interrupt
[ 0.193065] APIC: Switch to symmetric I/O mode setup
[ 0.195685] x2apic: IRQ remapping doesn't support X2APIC mode
[ 0.198328] Switched APIC routing to physical flat.
[ 0.198347] Hyper-V: Using IPI hypercalls
[ 0.198348] Hyper-V: Using MSR based APIC access
[ 0.198353] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.198449] Calibrating delay loop (skipped), value calculated using timer frequency.. 6787.45 BogoMIPS (lpj=33937280)
[ 0.198451] pid_max: default: 32768 minimum: 301
[ 0.198467] Security Framework initialized
[ 0.198484] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.198494] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.198743] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[ 0.198744] Last level dTLB entries: 4KB 1536, 2MB 1536, 4MB 768, 1GB 0
[ 0.198745] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.198746] Spectre V2 : Spectre mitigation: LFENCE not serializing, switching to generic retpoline
[ 0.198746] Spectre V2 : Mitigation: Full generic retpoline
[ 0.198746] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.198750] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.198750] Spectre V2 : User space: Vulnerable
[ 0.198751] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[ 0.198960] Freeing SMP alternatives memory: 44K
[ 0.199735] smpboot: CPU0: AMD Ryzen 5 2600 Six-Core Processor (family: 0x17, model: 0x8, stepping: 0x2)
[ 0.199789] Performance Events: PMU not available due to virtualization, using software events only.
[ 0.199818] rcu: Hierarchical SRCU implementation.
[ 0.200126] random: crng done (trusting CPU's manufacturer)
[ 0.200183] smp: Bringing up secondary CPUs ...
[ 0.200226] x86: Booting SMP configuration:
[ 0.200226] .... node #0, CPUs: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11
[ 1.848579] smp: Brought up 1 node, 12 CPUs
[ 1.848579] smpboot: Max logical packages: 1
[ 1.848579] smpboot: Total of 12 processors activated (81448.96 BogoMIPS)
[ 1.868455] node 0 initialised, 1012116 pages in 20ms
[ 1.869954] devtmpfs: initialized
[ 1.869954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 1.869954] futex hash table entries: 4096 (order: 6, 262144 bytes)
[ 1.878773] xor: automatically using best checksumming function avx
[ 1.879754] NET: Registered protocol family 16
[ 1.879949] ACPI: bus type PCI registered
[ 1.879949] PCI: Fatal: No config space access function found
[ 1.879949] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 1.879949] raid6: Forced to use recovery algorithm avx2x2
[ 1.879949] raid6: Forced gen() algo avx2x4
[ 1.879949] ACPI: Added _OSI(Module Device)
[ 1.879949] ACPI: Added _OSI(Processor Device)
[ 1.879949] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 1.879949] ACPI: Added _OSI(Processor Aggregator Device)
[ 1.879949] ACPI: Added _OSI(Linux-Dell-Video)
[ 1.879949] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 1.889146] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.889904] ACPI: Interpreter enabled
[ 1.889904] ACPI: (supports S0 S5)
[ 1.889904] ACPI: Using IOAPIC for interrupt routing
[ 1.889904] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 1.889904] ACPI: Enabled 1 GPEs in block 00 to 0F
[ 1.889926] SCSI subsystem initialized
[ 1.889926] hv_vmbus: Vmbus version:5.0
[ 1.889926] PCI: Using ACPI for IRQ routing
[ 1.889926] PCI: System does not support PCI
[ 1.889926] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[ 1.889926] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[ 1.889926] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[ 1.889926] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[ 1.901756] VFS: Disk quotas dquot_6.6.0
[ 1.901767] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.901806] FS-Cache: Loaded
[ 1.901833] pnp: PnP ACPI init
[ 1.901878] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 1.901914] pnp: PnP ACPI: found 1 devices
[ 1.906873] NET: Registered protocol family 2
[ 1.907112] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes)
[ 1.907121] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 1.907180] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 1.907487] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.907515] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.907532] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.907577] NET: Registered protocol family 1
[ 1.907963] RPC: Registered named UNIX socket transport module.
[ 1.907964] RPC: Registered udp transport module.
[ 1.907964] RPC: Registered tcp transport module.
[ 1.907965] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.907966] PCI: CLS 0 bytes, default 64
[ 1.907988] Trying to unpack rootfs image as initramfs...
[ 1.908096] Freeing initrd memory: 60K
[ 1.908099] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.908100] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[ 1.909411] kvm: no hardware support
[ 1.910227] kvm: Nested Virtualization enabled
[ 1.910232] kvm: Nested Paging enabled
[ 1.910232] SVM: Virtual VMLOAD VMSAVE supported
[ 1.911038] Initialise system trusted keyrings
[ 1.911137] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 1.912158] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.912650] NFS: Registering the id_resolver key type
[ 1.912654] Key type id_resolver registered
[ 1.912655] Key type id_legacy registered
[ 1.912656] Installing knfsd (copyright (C) 1996 [email protected]).
[ 1.913703] Key type cifs.idmap registered
[ 1.913772] fuse init (API version 7.27)
[ 1.913925] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[ 1.915041] 9p: Installing v9fs 9p2000 file system support
[ 1.915048] FS-Cache: Netfs '9p' registered for caching
[ 1.915080] FS-Cache: Netfs 'ceph' registered for caching
[ 1.915082] ceph: loaded (mds proto 32)
[ 1.919318] NET: Registered protocol family 38
[ 1.919321] Key type asymmetric registered
[ 1.919322] Asymmetric key parser 'x509' registered
[ 1.919337] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 1.919338] io scheduler noop registered (default)
[ 1.920019] hv_vmbus: registering driver hv_pci
[ 1.920520] hv_pci 376ad7cf-e67f-4435-b916-9e15ef4935b7: PCI VMBus probing: Using version 0x10002
[ 1.921262] hv_pci 376ad7cf-e67f-4435-b916-9e15ef4935b7: PCI host bridge to bus b916:00
[ 1.921530] pci b916:00:00.0: [1414:008e] type 00 class 0x030200
[ 1.927323] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.927703] Non-volatile memory driver v1.3
[ 1.930481] brd: module loaded
[ 1.931345] loop: module loaded
[ 1.931567] hv_vmbus: registering driver hv_storvsc
[ 1.931609] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 1.931970] tun: Universal TUN/TAP device driver, 1.6
[ 1.932058] PPP generic driver version 2.4.2
[ 1.932172] PPP BSD Compression module registered
[ 1.932173] PPP Deflate Compression module registered
[ 1.932177] PPP MPPE Compression module registered
[ 1.932178] NET: Registered protocol family 24
[ 1.932186] hv_vmbus: registering driver hv_netvsc
[ 1.932311] VFIO - User Level meta-driver version: 0.3
[ 1.932517] hv_vmbus: registering driver hyperv_keyboard
[ 1.932734] rtc_cmos 00:00: RTC can wake from S4
[ 1.934853] scsi host0: storvsc_host_t
[ 1.954326] rtc_cmos 00:00: registered as rtc0
[ 1.954336] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[ 1.954461] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[ 1.954905] hv_utils: Registering HyperV Utility Driver
[ 1.954906] hv_vmbus: registering driver hv_util
[ 1.954936] hv_vmbus: registering driver hv_balloon
[ 1.954942] dxgk:err: dxg_drv_init Version: 1
[ 1.954945] hv_vmbus: registering driver dxgkrnl
[ 1.954967] hv_utils: cannot register PTP clock: 0
[ 1.955130] drop_monitor: Initializing network drop monitor service
[ 1.955153] Mirror/redirect action on
[ 1.955422] hv_utils: TimeSync IC version 4.0
[ 1.955559] hv_balloon: Using Dynamic Memory protocol version 2.0
[ 1.955583] IPVS: Registered protocols (TCP, UDP)
[ 1.955600] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 1.957494] hv_balloon: cold memory discard enabled
[ 1.957732] IPVS: ipvs loaded.
[ 1.957733] IPVS: [rr] scheduler registered.
[ 1.957734] IPVS: [wrr] scheduler registered.
[ 1.957734] IPVS: [sh] scheduler registered.
[ 1.959999] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 1.960382] Initializing XFRM netlink socket
[ 1.960439] NET: Registered protocol family 10
[ 1.960894] Segment Routing with IPv6
[ 1.963382] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.963491] NET: Registered protocol family 17
[ 1.963510] Bridge firewalling registered
[ 1.963518] 8021q: 802.1Q VLAN Support v1.8
[ 1.963541] sctp: Hash tables configured (bind 256/256)
[ 1.963598] 9pnet: Installing 9P2000 support
[ 1.963609] Key type dns_resolver registered
[ 1.963615] Key type ceph registered
[ 1.964003] libceph: loaded (mon/osd proto 15/24)
[ 1.964005] hv_vmbus: registering driver hv_sock
[ 1.964090] NET: Registered protocol family 40
[ 1.964362] registered taskstats version 1
[ 1.964367] Loading compiled-in X.509 certificates
[ 1.964765] Btrfs loaded, crc32c=crc32c-generic
[ 1.965419] rtc_cmos 00:00: setting system clock to 2020-11-14 12:23:27 UTC (1605356607)
[ 1.965433] Unstable clock detected, switching default tracing clock to "global"
If you want to keep using the local clock, then add:
"trace_clock=local"
on the kernel command line
[ 1.967465] Freeing unused kernel image memory: 1512K
[ 2.028485] Write protecting the kernel read-only data: 20480k
[ 2.029145] Freeing unused kernel image memory: 1984K
[ 2.029328] Freeing unused kernel image memory: 1240K
[ 2.029329] Run /init as init process
[ 2.763668] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2.938545] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 3.074413] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 3.074778] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.075499] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 3.075500] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 3.075604] sd 0:0:0:0: [sda] Write Protect is off
[ 3.075605] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[ 3.075829] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.078500] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.092580] scsi 0:0:0:1: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 3.093067] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 3.093974] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 3.093976] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[ 3.094076] sd 0:0:0:1: [sdb] Write Protect is off
[ 3.094078] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[ 3.094352] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.097419] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 3.101325] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[ 3.144675] hv_pci 65bf5031-657a-4a69-a93b-b8ea8c84ec97: PCI VMBus probing: Using version 0x10002
[ 3.150030] Adding 2097152k swap on /swap/file. Priority:-2 extents:1 across:2097152k
[ 3.200483] hv_pci 65bf5031-657a-4a69-a93b-b8ea8c84ec97: PCI host bridge to bus a93b:00
[ 3.200485] pci_bus a93b:00: root bus resource [mem 0xe00000000-0xe00002fff window]
[ 3.201283] pci a93b:00:00.0: [1af4:1049] type 00 class 0x010000
[ 3.203167] pci a93b:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit]
[ 3.203983] pci a93b:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit]
[ 3.204802] pci a93b:00:00.0: reg 0x20: [mem 0xe00002000-0xe00002fff 64bit]
[ 3.210003] pci a93b:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit]
[ 3.210601] pci a93b:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit]
[ 3.211185] pci a93b:00:00.0: BAR 4: assigned [mem 0xe00002000-0xe00002fff 64bit]
[ 3.687786] EXT4-fs (sdb): 7 orphan inodes deleted
[ 3.687787] EXT4-fs (sdb): recovery complete
[ 3.694057] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 3.710162] FS-Cache: Duplicate cookie detected
[ 3.710165] FS-Cache: O-cookie c=0000000066732dab [p=00000000e6ae046c fl=222 nc=0 na=1]
[ 3.710165] FS-Cache: O-cookie d=00000000bea668cf n=0000000072f134a0
[ 3.710165] FS-Cache: O-key=[10] '34323934393337363437'
[ 3.710168] FS-Cache: N-cookie c=000000002bd46e34 [p=00000000e6ae046c fl=2 nc=0 na=1]
[ 3.710168] FS-Cache: N-cookie d=00000000bea668cf n=0000000023075159
[ 3.710168] FS-Cache: N-key=[10] '34323934393337363437'
[ 3.821805] hv_pci dd6253ce-ab8b-4553-b50b-f2acc4851ab3: PCI VMBus probing: Using version 0x10002
[ 3.823369] 9pnet_virtio: no channels available for device drvfs
[ 3.823373] WARNING: mount: waiting for virtio device...
[ 3.863723] hv_pci dd6253ce-ab8b-4553-b50b-f2acc4851ab3: PCI host bridge to bus b50b:00
[ 3.863725] pci_bus b50b:00: root bus resource [mem 0xe00004000-0xe00006fff window]
[ 3.864421] pci b50b:00:00.0: [1af4:1049] type 00 class 0x010000
[ 3.866272] pci b50b:00:00.0: reg 0x10: [mem 0xe00004000-0xe00004fff 64bit]
[ 3.867075] pci b50b:00:00.0: reg 0x18: [mem 0xe00005000-0xe00005fff 64bit]
[ 3.867902] pci b50b:00:00.0: reg 0x20: [mem 0xe00006000-0xe00006fff 64bit]
[ 3.872942] pci b50b:00:00.0: BAR 0: assigned [mem 0xe00004000-0xe00004fff 64bit]
[ 3.873511] pci b50b:00:00.0: BAR 2: assigned [mem 0xe00005000-0xe00005fff 64bit]
[ 3.874070] pci b50b:00:00.0: BAR 4: assigned [mem 0xe00006000-0xe00006fff 64bit]
[ 3.927628] hv_pci d90e441c-90ca-4f18-a8f4-5a0c816e2869: PCI VMBus probing: Using version 0x10002
[ 3.930131] 9pnet_virtio: no channels available for device drvfs
[ 3.930136] WARNING: mount: waiting for virtio device...
[ 3.973642] hv_pci d90e441c-90ca-4f18-a8f4-5a0c816e2869: PCI host bridge to bus a8f4:00
[ 3.973644] pci_bus a8f4:00: root bus resource [mem 0xe00008000-0xe0000afff window]
[ 3.974345] pci a8f4:00:00.0: [1af4:1049] type 00 class 0x010000
[ 3.976170] pci a8f4:00:00.0: reg 0x10: [mem 0xe00008000-0xe00008fff 64bit]
[ 3.976979] pci a8f4:00:00.0: reg 0x18: [mem 0xe00009000-0xe00009fff 64bit]
[ 3.977837] pci a8f4:00:00.0: reg 0x20: [mem 0xe0000a000-0xe0000afff 64bit]
[ 3.982909] pci a8f4:00:00.0: BAR 0: assigned [mem 0xe00008000-0xe00008fff 64bit]
[ 3.983496] pci a8f4:00:00.0: BAR 2: assigned [mem 0xe00009000-0xe00009fff 64bit]
[ 3.984080] pci a8f4:00:00.0: BAR 4: assigned [mem 0xe0000a000-0xe0000afff 64bit]
[ 4.034406] hv_pci 73f324c5-1ad7-4f14-8385-dce2bf7883d6: PCI VMBus probing: Using version 0x10002
[ 4.036357] 9pnet_virtio: no channels available for device drvfs
[ 4.036362] WARNING: mount: waiting for virtio device...
[ 4.103784] hv_pci 73f324c5-1ad7-4f14-8385-dce2bf7883d6: PCI host bridge to bus 8385:00
[ 4.103786] pci_bus 8385:00: root bus resource [mem 0xe0000c000-0xe0000efff window]
[ 4.104494] pci 8385:00:00.0: [1af4:1049] type 00 class 0x010000
[ 4.106334] pci 8385:00:00.0: reg 0x10: [mem 0xe0000c000-0xe0000cfff 64bit]
[ 4.107147] pci 8385:00:00.0: reg 0x18: [mem 0xe0000d000-0xe0000dfff 64bit]
[ 4.108597] pci 8385:00:00.0: reg 0x20: [mem 0xe0000e000-0xe0000efff 64bit]
[ 4.121081] pci 8385:00:00.0: BAR 0: assigned [mem 0xe0000c000-0xe0000cfff 64bit]
[ 4.121828] pci 8385:00:00.0: BAR 2: assigned [mem 0xe0000d000-0xe0000dfff 64bit]
[ 4.122538] pci 8385:00:00.0: BAR 4: assigned [mem 0xe0000e000-0xe0000efff 64bit]
[ 4.136767] 9pnet_virtio: no channels available for device drvfs
[ 4.240979] hv_pci 294e9891-8184-4c30-844a-4777f54988e5: PCI VMBus probing: Using version 0x10002
[ 4.288914] hv_pci 294e9891-8184-4c30-844a-4777f54988e5: PCI host bridge to bus 844a:00
[ 4.288916] pci_bus 844a:00: root bus resource [mem 0xe00010000-0xe00012fff window]
[ 4.289705] pci 844a:00:00.0: [1af4:1049] type 00 class 0x010000
[ 4.291591] pci 844a:00:00.0: reg 0x10: [mem 0xe00010000-0xe00010fff 64bit]
[ 4.292410] pci 844a:00:00.0: reg 0x18: [mem 0xe00011000-0xe00011fff 64bit]
[ 4.293244] pci 844a:00:00.0: reg 0x20: [mem 0xe00012000-0xe00012fff 64bit]
[ 4.298274] pci 844a:00:00.0: BAR 0: assigned [mem 0xe00010000-0xe00010fff 64bit]
[ 4.298916] pci 844a:00:00.0: BAR 2: assigned [mem 0xe00011000-0xe00011fff 64bit]
[ 4.299519] pci 844a:00:00.0: BAR 4: assigned [mem 0xe00012000-0xe00012fff 64bit]
[ 50.789732] hv_balloon: Max. dynamic memory size: 8192 MB


2、ubuntu18.04:

[ 0.000000] Linux version 4.19.128-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Jun 23 12:58:10 UTC 2020
[ 0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[ 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: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000207ffffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI not present or invalid.
[ 0.000000] Hypervisor detected: Microsoft Hyper-V
[ 0.000000] Hyper-V: features 0xae7f, hints 0x2c2c, misc 0xc0bed7b2
[ 0.000000] Hyper-V Host Build:20257-10.0-0-0.1
[ 0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[ 0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[ 0.000000] Hyper-V: Using hypercall for remote TLB flush
[ 0.000000] tsc: Detected 3393.728 MHz processor
[ 0.000005] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000006] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000008] last_pfn = 0x208000 max_arch_pfn = 0x400000000
[ 0.000033] MTRR default type: uncachable
[ 0.000034] MTRR fixed ranges disabled:
[ 0.000035] 00000-FFFFF uncachable
[ 0.000035] MTRR variable ranges disabled:
[ 0.000035] 0 disabled
[ 0.000036] 1 disabled
[ 0.000036] 2 disabled
[ 0.000036] 3 disabled
[ 0.000036] 4 disabled
[ 0.000036] 5 disabled
[ 0.000037] 6 disabled
[ 0.000037] 7 disabled
[ 0.000037] Disabled
[ 0.000038] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[ 0.000045] CPU MTRRs all blank - virtualized system.
[ 0.000047] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000048] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[ 0.000061] Using GB pages for direct mapping
[ 0.000062] BRK [0x02e00000, 0x02e00fff] PGTABLE
[ 0.000062] BRK [0x02e01000, 0x02e01fff] PGTABLE
[ 0.000063] BRK [0x02e02000, 0x02e02fff] PGTABLE
[ 0.000086] BRK [0x02e03000, 0x02e03fff] PGTABLE
[ 0.000399] RAMDISK: [mem 0x02e35000-0x02e43fff]
[ 0.000403] ACPI: Early table checksum verification disabled
[ 0.000409] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[ 0.000412] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000415] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000419] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01 00000001 MSFT 05000000)
[ 0.000421] ACPI: FACS 0x0000000000101114 000040
[ 0.000422] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000424] ACPI: SRAT 0x000000000011F33C 000370 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000426] ACPI: APIC 0x000000000011F6AC 0000A8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000429] ACPI: Local APIC address 0xfee00000
[ 0.000640] Zone ranges:
[ 0.000641] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000642] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.000643] Normal [mem 0x0000000100000000-0x0000000207ffffff]
[ 0.000643] Movable zone start for each node
[ 0.000644] Early memory node ranges
[ 0.000644] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[ 0.000645] node 0: [mem 0x0000000000200000-0x00000000f7ffffff]
[ 0.000645] node 0: [mem 0x0000000100000000-0x0000000207ffffff]
[ 0.000834] Zeroed struct page in unavailable ranges: 353 pages
[ 0.000836] Initmem setup node 0 [mem 0x0000000000001000-0x0000000207ffffff]
[ 0.000837] On node 0 totalpages: 2096799
[ 0.000838] DMA zone: 59 pages used for memmap
[ 0.000838] DMA zone: 22 pages reserved
[ 0.000839] DMA zone: 3743 pages, LIFO batch:0
[ 0.000899] DMA32 zone: 16320 pages used for memmap
[ 0.000899] DMA32 zone: 1011712 pages, LIFO batch:63
[ 0.021393] Normal zone: 16896 pages used for memmap
[ 0.021395] Normal zone: 1081344 pages, LIFO batch:63
[ 0.022096] ACPI: Local APIC address 0xfee00000
[ 0.022105] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.022537] IOAPIC[0]: apic_id 12, version 17, address 0xfec00000, GSI 0-23
[ 0.022540] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.022541] ACPI: IRQ9 used by override.
[ 0.022542] Using ACPI (MADT) for SMP configuration information
[ 0.022549] smpboot: Allowing 12 CPUs, 0 hotplug CPUs
[ 0.022558] [mem 0xf8000000-0xffffffff] available for PCI devices
[ 0.022559] Booting paravirtualized kernel on bare hardware
[ 0.022560] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.152835] random: get_random_bytes called from start_kernel+0x93/0x4be with crng_init=0
[ 0.152842] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:12 nr_node_ids:1
[ 0.153581] percpu: Embedded 42 pages/cpu s133400 r8192 d30440 u262144
[ 0.153585] pcpu-alloc: s133400 r8192 d30440 u262144 alloc=1*2097152
[ 0.153586] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 -- -- -- --
[ 0.153600] Built 1 zonelists, mobility grouping on. Total pages: 2063502
[ 0.153601] Kernel command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[ 0.155137] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.156013] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.178842] Memory: 4096408K/8387196K available (14360K kernel code, 1575K rwdata, 2856K rodata, 1512K init, 2756K bss, 242324K reserved, 0K cma-reserved)
[ 0.179129] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[ 0.179136] ftrace: allocating 41883 entries in 164 pages
[ 0.190767] rcu: Hierarchical RCU implementation.
[ 0.190768] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=12.
[ 0.190769] All grace periods are expedited (rcu_expedited).
[ 0.190770] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=12
[ 0.192586] Using NULL legacy PIC
[ 0.192587] NR_IRQS: 16640, nr_irqs: 520, preallocated irqs: 0
[ 0.192959] Console: colour dummy device 80x25
[ 0.192961] console [tty0] enabled
[ 0.192966] ACPI: Core revision 20180810
[ 0.193057] Failed to register legacy timer interrupt
[ 0.193065] APIC: Switch to symmetric I/O mode setup
[ 0.195685] x2apic: IRQ remapping doesn't support X2APIC mode
[ 0.198328] Switched APIC routing to physical flat.
[ 0.198347] Hyper-V: Using IPI hypercalls
[ 0.198348] Hyper-V: Using MSR based APIC access
[ 0.198353] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.198449] Calibrating delay loop (skipped), value calculated using timer frequency.. 6787.45 BogoMIPS (lpj=33937280)
[ 0.198451] pid_max: default: 32768 minimum: 301
[ 0.198467] Security Framework initialized
[ 0.198484] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.198494] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.198743] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[ 0.198744] Last level dTLB entries: 4KB 1536, 2MB 1536, 4MB 768, 1GB 0
[ 0.198745] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.198746] Spectre V2 : Spectre mitigation: LFENCE not serializing, switching to generic retpoline
[ 0.198746] Spectre V2 : Mitigation: Full generic retpoline
[ 0.198746] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.198750] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.198750] Spectre V2 : User space: Vulnerable
[ 0.198751] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[ 0.198960] Freeing SMP alternatives memory: 44K
[ 0.199735] smpboot: CPU0: AMD Ryzen 5 2600 Six-Core Processor (family: 0x17, model: 0x8, stepping: 0x2)
[ 0.199789] Performance Events: PMU not available due to virtualization, using software events only.
[ 0.199818] rcu: Hierarchical SRCU implementation.
[ 0.200126] random: crng done (trusting CPU's manufacturer)
[ 0.200183] smp: Bringing up secondary CPUs ...
[ 0.200226] x86: Booting SMP configuration:
[ 0.200226] .... node #0, CPUs: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11
[ 1.848579] smp: Brought up 1 node, 12 CPUs
[ 1.848579] smpboot: Max logical packages: 1
[ 1.848579] smpboot: Total of 12 processors activated (81448.96 BogoMIPS)
[ 1.868455] node 0 initialised, 1012116 pages in 20ms
[ 1.869954] devtmpfs: initialized
[ 1.869954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 1.869954] futex hash table entries: 4096 (order: 6, 262144 bytes)
[ 1.878773] xor: automatically using best checksumming function avx
[ 1.879754] NET: Registered protocol family 16
[ 1.879949] ACPI: bus type PCI registered
[ 1.879949] PCI: Fatal: No config space access function found
[ 1.879949] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 1.879949] raid6: Forced to use recovery algorithm avx2x2
[ 1.879949] raid6: Forced gen() algo avx2x4
[ 1.879949] ACPI: Added _OSI(Module Device)
[ 1.879949] ACPI: Added _OSI(Processor Device)
[ 1.879949] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 1.879949] ACPI: Added _OSI(Processor Aggregator Device)
[ 1.879949] ACPI: Added _OSI(Linux-Dell-Video)
[ 1.879949] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 1.889146] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.889904] ACPI: Interpreter enabled
[ 1.889904] ACPI: (supports S0 S5)
[ 1.889904] ACPI: Using IOAPIC for interrupt routing
[ 1.889904] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 1.889904] ACPI: Enabled 1 GPEs in block 00 to 0F
[ 1.889926] SCSI subsystem initialized
[ 1.889926] hv_vmbus: Vmbus version:5.0
[ 1.889926] PCI: Using ACPI for IRQ routing
[ 1.889926] PCI: System does not support PCI
[ 1.889926] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[ 1.889926] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[ 1.889926] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[ 1.889926] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[ 1.901756] VFS: Disk quotas dquot_6.6.0
[ 1.901767] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.901806] FS-Cache: Loaded
[ 1.901833] pnp: PnP ACPI init
[ 1.901878] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 1.901914] pnp: PnP ACPI: found 1 devices
[ 1.906873] NET: Registered protocol family 2
[ 1.907112] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes)
[ 1.907121] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 1.907180] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 1.907487] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.907515] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.907532] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.907577] NET: Registered protocol family 1
[ 1.907963] RPC: Registered named UNIX socket transport module.
[ 1.907964] RPC: Registered udp transport module.
[ 1.907964] RPC: Registered tcp transport module.
[ 1.907965] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.907966] PCI: CLS 0 bytes, default 64
[ 1.907988] Trying to unpack rootfs image as initramfs...
[ 1.908096] Freeing initrd memory: 60K
[ 1.908099] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.908100] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[ 1.909411] kvm: no hardware support
[ 1.910227] kvm: Nested Virtualization enabled
[ 1.910232] kvm: Nested Paging enabled
[ 1.910232] SVM: Virtual VMLOAD VMSAVE supported
[ 1.911038] Initialise system trusted keyrings
[ 1.911137] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 1.912158] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.912650] NFS: Registering the id_resolver key type
[ 1.912654] Key type id_resolver registered
[ 1.912655] Key type id_legacy registered
[ 1.912656] Installing knfsd (copyright (C) 1996 [email protected]).
[ 1.913703] Key type cifs.idmap registered
[ 1.913772] fuse init (API version 7.27)
[ 1.913925] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[ 1.915041] 9p: Installing v9fs 9p2000 file system support
[ 1.915048] FS-Cache: Netfs '9p' registered for caching
[ 1.915080] FS-Cache: Netfs 'ceph' registered for caching
[ 1.915082] ceph: loaded (mds proto 32)
[ 1.919318] NET: Registered protocol family 38
[ 1.919321] Key type asymmetric registered
[ 1.919322] Asymmetric key parser 'x509' registered
[ 1.919337] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 1.919338] io scheduler noop registered (default)
[ 1.920019] hv_vmbus: registering driver hv_pci
[ 1.920520] hv_pci 376ad7cf-e67f-4435-b916-9e15ef4935b7: PCI VMBus probing: Using version 0x10002
[ 1.921262] hv_pci 376ad7cf-e67f-4435-b916-9e15ef4935b7: PCI host bridge to bus b916:00
[ 1.921530] pci b916:00:00.0: [1414:008e] type 00 class 0x030200
[ 1.927323] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.927703] Non-volatile memory driver v1.3
[ 1.930481] brd: module loaded
[ 1.931345] loop: module loaded
[ 1.931567] hv_vmbus: registering driver hv_storvsc
[ 1.931609] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 1.931970] tun: Universal TUN/TAP device driver, 1.6
[ 1.932058] PPP generic driver version 2.4.2
[ 1.932172] PPP BSD Compression module registered
[ 1.932173] PPP Deflate Compression module registered
[ 1.932177] PPP MPPE Compression module registered
[ 1.932178] NET: Registered protocol family 24
[ 1.932186] hv_vmbus: registering driver hv_netvsc
[ 1.932311] VFIO - User Level meta-driver version: 0.3
[ 1.932517] hv_vmbus: registering driver hyperv_keyboard
[ 1.932734] rtc_cmos 00:00: RTC can wake from S4
[ 1.934853] scsi host0: storvsc_host_t
[ 1.954326] rtc_cmos 00:00: registered as rtc0
[ 1.954336] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[ 1.954461] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[ 1.954905] hv_utils: Registering HyperV Utility Driver
[ 1.954906] hv_vmbus: registering driver hv_util
[ 1.954936] hv_vmbus: registering driver hv_balloon
[ 1.954942] dxgk:err: dxg_drv_init Version: 1
[ 1.954945] hv_vmbus: registering driver dxgkrnl
[ 1.954967] hv_utils: cannot register PTP clock: 0
[ 1.955130] drop_monitor: Initializing network drop monitor service
[ 1.955153] Mirror/redirect action on
[ 1.955422] hv_utils: TimeSync IC version 4.0
[ 1.955559] hv_balloon: Using Dynamic Memory protocol version 2.0
[ 1.955583] IPVS: Registered protocols (TCP, UDP)
[ 1.955600] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 1.957494] hv_balloon: cold memory discard enabled
[ 1.957732] IPVS: ipvs loaded.
[ 1.957733] IPVS: [rr] scheduler registered.
[ 1.957734] IPVS: [wrr] scheduler registered.
[ 1.957734] IPVS: [sh] scheduler registered.
[ 1.959999] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 1.960382] Initializing XFRM netlink socket
[ 1.960439] NET: Registered protocol family 10
[ 1.960894] Segment Routing with IPv6
[ 1.963382] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.963491] NET: Registered protocol family 17
[ 1.963510] Bridge firewalling registered
[ 1.963518] 8021q: 802.1Q VLAN Support v1.8
[ 1.963541] sctp: Hash tables configured (bind 256/256)
[ 1.963598] 9pnet: Installing 9P2000 support
[ 1.963609] Key type dns_resolver registered
[ 1.963615] Key type ceph registered
[ 1.964003] libceph: loaded (mon/osd proto 15/24)
[ 1.964005] hv_vmbus: registering driver hv_sock
[ 1.964090] NET: Registered protocol family 40
[ 1.964362] registered taskstats version 1
[ 1.964367] Loading compiled-in X.509 certificates
[ 1.964765] Btrfs loaded, crc32c=crc32c-generic
[ 1.965419] rtc_cmos 00:00: setting system clock to 2020-11-14 12:23:27 UTC (1605356607)
[ 1.965433] Unstable clock detected, switching default tracing clock to "global"
If you want to keep using the local clock, then add:
"trace_clock=local"
on the kernel command line
[ 1.967465] Freeing unused kernel image memory: 1512K
[ 2.028485] Write protecting the kernel read-only data: 20480k
[ 2.029145] Freeing unused kernel image memory: 1984K
[ 2.029328] Freeing unused kernel image memory: 1240K
[ 2.029329] Run /init as init process
[ 2.763668] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2.938545] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 3.074413] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 3.074778] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.075499] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 3.075500] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 3.075604] sd 0:0:0:0: [sda] Write Protect is off
[ 3.075605] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[ 3.075829] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.078500] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.092580] scsi 0:0:0:1: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 3.093067] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 3.093974] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 3.093976] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[ 3.094076] sd 0:0:0:1: [sdb] Write Protect is off
[ 3.094078] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[ 3.094352] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.097419] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 3.101325] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[ 3.144675] hv_pci 65bf5031-657a-4a69-a93b-b8ea8c84ec97: PCI VMBus probing: Using version 0x10002
[ 3.150030] Adding 2097152k swap on /swap/file. Priority:-2 extents:1 across:2097152k
[ 3.200483] hv_pci 65bf5031-657a-4a69-a93b-b8ea8c84ec97: PCI host bridge to bus a93b:00
[ 3.200485] pci_bus a93b:00: root bus resource [mem 0xe00000000-0xe00002fff window]
[ 3.201283] pci a93b:00:00.0: [1af4:1049] type 00 class 0x010000
[ 3.203167] pci a93b:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit]
[ 3.203983] pci a93b:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit]
[ 3.204802] pci a93b:00:00.0: reg 0x20: [mem 0xe00002000-0xe00002fff 64bit]
[ 3.210003] pci a93b:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit]
[ 3.210601] pci a93b:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit]
[ 3.211185] pci a93b:00:00.0: BAR 4: assigned [mem 0xe00002000-0xe00002fff 64bit]
[ 3.687786] EXT4-fs (sdb): 7 orphan inodes deleted
[ 3.687787] EXT4-fs (sdb): recovery complete
[ 3.694057] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 3.710162] FS-Cache: Duplicate cookie detected
[ 3.710165] FS-Cache: O-cookie c=0000000066732dab [p=00000000e6ae046c fl=222 nc=0 na=1]
[ 3.710165] FS-Cache: O-cookie d=00000000bea668cf n=0000000072f134a0
[ 3.710165] FS-Cache: O-key=[10] '34323934393337363437'
[ 3.710168] FS-Cache: N-cookie c=000000002bd46e34 [p=00000000e6ae046c fl=2 nc=0 na=1]
[ 3.710168] FS-Cache: N-cookie d=00000000bea668cf n=0000000023075159
[ 3.710168] FS-Cache: N-key=[10] '34323934393337363437'
[ 3.821805] hv_pci dd6253ce-ab8b-4553-b50b-f2acc4851ab3: PCI VMBus probing: Using version 0x10002
[ 3.823369] 9pnet_virtio: no channels available for device drvfs
[ 3.823373] WARNING: mount: waiting for virtio device...
[ 3.863723] hv_pci dd6253ce-ab8b-4553-b50b-f2acc4851ab3: PCI host bridge to bus b50b:00
[ 3.863725] pci_bus b50b:00: root bus resource [mem 0xe00004000-0xe00006fff window]
[ 3.864421] pci b50b:00:00.0: [1af4:1049] type 00 class 0x010000
[ 3.866272] pci b50b:00:00.0: reg 0x10: [mem 0xe00004000-0xe00004fff 64bit]
[ 3.867075] pci b50b:00:00.0: reg 0x18: [mem 0xe00005000-0xe00005fff 64bit]
[ 3.867902] pci b50b:00:00.0: reg 0x20: [mem 0xe00006000-0xe00006fff 64bit]
[ 3.872942] pci b50b:00:00.0: BAR 0: assigned [mem 0xe00004000-0xe00004fff 64bit]
[ 3.873511] pci b50b:00:00.0: BAR 2: assigned [mem 0xe00005000-0xe00005fff 64bit]
[ 3.874070] pci b50b:00:00.0: BAR 4: assigned [mem 0xe00006000-0xe00006fff 64bit]
[ 3.927628] hv_pci d90e441c-90ca-4f18-a8f4-5a0c816e2869: PCI VMBus probing: Using version 0x10002
[ 3.930131] 9pnet_virtio: no channels available for device drvfs
[ 3.930136] WARNING: mount: waiting for virtio device...
[ 3.973642] hv_pci d90e441c-90ca-4f18-a8f4-5a0c816e2869: PCI host bridge to bus a8f4:00
[ 3.973644] pci_bus a8f4:00: root bus resource [mem 0xe00008000-0xe0000afff window]
[ 3.974345] pci a8f4:00:00.0: [1af4:1049] type 00 class 0x010000
[ 3.976170] pci a8f4:00:00.0: reg 0x10: [mem 0xe00008000-0xe00008fff 64bit]
[ 3.976979] pci a8f4:00:00.0: reg 0x18: [mem 0xe00009000-0xe00009fff 64bit]
[ 3.977837] pci a8f4:00:00.0: reg 0x20: [mem 0xe0000a000-0xe0000afff 64bit]
[ 3.982909] pci a8f4:00:00.0: BAR 0: assigned [mem 0xe00008000-0xe00008fff 64bit]
[ 3.983496] pci a8f4:00:00.0: BAR 2: assigned [mem 0xe00009000-0xe00009fff 64bit]
[ 3.984080] pci a8f4:00:00.0: BAR 4: assigned [mem 0xe0000a000-0xe0000afff 64bit]
[ 4.034406] hv_pci 73f324c5-1ad7-4f14-8385-dce2bf7883d6: PCI VMBus probing: Using version 0x10002
[ 4.036357] 9pnet_virtio: no channels available for device drvfs
[ 4.036362] WARNING: mount: waiting for virtio device...
[ 4.103784] hv_pci 73f324c5-1ad7-4f14-8385-dce2bf7883d6: PCI host bridge to bus 8385:00
[ 4.103786] pci_bus 8385:00: root bus resource [mem 0xe0000c000-0xe0000efff window]
[ 4.104494] pci 8385:00:00.0: [1af4:1049] type 00 class 0x010000
[ 4.106334] pci 8385:00:00.0: reg 0x10: [mem 0xe0000c000-0xe0000cfff 64bit]
[ 4.107147] pci 8385:00:00.0: reg 0x18: [mem 0xe0000d000-0xe0000dfff 64bit]
[ 4.108597] pci 8385:00:00.0: reg 0x20: [mem 0xe0000e000-0xe0000efff 64bit]
[ 4.121081] pci 8385:00:00.0: BAR 0: assigned [mem 0xe0000c000-0xe0000cfff 64bit]
[ 4.121828] pci 8385:00:00.0: BAR 2: assigned [mem 0xe0000d000-0xe0000dfff 64bit]
[ 4.122538] pci 8385:00:00.0: BAR 4: assigned [mem 0xe0000e000-0xe0000efff 64bit]
[ 4.136767] 9pnet_virtio: no channels available for device drvfs
[ 4.240979] hv_pci 294e9891-8184-4c30-844a-4777f54988e5: PCI VMBus probing: Using version 0x10002
[ 4.288914] hv_pci 294e9891-8184-4c30-844a-4777f54988e5: PCI host bridge to bus 844a:00
[ 4.288916] pci_bus 844a:00: root bus resource [mem 0xe00010000-0xe00012fff window]
[ 4.289705] pci 844a:00:00.0: [1af4:1049] type 00 class 0x010000
[ 4.291591] pci 844a:00:00.0: reg 0x10: [mem 0xe00010000-0xe00010fff 64bit]
[ 4.292410] pci 844a:00:00.0: reg 0x18: [mem 0xe00011000-0xe00011fff 64bit]
[ 4.293244] pci 844a:00:00.0: reg 0x20: [mem 0xe00012000-0xe00012fff 64bit]
[ 4.298274] pci 844a:00:00.0: BAR 0: assigned [mem 0xe00010000-0xe00010fff 64bit]
[ 4.298916] pci 844a:00:00.0: BAR 2: assigned [mem 0xe00011000-0xe00011fff 64bit]
[ 4.299519] pci 844a:00:00.0: BAR 4: assigned [mem 0xe00012000-0xe00012fff 64bit]
[ 50.789732] hv_balloon: Max. dynamic memory size: 8192 MB
[ 491.618256] scsi 0:0:0:2: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 491.618697] sd 0:0:0:2: Attached scsi generic sg2 type 0
[ 491.619516] sd 0:0:0:2: [sdc] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 491.619518] sd 0:0:0:2: [sdc] 4096-byte physical blocks
[ 491.619593] sd 0:0:0:2: [sdc] Write Protect is off
[ 491.619594] sd 0:0:0:2: [sdc] Mode Sense: 0f 00 00 00
[ 491.619767] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 491.622229] sd 0:0:0:2: [sdc] Attached SCSI disk
[ 491.763668] EXT4-fs (sdc): recovery complete
[ 491.764700] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 491.785354] FS-Cache: Duplicate cookie detected
[ 491.785356] FS-Cache: O-cookie c=0000000075420546 [p=00000000e6ae046c fl=222 nc=0 na=1]
[ 491.785357] FS-Cache: O-cookie d=00000000bea668cf n=0000000005aee776
[ 491.785357] FS-Cache: O-key=[10] '34323934393836343534'
[ 491.785359] FS-Cache: N-cookie c=000000005702a3fc [p=00000000e6ae046c fl=2 nc=0 na=1]
[ 491.785360] FS-Cache: N-cookie d=00000000bea668cf n=000000004e7a1f80
[ 491.785360] FS-Cache: N-key=[10] '34323934393836343534'
[ 491.996202] hv_pci f0f7eccd-0c40-47f7-8f72-367c1fc10d6e: PCI VMBus probing: Using version 0x10002
[ 491.997923] 9pnet_virtio: no channels available for device drvfs
[ 491.997928] WARNING: mount: waiting for virtio device...
[ 492.038102] hv_pci f0f7eccd-0c40-47f7-8f72-367c1fc10d6e: PCI host bridge to bus 8f72:00
[ 492.038104] pci_bus 8f72:00: root bus resource [mem 0xe00014000-0xe00016fff window]
[ 492.038878] pci 8f72:00:00.0: [1af4:1049] type 00 class 0x010000
[ 492.040715] pci 8f72:00:00.0: reg 0x10: [mem 0xe00014000-0xe00014fff 64bit]
[ 492.041540] pci 8f72:00:00.0: reg 0x18: [mem 0xe00015000-0xe00015fff 64bit]
[ 492.042359] pci 8f72:00:00.0: reg 0x20: [mem 0xe00016000-0xe00016fff 64bit]
[ 492.047393] pci 8f72:00:00.0: BAR 0: assigned [mem 0xe00014000-0xe00014fff 64bit]
[ 492.047962] pci 8f72:00:00.0: BAR 2: assigned [mem 0xe00015000-0xe00015fff 64bit]
[ 492.048589] pci 8f72:00:00.0: BAR 4: assigned [mem 0xe00016000-0xe00016fff 64bit]
[ 492.102208] hv_pci e85bf931-6964-4a6c-a9de-b97fc030960e: PCI VMBus probing: Using version 0x10002
[ 492.103876] 9pnet_virtio: no channels available for device drvfs
[ 492.103881] WARNING: mount: waiting for virtio device...
[ 492.144539] hv_pci e85bf931-6964-4a6c-a9de-b97fc030960e: PCI host bridge to bus a9de:00
[ 492.144541] pci_bus a9de:00: root bus resource [mem 0xe00018000-0xe0001afff window]
[ 492.145252] pci a9de:00:00.0: [1af4:1049] type 00 class 0x010000
[ 492.147090] pci a9de:00:00.0: reg 0x10: [mem 0xe00018000-0xe00018fff 64bit]
[ 492.147902] pci a9de:00:00.0: reg 0x18: [mem 0xe00019000-0xe00019fff 64bit]
[ 492.148771] pci a9de:00:00.0: reg 0x20: [mem 0xe0001a000-0xe0001afff 64bit]
[ 492.154561] pci a9de:00:00.0: BAR 0: assigned [mem 0xe00018000-0xe00018fff 64bit]
[ 492.155160] pci a9de:00:00.0: BAR 2: assigned [mem 0xe00019000-0xe00019fff 64bit]
[ 492.155738] pci a9de:00:00.0: BAR 4: assigned [mem 0xe0001a000-0xe0001afff 64bit]
[ 492.208273] hv_pci 03b4d2c3-5832-491a-8b27-af26cb9ae5da: PCI VMBus probing: Using version 0x10002
[ 492.209829] 9pnet_virtio: no channels available for device drvfs
[ 492.209834] WARNING: mount: waiting for virtio device...
[ 492.250436] hv_pci 03b4d2c3-5832-491a-8b27-af26cb9ae5da: PCI host bridge to bus 8b27:00
[ 492.250438] pci_bus 8b27:00: root bus resource [mem 0xe0001c000-0xe0001efff window]
[ 492.251148] pci 8b27:00:00.0: [1af4:1049] type 00 class 0x010000
[ 492.253002] pci 8b27:00:00.0: reg 0x10: [mem 0xe0001c000-0xe0001cfff 64bit]
[ 492.253812] pci 8b27:00:00.0: reg 0x18: [mem 0xe0001d000-0xe0001dfff 64bit]
[ 492.254657] pci 8b27:00:00.0: reg 0x20: [mem 0xe0001e000-0xe0001efff 64bit]
[ 492.259716] pci 8b27:00:00.0: BAR 0: assigned [mem 0xe0001c000-0xe0001cfff 64bit]
[ 492.260286] pci 8b27:00:00.0: BAR 2: assigned [mem 0xe0001d000-0xe0001dfff 64bit]
[ 492.260853] pci 8b27:00:00.0: BAR 4: assigned [mem 0xe0001e000-0xe0001efff 64bit]
[ 492.314016] hv_pci ba303588-1ab7-4e31-b899-6305df818ed6: PCI VMBus probing: Using version 0x10002
[ 492.356278] hv_pci ba303588-1ab7-4e31-b899-6305df818ed6: PCI host bridge to bus b899:00
[ 492.356280] pci_bus b899:00: root bus resource [mem 0xe00020000-0xe00022fff window]
[ 492.356979] pci b899:00:00.0: [1af4:1049] type 00 class 0x010000
[ 492.358852] pci b899:00:00.0: reg 0x10: [mem 0xe00020000-0xe00020fff 64bit]
[ 492.359675] pci b899:00:00.0: reg 0x18: [mem 0xe00021000-0xe00021fff 64bit]
[ 492.360493] pci b899:00:00.0: reg 0x20: [mem 0xe00022000-0xe00022fff 64bit]
[ 492.365551] pci b899:00:00.0: BAR 0: assigned [mem 0xe00020000-0xe00020fff 64bit]
[ 492.366163] pci b899:00:00.0: BAR 2: assigned [mem 0xe00021000-0xe00021fff 64bit]
[ 492.366782] pci b899:00:00.0: BAR 4: assigned [mem 0xe00022000-0xe00022fff 64bit]

other imformation:
set fcitx auto-start in /etc/profile.d/

#!/bin/bash
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export DefaultIMModule=fcitx
if [ -z "$(ps -ef |grep fcitx |grep -v "grep")" ]; then
fcitx-autostart &>/dev/null
fi

@therealkenc
Copy link
Collaborator

A like on the OP (there are 2 as of this writing) is almost certainly more effective than several screens worth of inline dmesg output.

@ltmit
Copy link

ltmit commented Nov 18, 2020

A like on the OP (there are 2 as of this writing) is almost certainly more effective than several screens worth of inline dmesg output.

OK. Now I use wsl --shutdown and wsl -d ubuntu-16.04 "dmesg" to get the message like this:

[ 0.000000] Linux version 4.19.128-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Jun 23 12:58:10 UTC 2020
[ 0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[ 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: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000207ffffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI not present or invalid.
[ 0.000000] Hypervisor detected: Microsoft Hyper-V
[ 0.000000] Hyper-V: features 0xae7f, hints 0x2c2c, misc 0xc0bed7b2
[ 0.000000] Hyper-V Host Build:20257-10.0-0-0.1
[ 0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[ 0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[ 0.000000] Hyper-V: Using hypercall for remote TLB flush
[ 0.000000] tsc: Detected 3393.719 MHz processor
[ 0.000004] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000005] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000007] last_pfn = 0x208000 max_arch_pfn = 0x400000000
[ 0.000033] MTRR default type: uncachable
[ 0.000033] MTRR fixed ranges disabled:
[ 0.000034] 00000-FFFFF uncachable
[ 0.000034] MTRR variable ranges disabled:
[ 0.000035] 0 disabled
[ 0.000035] 1 disabled
[ 0.000035] 2 disabled
[ 0.000035] 3 disabled
[ 0.000036] 4 disabled
[ 0.000036] 5 disabled
[ 0.000036] 6 disabled
[ 0.000036] 7 disabled
[ 0.000037] Disabled
[ 0.000037] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[ 0.000044] CPU MTRRs all blank - virtualized system.
[ 0.000046] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000048] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[ 0.000060] Using GB pages for direct mapping
[ 0.000062] BRK [0x02e00000, 0x02e00fff] PGTABLE
[ 0.000062] BRK [0x02e01000, 0x02e01fff] PGTABLE
[ 0.000063] BRK [0x02e02000, 0x02e02fff] PGTABLE
[ 0.000086] BRK [0x02e03000, 0x02e03fff] PGTABLE
[ 0.000395] RAMDISK: [mem 0x02e35000-0x02e43fff]
[ 0.000399] ACPI: Early table checksum verification disabled
[ 0.000405] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[ 0.000408] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000426] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000430] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01 00000001 MSFT 05000000)
[ 0.000432] ACPI: FACS 0x0000000000101114 000040
[ 0.000434] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000435] ACPI: SRAT 0x000000000011F33C 000370 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000437] ACPI: APIC 0x000000000011F6AC 0000A8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000441] ACPI: Local APIC address 0xfee00000
[ 0.000653] Zone ranges:
[ 0.000654] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000655] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.000656] Normal [mem 0x0000000100000000-0x0000000207ffffff]
[ 0.000656] Movable zone start for each node
[ 0.000657] Early memory node ranges
[ 0.000657] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[ 0.000658] node 0: [mem 0x0000000000200000-0x00000000f7ffffff]
[ 0.000658] node 0: [mem 0x0000000100000000-0x0000000207ffffff]
[ 0.000847] Zeroed struct page in unavailable ranges: 353 pages
[ 0.000848] Initmem setup node 0 [mem 0x0000000000001000-0x0000000207ffffff]
[ 0.000849] On node 0 totalpages: 2096799
[ 0.000850] DMA zone: 59 pages used for memmap
[ 0.000851] DMA zone: 22 pages reserved
[ 0.000851] DMA zone: 3743 pages, LIFO batch:0
[ 0.000911] DMA32 zone: 16320 pages used for memmap
[ 0.000912] DMA32 zone: 1011712 pages, LIFO batch:63
[ 0.021739] Normal zone: 16896 pages used for memmap
[ 0.021741] Normal zone: 1081344 pages, LIFO batch:63
[ 0.022459] ACPI: Local APIC address 0xfee00000
[ 0.022467] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.023155] IOAPIC[0]: apic_id 12, version 17, address 0xfec00000, GSI 0-23
[ 0.023158] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.023160] ACPI: IRQ9 used by override.
[ 0.023161] Using ACPI (MADT) for SMP configuration information
[ 0.023168] smpboot: Allowing 12 CPUs, 0 hotplug CPUs
[ 0.023175] [mem 0xf8000000-0xffffffff] available for PCI devices
[ 0.023176] Booting paravirtualized kernel on bare hardware
[ 0.023178] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.144848] random: get_random_bytes called from start_kernel+0x93/0x4be with crng_init=0
[ 0.144855] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:12 nr_node_ids:1
[ 0.145684] percpu: Embedded 42 pages/cpu s133400 r8192 d30440 u262144
[ 0.145689] pcpu-alloc: s133400 r8192 d30440 u262144 alloc=1*2097152
[ 0.145690] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 -- -- -- --
[ 0.145703] Built 1 zonelists, mobility grouping on. Total pages: 2063502
[ 0.145704] Kernel command line: initrd=\initrd.img panic=-1 nr_cpus=12 swiotlb=force pty.legacy_count=0
[ 0.147344] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.148140] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.171479] Memory: 4096408K/8387196K available (14360K kernel code, 1575K rwdata, 2856K rodata, 1512K init, 2756K bss, 242324K reserved, 0K cma-reserved)
[ 0.171762] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[ 0.171769] ftrace: allocating 41883 entries in 164 pages
[ 0.183353] rcu: Hierarchical RCU implementation.
[ 0.183355] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=12.
[ 0.183355] All grace periods are expedited (rcu_expedited).
[ 0.183356] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=12
[ 0.185274] Using NULL legacy PIC
[ 0.185275] NR_IRQS: 16640, nr_irqs: 520, preallocated irqs: 0
[ 0.186132] Console: colour dummy device 80x25
[ 0.186135] console [tty0] enabled
[ 0.186139] ACPI: Core revision 20180810
[ 0.186231] Failed to register legacy timer interrupt
[ 0.186240] APIC: Switch to symmetric I/O mode setup
[ 0.191457] x2apic: IRQ remapping doesn't support X2APIC mode
[ 0.196670] Switched APIC routing to physical flat.
[ 0.196688] Hyper-V: Using IPI hypercalls
[ 0.196688] Hyper-V: Using MSR based APIC access
[ 0.196693] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.196790] Calibrating delay loop (skipped), value calculated using timer frequency.. 6787.43 BogoMIPS (lpj=33937190)
[ 0.196791] pid_max: default: 32768 minimum: 301
[ 0.196808] Security Framework initialized
[ 0.196825] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.196835] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.197179] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[ 0.197180] Last level dTLB entries: 4KB 1536, 2MB 1536, 4MB 768, 1GB 0
[ 0.197181] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.197182] Spectre V2 : Spectre mitigation: LFENCE not serializing, switching to generic retpoline
[ 0.197182] Spectre V2 : Mitigation: Full generic retpoline
[ 0.197182] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.197186] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.197186] Spectre V2 : User space: Vulnerable
[ 0.197187] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[ 0.197382] Freeing SMP alternatives memory: 44K
[ 0.198178] smpboot: CPU0: AMD Ryzen 5 2600 Six-Core Processor (family: 0x17, model: 0x8, stepping: 0x2)
[ 0.198233] Performance Events: PMU not available due to virtualization, using software events only.
[ 0.198262] rcu: Hierarchical SRCU implementation.
[ 0.198584] random: crng done (trusting CPU's manufacturer)
[ 0.198640] smp: Bringing up secondary CPUs ...
[ 0.198683] x86: Booting SMP configuration:
[ 0.198684] .... node #0, CPUs: #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11
[ 1.846987] smp: Brought up 1 node, 12 CPUs
[ 1.846987] smpboot: Max logical packages: 1
[ 1.846987] smpboot: Total of 12 processors activated (81449.09 BogoMIPS)
[ 1.866793] node 0 initialised, 1012116 pages in 20ms
[ 1.868792] devtmpfs: initialized
[ 1.868792] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 1.868792] futex hash table entries: 4096 (order: 6, 262144 bytes)
[ 1.876982] xor: automatically using best checksumming function avx
[ 1.878128] NET: Registered protocol family 16
[ 1.878387] ACPI: bus type PCI registered
[ 1.878387] PCI: Fatal: No config space access function found
[ 1.878387] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 1.878387] raid6: Forced to use recovery algorithm avx2x2
[ 1.878387] raid6: Forced gen() algo avx2x4
[ 1.878387] ACPI: Added _OSI(Module Device)
[ 1.878387] ACPI: Added _OSI(Processor Device)
[ 1.878387] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 1.878387] ACPI: Added _OSI(Processor Aggregator Device)
[ 1.878387] ACPI: Added _OSI(Linux-Dell-Video)
[ 1.878387] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 1.888518] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.890052] ACPI: Interpreter enabled
[ 1.890052] ACPI: (supports S0 S5)
[ 1.890052] ACPI: Using IOAPIC for interrupt routing
[ 1.890052] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 1.890052] ACPI: Enabled 1 GPEs in block 00 to 0F
[ 1.890078] SCSI subsystem initialized
[ 1.890078] hv_vmbus: Vmbus version:5.0
[ 1.890078] PCI: Using ACPI for IRQ routing
[ 1.890078] PCI: System does not support PCI
[ 1.890078] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[ 1.890078] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[ 1.890078] hv_vmbus: Unknown GUID: 6e382d18-3336-4f4b-acc4-2b7703d4df4a
[ 1.890078] hv_vmbus: Unknown GUID: dde9cbc0-5060-4436-9448-ea1254a5d177
[ 1.900742] VFS: Disk quotas dquot_6.6.0
[ 1.900753] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.900797] FS-Cache: Loaded
[ 1.900824] pnp: PnP ACPI init
[ 1.900868] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 1.900903] pnp: PnP ACPI: found 1 devices
[ 1.907468] NET: Registered protocol family 2
[ 1.907751] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes)
[ 1.907760] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 1.907819] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 1.908124] TCP: Hash tables configured (established 65536 bind 65536)
[ 1.908154] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.908171] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[ 1.908214] NET: Registered protocol family 1
[ 1.908707] RPC: Registered named UNIX socket transport module.
[ 1.908708] RPC: Registered udp transport module.
[ 1.908708] RPC: Registered tcp transport module.
[ 1.908708] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.908710] PCI: CLS 0 bytes, default 64
[ 1.908733] Trying to unpack rootfs image as initramfs...
[ 1.908912] Freeing initrd memory: 60K
[ 1.908914] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.908915] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[ 1.910695] kvm: no hardware support
[ 1.911818] kvm: Nested Virtualization enabled
[ 1.911822] kvm: Nested Paging enabled
[ 1.911822] SVM: Virtual VMLOAD VMSAVE supported
[ 1.912820] Initialise system trusted keyrings
[ 1.912941] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 1.913958] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.914393] NFS: Registering the id_resolver key type
[ 1.914396] Key type id_resolver registered
[ 1.914396] Key type id_legacy registered
[ 1.914398] Installing knfsd (copyright (C) 1996 [email protected]).
[ 1.915867] Key type cifs.idmap registered
[ 1.915962] fuse init (API version 7.27)
[ 1.916166] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[ 1.917838] 9p: Installing v9fs 9p2000 file system support
[ 1.917846] FS-Cache: Netfs '9p' registered for caching
[ 1.917884] FS-Cache: Netfs 'ceph' registered for caching
[ 1.917887] ceph: loaded (mds proto 32)
[ 1.924153] NET: Registered protocol family 38
[ 1.924155] Key type asymmetric registered
[ 1.924156] Asymmetric key parser 'x509' registered
[ 1.924163] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 1.924165] io scheduler noop registered (default)
[ 1.925139] hv_vmbus: registering driver hv_pci
[ 1.925645] hv_pci 06edfa0b-2cfb-4ae5-9883-a0c5abb9c2fd: PCI VMBus probing: Using version 0x10002
[ 1.926765] hv_pci 06edfa0b-2cfb-4ae5-9883-a0c5abb9c2fd: PCI host bridge to bus 9883:00
[ 1.927336] pci 9883:00:00.0: [1414:008e] type 00 class 0x030200
[ 1.937956] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.938481] Non-volatile memory driver v1.3
[ 1.942291] brd: module loaded
[ 1.943463] loop: module loaded
[ 1.943774] hv_vmbus: registering driver hv_storvsc
[ 1.943826] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 1.944259] tun: Universal TUN/TAP device driver, 1.6
[ 1.944364] PPP generic driver version 2.4.2
[ 1.944474] PPP BSD Compression module registered
[ 1.944479] PPP Deflate Compression module registered
[ 1.944488] PPP MPPE Compression module registered
[ 1.944490] NET: Registered protocol family 24
[ 1.944494] hv_vmbus: registering driver hv_netvsc
[ 1.944654] VFIO - User Level meta-driver version: 0.3
[ 1.944905] hv_vmbus: registering driver hyperv_keyboard
[ 1.945408] rtc_cmos 00:00: RTC can wake from S4
[ 1.947147] scsi host0: storvsc_host_t
[ 1.969156] rtc_cmos 00:00: registered as rtc0
[ 1.969165] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[ 1.969318] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[ 1.969917] hv_utils: Registering HyperV Utility Driver
[ 1.969918] hv_vmbus: registering driver hv_util
[ 1.969960] hv_vmbus: registering driver hv_balloon
[ 1.969970] dxgk:err: dxg_drv_init Version: 1
[ 1.969973] hv_vmbus: registering driver dxgkrnl
[ 1.970002] hv_utils: cannot register PTP clock: 0
[ 1.970219] drop_monitor: Initializing network drop monitor service
[ 1.970252] Mirror/redirect action on
[ 1.970444] IPVS: Registered protocols (TCP, UDP)
[ 1.970456] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 1.973507] IPVS: ipvs loaded.
[ 1.973509] IPVS: [rr] scheduler registered.
[ 1.973509] IPVS: [wrr] scheduler registered.
[ 1.973509] IPVS: [sh] scheduler registered.
[ 1.977694] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 1.978432] Initializing XFRM netlink socket
[ 1.978483] NET: Registered protocol family 10
[ 1.979121] Segment Routing with IPv6
[ 1.980093] hv_utils: TimeSync IC version 4.0
[ 1.980439] hv_balloon: Using Dynamic Memory protocol version 2.0
[ 1.981889] hv_balloon: cold memory discard enabled
[ 1.984610] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.984691] NET: Registered protocol family 17
[ 1.984704] Bridge firewalling registered
[ 1.984710] 8021q: 802.1Q VLAN Support v1.8
[ 1.984725] sctp: Hash tables configured (bind 256/256)
[ 1.984763] 9pnet: Installing 9P2000 support
[ 1.984772] Key type dns_resolver registered
[ 1.984779] Key type ceph registered
[ 1.985177] libceph: loaded (mon/osd proto 15/24)
[ 1.985179] hv_vmbus: registering driver hv_sock
[ 1.985290] NET: Registered protocol family 40
[ 1.985712] registered taskstats version 1
[ 1.985717] Loading compiled-in X.509 certificates
[ 1.985945] Btrfs loaded, crc32c=crc32c-generic
[ 1.987116] rtc_cmos 00:00: setting system clock to 2020-11-18 02:28:23 UTC (1605666503)
[ 1.987129] Unstable clock detected, switching default tracing clock to "global"
If you want to keep using the local clock, then add:
"trace_clock=local"
on the kernel command line
[ 2.000194] Freeing unused kernel image memory: 1512K
[ 2.076823] Write protecting the kernel read-only data: 20480k
[ 2.077797] Freeing unused kernel image memory: 1984K
[ 2.078044] Freeing unused kernel image memory: 1240K
[ 2.078045] Run /init as init process
[ 2.141564] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2.344307] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 2.344817] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 2.345974] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 2.345975] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 2.346131] sd 0:0:0:0: [sda] Write Protect is off
[ 2.346133] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[ 2.346428] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.350607] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.362768] scsi 0:0:0:1: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 2.363340] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 2.364638] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 2.364639] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[ 2.364862] sd 0:0:0:1: [sdb] Write Protect is off
[ 2.364863] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[ 2.365178] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.369084] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 2.371836] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[ 2.386276] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 2.408161] hv_pci d72e0ca8-f3b2-4b7a-8359-541df5776207: PCI VMBus probing: Using version 0x10002
[ 2.418168] Adding 2097152k swap on /swap/file. Priority:-2 extents:1 across:2097152k
[ 2.451448] hv_pci d72e0ca8-f3b2-4b7a-8359-541df5776207: PCI host bridge to bus 8359:00
[ 2.451450] pci_bus 8359:00: root bus resource [mem 0xe00000000-0xe00002fff window]
[ 2.453070] pci 8359:00:00.0: [1af4:1049] type 00 class 0x010000
[ 2.457214] pci 8359:00:00.0: reg 0x10: [mem 0xe00000000-0xe00000fff 64bit]
[ 2.458983] pci 8359:00:00.0: reg 0x18: [mem 0xe00001000-0xe00001fff 64bit]
[ 2.460612] pci 8359:00:00.0: reg 0x20: [mem 0xe00002000-0xe00002fff 64bit]
[ 2.471717] pci 8359:00:00.0: BAR 0: assigned [mem 0xe00000000-0xe00000fff 64bit]
[ 2.472894] pci 8359:00:00.0: BAR 2: assigned [mem 0xe00001000-0xe00001fff 64bit]
[ 2.474047] pci 8359:00:00.0: BAR 4: assigned [mem 0xe00002000-0xe00002fff 64bit]
[ 2.514676] FS-Cache: Duplicate cookie detected
[ 2.514679] FS-Cache: O-cookie c=00000000b46fd5f4 [p=00000000e717be5e fl=222 nc=0 na=1]
[ 2.514680] FS-Cache: O-cookie d=00000000a7f6f9de n=000000005a34dc0e
[ 2.514680] FS-Cache: O-key=[10] '34323934393337353237'
[ 2.514683] FS-Cache: N-cookie c=0000000019928607 [p=00000000e717be5e fl=2 nc=0 na=1]
[ 2.514684] FS-Cache: N-cookie d=00000000a7f6f9de n=00000000443b3c0c
[ 2.514684] FS-Cache: N-key=[10] '34323934393337353237'
[ 2.707442] hv_pci 05543eb1-4181-4faa-8ba7-56af71d181f8: PCI VMBus probing: Using version 0x10002
[ 2.709023] 9pnet_virtio: no channels available for device drvfs
[ 2.709028] WARNING: mount: waiting for virtio device...
[ 2.752163] hv_pci 05543eb1-4181-4faa-8ba7-56af71d181f8: PCI host bridge to bus 8ba7:00
[ 2.752165] pci_bus 8ba7:00: root bus resource [mem 0xe00004000-0xe00006fff window]
[ 2.753668] pci 8ba7:00:00.0: [1af4:1049] type 00 class 0x010000
[ 2.757672] pci 8ba7:00:00.0: reg 0x10: [mem 0xe00004000-0xe00004fff 64bit]
[ 2.759282] pci 8ba7:00:00.0: reg 0x18: [mem 0xe00005000-0xe00005fff 64bit]
[ 2.760913] pci 8ba7:00:00.0: reg 0x20: [mem 0xe00006000-0xe00006fff 64bit]
[ 2.771954] pci 8ba7:00:00.0: BAR 0: assigned [mem 0xe00004000-0xe00004fff 64bit]
[ 2.773137] pci 8ba7:00:00.0: BAR 2: assigned [mem 0xe00005000-0xe00005fff 64bit]
[ 2.774293] pci 8ba7:00:00.0: BAR 4: assigned [mem 0xe00006000-0xe00006fff 64bit]
[ 2.814837] hv_pci 8d6bdcce-4aef-4515-b32e-9d119742b37a: PCI VMBus probing: Using version 0x10002
[ 2.816834] 9pnet_virtio: no channels available for device drvfs
[ 2.816841] WARNING: mount: waiting for virtio device...
[ 2.858880] hv_pci 8d6bdcce-4aef-4515-b32e-9d119742b37a: PCI host bridge to bus b32e:00
[ 2.858882] pci_bus b32e:00: root bus resource [mem 0xe00008000-0xe0000afff window]
[ 2.860420] pci b32e:00:00.0: [1af4:1049] type 00 class 0x010000
[ 2.864362] pci b32e:00:00.0: reg 0x10: [mem 0xe00008000-0xe00008fff 64bit]
[ 2.865982] pci b32e:00:00.0: reg 0x18: [mem 0xe00009000-0xe00009fff 64bit]
[ 2.867656] pci b32e:00:00.0: reg 0x20: [mem 0xe0000a000-0xe0000afff 64bit]
[ 2.878649] pci b32e:00:00.0: BAR 0: assigned [mem 0xe00008000-0xe00008fff 64bit]
[ 2.879816] pci b32e:00:00.0: BAR 2: assigned [mem 0xe00009000-0xe00009fff 64bit]
[ 2.880981] pci b32e:00:00.0: BAR 4: assigned [mem 0xe0000a000-0xe0000afff 64bit]
[ 2.922662] hv_pci 399bb019-a62a-4bb1-aa8c-5367fa9ee3dd: PCI VMBus probing: Using version 0x10002
[ 2.924774] 9pnet_virtio: no channels available for device drvfs
[ 2.924780] WARNING: mount: waiting for virtio device...
[ 2.967518] hv_pci 399bb019-a62a-4bb1-aa8c-5367fa9ee3dd: PCI host bridge to bus aa8c:00
[ 2.967520] pci_bus aa8c:00: root bus resource [mem 0xe0000c000-0xe0000efff window]
[ 2.969047] pci aa8c:00:00.0: [1af4:1049] type 00 class 0x010000
[ 2.972954] pci aa8c:00:00.0: reg 0x10: [mem 0xe0000c000-0xe0000cfff 64bit]
[ 2.974572] pci aa8c:00:00.0: reg 0x18: [mem 0xe0000d000-0xe0000dfff 64bit]
[ 2.976178] pci aa8c:00:00.0: reg 0x20: [mem 0xe0000e000-0xe0000efff 64bit]
[ 2.987179] pci aa8c:00:00.0: BAR 0: assigned [mem 0xe0000c000-0xe0000cfff 64bit]
[ 2.988349] pci aa8c:00:00.0: BAR 2: assigned [mem 0xe0000d000-0xe0000dfff 64bit]
[ 2.989498] pci aa8c:00:00.0: BAR 4: assigned [mem 0xe0000e000-0xe0000efff 64bit]
[ 2.996845] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 3.030449] hv_pci c39b5f58-4e11-4fb8-aab6-537394dc7fe4: PCI VMBus probing: Using version 0x10002
[ 3.076033] hv_pci c39b5f58-4e11-4fb8-aab6-537394dc7fe4: PCI host bridge to bus aab6:00
[ 3.076035] pci_bus aab6:00: root bus resource [mem 0xe00010000-0xe00012fff window]
[ 3.077599] pci aab6:00:00.0: [1af4:1049] type 00 class 0x010000
[ 3.081513] pci aab6:00:00.0: reg 0x10: [mem 0xe00010000-0xe00010fff 64bit]
[ 3.083158] pci aab6:00:00.0: reg 0x18: [mem 0xe00011000-0xe00011fff 64bit]
[ 3.084812] pci aab6:00:00.0: reg 0x20: [mem 0xe00012000-0xe00012fff 64bit]
[ 3.095788] pci aab6:00:00.0: BAR 0: assigned [mem 0xe00010000-0xe00010fff 64bit]
[ 3.096970] pci aab6:00:00.0: BAR 2: assigned [mem 0xe00011000-0xe00011fff 64bit]
[ 3.098139] pci aab6:00:00.0: BAR 4: assigned [mem 0xe00012000-0xe00012fff 64bit]

It is shorter, but still use 3 seconds.
Another import change is /etc/profile.d/. After some experiment I used fcitx -d instead of 'fcitx-autostart', and now it only takes several seconds to boot rather than almost one minute.

@benhillis benhillis added the needs-investigation likely actionable and/or needs more investigation label May 10, 2021
Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-investigation likely actionable and/or needs more investigation
Projects
None yet
Development

No branches or pull requests

7 participants