RedPill-TTG / redpill-lkm

Linux kernel module for RedPill
GNU General Public License v3.0
307 stars 170 forks source link

Unable to start on some devices #8

Closed unknown-o closed 3 years ago

unknown-o commented 3 years ago

[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.180+ (root@build15) (gcc version 7.5.0 (GCC) ) #41890 SMP Thu Jul 15 03:43:42 CST 2021 [ 0.000000] Command line: BOOT_IMAGE=/zImage HddHotplug=0 withefi console=ttyS2,115200n8 netif_num=1 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=2673D66F642A syno_hdd_powerup_seq=1 pid=0x0001 syno_hw_version=DS918+ vid=0x46f4 earlycon=uart8250,io,0x3f8,115200n8 sn=1780PDN123456 elevator=elevator root=/dev/md0 loglevel=15 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] x86/fpu: Legacy x87 FPU detected. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007ffdbfff] usable [ 0.000000] BIOS-e820: [mem 0x000000007ffdc000-0x000000007fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] earlycon: Early serial console at I/O port 0x3f8 (options '115200n8') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.8 present. [ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 0.000000] Kernel/User page tables isolation: disabled [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000000] e820: last_pfn = 0x7ffdc max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: write-back [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] 00000-9FFFF write-back [ 0.000000] A0000-BFFFF uncachable [ 0.000000] C0000-FFFFF write-protect [ 0.000000] MTRR variable ranges enabled: [ 0.000000] 0 base 0080000000 mask FF80000000 uncachable [ 0.000000] 1 disabled [ 0.000000] 2 disabled [ 0.000000] 3 disabled [ 0.000000] 4 disabled [ 0.000000] 5 disabled [ 0.000000] 6 disabled [ 0.000000] 7 disabled [ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000000] Base memory trampoline at [ffff880000098000] 98000 size 28672 [ 0.000000] Using GB pages for direct mapping [ 0.000000] BRK [0x01a6c000, 0x01a6cfff] PGTABLE [ 0.000000] BRK [0x01a6d000, 0x01a6dfff] PGTABLE [ 0.000000] BRK [0x01a6e000, 0x01a6efff] PGTABLE [ 0.000000] BRK [0x01a6f000, 0x01a6ffff] PGTABLE [ 0.000000] BRK [0x01a70000, 0x01a70fff] PGTABLE [ 0.000000] RAMDISK: [mem 0x35f11000-0x36f7ffff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F5890 000014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 0x000000007FFE1E8A 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 0x000000007FFE1C6C 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 0x000000007FFDF040 002C2C (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: FACS 0x000000007FFDF000 000040 [ 0.000000] ACPI: APIC 0x000000007FFE1CE0 000080 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: SSDT 0x000000007FFE1D60 0000CA (v01 BOCHS VMGENID 00000001 BXPC 00000001) [ 0.000000] ACPI: HPET 0x000000007FFE1E2A 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: WAET 0x000000007FFE1E62 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x000000007ffdbfff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000007ffdbfff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ffdbfff] [ 0.000000] On node 0 totalpages: 524154 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 22 pages reserved [ 0.000000] DMA zone: 3998 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 8128 pages used for memmap [ 0.000000] DMA32 zone: 520156 pages, LIFO batch:31 [ 0.000000] ACPI: PM-Timer IO Port: 0x608 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ5 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] ACPI: IRQ10 used by override. [ 0.000000] ACPI: IRQ11 used by override. [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000 [ 0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] e820: [mem 0x80000000-0xfeffbfff] available for PCI devices [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88007fc00000 s95128 r8192 d31848 u1048576 [ 0.000000] pcpu-alloc: s95128 r8192 d31848 u1048576 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515940 [ 0.000000] Kernel command line: BOOT_IMAGE=/zImage HddHotplug=0 withefi console=ttyS2,115200n8 netif_num=1 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=2673D66F642A syno_hdd_powerup_seq=1 pid=0x0001 syno_hw_version=DS918+ vid=0x46f4 earlycon=uart8250,io,0x3f8,115200n8 sn=1780PDN123456 elevator=elevator root=/dev/md0 loglevel=15 [ 0.000000] Internal netif num: 1 [ 0.000000] SYNO GPIO hdd detect pin: 0 [ 0.000000] Vender format version: 2 [ 0.000000] Mac1: 2673D66F642A [ 0.000000] Power on seq num: 1 [ 0.000000] Synology Hardware Version: DS918+ [ 0.000000] Serial Number: 1780PDN123456 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Memory: 2032796K/2096616K available (5623K kernel code, 863K rwdata, 1748K rodata, 916K init, 664K bss, 63820K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=2 [ 0.000000] NR_IRQS:4352 nr_irqs:440 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns [ 0.000000] hpet clockevent registered [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 2926.152 MHz processor [ 0.003006] Calibrating delay loop (skipped), value calculated using timer frequency.. 5852.30 BogoMIPS (lpj=2926152) [ 0.004525] pid_max: default: 32768 minimum: 301 [ 0.005011] ACPI: Core revision 20150930 [ 0.008019] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 0.009066] Security Framework initialized [ 0.009824] AppArmor: AppArmor initialized [ 0.010015] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.011006] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.012260] Initializing cgroup subsys io [ 0.013012] Initializing cgroup subsys memory [ 0.014022] Initializing cgroup subsys devices [ 0.015021] Initializing cgroup subsys freezer [ 0.016153] CPU: Physical Processor ID: 0 [ 0.017010] CPU: Processor Core ID: 0 [ 0.018085] mce: CPU supports 10 MCE banks [ 0.019171] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.020012] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.021032] Speculative Store Bypass: Vulnerable [ 0.028283] Freeing SMP alternatives memory: 24K [ 0.033670] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.043580] TSC deadline timer enabled [ 0.044000] smpboot: CPU0: Intel(R) Xeon(R) CPU X5670 @ 2.93GHz (family: 0x6, model: 0x2c, stepping: 0x2) [ 0.046764] Performance Events: 16-deep LBR, Westmere events, full-width counters, Intel PMU driver. [ 0.048627] perf_event_intel: CPUID marked event: 'bus cycles' unavailable [ 0.049036] ... version: 2 [ 0.050007] ... bit width: 48 [ 0.051005] ... generic registers: 4 [ 0.052007] ... value mask: 0000ffffffffffff [ 0.053007] ... max period: 00007fffffffffff [ 0.054007] ... fixed-purpose events: 3 [ 0.055006] ... event mask: 000000070000000f [ 0.056442] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter. [ 0.058185] x86: Booting SMP configuration: [ 0.059007] .... node #0, CPUs: #1 [ 0.061053] x86: Booted up 1 node, 2 CPUs [ 0.062009] smpboot: Total of 2 processors activated (11704.60 BogoMIPS) [ 0.064013] devtmpfs: initialized [ 0.065470] invalid opcode: 0000 [#1] SMP [ 0.066000] Modules linked in: [ 0.066000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.180+ #41890 [ 0.066000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 [ 0.066000] task: ffff88007d0f0000 ti: ffff88007d0d4000 task.ti: ffff88007d0d4000 [ 0.066000] RIP: 0010:[] [] sha_transform+0x37/0x1290 [ 0.066000] RSP: 0000:ffff88007d0d7ce8 EFLAGS: 00010803 [ 0.066000] RAX: 0000000045321f1a RBX: 00000000c3d2e1f0 RCX: 0000000000000020 [ 0.066000] RDX: ffff88007d0d7d40 RSI: ffffffff81a5f7e0 RDI: ffff88007d0d7d28 [ 0.066000] RBP: ffff88007d0d7d10 R08: 0000000067452301 R09: 0000000010325476 [ 0.066000] R10: 0000000098badcfe R11: 00000000efcdab89 R12: 00000000e8a4602c [ 0.066000] R13: ffff88007d0d7dde R14: ffffffff818974c8 R15: ffffffff81897480 [ 0.066000] FS: 0000000000000000(0000) GS:ffff88007fc00000(0000) knlGS:0000000000000000 [ 0.066000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.066000] CR2: ffff880001a6c000 CR3: 000000000180a000 CR4: 00000000000206f0 [ 0.066000] Stack: [ 0.066000] 0000000000000010 ffff88007d0d7d40 ffff88007d0d7dde ffffffff818974c8 [ 0.066000] ffffffff81897480 ffff88007d0d7da8 ffffffff813b1bcf 0000000000000246 [ 0.066000] efcdab8967452301 1032547698badcfe 00000000c3d2e1f0 0000000000000006 [ 0.066000] Call Trace: [ 0.066000] [] extract_buf+0x8f/0x110 [ 0.066000] [] ? account.part.28+0x125/0x190 [ 0.066000] [] extract_entropy+0x81/0x210 [ 0.066000] [] ? setup_net+0x3e/0x140 [ 0.066000] [] ? initcall_blacklist+0xaa/0xaa [ 0.066000] [] get_random_bytes+0x36/0x90 [ 0.066000] [] setup_net+0x3e/0x140 [ 0.066000] [] ? net_defaults_init+0x24/0x24 [ 0.066000] [] net_ns_init+0x9f/0x134 [ 0.066000] [] do_one_initcall+0x88/0x1a0 [ 0.066000] [] kernel_init_freeable+0x15e/0x1f1 [ 0.066000] [] ? rest_init+0x80/0x80 [ 0.066000] [] kernel_init+0x9/0xd0 [ 0.066000] [] ret_from_fork+0x3f/0x80 [ 0.066000] [] ? rest_init+0x80/0x80 [ 0.066000] Code: 44 89 d0 41 57 44 8b 07 44 8b 5f 04 41 56 44 31 c8 41 55 44 21 d8 41 54 45 8d 20 44 31 c8 41 c1 c4 05 53 44 01 e0 8b 5f 10 01 d8 <0f> 38 f0 0e 05 99 79 82 5a 89 0a 41 c1 cb 02 01 c1 41 8d 02 0f [ 0.066000] RIP [] sha_transform+0x37/0x1290 [ 0.066000] RSP

This is the boot result of the PVE virtual machine with the image of DS918+ on my X58 server Can't seem to start Why can't it start? Is it because the CPU instruction set does not support it? I found that [x86/fpu: Supporting XSAVE feature 0x04:'AVX registers'] appears when booting on a normal machine, but it does not appear on my X58 server If it is a CPU problem, what instruction set does the host's CPU need?

The following result is the startup result on the virtual machine of i5 9500

[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.180+ (root@build15) (gcc version 7.5.0 (GCC) ) #41890 SMP Thu Jul 15 03:43:42 CST 2021 [ 0.000000] Command line: BOOT_IMAGE=/zImage HddHotplug=0 withefi console=ttyS2,115200n8 netif_num=1 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=2673D66F642A syno_hdd_powerup_seq=1 pid=0x0001 syno_hw_version=DS918+ vid=0x46f4 earlycon=uart8250,io,0x3f8,115200n8 sn=1780PDN123456 elevator=elevator root=/dev/md0 loglevel=15 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel

[ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers' [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007ffeffff] usable [ 0.000000] BIOS-e820: [mem 0x000000007fff0000-0x000000007fffffff] ACPI data [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] earlycon: Early serial console at I/O port 0x3f8 (options '115200n8') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.5 present. [ 0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 [ 0.000000] Kernel/User page tables isolation: disabled [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000000] e820: last_pfn = 0x7fff0 max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR variable ranges disabled: [ 0.000000] MTRR: Disabled [ 0.000000] CPU MTRRs all blank - virtualized system. [ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC [ 0.000000] Base memory trampoline at [ffff880000098000] 98000 size 28672 [ 0.000000] BRK [0x01a6c000, 0x01a6cfff] PGTABLE [ 0.000000] BRK [0x01a6d000, 0x01a6dfff] PGTABLE [ 0.000000] BRK [0x01a6e000, 0x01a6efff] PGTABLE [ 0.000000] BRK [0x01a6f000, 0x01a6ffff] PGTABLE [ 0.000000] BRK [0x01a70000, 0x01a70fff] PGTABLE [ 0.000000] RAMDISK: [mem 0x35f11000-0x36f7ffff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX ) [ 0.000000] ACPI: XSDT 0x000000007FFF0030 00003C (v01 VBOX VBOXXSDT 00000001 ASL 00000061) [ 0.000000] ACPI: FACP 0x000000007FFF00F0 0000F4 (v04 VBOX VBOXFACP 00000001 ASL 00000061) [ 0.000000] ACPI: DSDT 0x000000007FFF0470 002325 (v02 VBOX VBOXBIOS 00000002 INTL 20100528) [ 0.000000] ACPI: FACS 0x000000007FFF0200 000040 [ 0.000000] ACPI: FACS 0x000000007FFF0200 000040 [ 0.000000] ACPI: APIC 0x000000007FFF0240 000054 (v02 VBOX VBOXAPIC 00000001 ASL 00000061) [ 0.000000] ACPI: SSDT 0x000000007FFF02A0 0001CC (v01 VBOX VBOXCPUT 00000002 INTL 20100528) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x000000007ffeffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000007ffeffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ffeffff] [ 0.000000] On node 0 totalpages: 524174 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 22 pages reserved [ 0.000000] DMA zone: 3998 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 8128 pages used for memmap [ 0.000000] DMA32 zone: 520176 pages, LIFO batch:31 [ 0.000000] ACPI: PM-Timer IO Port: 0x4008 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] e820: [mem 0x80000000-0xfebfffff] available for PCI devices [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88007fc00000 s95128 r8192 d31848 u2097152 [ 0.000000] pcpu-alloc: s95128 r8192 d31848 u2097152 alloc=12097152 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515960 [ 0.000000] Kernel command line: BOOT_IMAGE=/zImage HddHotplug=0 withefi console=ttyS2,115200n8 netif_num=1 syno_hdd_detect=0 syno_port_thaw=1 vender_format_version=2 earlyprintk mac1=2673D66F642A syno_hdd_powerup_seq=1 pid=0x0001 syno_hw_version=DS918+ vid=0x46f4 earlycon=uart8250,io,0x3f8,115200n8 sn=1780PDN123456 elevator=elevator root=/dev/md0 loglevel=15 [ 0.000000] Internal netif num: 1 [ 0.000000] SYNO GPIO hdd detect pin: 0 [ 0.000000] Vender format version: 2 [ 0.000000] Mac1: 2673D66F642A [ 0.000000] Power on seq num: 1 [ 0.000000] Synology Hardware Version: DS918+ [ 0.000000] Serial Number: 1780PDN123456 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Memory: 2033004K/2096696K available (5623K kernel code, 863K rwdata, 1748K rodata, 916K init, 664K bss, 63692K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1 [ 0.000000] NR_IRQS:4352 nr_irqs:256 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 2999.850 MHz processor [ 0.000001] Calibrating delay loop (skipped), value calculated using timer frequency.. 5999.70 BogoMIPS (lpj=2999850) [ 0.003856] pid_max: default: 32768 minimum: 301 [ 0.005398] ACPI: Core revision 20150930 [ 0.015793] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 0.017323] Security Framework initialized [ 0.019144] AppArmor: AppArmor initialized [ 0.020835] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.025450] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.028817] Initializing cgroup subsys io [ 0.030214] Initializing cgroup subsys memory [ 0.031917] Initializing cgroup subsys devices [ 0.033658] Initializing cgroup subsys freezer [ 0.044504] CPU: Physical Processor ID: 0 [ 0.057713] mce: CPU supports 0 MCE banks [ 0.059075] process: using mwait in idle threads [ 0.060498] Last level iTLB entries: 4KB 128, 2MB 8, 4MB 8 [ 0.063886] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4 [ 0.065885] Speculative Store Bypass: Vulnerable [ 0.077457] Freeing SMP alternatives memory: 24K [ 0.081135] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.194061] smpboot: CPU0: Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz (family: 0x6, model: 0x9e, stepping: 0xa) [ 0.201345] Performance Events: unsupported p6 CPU model 158 no PMU driver, software events only. [ 0.205529] x86: Booted up 1 node, 1 CPUs [ 0.206679] smpboot: Total of 1 processors activated (5999.70 BogoMIPS) [ 0.210972] NMI watchdog: disabled (cpu0): hardware events not enabled [ 0.214432] NMI watchdog: Shutting down hard lockup detector on all cpus [ 0.217510] devtmpfs: initialized [ 0.218923] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.222363] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.225476] pinctrl core: initialized pinctrl subsystem [ 0.236216] NET: Registered protocol family 16 [ 0.238627] cpuidle: using governor ladder [ 0.240909] cpuidle: using governor menu [ 0.242580] ACPI: bus type PCI registered [ 0.244503] PCI: Using configuration type 1 for base access [ 0.264790] ACPI: Added _OSI(Module Device) [ 0.266606] ACPI: Added _OSI(Processor Device) [ 0.268274] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.270081] ACPI: Added _OSI(Processor Aggregator Device) [ 0.273627] ACPI: Executed 1 blocks of module-level executable AML code [ 0.276979] ACPI: Interpreter enabled [ 0.277822] ACPI: (supports S0 S5) [ 0.278572] ACPI: Using IOAPIC for interrupt routing [ 0.280439] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.286547] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.294417] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI] [ 0.298089] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI] [ 0.302621] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. [ 0.307065] PCI host bridge to bus 0000:00 [ 0.308467] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.311074] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.314561] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.317621] pci_bus 0000:00: root bus resource [mem 0x80000000-0xfdffffff window] [ 0.328329] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.331409] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 [ 0.334299] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 [ 0.339815] pci 0000:00:02.0: [80ee:beef] type 00 class 0x030000 [ 0.343028] pci 0000:00:02.0: reg 0x10: [mem 0xe0000000-0xe1ffffff pref] [ 0.345302] pci 0000:00:02.0: reg 0x14: [io 0xd000-0xd00f] [ 0.347291] pci 0000:00:02.0: reg 0x18: [mem 0xf0000000-0xf01fffff] [ 0.351543] pci 0000:00:03.0: [1af4:1000] type 00 class 0x020000 [ 0.360781] pci 0000:00:03.0: reg 0x10: [io 0xd020-0xd03f] [ 0.364154] pci 0000:00:04.0: [80ee:cafe] type 00 class 0x088000 [ 0.367743] pci 0000:00:04.0: reg 0x10: [io 0xd040-0xd05f] [ 0.369657] pci 0000:00:04.0: reg 0x14: [mem 0xf0400000-0xf07fffff] [ 0.372098] pci 0000:00:04.0: reg 0x18: [mem 0xf0800000-0xf0803fff pref] [ 0.376939] pci 0000:00:05.0: [8086:2668] type 00 class 0x040300 [ 0.379096] pci 0000:00:05.0: reg 0x10: [mem 0xf0804000-0xf0807fff] [ 0.384401] pci 0000:00:06.0: [106b:003f] type 00 class 0x0c0310 [ 0.391436] pci 0000:00:06.0: reg 0x10: [mem 0xf0808000-0xf0808fff] [ 0.396346] pci 0000:00:07.0: [8086:7113] type 00 class 0x068000 [ 0.400142] pci 0000:00:07.0: quirk: [io 0x4000-0x403f] claimed by PIIX4 ACPI [ 0.402271] pci 0000:00:07.0: quirk: [io 0x4100-0x410f] claimed by PIIX4 SMB [ 0.406229] pci 0000:00:0d.0: [8086:2829] type 00 class 0x010601 [ 0.408910] pci 0000:00:0d.0: reg 0x10: [io 0xd060-0xd067] [ 0.410755] pci 0000:00:0d.0: reg 0x14: [io 0xd068-0xd06b] [ 0.419818] pci 0000:00:0d.0: reg 0x18: [io 0xd070-0xd077] [ 0.422086] pci 0000:00:0d.0: reg 0x1c: [io 0xd078-0xd07b] [ 0.424046] pci 0000:00:0d.0: reg 0x20: [io 0xd080-0xd08f] [ 0.426629] pci 0000:00:0d.0: reg 0x24: [mem 0xf080a000-0xf080bfff] [ 0.431101] pci_bus 0000:00: on NUMA node 0 [ 0.432792] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 9 10 11) [ 0.434330] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 10 11) [ 0.435693] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 9 10 11) [ 0.438444] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 9 10 *11) [ 0.441142] ACPI: Enabled 2 GPEs in block 00 to 07 [ 0.457862] vgaarb: setting as boot device: PCI:0000:00:02.0 [ 0.459595] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 0.463065] vgaarb: loaded [ 0.463914] vgaarb: bridge control possible 0000:00:02.0 [ 0.465946] SCSI subsystem initialized [ 0.467453] libata version 3.00 loaded. [ 0.469529] pps_core: LinuxPPS API ver. 1 registered [ 0.472127] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.483604] PTP clock support registered [ 0.485787] PCI: Using ACPI for IRQ routing [ 0.487077] PCI: pci_cache_line_size set to 64 bytes [ 0.491158] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff] [ 0.493137] e820: reserve RAM buffer [mem 0x7fff0000-0x7fffffff] [ 0.496075] clocksource: Switched to clocksource refined-jiffies [ 0.517996] AppArmor: AppArmor Filesystem Enabled [ 0.520157] pnp: PnP ACPI init [ 0.522808] pnp 00:00: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.524869] pnp 00:01: Plug and Play ACPI device, IDs PNP0f03 (active) [ 0.527161] pnp 00:02: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.529245] pnp 00:03: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.532593] pnp 00:04: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.535197] pnp: PnP ACPI: found 5 devices [ 0.551128] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.556245] clocksource: Switched to clocksource acpi_pm [ 0.557785] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.560124] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.563357] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.566634] pci_bus 0000:00: resource 7 [mem 0x80000000-0xfdffffff window] [ 0.569683] NET: Registered protocol family 2 [ 0.578176] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.582270] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.585047] TCP: Hash tables configured (established 16384 bind 16384) [ 0.589082] UDP hash table entries: 1024 (order: 3, 32768 bytes) [ 0.591363] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) [ 0.594839] NET: Registered protocol family 1 [ 0.596863] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.598954] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.601592] pci 0000:00:02.0: Video device with shadowed ROM [ 0.610572] PCI: CLS 0 bytes, default 64 [ 0.917852] Trying to unpack rootfs image as initramfs... [ 0.939492] hrtimer: interrupt took 4772673 ns [ 0.992388] Freeing initrd memory: 16828K [ 0.994379] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 1.006744] audit: initializing netlink subsys (disabled) [ 1.008607] audit: type=2000 audit(1628030571.692:1): initialized [ 1.010685] Initialise system trusted keyring [ 1.108805] VFS: Disk quotas dquot_6.6.0 [ 1.110890] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.481167] Key type asymmetric registered [ 1.483145] Asymmetric key parser 'x509' registered [ 1.484968] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 1.487849] io scheduler noop registered [ 1.489337] io scheduler deadline registered [ 1.493148] io scheduler cfq registered [ 1.999036] tsc: Refined TSC clocksource calibration: 2999.999 MHz [ 8.429366] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2b3e44b2357, max_idle_ns: 440795324996 ns [ 8.807868] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 9.100786] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 9.112939] console [ttyS2] enabled [ 9.114823] bootconsole [uart0] disabled

ttg-public commented 3 years ago

[ 0.044000] smpboot: CPU0: Intel(R) Xeon(R) CPU X5670 @ 2.93GHz (family: 0x6, model: 0x2c, stepping: 0x2) [ 0.046764] Performance Events: 16-deep LBR, Westmere events, full-width counters, Intel PMU driver.

Here lies your problem.

This is the boot result of the PVE virtual machine with the image of DS918+ on my X58 server Can't seem to start Why can't it start? Is it because the CPU instruction set does not support it? I found that [x86/fpu: Supporting XSAVE feature 0x04:'AVX registers'] appears when booting on a normal machine, but it does not appear on my X58 server If it is a CPU problem, what instruction set does the host's CPU need?

The following result is the startup result on the virtual machine of i5 9500

DS918+ kernel requires at least Intel Haswell CPU. I'm surprised the init didn't stop you from booting as Westmere doesn't even have MOVBE. If you want to experiment with your hardware take a look at DS3615 image. Even if you will be able to somehow start the DS918+ image it will not be stable as it expects a newer instruction set.

unknown-o commented 3 years ago

[ 0.044000] smpboot: CPU0: Intel(R) Xeon(R) CPU X5670 @ 2.93GHz (family: 0x6, model: 0x2c, stepping: 0x2) [ 0.046764] Performance Events: 16-deep LBR, Westmere events, full-width counters, Intel PMU driver.

Here lies your problem.

This is the boot result of the PVE virtual machine with the image of DS918+ on my X58 server Can't seem to start Why can't it start? Is it because the CPU instruction set does not support it? I found that [x86/fpu: Supporting XSAVE feature 0x04:'AVX registers'] appears when booting on a normal machine, but it does not appear on my X58 server If it is a CPU problem, what instruction set does the host's CPU need? The following result is the startup result on the virtual machine of i5 9500

DS918+ kernel requires at least Intel Haswell CPU. I'm surprised the init didn't stop you from booting as Westmere doesn't even have MOVBE. If you want to experiment with your hardware take a look at DS3615 image. Even if you will be able to somehow start the DS918+ image it will not be stable as it expects a newer instruction set.

OK, thanks for your reply! I will pay attention to the mirroring of DS3615xs!