ilovepancakes Posted August 9, 2021 Share #301 Posted August 9, 2021 31 minutes ago, flyride said: Sure it can. You just have to go into the BIOS during boot and set it up. Right, but BIOS shows "Removable Devices" under boot options but doesn't list the USB on there, it just doesn't show up at all. If I use the method at that link, that ISO based bootloader does show the USB, but won't boot off it. If you have a way to get ESXi to directly show a physical USB device in the VM BIOS, would love to know so I can try RedPill that way. Link to comment Share on other sites More sharing options...
flyride Posted August 9, 2021 Share #302 Posted August 9, 2021 2 minutes ago, ilovepancakes said: Right, but BIOS shows "Removable Devices" under boot options but doesn't list the USB on there, it just doesn't show up at all. If I use the method at that link, that ISO based bootloader does show the USB, but won't boot off it. If you have a way to get ESXi to directly show a physical USB device in the VM BIOS, would love to know so I can try RedPill that way. Recounting this from memory, but I have actually done this. Specifically, configured a passthrough USB as the Jun bootloader for a VM which worked fine. It probably was under ESXi 6.5, so maybe it's a hardware profile problem. Try building an ESXi 6.5 VM (virtual hardware version 13) and see if that helps. Link to comment Share on other sites More sharing options...
cwiggs Posted August 9, 2021 Share #303 Posted August 9, 2021 28 minutes ago, Aigor said: No config for DS3615xs with 7.0 [#] Checking runtime for required tools... [OK] [!] There doesn't seem to be a config for DS3615xs platform running 7.0-41890 (checked /opt/redpill-load/config/DS3615xs/7.0-41890/config.json) *** Process will exit *** There is a PR open that adds a 7.0 config for DS3615xs: https://github.com/RedPill-TTG/redpill-load/pull/7 Link to comment Share on other sites More sharing options...
ilovepancakes Posted August 9, 2021 Share #304 Posted August 9, 2021 8 minutes ago, flyride said: Recounting this from memory, but I have actually done this. Specifically, configured a passthrough USB as the Jun bootloader for a VM which worked fine. It probably was under ESXi 6.5, so maybe it's a hardware profile problem. Try building an ESXi 6.5 VM (virtual hardware version 13) and see if that helps. Just tried hardware version 13 with a USB 2.0 and then 3.1 controller, no dice. The can be attached to the VM okay but doesn't show up in BIOS boot menu at all. Link to comment Share on other sites More sharing options...
flyride Posted August 9, 2021 Share #305 Posted August 9, 2021 Not sure why I was able to do it but it was some time ago. I suspect it's a legacy boot vs. EFI BIOS configuration (which then implies DS918+ for Jun's loader). In any case, here's a current solution: https://www.virtualizationhowto.com/2019/01/boot-esxi-virtual-machine-from-passthrough-usb/ 1 Link to comment Share on other sites More sharing options...
gadreel Posted August 9, 2021 Share #306 Posted August 9, 2021 (edited) @kelvin701 I managed to boot it from Unraid using haydibe v4. The previous bootloader from Jun was booting using OVMF Bios but the new bootloader I had to use SeaBios to make it work. OVMF just takes me back to bios...no idea why is that. Attached a screen of what I selected... Unfortunately though when I try to install it will stuck at 55% with the message "Failed to install the file. The file is corrupted." I am not an expert but when I use virsh console VM_NAME I have the following output... I do not know if that will help ThorGroup in any way... I do not know if somebody else knows a better command to connect to the Virtual Serial port from Qemu to get more output during installation... [ 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 mac1=XXXXXXXXX netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=XXXXXXXXX root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] CPU: vendor_id 'AuthenticAMD' unknown, using generic init. [ 0.000000] CPU: Your system may be unstable. [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 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-0x000000007ffddfff] usable [ 0.000000] BIOS-e820: [mem 0x000000007ffde000-0x000000007fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000027fffffff] usable [ 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 (Q35 + ICH9, 2009), BIOS rel-1.13.0-48-gd9c812dda519-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 = 0x280000 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 00C0000000 mask FFC0000000 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] e820: last_pfn = 0x7ffde max_arch_pfn = 0x400000000 [ 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] RAMDISK: [mem 0x35917000-0x36c82fff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F58B0 000014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 0x000000007FFE2148 000034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 0x000000007FFE1F60 0000F4 (v03 BOCHS BXPCFACP 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 0x000000007FFE0040 001F20 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACS 0x000000007FFE0000 000040 [ 0.000000] ACPI: APIC 0x000000007FFE2054 000090 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [ 0.000000] ACPI: MCFG 0x000000007FFE20E4 00003C (v01 BOCHS BXPCMCFG 00000001 BXPC 00000001) [ 0.000000] ACPI: WAET 0x000000007FFE2120 000028 (v01 BOCHS BXPCWAET 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-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000027fffffff] [ 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-0x000000007ffddfff] [ 0.000000] node 0: [mem 0x0000000100000000-0x000000027fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000027fffffff] [ 0.000000] On node 0 totalpages: 2097020 [ 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: 520158 pages, LIFO batch:31 [ 0.000000] Normal zone: 24576 pages used for memmap [ 0.000000] Normal zone: 1572864 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] smpboot: Allowing 4 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x7ffde000-0x7fffffff] [ 0.000000] PM: Registered nosave memory: [mem 0x80000000-0xafffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xb0000000-0xbfffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xc0000000-0xfed1bfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfeffbfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfeffc000-0xfeffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xff000000-0xfffbffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfffc0000-0xffffffff] [ 0.000000] e820: [mem 0xc0000000-0xfed1bfff] 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:4 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88027fc00000 s95128 r8192 d31848 u524288 [ 0.000000] pcpu-alloc: s95128 r8192 d31848 u524288 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 2 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 2064230 [ 0.000000] Kernel command line: BOOT_IMAGE=/zImage mac1=XXXXXXXXX netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=XXXXXXXXX root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 0.000000] Mac1: 00505623F398 [ 0.000000] Internal netif num: 1 [ 0.000000] Power on seq num: 1 [ 0.000000] SYNO GPIO hdd detect pin: 0 [ 0.000000] Serial Number: 1780PDN123456 [ 0.000000] Synology Hardware Version: DS918+ [ 0.000000] Vender format version: 2 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Memory: 8147308K/8388080K available (5623K kernel code, 863K rwdata, 1748K rodata, 916K init, 664K bss, 240772K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:4352 nr_irqs:456 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 3792.661 MHz processor [ 0.000000] tsc: Marking TSC unstable due to TSCs unsynchronized [ 0.004865] Calibrating delay loop (skipped), value calculated using timer frequency.. 7585.32 BogoMIPS (lpj=3792661) [ 0.005415] pid_max: default: 32768 minimum: 301 [ 0.006005] ACPI: Core revision 20150930 [ 0.007336] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 0.008058] Security Framework initialized [ 0.009008] AppArmor: AppArmor initialized [ 0.009601] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.010002] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.012200] Initializing cgroup subsys io [ 0.012789] Initializing cgroup subsys memory [ 0.013006] Initializing cgroup subsys devices [ 0.014006] Initializing cgroup subsys freezer [ 0.022302] mce: CPU supports 10 MCE banks [ 0.022900] mce: unknown CPU type - not enabling MCE support [ 0.023002] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.024002] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.025005] Speculative Store Bypass: Vulnerable [ 0.027552] Freeing SMP alternatives memory: 24K [ 0.029167] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.039095] TSC deadline timer enabled [ 0.039639] smpboot: CPU0: AuthenticAMD AMD Ryzen 9 3900X 12-Core Processor (family: 0x17, model: 0x71, stepping: 0x0) [ 0.040263] Performance Events: no PMU driver, software events only. [ 0.041371] NMI watchdog: disabled (cpu0): hardware events not enabled [ 0.042002] NMI watchdog: Shutting down hard lockup detector on all cpus [ 0.043112] x86: Booting SMP configuration: [ 0.043718] .... node #0, CPUs: #1 #2 #3 [ 0.280021] x86: Booted up 1 node, 4 CPUs [ 0.280655] smpboot: Total of 4 processors activated (30430.50 BogoMIPS) [ 0.281331] devtmpfs: initialized [ 0.282155] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.283006] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.284042] pinctrl core: initialized pinctrl subsystem [ 0.285223] NET: Registered protocol family 16 [ 0.289006] cpuidle: using governor ladder [ 0.293011] cpuidle: using governor menu [ 0.294098] ACPI: bus type PCI registered [ 0.295105] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xb0000000-0xbfffffff] (base 0xb0000000) [ 0.296004] PCI: MMCONFIG at [mem 0xb0000000-0xbfffffff] reserved in E820 [ 0.297006] PCI: Using configuration type 1 for base access [ 0.303077] ACPI: Added _OSI(Module Device) [ 0.304029] ACPI: Added _OSI(Processor Device) [ 0.305025] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.305909] ACPI: Added _OSI(Processor Aggregator Device) [ 0.307063] ACPI: Interpreter enabled [ 0.307610] ACPI: (supports S0 S4 S5) [ 0.308003] ACPI: Using IOAPIC for interrupt routing [ 0.308735] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.310308] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.311006] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] [ 0.312053] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability] [ 0.313040] PCI host bridge to bus 0000:00 [ 0.313631] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.314004] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.314977] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.315003] pci_bus 0000:00: root bus resource [mem 0x80000000-0xafffffff window] [ 0.316002] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 0.317003] pci_bus 0000:00: root bus resource [mem 0x280000000-0xa7fffffff window] [ 0.318004] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.318841] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 [ 0.319370] pci 0000:00:01.0: [1b36:0100] type 00 class 0x030000 [ 0.321772] pci 0000:00:01.0: reg 0x10: [mem 0xf4000000-0xf7ffffff] [ 0.323039] pci 0000:00:01.0: reg 0x14: [mem 0xf8000000-0xfbffffff] [ 0.324889] pci 0000:00:01.0: reg 0x18: [mem 0xfc814000-0xfc815fff] [ 0.327690] pci 0000:00:01.0: reg 0x1c: [io 0xd040-0xd05f] [ 0.331110] pci 0000:00:01.0: reg 0x30: [mem 0xfc800000-0xfc80ffff pref] [ 0.332365] pci 0000:00:02.0: [1b36:000c] type 01 class 0x060400 [ 0.333960] pci 0000:00:02.0: reg 0x10: [mem 0xfc816000-0xfc816fff] [ 0.335400] pci 0000:00:02.1: [1b36:000c] type 01 class 0x060400 [ 0.336693] pci 0000:00:02.1: reg 0x10: [mem 0xfc817000-0xfc817fff] [ 0.338401] pci 0000:00:02.2: [1b36:000c] type 01 class 0x060400 [ 0.339714] pci 0000:00:02.2: reg 0x10: [mem 0xfc818000-0xfc818fff] [ 0.342257] pci 0000:00:02.3: [1b36:000c] type 01 class 0x060400 [ 0.343737] pci 0000:00:02.3: reg 0x10: [mem 0xfc819000-0xfc819fff] [ 0.345458] pci 0000:00:07.0: [1b36:000d] type 00 class 0x0c0330 [ 0.346406] pci 0000:00:07.0: reg 0x10: [mem 0xfc810000-0xfc813fff 64bit] [ 0.348850] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 [ 0.349422] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO [ 0.350168] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 [ 0.353533] pci 0000:00:1f.2: reg 0x20: [io 0xd060-0xd07f] [ 0.354550] pci 0000:00:1f.2: reg 0x24: [mem 0xfc81a000-0xfc81afff] [ 0.355817] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 [ 0.358305] pci 0000:00:1f.3: reg 0x20: [io 0x0700-0x073f] [ 0.360163] pci 0000:01:00.0: [8086:10d3] type 00 class 0x020000 [ 0.362007] pci 0000:01:00.0: reg 0x10: [mem 0xfc640000-0xfc65ffff] [ 0.363538] pci 0000:01:00.0: reg 0x14: [mem 0xfc660000-0xfc67ffff] [ 0.365004] pci 0000:01:00.0: reg 0x18: [io 0xc000-0xc01f] [ 0.366736] pci 0000:01:00.0: reg 0x1c: [mem 0xfc680000-0xfc683fff] [ 0.370004] pci 0000:01:00.0: reg 0x30: [mem 0xfc600000-0xfc63ffff pref] [ 0.371487] pci 0000:00:02.0: PCI bridge to [bus 01] [ 0.372017] pci 0000:00:02.0: bridge window [io 0xc000-0xcfff] [ 0.372904] pci 0000:00:02.0: bridge window [mem 0xfc600000-0xfc7fffff] [ 0.373036] pci 0000:00:02.0: bridge window [mem 0xfea00000-0xfebfffff 64bit pref] [ 0.374597] pci 0000:02:00.0: [1af4:1043] type 00 class 0x078000 [ 0.376288] pci 0000:02:00.0: reg 0x14: [mem 0xfc400000-0xfc400fff] [ 0.378532] pci 0000:02:00.0: reg 0x20: [mem 0xfe800000-0xfe803fff 64bit pref] [ 0.380141] pci 0000:00:02.1: PCI bridge to [bus 02] [ 0.380882] pci 0000:00:02.1: bridge window [mem 0xfc400000-0xfc5fffff] [ 0.381032] pci 0000:00:02.1: bridge window [mem 0xfe800000-0xfe9fffff 64bit pref] [ 0.383208] pci 0000:03:00.0: [1af4:1045] type 00 class 0x00ff00 [ 0.385604] pci 0000:03:00.0: reg 0x20: [mem 0xfe600000-0xfe603fff 64bit pref] [ 0.386815] pci 0000:00:02.2: PCI bridge to [bus 03] [ 0.387031] pci 0000:00:02.2: bridge window [mem 0xfc200000-0xfc3fffff] [ 0.388023] pci 0000:00:02.2: bridge window [mem 0xfe600000-0xfe7fffff 64bit pref] [ 0.389481] pci 0000:00:02.3: PCI bridge to [bus 04] [ 0.390031] pci 0000:00:02.3: bridge window [mem 0xfc000000-0xfc1fffff] [ 0.391032] pci 0000:00:02.3: bridge window [mem 0xfe400000-0xfe5fffff 64bit pref] [ 0.393286] pci_bus 0000:00: on NUMA node 0 [ 0.394119] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 0.395026] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 0.395919] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 0.396243] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 0.397107] ACPI: PCI Interrupt Link [LNKE] (IRQs 5 *10 11) [ 0.397994] ACPI: PCI Interrupt Link [LNKF] (IRQs 5 *10 11) [ 0.398254] ACPI: PCI Interrupt Link [LNKG] (IRQs 5 10 *11) [ 0.399114] ACPI: PCI Interrupt Link [LNKH] (IRQs 5 10 *11) [ 0.399979] ACPI: PCI Interrupt Link [GSIA] (IRQs *16) [ 0.400117] ACPI: PCI Interrupt Link [GSIB] (IRQs *17) [ 0.400887] ACPI: PCI Interrupt Link [GSIC] (IRQs *18) [ 0.401114] ACPI: PCI Interrupt Link [GSID] (IRQs *19) [ 0.401867] ACPI: PCI Interrupt Link [GSIE] (IRQs *20) [ 0.402114] ACPI: PCI Interrupt Link [GSIF] (IRQs *21) [ 0.402898] ACPI: PCI Interrupt Link [GSIG] (IRQs *22) [ 0.403117] ACPI: PCI Interrupt Link [GSIH] (IRQs *23) [ 0.404098] ACPI: Enabled 1 GPEs in block 00 to 3F [ 0.405075] vgaarb: setting as boot device: PCI:0000:00:01.0 [ 0.405844] vgaarb: device added: PCI:0000:00:01.0,decodes=io+mem,owns=io+mem,locks=none [ 0.406010] vgaarb: loaded [ 0.406398] vgaarb: bridge control possible 0000:00:01.0 [ 0.407124] SCSI subsystem initialized [ 0.407718] libata version 3.00 loaded. [ 0.408054] pps_core: LinuxPPS API ver. 1 registered [ 0.408799] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.409028] PTP clock support registered [ 0.409685] PCI: Using ACPI for IRQ routing [ 0.464507] PCI: pci_cache_line_size set to 64 bytes [ 0.465191] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff] [ 0.466009] e820: reserve RAM buffer [mem 0x7ffde000-0x7fffffff] [ 0.467187] clocksource: Switched to clocksource refined-jiffies [ 0.476361] AppArmor: AppArmor Filesystem Enabled [ 0.477026] pnp: PnP ACPI init [ 0.477529] pnp 00:00: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.478022] pnp 00:01: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.478985] pnp 00:02: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.479027] pnp 00:03: Plug and Play ACPI device, IDs PNP0f13 (active) [ 0.479978] pnp 00:04: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.480157] pnp: PnP ACPI: found 5 devices [ 0.488524] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.489060] clocksource: Switched to clocksource acpi_pm [ 0.490619] pci 0000:00:02.1: bridge window [io 0x1000-0x0fff] to [bus 02] add_size 1000 [ 0.492263] pci 0000:00:02.2: bridge window [io 0x1000-0x0fff] to [bus 03] add_size 1000 [ 0.493837] pci 0000:00:02.3: bridge window [io 0x1000-0x0fff] to [bus 04] add_size 1000 [ 0.495075] pci 0000:00:02.1: res[13]=[io 0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.496458] pci 0000:00:02.1: res[13]=[io 0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.497828] pci 0000:00:02.2: res[13]=[io 0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.499224] pci 0000:00:02.2: res[13]=[io 0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.500631] pci 0000:00:02.3: res[13]=[io 0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.501990] pci 0000:00:02.3: res[13]=[io 0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.503392] pci 0000:00:02.1: BAR 13: assigned [io 0x1000-0x1fff] [ 0.504357] pci 0000:00:02.2: BAR 13: assigned [io 0x2000-0x2fff] [ 0.505291] pci 0000:00:02.3: BAR 13: assigned [io 0x3000-0x3fff] [ 0.506220] pci 0000:00:02.0: PCI bridge to [bus 01] [ 0.506922] pci 0000:00:02.0: bridge window [io 0xc000-0xcfff] [ 0.508351] pci 0000:00:02.0: bridge window [mem 0xfc600000-0xfc7fffff] [ 0.509679] pci 0000:00:02.0: bridge window [mem 0xfea00000-0xfebfffff 64bit pref] [ 0.511969] pci 0000:00:02.1: PCI bridge to [bus 02] [ 0.512757] pci 0000:00:02.1: bridge window [io 0x1000-0x1fff] [ 0.514146] pci 0000:00:02.1: bridge window [mem 0xfc400000-0xfc5fffff] [ 0.515486] pci 0000:00:02.1: bridge window [mem 0xfe800000-0xfe9fffff 64bit pref] [ 0.517259] pci 0000:00:02.2: PCI bridge to [bus 03] [ 0.518055] pci 0000:00:02.2: bridge window [io 0x2000-0x2fff] [ 0.519489] pci 0000:00:02.2: bridge window [mem 0xfc200000-0xfc3fffff] [ 0.520871] pci 0000:00:02.2: bridge window [mem 0xfe600000-0xfe7fffff 64bit pref] [ 0.523356] pci 0000:00:02.3: PCI bridge to [bus 04] [ 0.524158] pci 0000:00:02.3: bridge window [io 0x3000-0x3fff] [ 0.525494] pci 0000:00:02.3: bridge window [mem 0xfc000000-0xfc1fffff] [ 0.526820] pci 0000:00:02.3: bridge window [mem 0xfe400000-0xfe5fffff 64bit pref] [ 0.528591] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.529551] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.530541] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.532118] pci_bus 0000:00: resource 7 [mem 0x80000000-0xafffffff window] [ 0.533171] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window] [ 0.534205] pci_bus 0000:00: resource 9 [mem 0x280000000-0xa7fffffff window] [ 0.535299] pci_bus 0000:01: resource 0 [io 0xc000-0xcfff] [ 0.536145] pci_bus 0000:01: resource 1 [mem 0xfc600000-0xfc7fffff] [ 0.537080] pci_bus 0000:01: resource 2 [mem 0xfea00000-0xfebfffff 64bit pref] [ 0.538174] pci_bus 0000:02: resource 0 [io 0x1000-0x1fff] [ 0.538969] pci_bus 0000:02: resource 1 [mem 0xfc400000-0xfc5fffff] [ 0.539927] pci_bus 0000:02: resource 2 [mem 0xfe800000-0xfe9fffff 64bit pref] [ 0.541039] pci_bus 0000:03: resource 0 [io 0x2000-0x2fff] [ 0.541851] pci_bus 0000:03: resource 1 [mem 0xfc200000-0xfc3fffff] [ 0.542800] pci_bus 0000:03: resource 2 [mem 0xfe600000-0xfe7fffff 64bit pref] [ 0.543898] pci_bus 0000:04: resource 0 [io 0x3000-0x3fff] [ 0.544789] pci_bus 0000:04: resource 1 [mem 0xfc000000-0xfc1fffff] [ 0.545773] pci_bus 0000:04: resource 2 [mem 0xfe400000-0xfe5fffff 64bit pref] [ 0.546908] NET: Registered protocol family 2 [ 0.547771] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 0.549251] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.550890] TCP: Hash tables configured (established 65536 bind 65536) [ 0.551977] UDP hash table entries: 4096 (order: 5, 131072 bytes) [ 0.553040] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes) [ 0.554146] NET: Registered protocol family 1 [ 0.554825] pci 0000:00:01.0: Video device with shadowed ROM [ 0.555878] ACPI: PCI Interrupt Link [GSIH] enabled at IRQ 23 [ 0.557193] PCI: CLS 0 bytes, default 64 [ 0.840100] Trying to unpack rootfs image as initramfs... [ 0.895476] Freeing initrd memory: 19888K [ 0.896401] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 0.897462] software IO TLB: mapped [mem 0x7bfde000-0x7ffde000] (64MB) [ 0.898660] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5685db502, max_idle_ns: 881590404252 ns [ 0.901935] audit: initializing netlink subsys (disabled) [ 0.903081] audit: type=2000 audit(1628546252.902:1): initialized [ 0.904413] Initialise system trusted keyring [ 0.929399] VFS: Disk quotas dquot_6.6.0 [ 0.930387] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.050480] Key type asymmetric registered [ 1.051308] Asymmetric key parser 'x509' registered [ 1.052231] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 1.053559] io scheduler noop registered [ 1.054259] io scheduler deadline registered [ 1.054991] io scheduler cfq registered [ 1.055996] ACPI: PCI Interrupt Link [GSIG] enabled at IRQ 22 [ 1.063094] aer 0000:00:02.0:pcie02: service driver aer loaded [ 1.064330] aer 0000:00:02.1:pcie02: service driver aer loaded [ 1.065554] aer 0000:00:02.2:pcie02: service driver aer loaded [ 1.066775] aer 0000:00:02.3:pcie02: service driver aer loaded [ 1.068296] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt [ 1.069395] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt [ 1.070484] pcie_pme 0000:00:02.0:pcie01: service driver pcie_pme loaded [ 1.071527] pcieport 0000:00:02.1: Signaling PME through PCIe PME interrupt [ 1.072581] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt [ 1.073592] pcie_pme 0000:00:02.1:pcie01: service driver pcie_pme loaded [ 1.074650] pcieport 0000:00:02.2: Signaling PME through PCIe PME interrupt [ 1.075705] pci 0000:03:00.0: Signaling PME through PCIe PME interrupt [ 1.076732] pcie_pme 0000:00:02.2:pcie01: service driver pcie_pme loaded [ 1.077794] pcieport 0000:00:02.3: Signaling PME through PCIe PME interrupt [ 1.078850] pcie_pme 0000:00:02.3:pcie01: service driver pcie_pme loaded [ 1.112952] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.139659] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 1.141274] console [ttyS2] enabled [ 1.142369] bootconsole [uart0] disabled Edited August 9, 2021 by gadreel Link to comment Share on other sites More sharing options...
tcs Posted August 10, 2021 Share #307 Posted August 10, 2021 I've read most of the posts in this thread and didn't see it referenced so I apologize if I just missed it: Is this still bound by the stock synology kernels? Can we get GPU offload (/dev/dri) into the 3615/3617 images even though synology's official kernels leave that out? Any chance this can incorporate the changes I uncovered in the other thread here to support higher drive counts? Specifically: #change maxdisks="64" esataportcfg="0x0" usbportcfg="0x0" internalportcfg="0xffffffffffffffff" and possibly (not at home to validate right now): no_disk_swap="yes" support_sys_adjust="yes" Link to comment Share on other sites More sharing options...
ilovepancakes Posted August 10, 2021 Share #308 Posted August 10, 2021 2 hours ago, flyride said: Not sure why I was able to do it but it was some time ago. I suspect it's a legacy boot vs. EFI BIOS configuration (which then implies DS918+ for Jun's loader). In any case, here's a current solution: https://www.virtualizationhowto.com/2019/01/boot-esxi-virtual-machine-from-passthrough-usb/ This was the link/solution I was posting about in the original post you replied to saying it works lol. Even with that bootloader ISO, it does not boot, the bootloader freezes. Link to comment Share on other sites More sharing options...
thomas Posted August 10, 2021 Share #309 Posted August 10, 2021 (edited) 3 hours ago, gadreel said: @kelvin701 I do not know if somebody else knows a better command to connect to the Virtual Serial port from Qemu to get more output during installation... @gadreel Use virt-manager to connect to qemu over TCP; add 2 more serial ports to have 3 in total for the VM; start the VM, connect to the console on the 3rd serial port and magic will happen... Edited August 10, 2021 by thomas Link to comment Share on other sites More sharing options...
mcdull Posted August 10, 2021 Share #310 Posted August 10, 2021 3 hours ago, gadreel said: @kelvin701 I managed to boot it from Unraid using haydibe v4. The previous bootloader from Jun was booting using OVMF Bios but the new bootloader I had to use SeaBios to make it work. OVMF just takes me back to bios...no idea why is that. Attached a screen of what I selected... Unfortunately though when I try to install it will stuck at 55% with the message "Failed to install the file. The file is corrupted." I am not an expert but when I use virsh console VM_NAME I have the following output... I do not know if that will help ThorGroup in any way... I do not know if somebody else knows a better command to connect to the Virtual Serial port from Qemu to get more output during installation... [ 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 mac1=XXXXXXXXX netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=XXXXXXXXX root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] CPU: vendor_id 'AuthenticAMD' unknown, using generic init. [ 0.000000] CPU: Your system may be unstable. [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 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-0x000000007ffddfff] usable [ 0.000000] BIOS-e820: [mem 0x000000007ffde000-0x000000007fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000027fffffff] usable [ 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 (Q35 + ICH9, 2009), BIOS rel-1.13.0-48-gd9c812dda519-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 = 0x280000 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 00C0000000 mask FFC0000000 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] e820: last_pfn = 0x7ffde max_arch_pfn = 0x400000000 [ 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] RAMDISK: [mem 0x35917000-0x36c82fff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F58B0 000014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 0x000000007FFE2148 000034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 0x000000007FFE1F60 0000F4 (v03 BOCHS BXPCFACP 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 0x000000007FFE0040 001F20 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACS 0x000000007FFE0000 000040 [ 0.000000] ACPI: APIC 0x000000007FFE2054 000090 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [ 0.000000] ACPI: MCFG 0x000000007FFE20E4 00003C (v01 BOCHS BXPCMCFG 00000001 BXPC 00000001) [ 0.000000] ACPI: WAET 0x000000007FFE2120 000028 (v01 BOCHS BXPCWAET 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-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000027fffffff] [ 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-0x000000007ffddfff] [ 0.000000] node 0: [mem 0x0000000100000000-0x000000027fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000027fffffff] [ 0.000000] On node 0 totalpages: 2097020 [ 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: 520158 pages, LIFO batch:31 [ 0.000000] Normal zone: 24576 pages used for memmap [ 0.000000] Normal zone: 1572864 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] smpboot: Allowing 4 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x7ffde000-0x7fffffff] [ 0.000000] PM: Registered nosave memory: [mem 0x80000000-0xafffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xb0000000-0xbfffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xc0000000-0xfed1bfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfeffbfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfeffc000-0xfeffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xff000000-0xfffbffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfffc0000-0xffffffff] [ 0.000000] e820: [mem 0xc0000000-0xfed1bfff] 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:4 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88027fc00000 s95128 r8192 d31848 u524288 [ 0.000000] pcpu-alloc: s95128 r8192 d31848 u524288 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 2 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 2064230 [ 0.000000] Kernel command line: BOOT_IMAGE=/zImage mac1=XXXXXXXXX netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=XXXXXXXXX root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 0.000000] Mac1: 00505623F398 [ 0.000000] Internal netif num: 1 [ 0.000000] Power on seq num: 1 [ 0.000000] SYNO GPIO hdd detect pin: 0 [ 0.000000] Serial Number: 1780PDN123456 [ 0.000000] Synology Hardware Version: DS918+ [ 0.000000] Vender format version: 2 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Memory: 8147308K/8388080K available (5623K kernel code, 863K rwdata, 1748K rodata, 916K init, 664K bss, 240772K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:4352 nr_irqs:456 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 3792.661 MHz processor [ 0.000000] tsc: Marking TSC unstable due to TSCs unsynchronized [ 0.004865] Calibrating delay loop (skipped), value calculated using timer frequency.. 7585.32 BogoMIPS (lpj=3792661) [ 0.005415] pid_max: default: 32768 minimum: 301 [ 0.006005] ACPI: Core revision 20150930 [ 0.007336] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 0.008058] Security Framework initialized [ 0.009008] AppArmor: AppArmor initialized [ 0.009601] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.010002] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.012200] Initializing cgroup subsys io [ 0.012789] Initializing cgroup subsys memory [ 0.013006] Initializing cgroup subsys devices [ 0.014006] Initializing cgroup subsys freezer [ 0.022302] mce: CPU supports 10 MCE banks [ 0.022900] mce: unknown CPU type - not enabling MCE support [ 0.023002] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.024002] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.025005] Speculative Store Bypass: Vulnerable [ 0.027552] Freeing SMP alternatives memory: 24K [ 0.029167] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.039095] TSC deadline timer enabled [ 0.039639] smpboot: CPU0: AuthenticAMD AMD Ryzen 9 3900X 12-Core Processor (family: 0x17, model: 0x71, stepping: 0x0) [ 0.040263] Performance Events: no PMU driver, software events only. [ 0.041371] NMI watchdog: disabled (cpu0): hardware events not enabled [ 0.042002] NMI watchdog: Shutting down hard lockup detector on all cpus [ 0.043112] x86: Booting SMP configuration: [ 0.043718] .... node #0, CPUs: #1 #2 #3 [ 0.280021] x86: Booted up 1 node, 4 CPUs [ 0.280655] smpboot: Total of 4 processors activated (30430.50 BogoMIPS) [ 0.281331] devtmpfs: initialized [ 0.282155] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.283006] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.284042] pinctrl core: initialized pinctrl subsystem [ 0.285223] NET: Registered protocol family 16 [ 0.289006] cpuidle: using governor ladder [ 0.293011] cpuidle: using governor menu [ 0.294098] ACPI: bus type PCI registered [ 0.295105] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xb0000000-0xbfffffff] (base 0xb0000000) [ 0.296004] PCI: MMCONFIG at [mem 0xb0000000-0xbfffffff] reserved in E820 [ 0.297006] PCI: Using configuration type 1 for base access [ 0.303077] ACPI: Added _OSI(Module Device) [ 0.304029] ACPI: Added _OSI(Processor Device) [ 0.305025] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.305909] ACPI: Added _OSI(Processor Aggregator Device) [ 0.307063] ACPI: Interpreter enabled [ 0.307610] ACPI: (supports S0 S4 S5) [ 0.308003] ACPI: Using IOAPIC for interrupt routing [ 0.308735] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.310308] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.311006] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] [ 0.312053] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability] [ 0.313040] PCI host bridge to bus 0000:00 [ 0.313631] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.314004] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.314977] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.315003] pci_bus 0000:00: root bus resource [mem 0x80000000-0xafffffff window] [ 0.316002] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 0.317003] pci_bus 0000:00: root bus resource [mem 0x280000000-0xa7fffffff window] [ 0.318004] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.318841] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 [ 0.319370] pci 0000:00:01.0: [1b36:0100] type 00 class 0x030000 [ 0.321772] pci 0000:00:01.0: reg 0x10: [mem 0xf4000000-0xf7ffffff] [ 0.323039] pci 0000:00:01.0: reg 0x14: [mem 0xf8000000-0xfbffffff] [ 0.324889] pci 0000:00:01.0: reg 0x18: [mem 0xfc814000-0xfc815fff] [ 0.327690] pci 0000:00:01.0: reg 0x1c: [io 0xd040-0xd05f] [ 0.331110] pci 0000:00:01.0: reg 0x30: [mem 0xfc800000-0xfc80ffff pref] [ 0.332365] pci 0000:00:02.0: [1b36:000c] type 01 class 0x060400 [ 0.333960] pci 0000:00:02.0: reg 0x10: [mem 0xfc816000-0xfc816fff] [ 0.335400] pci 0000:00:02.1: [1b36:000c] type 01 class 0x060400 [ 0.336693] pci 0000:00:02.1: reg 0x10: [mem 0xfc817000-0xfc817fff] [ 0.338401] pci 0000:00:02.2: [1b36:000c] type 01 class 0x060400 [ 0.339714] pci 0000:00:02.2: reg 0x10: [mem 0xfc818000-0xfc818fff] [ 0.342257] pci 0000:00:02.3: [1b36:000c] type 01 class 0x060400 [ 0.343737] pci 0000:00:02.3: reg 0x10: [mem 0xfc819000-0xfc819fff] [ 0.345458] pci 0000:00:07.0: [1b36:000d] type 00 class 0x0c0330 [ 0.346406] pci 0000:00:07.0: reg 0x10: [mem 0xfc810000-0xfc813fff 64bit] [ 0.348850] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 [ 0.349422] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO [ 0.350168] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 [ 0.353533] pci 0000:00:1f.2: reg 0x20: [io 0xd060-0xd07f] [ 0.354550] pci 0000:00:1f.2: reg 0x24: [mem 0xfc81a000-0xfc81afff] [ 0.355817] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 [ 0.358305] pci 0000:00:1f.3: reg 0x20: [io 0x0700-0x073f] [ 0.360163] pci 0000:01:00.0: [8086:10d3] type 00 class 0x020000 [ 0.362007] pci 0000:01:00.0: reg 0x10: [mem 0xfc640000-0xfc65ffff] [ 0.363538] pci 0000:01:00.0: reg 0x14: [mem 0xfc660000-0xfc67ffff] [ 0.365004] pci 0000:01:00.0: reg 0x18: [io 0xc000-0xc01f] [ 0.366736] pci 0000:01:00.0: reg 0x1c: [mem 0xfc680000-0xfc683fff] [ 0.370004] pci 0000:01:00.0: reg 0x30: [mem 0xfc600000-0xfc63ffff pref] [ 0.371487] pci 0000:00:02.0: PCI bridge to [bus 01] [ 0.372017] pci 0000:00:02.0: bridge window [io 0xc000-0xcfff] [ 0.372904] pci 0000:00:02.0: bridge window [mem 0xfc600000-0xfc7fffff] [ 0.373036] pci 0000:00:02.0: bridge window [mem 0xfea00000-0xfebfffff 64bit pref] [ 0.374597] pci 0000:02:00.0: [1af4:1043] type 00 class 0x078000 [ 0.376288] pci 0000:02:00.0: reg 0x14: [mem 0xfc400000-0xfc400fff] [ 0.378532] pci 0000:02:00.0: reg 0x20: [mem 0xfe800000-0xfe803fff 64bit pref] [ 0.380141] pci 0000:00:02.1: PCI bridge to [bus 02] [ 0.380882] pci 0000:00:02.1: bridge window [mem 0xfc400000-0xfc5fffff] [ 0.381032] pci 0000:00:02.1: bridge window [mem 0xfe800000-0xfe9fffff 64bit pref] [ 0.383208] pci 0000:03:00.0: [1af4:1045] type 00 class 0x00ff00 [ 0.385604] pci 0000:03:00.0: reg 0x20: [mem 0xfe600000-0xfe603fff 64bit pref] [ 0.386815] pci 0000:00:02.2: PCI bridge to [bus 03] [ 0.387031] pci 0000:00:02.2: bridge window [mem 0xfc200000-0xfc3fffff] [ 0.388023] pci 0000:00:02.2: bridge window [mem 0xfe600000-0xfe7fffff 64bit pref] [ 0.389481] pci 0000:00:02.3: PCI bridge to [bus 04] [ 0.390031] pci 0000:00:02.3: bridge window [mem 0xfc000000-0xfc1fffff] [ 0.391032] pci 0000:00:02.3: bridge window [mem 0xfe400000-0xfe5fffff 64bit pref] [ 0.393286] pci_bus 0000:00: on NUMA node 0 [ 0.394119] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 0.395026] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 0.395919] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 0.396243] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 0.397107] ACPI: PCI Interrupt Link [LNKE] (IRQs 5 *10 11) [ 0.397994] ACPI: PCI Interrupt Link [LNKF] (IRQs 5 *10 11) [ 0.398254] ACPI: PCI Interrupt Link [LNKG] (IRQs 5 10 *11) [ 0.399114] ACPI: PCI Interrupt Link [LNKH] (IRQs 5 10 *11) [ 0.399979] ACPI: PCI Interrupt Link [GSIA] (IRQs *16) [ 0.400117] ACPI: PCI Interrupt Link [GSIB] (IRQs *17) [ 0.400887] ACPI: PCI Interrupt Link [GSIC] (IRQs *18) [ 0.401114] ACPI: PCI Interrupt Link [GSID] (IRQs *19) [ 0.401867] ACPI: PCI Interrupt Link [GSIE] (IRQs *20) [ 0.402114] ACPI: PCI Interrupt Link [GSIF] (IRQs *21) [ 0.402898] ACPI: PCI Interrupt Link [GSIG] (IRQs *22) [ 0.403117] ACPI: PCI Interrupt Link [GSIH] (IRQs *23) [ 0.404098] ACPI: Enabled 1 GPEs in block 00 to 3F [ 0.405075] vgaarb: setting as boot device: PCI:0000:00:01.0 [ 0.405844] vgaarb: device added: PCI:0000:00:01.0,decodes=io+mem,owns=io+mem,locks=none [ 0.406010] vgaarb: loaded [ 0.406398] vgaarb: bridge control possible 0000:00:01.0 [ 0.407124] SCSI subsystem initialized [ 0.407718] libata version 3.00 loaded. [ 0.408054] pps_core: LinuxPPS API ver. 1 registered [ 0.408799] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.409028] PTP clock support registered [ 0.409685] PCI: Using ACPI for IRQ routing [ 0.464507] PCI: pci_cache_line_size set to 64 bytes [ 0.465191] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff] [ 0.466009] e820: reserve RAM buffer [mem 0x7ffde000-0x7fffffff] [ 0.467187] clocksource: Switched to clocksource refined-jiffies [ 0.476361] AppArmor: AppArmor Filesystem Enabled [ 0.477026] pnp: PnP ACPI init [ 0.477529] pnp 00:00: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.478022] pnp 00:01: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.478985] pnp 00:02: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.479027] pnp 00:03: Plug and Play ACPI device, IDs PNP0f13 (active) [ 0.479978] pnp 00:04: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.480157] pnp: PnP ACPI: found 5 devices [ 0.488524] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.489060] clocksource: Switched to clocksource acpi_pm [ 0.490619] pci 0000:00:02.1: bridge window [io 0x1000-0x0fff] to [bus 02] add_size 1000 [ 0.492263] pci 0000:00:02.2: bridge window [io 0x1000-0x0fff] to [bus 03] add_size 1000 [ 0.493837] pci 0000:00:02.3: bridge window [io 0x1000-0x0fff] to [bus 04] add_size 1000 [ 0.495075] pci 0000:00:02.1: res[13]=[io 0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.496458] pci 0000:00:02.1: res[13]=[io 0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.497828] pci 0000:00:02.2: res[13]=[io 0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.499224] pci 0000:00:02.2: res[13]=[io 0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.500631] pci 0000:00:02.3: res[13]=[io 0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.501990] pci 0000:00:02.3: res[13]=[io 0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.503392] pci 0000:00:02.1: BAR 13: assigned [io 0x1000-0x1fff] [ 0.504357] pci 0000:00:02.2: BAR 13: assigned [io 0x2000-0x2fff] [ 0.505291] pci 0000:00:02.3: BAR 13: assigned [io 0x3000-0x3fff] [ 0.506220] pci 0000:00:02.0: PCI bridge to [bus 01] [ 0.506922] pci 0000:00:02.0: bridge window [io 0xc000-0xcfff] [ 0.508351] pci 0000:00:02.0: bridge window [mem 0xfc600000-0xfc7fffff] [ 0.509679] pci 0000:00:02.0: bridge window [mem 0xfea00000-0xfebfffff 64bit pref] [ 0.511969] pci 0000:00:02.1: PCI bridge to [bus 02] [ 0.512757] pci 0000:00:02.1: bridge window [io 0x1000-0x1fff] [ 0.514146] pci 0000:00:02.1: bridge window [mem 0xfc400000-0xfc5fffff] [ 0.515486] pci 0000:00:02.1: bridge window [mem 0xfe800000-0xfe9fffff 64bit pref] [ 0.517259] pci 0000:00:02.2: PCI bridge to [bus 03] [ 0.518055] pci 0000:00:02.2: bridge window [io 0x2000-0x2fff] [ 0.519489] pci 0000:00:02.2: bridge window [mem 0xfc200000-0xfc3fffff] [ 0.520871] pci 0000:00:02.2: bridge window [mem 0xfe600000-0xfe7fffff 64bit pref] [ 0.523356] pci 0000:00:02.3: PCI bridge to [bus 04] [ 0.524158] pci 0000:00:02.3: bridge window [io 0x3000-0x3fff] [ 0.525494] pci 0000:00:02.3: bridge window [mem 0xfc000000-0xfc1fffff] [ 0.526820] pci 0000:00:02.3: bridge window [mem 0xfe400000-0xfe5fffff 64bit pref] [ 0.528591] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.529551] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.530541] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.532118] pci_bus 0000:00: resource 7 [mem 0x80000000-0xafffffff window] [ 0.533171] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window] [ 0.534205] pci_bus 0000:00: resource 9 [mem 0x280000000-0xa7fffffff window] [ 0.535299] pci_bus 0000:01: resource 0 [io 0xc000-0xcfff] [ 0.536145] pci_bus 0000:01: resource 1 [mem 0xfc600000-0xfc7fffff] [ 0.537080] pci_bus 0000:01: resource 2 [mem 0xfea00000-0xfebfffff 64bit pref] [ 0.538174] pci_bus 0000:02: resource 0 [io 0x1000-0x1fff] [ 0.538969] pci_bus 0000:02: resource 1 [mem 0xfc400000-0xfc5fffff] [ 0.539927] pci_bus 0000:02: resource 2 [mem 0xfe800000-0xfe9fffff 64bit pref] [ 0.541039] pci_bus 0000:03: resource 0 [io 0x2000-0x2fff] [ 0.541851] pci_bus 0000:03: resource 1 [mem 0xfc200000-0xfc3fffff] [ 0.542800] pci_bus 0000:03: resource 2 [mem 0xfe600000-0xfe7fffff 64bit pref] [ 0.543898] pci_bus 0000:04: resource 0 [io 0x3000-0x3fff] [ 0.544789] pci_bus 0000:04: resource 1 [mem 0xfc000000-0xfc1fffff] [ 0.545773] pci_bus 0000:04: resource 2 [mem 0xfe400000-0xfe5fffff 64bit pref] [ 0.546908] NET: Registered protocol family 2 [ 0.547771] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 0.549251] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.550890] TCP: Hash tables configured (established 65536 bind 65536) [ 0.551977] UDP hash table entries: 4096 (order: 5, 131072 bytes) [ 0.553040] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes) [ 0.554146] NET: Registered protocol family 1 [ 0.554825] pci 0000:00:01.0: Video device with shadowed ROM [ 0.555878] ACPI: PCI Interrupt Link [GSIH] enabled at IRQ 23 [ 0.557193] PCI: CLS 0 bytes, default 64 [ 0.840100] Trying to unpack rootfs image as initramfs... [ 0.895476] Freeing initrd memory: 19888K [ 0.896401] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 0.897462] software IO TLB: mapped [mem 0x7bfde000-0x7ffde000] (64MB) [ 0.898660] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5685db502, max_idle_ns: 881590404252 ns [ 0.901935] audit: initializing netlink subsys (disabled) [ 0.903081] audit: type=2000 audit(1628546252.902:1): initialized [ 0.904413] Initialise system trusted keyring [ 0.929399] VFS: Disk quotas dquot_6.6.0 [ 0.930387] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.050480] Key type asymmetric registered [ 1.051308] Asymmetric key parser 'x509' registered [ 1.052231] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 1.053559] io scheduler noop registered [ 1.054259] io scheduler deadline registered [ 1.054991] io scheduler cfq registered [ 1.055996] ACPI: PCI Interrupt Link [GSIG] enabled at IRQ 22 [ 1.063094] aer 0000:00:02.0:pcie02: service driver aer loaded [ 1.064330] aer 0000:00:02.1:pcie02: service driver aer loaded [ 1.065554] aer 0000:00:02.2:pcie02: service driver aer loaded [ 1.066775] aer 0000:00:02.3:pcie02: service driver aer loaded [ 1.068296] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt [ 1.069395] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt [ 1.070484] pcie_pme 0000:00:02.0:pcie01: service driver pcie_pme loaded [ 1.071527] pcieport 0000:00:02.1: Signaling PME through PCIe PME interrupt [ 1.072581] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt [ 1.073592] pcie_pme 0000:00:02.1:pcie01: service driver pcie_pme loaded [ 1.074650] pcieport 0000:00:02.2: Signaling PME through PCIe PME interrupt [ 1.075705] pci 0000:03:00.0: Signaling PME through PCIe PME interrupt [ 1.076732] pcie_pme 0000:00:02.2:pcie01: service driver pcie_pme loaded [ 1.077794] pcieport 0000:00:02.3: Signaling PME through PCIe PME interrupt [ 1.078850] pcie_pme 0000:00:02.3:pcie01: service driver pcie_pme loaded [ 1.112952] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.139659] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 1.141274] console [ttyS2] enabled [ 1.142369] bootconsole [uart0] disabled Yes. Lagacy bios is requird. It has been discussed before. And your log is irrelevant, which the issue happens after uart0 disabled. Your case is same as mine i guess, missing /dev/synoboot Link to comment Share on other sites More sharing options...
mcdull Posted August 10, 2021 Share #311 Posted August 10, 2021 28 minutes ago, thomas said: @gadreel Use virt-manager to connect to qemu over TCP; add 2 more serial ports to have 3 in total for the VM; start the VM, connect to the console on the 3rd serial port and magic will happen... In qemu need to add 3 serial interface Where serial2 tells the truth qm terminal 101 -iface serial2 Link to comment Share on other sites More sharing options...
ThorGroup Posted August 10, 2021 Author Share #312 Posted August 10, 2021 17 hours ago, mcdull said: Thanks for replying. It must be some stupid mistakes that I've made. Screenshot here:- That looks like the VM can load MBR (so BIOS did its thing) but the GRUB cannot access the disk. Try typing ls in this console and see what's there. Make sure you're booting in non-EFI mode. 17 hours ago, mcdull said: you modified it to support 3617? I read redpill-lkm only supports 3615 and 918. The LKM supports 3617 but there's a problem with USB devices there. Is there anything in 3617 which 3615 doesn't have? 14 hours ago, rlatn0123 said: redpill 7.0 works on my baremetal QNAP TS-251+ You are a true madlad, we love it 13 hours ago, mcdull said: Finally got DSM to boot with haydibe's v0.4 script. under proxmox v7 and AMD Ryzen 3900X, I have to use qemu64 as cpu type or it will not boot. Update: [ 141.005313] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 141.008687] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 141.032935] Failed to set alarm data. [ 141.037685] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 141.041520] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 141.056471] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 141.059888] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Failed with installation. dunno if it is cpu incompatibility. (AMD Ryzen 3900x) Update2 : Seems the above error is not fatal, I stopped at 55%. And in the next trial, DSM7 detected my hdd has old configuration, which was a brand new one created under pve 7.0 Update3 : Added 2 SATA hdd, stopped at 55% with error 21 Aug 9 14:12:53 updater: updater.c:7029 ==== Start flash update ==== Aug 9 14:12:53 updater: updater.c:7033 This is X86 platform Aug 9 14:12:53 updater: boot/boot_lock.c(228): failed to mount boot device /dev/synoboot2 /tmp/bootmnt (errno:2) Aug 9 14:12:53 updater: updater.c:6494 Failed to mount boot partition Aug 9 14:12:53 updater: updater.c:3118 No need to reset reason for v.41890 Aug 9 14:12:53 updater: updater.c:7636 Failed to accomplish the update! (errno = 21) Aug 9 14:12:53 install.cgi: ninstaller.c:1546 Executing [/tmpData/upd@te/updater -v /tmpData > /dev/null 2>&1] error[21] Aug 9 14:13:07 install.cgi: ninstaller.c:123 Mount partion /dev/md0 /tmpRoot Aug 9 14:13:07 install.cgi: ninstaller.c:1515 Moving updater for configuration upgrade...cmd=[/bin/mv -f /tmpData/upd@te/updater /tmpRoot/.updater > /dev/null 2>&1] Aug 9 14:13:07 install.cgi: ninstaller.c:152 umount partition /tmpRoot Aug 9 14:13:07 install.cgi: ErrFHOSTCleanPatchDirFile: After updating /tmpData/upd@te...cmd=[/bin/rm -rf /tmpData/upd@te > /dev/null 2>&1] Aug 9 14:13:07 install.cgi: ErrFHOSTCleanPatchDirFile: Remove /tmpData/upd@te.pat... Aug 9 14:13:07 install.cgi: ErrFHOSTDoUpgrade(1794): child process failed, retv=-21 Aug 9 14:13:07 install.cgi: ninstaller.c:1811(ErrFHOSTDoUpgrade) err=[-1] Aug 9 14:13:07 install.cgi: ninstaller.c:1815(ErrFHOSTDoUpgrade) retv=[-21] Aug 9 14:13:07 install.cgi: install.c:409 Upgrade by the manual patch fail. Aug 9 14:13:07 install.cgi: install.c:678 Upgrade by the uploaded patch /tmpData/@autoupdate/upload.pat fail. Jan 1 00:00:00 install.cgi: ninstaller.c:152 umount partition /tmpData This error seems familiar: failed to mount boot device /dev/synoboot2 /tmp/bootmnt (errno:2) Running on AMD may be very tricky. The kernel officially does NOT support AMD. We're thinking about adding v1000 later on due to this as, let's face it, Intel is not so hot nowadays. As for your problem you cannot "mount" synoboot - they need to be attached. There are mknod tricks but they break other things if used. Check dmesg for messages containing "vid" in them and it will tell you if it did see your flash drive or not, or maybe it sees it with a different vid/pid. 13 hours ago, ilovepancakes said: This is awesome, although I am wondering, does it block all synology domains? For example, I created a patch that allows push notifications to work, so does RedPill-LKM block anything going out to *.synology.com, etc. or just the domains known to do telemetry, like Active Insight? (https://kb.synology.com/en-my/DSM/tutorial/What_websites_does_Synology_NAS_connect_to_when_running_services_or_updating_software). Also, how is this blocking done? Host file or something? Really basic block really - we disabled them through synoinfo so that it doesn't ping home for updates etc. There's probably more but this should be sufficient for the stuff we are mostly worried about (i.e. people randomly clicking update without realizing it for sure 100% of the time will brick their installation). 12 hours ago, pro_info said: Will it still be possible to easily activate Synology active backup for business, as it was possible with older versions of DSM? Thx Nothing should really change here. 10 hours ago, amikot said: I have just suggestion - if someone want's to report successful installation of DSM 6.24 or 7.0 with redpill - could you use template as in normal reports? After all it is interesting what hardware, what mode baremetal or virtual, what exactly version of installation file and what version of loader. And than maybe some details. The loader is NOT released. What is here is an early preview for developers to collect the feedback. You need to compile it yourself and it has bunch of debug things enabled screaming to DSM "I'm not running on a real thing". 9 hours ago, mcdull said: failed to mount boot device /dev/synoboot2 /tmp/bootmnt (errno:2) Jan 1 00:00:43 updater: updater.c:7033 This is X86 platform Jan 1 00:00:43 updater: boot/boot_lock.c(228): failed to mount boot device /dev/synoboot2 /tmp/bootmnt (errno:2) Jan 1 00:00:43 updater: updater.c:6494 Failed to mount boot partition Jan 1 00:00:43 updater: updater.c:3118 No need to reset reason for v.41890 Jan 1 00:00:43 updater: updater.c:7636 Failed to accomplish the update! (errno = 21) Jan 1 00:00:43 install.cgi: ninstaller.c:1546 Executing [/tmpData/upd@te/updater -v /tmpData > /dev/null 2>&1] error[21] I think this loader do not have /dev/synoboot* right? In that case how can I mount boto device? You cannot mount them, they need to be assigned by the kernel. Check dmesg and grep for vid - the usb submodule in RedPill LKM will report any devices it sees. 8 hours ago, Aigor said: No config for DS3615xs with 7.0 [#] Checking runtime for required tools... [OK] [!] There doesn't seem to be a config for DS3615xs platform running 7.0-41890 (checked /opt/redpill-load/config/DS3615xs/7.0-41890/config.json) *** Process will exit *** As someone posted there's a fork which will be marked to the upstream. Before we pull the trigger we want to make sure that checks in the new kernel aren't changed. 8 hours ago, pocopico said: @ThorGroup for VMWare, it would be better to use IDE instead of SATA as we did with the JUNs boot loader. We were able to use the VID:PID of the IDE controller for the boot device. If we use the SATA we need to mask a specific SATA port instead of the controller. SATA and IDE really share the same properties in terms of the kernel. SCSI is slightly different (but not much, yet it requires some more fiddling). So as soon as we do SATA DOM the IDE should work as well. However, it will always be an iffy configuration as syno kernel never expected IDE boot drive to exist. Regarding hiding of the boot drive we may be able to make it as such that it self-hides. Regardless it's recommended to set the drives masks properly to avoid accidentally pulling a wrong drive if the RAID crashes. Ask us how we know that can happen 4 hours ago, gadreel said: @kelvin701 I managed to boot it from Unraid using haydibe v4. The previous bootloader from Jun was booting using OVMF Bios but the new bootloader I had to use SeaBios to make it work. OVMF just takes me back to bios...no idea why is that. Attached a screen of what I selected... Unfortunately though when I try to install it will stuck at 55% with the message "Failed to install the file. The file is corrupted." I am not an expert but when I use virsh console VM_NAME I have the following output... I do not know if that will help ThorGroup in any way... I do not know if somebody else knows a better command to connect to the Virtual Serial port from Qemu to get more output during installation... [ 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 mac1=XXXXXXXXX netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=XXXXXXXXX root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] CPU: vendor_id 'AuthenticAMD' unknown, using generic init. [ 0.000000] CPU: Your system may be unstable. [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 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-0x000000007ffddfff] usable [ 0.000000] BIOS-e820: [mem 0x000000007ffde000-0x000000007fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000027fffffff] usable [ 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 (Q35 + ICH9, 2009), BIOS rel-1.13.0-48-gd9c812dda519-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 = 0x280000 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 00C0000000 mask FFC0000000 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] e820: last_pfn = 0x7ffde max_arch_pfn = 0x400000000 [ 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] RAMDISK: [mem 0x35917000-0x36c82fff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F58B0 000014 (v00 BOCHS ) [ 0.000000] ACPI: RSDT 0x000000007FFE2148 000034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACP 0x000000007FFE1F60 0000F4 (v03 BOCHS BXPCFACP 00000001 BXPC 00000001) [ 0.000000] ACPI: DSDT 0x000000007FFE0040 001F20 (v01 BOCHS BXPCDSDT 00000001 BXPC 00000001) [ 0.000000] ACPI: FACS 0x000000007FFE0000 000040 [ 0.000000] ACPI: APIC 0x000000007FFE2054 000090 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001) [ 0.000000] ACPI: MCFG 0x000000007FFE20E4 00003C (v01 BOCHS BXPCMCFG 00000001 BXPC 00000001) [ 0.000000] ACPI: WAET 0x000000007FFE2120 000028 (v01 BOCHS BXPCWAET 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-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000027fffffff] [ 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-0x000000007ffddfff] [ 0.000000] node 0: [mem 0x0000000100000000-0x000000027fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000027fffffff] [ 0.000000] On node 0 totalpages: 2097020 [ 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: 520158 pages, LIFO batch:31 [ 0.000000] Normal zone: 24576 pages used for memmap [ 0.000000] Normal zone: 1572864 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] smpboot: Allowing 4 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x7ffde000-0x7fffffff] [ 0.000000] PM: Registered nosave memory: [mem 0x80000000-0xafffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xb0000000-0xbfffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xc0000000-0xfed1bfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfeffbfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfeffc000-0xfeffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xff000000-0xfffbffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfffc0000-0xffffffff] [ 0.000000] e820: [mem 0xc0000000-0xfed1bfff] 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:4 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88027fc00000 s95128 r8192 d31848 u524288 [ 0.000000] pcpu-alloc: s95128 r8192 d31848 u524288 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 2 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 2064230 [ 0.000000] Kernel command line: BOOT_IMAGE=/zImage mac1=XXXXXXXXX netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=XXXXXXXXX root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 0.000000] Mac1: 00505623F398 [ 0.000000] Internal netif num: 1 [ 0.000000] Power on seq num: 1 [ 0.000000] SYNO GPIO hdd detect pin: 0 [ 0.000000] Serial Number: 1780PDN123456 [ 0.000000] Synology Hardware Version: DS918+ [ 0.000000] Vender format version: 2 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Memory: 8147308K/8388080K available (5623K kernel code, 863K rwdata, 1748K rodata, 916K init, 664K bss, 240772K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 [ 0.000000] NR_IRQS:4352 nr_irqs:456 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 3792.661 MHz processor [ 0.000000] tsc: Marking TSC unstable due to TSCs unsynchronized [ 0.004865] Calibrating delay loop (skipped), value calculated using timer frequency.. 7585.32 BogoMIPS (lpj=3792661) [ 0.005415] pid_max: default: 32768 minimum: 301 [ 0.006005] ACPI: Core revision 20150930 [ 0.007336] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 0.008058] Security Framework initialized [ 0.009008] AppArmor: AppArmor initialized [ 0.009601] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.010002] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.012200] Initializing cgroup subsys io [ 0.012789] Initializing cgroup subsys memory [ 0.013006] Initializing cgroup subsys devices [ 0.014006] Initializing cgroup subsys freezer [ 0.022302] mce: CPU supports 10 MCE banks [ 0.022900] mce: unknown CPU type - not enabling MCE support [ 0.023002] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.024002] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.025005] Speculative Store Bypass: Vulnerable [ 0.027552] Freeing SMP alternatives memory: 24K [ 0.029167] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.039095] TSC deadline timer enabled [ 0.039639] smpboot: CPU0: AuthenticAMD AMD Ryzen 9 3900X 12-Core Processor (family: 0x17, model: 0x71, stepping: 0x0) [ 0.040263] Performance Events: no PMU driver, software events only. [ 0.041371] NMI watchdog: disabled (cpu0): hardware events not enabled [ 0.042002] NMI watchdog: Shutting down hard lockup detector on all cpus [ 0.043112] x86: Booting SMP configuration: [ 0.043718] .... node #0, CPUs: #1 #2 #3 [ 0.280021] x86: Booted up 1 node, 4 CPUs [ 0.280655] smpboot: Total of 4 processors activated (30430.50 BogoMIPS) [ 0.281331] devtmpfs: initialized [ 0.282155] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.283006] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.284042] pinctrl core: initialized pinctrl subsystem [ 0.285223] NET: Registered protocol family 16 [ 0.289006] cpuidle: using governor ladder [ 0.293011] cpuidle: using governor menu [ 0.294098] ACPI: bus type PCI registered [ 0.295105] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xb0000000-0xbfffffff] (base 0xb0000000) [ 0.296004] PCI: MMCONFIG at [mem 0xb0000000-0xbfffffff] reserved in E820 [ 0.297006] PCI: Using configuration type 1 for base access [ 0.303077] ACPI: Added _OSI(Module Device) [ 0.304029] ACPI: Added _OSI(Processor Device) [ 0.305025] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.305909] ACPI: Added _OSI(Processor Aggregator Device) [ 0.307063] ACPI: Interpreter enabled [ 0.307610] ACPI: (supports S0 S4 S5) [ 0.308003] ACPI: Using IOAPIC for interrupt routing [ 0.308735] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.310308] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.311006] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] [ 0.312053] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability] [ 0.313040] PCI host bridge to bus 0000:00 [ 0.313631] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.314004] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.314977] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.315003] pci_bus 0000:00: root bus resource [mem 0x80000000-0xafffffff window] [ 0.316002] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 0.317003] pci_bus 0000:00: root bus resource [mem 0x280000000-0xa7fffffff window] [ 0.318004] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.318841] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 [ 0.319370] pci 0000:00:01.0: [1b36:0100] type 00 class 0x030000 [ 0.321772] pci 0000:00:01.0: reg 0x10: [mem 0xf4000000-0xf7ffffff] [ 0.323039] pci 0000:00:01.0: reg 0x14: [mem 0xf8000000-0xfbffffff] [ 0.324889] pci 0000:00:01.0: reg 0x18: [mem 0xfc814000-0xfc815fff] [ 0.327690] pci 0000:00:01.0: reg 0x1c: [io 0xd040-0xd05f] [ 0.331110] pci 0000:00:01.0: reg 0x30: [mem 0xfc800000-0xfc80ffff pref] [ 0.332365] pci 0000:00:02.0: [1b36:000c] type 01 class 0x060400 [ 0.333960] pci 0000:00:02.0: reg 0x10: [mem 0xfc816000-0xfc816fff] [ 0.335400] pci 0000:00:02.1: [1b36:000c] type 01 class 0x060400 [ 0.336693] pci 0000:00:02.1: reg 0x10: [mem 0xfc817000-0xfc817fff] [ 0.338401] pci 0000:00:02.2: [1b36:000c] type 01 class 0x060400 [ 0.339714] pci 0000:00:02.2: reg 0x10: [mem 0xfc818000-0xfc818fff] [ 0.342257] pci 0000:00:02.3: [1b36:000c] type 01 class 0x060400 [ 0.343737] pci 0000:00:02.3: reg 0x10: [mem 0xfc819000-0xfc819fff] [ 0.345458] pci 0000:00:07.0: [1b36:000d] type 00 class 0x0c0330 [ 0.346406] pci 0000:00:07.0: reg 0x10: [mem 0xfc810000-0xfc813fff 64bit] [ 0.348850] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 [ 0.349422] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO [ 0.350168] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 [ 0.353533] pci 0000:00:1f.2: reg 0x20: [io 0xd060-0xd07f] [ 0.354550] pci 0000:00:1f.2: reg 0x24: [mem 0xfc81a000-0xfc81afff] [ 0.355817] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 [ 0.358305] pci 0000:00:1f.3: reg 0x20: [io 0x0700-0x073f] [ 0.360163] pci 0000:01:00.0: [8086:10d3] type 00 class 0x020000 [ 0.362007] pci 0000:01:00.0: reg 0x10: [mem 0xfc640000-0xfc65ffff] [ 0.363538] pci 0000:01:00.0: reg 0x14: [mem 0xfc660000-0xfc67ffff] [ 0.365004] pci 0000:01:00.0: reg 0x18: [io 0xc000-0xc01f] [ 0.366736] pci 0000:01:00.0: reg 0x1c: [mem 0xfc680000-0xfc683fff] [ 0.370004] pci 0000:01:00.0: reg 0x30: [mem 0xfc600000-0xfc63ffff pref] [ 0.371487] pci 0000:00:02.0: PCI bridge to [bus 01] [ 0.372017] pci 0000:00:02.0: bridge window [io 0xc000-0xcfff] [ 0.372904] pci 0000:00:02.0: bridge window [mem 0xfc600000-0xfc7fffff] [ 0.373036] pci 0000:00:02.0: bridge window [mem 0xfea00000-0xfebfffff 64bit pref] [ 0.374597] pci 0000:02:00.0: [1af4:1043] type 00 class 0x078000 [ 0.376288] pci 0000:02:00.0: reg 0x14: [mem 0xfc400000-0xfc400fff] [ 0.378532] pci 0000:02:00.0: reg 0x20: [mem 0xfe800000-0xfe803fff 64bit pref] [ 0.380141] pci 0000:00:02.1: PCI bridge to [bus 02] [ 0.380882] pci 0000:00:02.1: bridge window [mem 0xfc400000-0xfc5fffff] [ 0.381032] pci 0000:00:02.1: bridge window [mem 0xfe800000-0xfe9fffff 64bit pref] [ 0.383208] pci 0000:03:00.0: [1af4:1045] type 00 class 0x00ff00 [ 0.385604] pci 0000:03:00.0: reg 0x20: [mem 0xfe600000-0xfe603fff 64bit pref] [ 0.386815] pci 0000:00:02.2: PCI bridge to [bus 03] [ 0.387031] pci 0000:00:02.2: bridge window [mem 0xfc200000-0xfc3fffff] [ 0.388023] pci 0000:00:02.2: bridge window [mem 0xfe600000-0xfe7fffff 64bit pref] [ 0.389481] pci 0000:00:02.3: PCI bridge to [bus 04] [ 0.390031] pci 0000:00:02.3: bridge window [mem 0xfc000000-0xfc1fffff] [ 0.391032] pci 0000:00:02.3: bridge window [mem 0xfe400000-0xfe5fffff 64bit pref] [ 0.393286] pci_bus 0000:00: on NUMA node 0 [ 0.394119] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 0.395026] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 0.395919] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 0.396243] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 0.397107] ACPI: PCI Interrupt Link [LNKE] (IRQs 5 *10 11) [ 0.397994] ACPI: PCI Interrupt Link [LNKF] (IRQs 5 *10 11) [ 0.398254] ACPI: PCI Interrupt Link [LNKG] (IRQs 5 10 *11) [ 0.399114] ACPI: PCI Interrupt Link [LNKH] (IRQs 5 10 *11) [ 0.399979] ACPI: PCI Interrupt Link [GSIA] (IRQs *16) [ 0.400117] ACPI: PCI Interrupt Link [GSIB] (IRQs *17) [ 0.400887] ACPI: PCI Interrupt Link [GSIC] (IRQs *18) [ 0.401114] ACPI: PCI Interrupt Link [GSID] (IRQs *19) [ 0.401867] ACPI: PCI Interrupt Link [GSIE] (IRQs *20) [ 0.402114] ACPI: PCI Interrupt Link [GSIF] (IRQs *21) [ 0.402898] ACPI: PCI Interrupt Link [GSIG] (IRQs *22) [ 0.403117] ACPI: PCI Interrupt Link [GSIH] (IRQs *23) [ 0.404098] ACPI: Enabled 1 GPEs in block 00 to 3F [ 0.405075] vgaarb: setting as boot device: PCI:0000:00:01.0 [ 0.405844] vgaarb: device added: PCI:0000:00:01.0,decodes=io+mem,owns=io+mem,locks=none [ 0.406010] vgaarb: loaded [ 0.406398] vgaarb: bridge control possible 0000:00:01.0 [ 0.407124] SCSI subsystem initialized [ 0.407718] libata version 3.00 loaded. [ 0.408054] pps_core: LinuxPPS API ver. 1 registered [ 0.408799] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.409028] PTP clock support registered [ 0.409685] PCI: Using ACPI for IRQ routing [ 0.464507] PCI: pci_cache_line_size set to 64 bytes [ 0.465191] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff] [ 0.466009] e820: reserve RAM buffer [mem 0x7ffde000-0x7fffffff] [ 0.467187] clocksource: Switched to clocksource refined-jiffies [ 0.476361] AppArmor: AppArmor Filesystem Enabled [ 0.477026] pnp: PnP ACPI init [ 0.477529] pnp 00:00: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.478022] pnp 00:01: Plug and Play ACPI device, IDs PNP0501 (active) [ 0.478985] pnp 00:02: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.479027] pnp 00:03: Plug and Play ACPI device, IDs PNP0f13 (active) [ 0.479978] pnp 00:04: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.480157] pnp: PnP ACPI: found 5 devices [ 0.488524] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.489060] clocksource: Switched to clocksource acpi_pm [ 0.490619] pci 0000:00:02.1: bridge window [io 0x1000-0x0fff] to [bus 02] add_size 1000 [ 0.492263] pci 0000:00:02.2: bridge window [io 0x1000-0x0fff] to [bus 03] add_size 1000 [ 0.493837] pci 0000:00:02.3: bridge window [io 0x1000-0x0fff] to [bus 04] add_size 1000 [ 0.495075] pci 0000:00:02.1: res[13]=[io 0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.496458] pci 0000:00:02.1: res[13]=[io 0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.497828] pci 0000:00:02.2: res[13]=[io 0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.499224] pci 0000:00:02.2: res[13]=[io 0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.500631] pci 0000:00:02.3: res[13]=[io 0x1000-0x0fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.501990] pci 0000:00:02.3: res[13]=[io 0x1000-0x1fff] res_to_dev_res add_size 1000 min_align 1000 [ 0.503392] pci 0000:00:02.1: BAR 13: assigned [io 0x1000-0x1fff] [ 0.504357] pci 0000:00:02.2: BAR 13: assigned [io 0x2000-0x2fff] [ 0.505291] pci 0000:00:02.3: BAR 13: assigned [io 0x3000-0x3fff] [ 0.506220] pci 0000:00:02.0: PCI bridge to [bus 01] [ 0.506922] pci 0000:00:02.0: bridge window [io 0xc000-0xcfff] [ 0.508351] pci 0000:00:02.0: bridge window [mem 0xfc600000-0xfc7fffff] [ 0.509679] pci 0000:00:02.0: bridge window [mem 0xfea00000-0xfebfffff 64bit pref] [ 0.511969] pci 0000:00:02.1: PCI bridge to [bus 02] [ 0.512757] pci 0000:00:02.1: bridge window [io 0x1000-0x1fff] [ 0.514146] pci 0000:00:02.1: bridge window [mem 0xfc400000-0xfc5fffff] [ 0.515486] pci 0000:00:02.1: bridge window [mem 0xfe800000-0xfe9fffff 64bit pref] [ 0.517259] pci 0000:00:02.2: PCI bridge to [bus 03] [ 0.518055] pci 0000:00:02.2: bridge window [io 0x2000-0x2fff] [ 0.519489] pci 0000:00:02.2: bridge window [mem 0xfc200000-0xfc3fffff] [ 0.520871] pci 0000:00:02.2: bridge window [mem 0xfe600000-0xfe7fffff 64bit pref] [ 0.523356] pci 0000:00:02.3: PCI bridge to [bus 04] [ 0.524158] pci 0000:00:02.3: bridge window [io 0x3000-0x3fff] [ 0.525494] pci 0000:00:02.3: bridge window [mem 0xfc000000-0xfc1fffff] [ 0.526820] pci 0000:00:02.3: bridge window [mem 0xfe400000-0xfe5fffff 64bit pref] [ 0.528591] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.529551] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.530541] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.532118] pci_bus 0000:00: resource 7 [mem 0x80000000-0xafffffff window] [ 0.533171] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window] [ 0.534205] pci_bus 0000:00: resource 9 [mem 0x280000000-0xa7fffffff window] [ 0.535299] pci_bus 0000:01: resource 0 [io 0xc000-0xcfff] [ 0.536145] pci_bus 0000:01: resource 1 [mem 0xfc600000-0xfc7fffff] [ 0.537080] pci_bus 0000:01: resource 2 [mem 0xfea00000-0xfebfffff 64bit pref] [ 0.538174] pci_bus 0000:02: resource 0 [io 0x1000-0x1fff] [ 0.538969] pci_bus 0000:02: resource 1 [mem 0xfc400000-0xfc5fffff] [ 0.539927] pci_bus 0000:02: resource 2 [mem 0xfe800000-0xfe9fffff 64bit pref] [ 0.541039] pci_bus 0000:03: resource 0 [io 0x2000-0x2fff] [ 0.541851] pci_bus 0000:03: resource 1 [mem 0xfc200000-0xfc3fffff] [ 0.542800] pci_bus 0000:03: resource 2 [mem 0xfe600000-0xfe7fffff 64bit pref] [ 0.543898] pci_bus 0000:04: resource 0 [io 0x3000-0x3fff] [ 0.544789] pci_bus 0000:04: resource 1 [mem 0xfc000000-0xfc1fffff] [ 0.545773] pci_bus 0000:04: resource 2 [mem 0xfe400000-0xfe5fffff 64bit pref] [ 0.546908] NET: Registered protocol family 2 [ 0.547771] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 0.549251] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.550890] TCP: Hash tables configured (established 65536 bind 65536) [ 0.551977] UDP hash table entries: 4096 (order: 5, 131072 bytes) [ 0.553040] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes) [ 0.554146] NET: Registered protocol family 1 [ 0.554825] pci 0000:00:01.0: Video device with shadowed ROM [ 0.555878] ACPI: PCI Interrupt Link [GSIH] enabled at IRQ 23 [ 0.557193] PCI: CLS 0 bytes, default 64 [ 0.840100] Trying to unpack rootfs image as initramfs... [ 0.895476] Freeing initrd memory: 19888K [ 0.896401] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 0.897462] software IO TLB: mapped [mem 0x7bfde000-0x7ffde000] (64MB) [ 0.898660] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5685db502, max_idle_ns: 881590404252 ns [ 0.901935] audit: initializing netlink subsys (disabled) [ 0.903081] audit: type=2000 audit(1628546252.902:1): initialized [ 0.904413] Initialise system trusted keyring [ 0.929399] VFS: Disk quotas dquot_6.6.0 [ 0.930387] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.050480] Key type asymmetric registered [ 1.051308] Asymmetric key parser 'x509' registered [ 1.052231] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 1.053559] io scheduler noop registered [ 1.054259] io scheduler deadline registered [ 1.054991] io scheduler cfq registered [ 1.055996] ACPI: PCI Interrupt Link [GSIG] enabled at IRQ 22 [ 1.063094] aer 0000:00:02.0:pcie02: service driver aer loaded [ 1.064330] aer 0000:00:02.1:pcie02: service driver aer loaded [ 1.065554] aer 0000:00:02.2:pcie02: service driver aer loaded [ 1.066775] aer 0000:00:02.3:pcie02: service driver aer loaded [ 1.068296] pcieport 0000:00:02.0: Signaling PME through PCIe PME interrupt [ 1.069395] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt [ 1.070484] pcie_pme 0000:00:02.0:pcie01: service driver pcie_pme loaded [ 1.071527] pcieport 0000:00:02.1: Signaling PME through PCIe PME interrupt [ 1.072581] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt [ 1.073592] pcie_pme 0000:00:02.1:pcie01: service driver pcie_pme loaded [ 1.074650] pcieport 0000:00:02.2: Signaling PME through PCIe PME interrupt [ 1.075705] pci 0000:03:00.0: Signaling PME through PCIe PME interrupt [ 1.076732] pcie_pme 0000:00:02.2:pcie01: service driver pcie_pme loaded [ 1.077794] pcieport 0000:00:02.3: Signaling PME through PCIe PME interrupt [ 1.078850] pcie_pme 0000:00:02.3:pcie01: service driver pcie_pme loaded [ 1.112952] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.139659] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 1.141274] console [ttyS2] enabled [ 1.142369] bootconsole [uart0] disabled DO NOT use the syno kernel from Intel on AMD. Their kernels are specifically built with AMD support removed. Only the v1000 platform, which we didn't look into yet, supports AMD. Using Linux kernel in a generic mode is a recipe for a disaster, as this mode is intended more for implementing new CPUs and not running in a day-to-day operation. The kernel even warns you about it: [ 0.000000] CPU: vendor_id 'AuthenticAMD' unknown, using generic init. [ 0.000000] CPU: Your system may be unstable. As for the error you need full logs from /var/log to see why the install failed. 1 hour ago, tcs said: I've read most of the posts in this thread and didn't see it referenced so I apologize if I just missed it: Is this still bound by the stock synology kernels? Can we get GPU offload (/dev/dri) into the 3615/3617 images even though synology's official kernels leave that out? Any chance this can incorporate the changes I uncovered in the other thread here to support higher drive counts? Specifically: #change maxdisks="64" esataportcfg="0x0" usbportcfg="0x0" internalportcfg="0xffffffffffffffff" and possibly (not at home to validate right now): no_disk_swap="yes" support_sys_adjust="yes" RedPill Load supports that no problem. Simply add any options you want to user_config.json and rebuild the loader. It will take care of changing synoinfo everywhere (i.e. 4 different files). As for the kernel itself yes, the kernel is the original syno kernel with a small patch to disable checksums. The reasons being syno is not really sharing compilable code for the kernel. That means we are stuck with whatever kernel they provide (for good and for bad as their modifications to the stock kernel are actually really good and I wish they upstreamed them). 1 Link to comment Share on other sites More sharing options...
gadreel Posted August 10, 2021 Share #313 Posted August 10, 2021 (edited) @ThorGroup Thanks for clarifying. The Jun's loader had support for AMD? Ok, I managed to get the output and it fails at: :: Loading module syno_hddmon ... [FAILED] [ 1.017935] console [ttyS2] enabled [ 1.019129] bootconsole [uart0] disabled [ 1.255514] serial8250: ttyS2 at I/O 0x3e8 (irq = 4, base_baud = 115200) is a 16550A [ 1.257050] Linux agpgart interface v0.103 [ 1.263322] brd: module loaded [ 1.263982] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized [ 1.265249] Loading iSCSI transport class v2.0-870. [ 1.272651] ahci 0000:00:1f.2: version 3.0 [ 1.273585] ACPI: PCI Interrupt Link [GSIA] enabled at IRQ 16 [ 1.275276] ahci 0000:00:1f.2: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode [ 1.276760] ahci 0000:00:1f.2: flags: 64bit ncq only [ 1.290446] scsi host0: ahci [ 1.302461] scsi host1: ahci [ 1.313839] scsi host2: ahci [ 1.317903] scsi host3: ahci [ 1.319242] scsi host4: ahci [ 1.320234] scsi host5: ahci [ 1.320795] ata1: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a100 irq 28 [ 1.322134] ata2: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a180 irq 28 [ 1.323483] ata3: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a200 irq 28 [ 1.324674] ata4: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a280 irq 28 [ 1.325786] ata5: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a300 irq 28 [ 1.326956] ata6: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a380 irq 28 [ 1.633227] ata1: SATA link down (SStatus 0 SControl 300) [ 1.634898] ata1: Disk is present for SATA link down event [ 1.941312] ata2: SATA link down (SStatus 0 SControl 300) [ 1.943332] ata2: No present pin info for SATA link down event [ 2.249258] ata3: SATA link down (SStatus 0 SControl 300) [ 2.250877] ata3: No present pin info for SATA link down event [ 2.557239] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 2.559248] ata4.00: ATA-7: QEMU HARDDISK, 2.5+, max UDMA/100 [ 2.560943] ata4.00: 41943040 sectors, multi 16: LBA48 NCQ (depth 31/32) [ 2.562099] ata4.00: SN:QM00007 [ 2.562555] ata4.00: applying bridge limits [ 2.563310] ata4.00: configured for UDMA/100 [ 2.563997] ata4.00: Find SSD disks. [QEMU HARDDISK] [ 2.564843] I/O scheduler elevator not found [ 2.565697] scsi 3:0:0:0: Direct-Access QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 2.567201] sd 3:0:0:0: [sdd] 41943040 512-byte logical blocks: (21.5 GB/20.0 GiB) [ 2.568664] sd 3:0:0:0: [sdd] Write Protect is off [ 2.569555] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00 [ 2.570514] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.572490] sdd: sdd1 sdd2 [ 2.573272] sd 3:0:0:0: [sdd] Attached SCSI disk [ 2.872266] ata5: SATA link down (SStatus 0 SControl 300) [ 2.874765] ata5: No present pin info for SATA link down event [ 3.180240] ata6: SATA link down (SStatus 0 SControl 300) [ 3.181836] ata6: No present pin info for SATA link down event [ 3.183832] i2c /dev entries driver [ 3.185258] i801_smbus 0000:00:1f.3: SMBus using polling [ 3.186805] md: raid1 personality registered for level 1 [ 3.187856] NET: Registered protocol family 17 [ 3.188679] Key type dns_resolver registered [ 3.189478] mce: Unable to init device /dev/mcelog (rc: -5) [ 3.190802] registered taskstats version 1 [ 3.191584] Loading compiled-in untrusted X.509 certificates [ 3.192622] Loading compiled-in X.509 certificates [ 3.193530] Loaded X.509 cert 'Synology SDG kernel module signing key: 7bd0b0d6bcd31651c22ce3978bdc8c8bdc417329' [ 3.195837] Loaded X.509 cert 'Synology Root Certification Authority: f2c075361f168425f8b5ef31b796406c3aab2089' [ 3.197586] Loaded X.509 cert 'Synology Kernel Module Signing Certification Authority: 600839b5d127e0e11d817a31f0575d323a7c0e28' [ 3.199339] Loaded X.509 cert 'Synology kernel module signing key: 4646ce54489669338118a3b1286da156ac366fa5' [ 3.200784] page_owner is disabled [ 3.201368] AppArmor: AppArmor sha1 policy hashing enabled [ 3.202754] hctosys: unable to open rtc device (rtc0) [ 3.204931] Freeing unused kernel memory: 916K [ 3.205645] Write protecting the kernel read-only data: 8192k [ 3.206977] Freeing unused kernel memory: 508K [ 3.208267] Freeing unused kernel memory: 300K START /linuxrc.syno START /linuxrc.syno.impl [ 3.213752] redpill: loading out-of-tree module taints kernel. [ 3.214694] redpill: module verification failed: signature and/or required key missing - tainting kernel [ 3.216358] <redpill/redpill_main.c:24> ================================================================================================ [ 3.218496] <redpill/redpill_main.c:25> RedPill loading... [ 3.220185] <redpill/call_protected.c:65> Got addr ffffffff812041e0 for cmdline_proc_show [ 3.221409] <redpill/cmdline_delegate.c:266> Cmdline count: 329 [ 3.222321] <redpill/cmdline_delegate.c:310> Cmdline: BOOT_IMAGE=/zImage mac1=00505623F398 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=1780PDN123456 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 3.222321] [ 3.227503] <redpill/cmdline_delegate.c:321> Param #0: |BOOT_IMAGE=/zImage| [ 3.228562] <redpill/cmdline_delegate.c:248> Option "BOOT_IMAGE=/zImage" not recognized - ignoring [ 3.229901] <redpill/cmdline_delegate.c:321> Param #1: |mac1=00505623F398| [ 3.230948] <redpill/cmdline_delegate.c:236> Set MAC #1: 00505623F398 [ 3.231935] <redpill/cmdline_delegate.c:321> Param #2: |netif_num=1| [ 3.232995] <redpill/cmdline_delegate.c:191> Declared network ifaces # as 1 [ 3.234122] <redpill/cmdline_delegate.c:321> Param #3: |earlycon=uart8250,io,0x3f8,115200n8| [ 3.235385] <redpill/cmdline_delegate.c:248> Option "earlycon=uart8250,io,0x3f8,115200n8" not recognized - ignoring [ 3.236904] <redpill/cmdline_delegate.c:321> Param #4: |syno_hdd_powerup_seq=1| [ 3.238022] <redpill/cmdline_delegate.c:248> Option "syno_hdd_powerup_seq=1" not recognized - ignoring [ 3.239436] <redpill/cmdline_delegate.c:321> Param #5: |vid=0x46f4| [ 3.240414] <redpill/cmdline_delegate.c:75> VID override: 0x46f4 [ 3.241355] <redpill/cmdline_delegate.c:321> Param #6: |syno_hdd_detect=0| [ 3.242403] <redpill/cmdline_delegate.c:248> Option "syno_hdd_detect=0" not recognized - ignoring [ 3.243734] <redpill/cmdline_delegate.c:321> Param #7: |pid=0x0001| [ 3.244719] <redpill/cmdline_delegate.c:110> PID override: 0x0001 [ 3.245670] <redpill/cmdline_delegate.c:321> Param #8: |console=ttyS2,115200n8| [ 3.246780] <redpill/cmdline_delegate.c:248> Option "console=ttyS2,115200n8" not recognized - ignoring [ 3.248207] <redpill/cmdline_delegate.c:321> Param #9: |elevator=elevator| [ 3.249288] <redpill/cmdline_delegate.c:248> Option "elevator=elevator" not recognized - ignoring [ 3.250622] <redpill/cmdline_delegate.c:321> Param #10: |sn=1780PDN123456| [ 3.251659] <redpill/cmdline_delegate.c:40> S/N set to: 1780PDN123456 [ 3.252644] <redpill/cmdline_delegate.c:321> Param #11: |root=/dev/md0| [ 3.253656] <redpill/cmdline_delegate.c:248> Option "root=/dev/md0" not recognized - ignoring [ 3.254921] <redpill/cmdline_delegate.c:321> Param #12: |earlyprintk| [ 3.255901] <redpill/cmdline_delegate.c:248> Option "earlyprintk" not recognized - ignoring [ 3.257206] <redpill/cmdline_delegate.c:321> Param #13: |loglevel=15| [ 3.258187] <redpill/cmdline_delegate.c:248> Option "loglevel=15" not recognized - ignoring [ 3.259448] <redpill/cmdline_delegate.c:321> Param #14: |syno_port_thaw=1| [ 3.260493] <redpill/cmdline_delegate.c:162> Port thaw set to: 1 [ 3.261423] <redpill/cmdline_delegate.c:321> Param #15: |HddHotplug=0| [ 3.262489] <redpill/cmdline_delegate.c:248> Option "HddHotplug=0" not recognized - ignoring [ 3.263747] <redpill/cmdline_delegate.c:321> Param #16: |withefi| [ 3.264723] <redpill/cmdline_delegate.c:248> Option "withefi" not recognized - ignoring [ 3.265947] <redpill/cmdline_delegate.c:321> Param #17: |syno_hw_version=DS918+| [ 3.267099] <redpill/cmdline_delegate.c:20> HW version set to: DS918+ [ 3.268073] <redpill/cmdline_delegate.c:321> Param #18: |vender_format_version=2| [ 3.269217] <redpill/cmdline_delegate.c:248> Option "vender_format_version=2" not recognized - ignoring [ 3.270610] <redpill/cmdline_delegate.c:285> Add cmdline blacklist "vid=" @ 0 [ 3.271696] <redpill/cmdline_delegate.c:286> Add cmdline blacklist "pid=" @ 1 [ 3.272773] <redpill/cmdline_delegate.c:287> Add cmdline blacklist "mfg" @ 2 [ 3.273846] <redpill/cmdline_delegate.c:288> Add cmdline blacklist "loglevel=" @ 3 [ 3.274984] <redpill/cmdline_delegate.c:289> Add cmdline blacklist "elevator=" @ 4 [ 3.276182] <redpill/cmdline_delegate.c:290> Add cmdline blacklist "earlyprintk" @ 5 [ 3.277355] <redpill/cmdline_delegate.c:291> Add cmdline blacklist "syno_port_thaw=" @ 6 [ 3.278561] <redpill/cmdline_delegate.c:338> CmdLine processed successfully, tokens=19 [ 3.279737] <redpill/runtime_config.c:122> Found platform definition for "DS918+" [ 3.280914] <redpill/runtime_config.c:133> Validating runtime config... [ 3.281926] <redpill/runtime_config.c:142> Config validation resulted in OK [ 3.282992] <redpill/runtime_config.c:159> Runtime config populated [ 3.286091] <redpill/call_protected.c:81> Got addr ffffffff81928292 for early_serial_setup [ 3.287350] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 3.288341] BUG: unable to handle kernel paging request at ffffffff81928292 [ 3.288341] IP: [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] PGD 180d067 PUD 180e063 PMD 2768ad063 PTE 8000000001928163 [ 3.288341] Oops: 0011 [#1] SMP [ 3.288341] Modules linked in: redpill(OE+) [ 3.288341] CPU: 3 PID: 3836 Comm: insmod Tainted: G OE 4.4.180+ #41890 [ 3.288341] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-48-gd9c812dda519-prebuilt.qemu.org 04/01/2014 [ 3.288341] task: ffff88026b995940 ti: ffff880036104000 task.ti: ffff880036104000 [ 3.288341] RIP: 0010:[<ffffffff81928292>] [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] RSP: 0018:ffff880036107b38 EFLAGS: 00010246 [ 3.288341] RAX: ffffffff81928292 RBX: ffff880036107b58 RCX: 00000000000001fa [ 3.288341] RDX: 0000000000000001 RSI: 0000000000000246 RDI: ffff880036107b58 [ 3.288341] RBP: ffff880036107b48 R08: 6c6c69706465723c R09: 00000000000001fa [ 3.288341] R10: ffffffff816fab40 R11: 65746365746f7270 R12: ffff8800365e65e0 [ 3.288341] R13: 0000000000000000 R14: ffffffffa0012000 R15: ffff880272ad5600 [ 3.288341] FS: 00007f6b9677d740(0000) GS:ffff88027fd80000(0000) knlGS:0000000000000000 [ 3.288341] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.288341] CR2: ffffffff81928292 CR3: 00000002747bd000 CR4: 00000000003406b0 [ 3.288341] Stack: [ 3.288341] ffffffffa000107c 0000000000000000 ffff880036107cd0 ffffffffa00071f3 [ 3.288341] 0000000000000000 00000000000003f8 0000000000000000 0000000000000000 [ 3.288341] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 3.288341] Call Trace: [ 3.288341] [<ffffffffa000107c>] ? _early_serial_setup+0x1c/0xa0 [redpill] [ 3.288341] [<ffffffffa00071f3>] fix_muted_ttyS0+0x53/0xc0 [redpill] [ 3.288341] [<ffffffffa00072ab>] register_uart_fixer+0x1b/0x90 [redpill] [ 3.288341] [<ffffffffa001207b>] init_redpill+0x7b/0x143 [redpill] [ 3.288341] [<ffffffff810003b8>] do_one_initcall+0x88/0x1a0 [ 3.288341] [<ffffffff8116daaa>] ? __vunmap+0x9a/0xf0 [ 3.288341] [<ffffffff811305d3>] do_init_module+0x5a/0x1bf [ 3.288341] [<ffffffff810cb1a0>] load_module+0x1ca0/0x22b0 [ 3.288341] [<ffffffff810c80b0>] ? __symbol_put+0x40/0x40 [ 3.288341] [<ffffffff810cb981>] SYSC_finit_module+0x81/0xa0 [ 3.288341] [<ffffffff810cb9b9>] SyS_finit_module+0x9/0x10 [ 3.288341] [<ffffffff8157998a>] entry_SYSCALL_64_fastpath+0x1e/0x8e [ 3.288341] Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <cc> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc [ 3.288341] RIP [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] RSP <ffff880036107b38> [ 3.288341] CR2: ffffffff81928292 [ 3.288341] ---[ end trace cc15cf19e1dc28a8 ]--- Killed Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore[ 3.364522] ACPI: bus type USB registered [ 3.365224] usbcore: registered new interface driver usbfs [ 3.366276] usbcore: registered new interface driver hub [ 3.367316] usbcore: registered new interface driver ethub [ 3.368343] usbcore: registered new device driver usb ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module xhci-pci[ 3.382130] xhci_hcd 0000:00:07.0: xHCI Host Controller [ 3.383276] xhci_hcd 0000:00:07.0: new USB bus registered, assigned bus number 1 [ 3.584961] xhci_hcd 0000:00:07.0: hcc params 0x00087001 hci version 0x100 quirks 0x00000010 [ 3.587087] hub 1-0:1.0: USB hub found [ 3.587819] hub 1-0:1.0: 15 ports detected [ 3.589196] xhci_hcd 0000:00:07.0: xHCI Host Controller [ 3.590282] xhci_hcd 0000:00:07.0: new USB bus registered, assigned bus number 2 [ 3.591936] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.593823] hub 2-0:1.0: USB hub found [ 3.594737] hub 2-0:1.0: 15 ports detected ... [ OK ] :: Loading module usb-storage[ 3.605934] usbcore: registered new interface driver usb-storage ... [ OK ] Insert net driver(Mindspeed only)... [ 3.614145] apollolake_synobios: module license 'Synology Inc.' taints kernel. [ 3.615860] synobios open /dev/ttyS1 success [ 3.616590] WARNING: inconsistent syno gpio info, hdd detect [ 3.617520] correction with 0x00 [ 3.617983] 1900-1-0 0:0:0 UTC [ 3.618490] synobios: load, major number 201 [ 3.619185] Brand: Synology [ 3.619626] Model: DS-918+ [ 3.620096] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 3.621377] synobios cpu_arch proc entry initialized [ 3.622200] synobios crypto_hw proc entry initialized [ 3.622921] synobios syno_platform proc entry initialized Starting /usr/syno/bin/synocfgen... /usr/syno/bin/synocfgen returns 0 [ 3.627371] Module [apollolake_synobios] is removed. [ 3.628204] synobios: unload insmod: can't insert '/lib/modules/virtio-rng.ko': No such file or directory Assemble args: -u 323c41e0:4c6e4857:3017a5a8:c86610be /dev/sdd1 [ 3.669883] md: md0 stopped. [ 3.671210] md: bind<sdd1> [ 3.672135] md/raid1:md0: active with 1 out of 16 mirrors [ 3.678975] md0: detected capacity change from 0 to 2549940224 mdadm: /dev/md0 has been started with 1 drive (out of 16). Partition Version=8 /sbin/e2fsck exists, checking /dev/md0... e2fsck 1.44.1 (24-Mar-2018) /sbin/e2fsck -yvf returns 0 Mounting /dev/md0 /tmpRoot [ 3.714786] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 3.721941] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) ------------upgrade Begin upgrade procedure Mount data partition: /dev/md0 -> /tmpData No upgrade file exists End upgrade procedure [ 3.912112] usb 1-2: new high-speed USB device number 2 using xhci_hcd [ 4.171305] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd [ 4.186561] usb-storage 2-1:1.0: USB Mass Storage device detected [ 4.188733] scsi host6: usb-storage 2-1:1.0 ============upgrade ------------bootup-smallupdate Try bootup smallupdate chroot: can't execute '/usr/syno/sbin/synoupgrade': No such file or directory Failed to synoupgrade --bootup-smallupdate [127] Exit on error [6] bootup-smallupdate failed... Tue Aug 10 04:06:32 UTC 2021 /dev/md0 /tmpRoot ext4 rw,relatime,data=ordered 0 0 none /sys/kernel/debug debugfs rw,relatime 0 0 umount: /etc/mtab: No such file or directory linuxrc.syno failed on 6 starting pid 4566, tty '': '/etc/rc' :: Starting /etc/rc :: Mounting procfs ... [ OK ] :: Mounting tmpfs ... [ OK ] :: Mounting devtmpfs ... [ OK ] :: Mounting devpts ... [ OK ] :: Mounting sysfs ... [ OK ] [ 4.887949] random: syno_swap_ctl: uninitialized urandom read (4 bytes read, 108 bits of entropy available) [ 4.893773] md: md1 stopped. [ 4.895279] md: bind<sdd2> [ 4.895954] md/raid1:md1: active with 1 out of 16 mirrors [ 4.902636] md1: detected capacity change from 0 to 2147418112 [ 4.912786] Adding 2097084k swap on /dev/md1. Priority:-1 extents:1 across:2097084k :: Loading module fat ... [ OK ] :: Loading module vfat ... [ OK ] :: Loading module udp_tunnel ... [ OK ] :: Loading module ip6_udp_tunnel ... [ OK ] :: Loading module vxlan ... [ OK ] :: Loading module e1000e[ 4.983863] e1000e: Intel(R) PRO/1000 Network Driver - 3.4.2.4-NAPI [ 4.985437] e1000e: Copyright(c) 1999 - 2019 Intel Corporation. [ 4.987196] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [ 5.029655] random: nonblocking pool is initialized [ 5.036352] e1000e 0000:01:00.0 0000:01:00.0 (uninitialized): registered PHC clock [ 5.093370] e1000e 0000:01:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:50:56:23:f3:98 [ 5.094825] e1000e 0000:01:00.0 eth0: Intel(R) PRO/1000 Network Connection [ 5.096178] e1000e 0000:01:00.0 eth0: MAC: 3, PHY: 8, PBA No: 000000-000 ... [ OK ] :: Loading module i2c-algo-bit ... [ OK ] :: Loading module igb[ 5.104482] Intel(R) Gigabit Ethernet Linux Driver - version 5.3.5.22 [ 5.105750] Copyright(c) 2007 - 2018 Intel Corporation. ... [ OK ] :: Loading module r8168 ... [ OK ] :: Loading module sunrpc[ 5.123875] RPC: Registered named UNIX socket transport module. [ 5.124985] RPC: Registered udp transport module. [ 5.125913] RPC: Registered tcp transport module. [ 5.126799] RPC: Registered tcp NFSv4.1 backchannel transport module. ... [ OK ] :: Loading module grace ... [ OK ] :: Loading module lockd ... [ OK ] :: Loading module nfs ... [ OK ] :: Loading module nfsv3 ... [ OK ] [ 5.148904] synobios open /dev/ttyS1 success [ 5.149644] WARNING: inconsistent syno gpio info, hdd detect [ 5.150712] correction with 0x00 [ 5.151294] 1900-1-0 0:0:0 UTC [ 5.151757] synobios: load, major number 201 [ 5.152537] Brand: Synology [ 5.153041] Model: DS-918+ [ 5.153493] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 5.154825] synobios cpu_arch proc entry initialized [ 5.155712] synobios crypto_hw proc entry initialized [ 5.156540] synobios syno_platform proc entry initialized mknod: /dev/synobios: File exists Starting SW init... [ 5.159360] Invalid disk Number [9] [ 5.160275] Invalid disk Number [10] [ 5.161040] Invalid disk Number [11] [ 5.161574] Invalid disk Number [12] [ 5.162171] Invalid disk Number [13] [ 5.162690] Invalid disk Number [14] [ 5.163352] Invalid disk Number [15] [ 5.163868] Invalid disk Number [16] [ 5.192381] I/O scheduler elevator not found [ 5.194539] scsi 6:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 5.196828] I/O scheduler elevator not found [ 5.198069] sd 6:0:0:0: [sdq] 262144 512-byte logical blocks: (134 MB/128 MiB) [ 5.199817] sd 6:0:0:0: [sdq] Write Protect is off [ 5.200828] sd 6:0:0:0: [sdq] Mode Sense: 63 00 00 08 [ 5.202147] sd 6:0:0:0: [sdq] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.204763] sdq: sdq1 sdq2 sdq3 [ 5.206434] sd 6:0:0:0: [sdq] Attached SCSI disk [ 5.769882] Module [apollolake_synobios] is removed. [ 5.770707] synobios: unload :: Loading module synobios[ 5.791466] synobios open /dev/ttyS1 success [ 5.792610] WARNING: inconsistent syno gpio info, hdd detect [ 5.793773] correction with 0x00 [ 5.794319] 1900-1-0 0:0:0 UTC [ 5.794761] synobios: load, major number 201 [ 5.795448] Brand: Synology [ 5.795915] Model: DS-918+ [ 5.796386] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 5.797667] synobios cpu_arch proc entry initialized [ 5.798474] synobios crypto_hw proc entry initialized [ 5.799274] synobios syno_platform proc entry initialized ... [ OK ] [ 6.024130] e1000e 0000:01:00.0 eth0: MSI interrupt test failed, using legacy interrupt. udhcpc: started, v1.30.1 [ 6.399809] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx eth0 Link encap:Ethernet HWaddr 00:50:56:23:F3:98 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:437 (437.0 B) TX bytes:60 (60.0 B) Interrupt:22 Memory:fc640000-fc660000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) :: Starting syslogd ... [ OK ] :: Starting scemd [ 12.061743] Invalid disk Number [9] [ 12.062849] Invalid disk Number [10] [ 12.063947] Invalid disk Number [11] [ 12.064992] Invalid disk Number [12] [ 12.065552] Invalid disk Number [13] [ 12.066117] Invalid disk Number [14] [ 12.066641] Invalid disk Number [15] [ 12.067210] Invalid disk Number [16] :: Starting services in background Starting findhostd in flash_rd... Starting services in flash_rd... Running /usr/syno/etc/rc.d/J01httpd.sh... Starting httpd:80 in flash_rd... Starting httpd:5000 in flash_rd... Running /usr/syno/etc/rc.d/J03ssdpd.sh... [ 14.195266] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities /usr/bin/minissdpd -i eth0 (15): upnp:rootdevice (51): uuid:upnp_SynologyNAS-00505623f398::upnp:rootdevice (56): Synology/synology_apollolake_918+/7.0-41890/192.168.0.49 (45): http://192.168.0.49:5000/description-eth0.xml Connected. done. /usr/syno/bin/reg_ssdp_service 192.168.0.49 00505623f398 7.0-41890 synology_apollolake_918+ eth0 [ 14.209875] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh... Starting synoagentregisterd... Running /usr/syno/etc/rc.d/J30DisableNCQ.sh... [ 14.242610] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities Running /usr/syno/etc/rc.d/J80ADTFanControl.sh... Running /usr/syno/etc/rc.d/J98nbnsd.sh... Starting nbnsd... Running /usr/syno/etc/rc.d/J99avahi.sh... [ 14.248544] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Starting Avahi mDNS/DNS-SD Daemon cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf [ 14.264534] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 14.270245] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) :: Loading module hid ... [ OK ] :: Loading module usbhid[ 14.286853] usbcore: registered new interface driver usbhid [ 14.287888] usbhid: USB HID core driver ... [ OK ] :: Loading module syno_hddmon ... [FAILED] Excution Error ============ Date ============ Tue Aug 10 04:06:42 UTC 2021 ============================== starting pid 5868, tty '': '/sbin/getty 115200 console' Tue Aug 10 04:06:42 2021 DiskStation login: Edited August 10, 2021 by gadreel Link to comment Share on other sites More sharing options...
mcdull Posted August 10, 2021 Share #314 Posted August 10, 2021 (edited) [ 0.000000] Command line: BOOT_IMAGE=/zImage mac1=001122334455 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0xF400 syno_hdd_detect=0 pid=0xF400 console=ttyS2,115200n8 elevator=elevator sn=2000PDN000000 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] Kernel command line: BOOT_IMAGE=/zImage mac1=001122334455 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0xF400 syno_hdd_detect=0 pid=0xF400 console=ttyS2,115200n8 elevator=elevator sn=2000PDN000000 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 5.083969] <redpill/cmdline_delegate.c:310> Cmdline: BOOT_IMAGE=/zImage mac1=001122334455 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0xF400 syno_hdd_detect=0 pid=0xF400 console=ttyS2,115200n8 elevator=elevator sn=2000PDN000000 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 5.092919] <redpill/cmdline_delegate.c:321> Param #5: |vid=0xF400| [ 5.109385] <redpill/cmdline_delegate.c:285> Add cmdline blacklist "vid=" @ 0 Whatever vid/pid I use, it only reports the quoted lines that "matches" my specified vid/pid. So I guess the important message where the redpill see which vid/pid is missing in my log. For whatever vid/pid I tried, it fails with this statement (f400:f400) (46f4:0001), capital letters or small.. Jan 1 00:00:49 updater: boot/boot_lock.c(228): failed to mount boot device /dev/synoboot2 /tmp/bootmnt (errno:2) Edited August 10, 2021 by mcdull Link to comment Share on other sites More sharing options...
jumkey Posted August 10, 2021 Share #315 Posted August 10, 2021 4 minutes ago, gadreel said: @ThorGroup Thanks for clarifying. The Jun's loader had support for AMD? Ok, I managed to get the output and it fails at: :: Loading module syno_hddmon ... [FAILED] [ 1.017935] console [ttyS2] enabled [ 1.019129] bootconsole [uart0] disabled [ 1.255514] serial8250: ttyS2 at I/O 0x3e8 (irq = 4, base_baud = 115200) is a 16550A [ 1.257050] Linux agpgart interface v0.103 [ 1.263322] brd: module loaded [ 1.263982] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized [ 1.265249] Loading iSCSI transport class v2.0-870. [ 1.272651] ahci 0000:00:1f.2: version 3.0 [ 1.273585] ACPI: PCI Interrupt Link [GSIA] enabled at IRQ 16 [ 1.275276] ahci 0000:00:1f.2: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode [ 1.276760] ahci 0000:00:1f.2: flags: 64bit ncq only [ 1.290446] scsi host0: ahci [ 1.302461] scsi host1: ahci [ 1.313839] scsi host2: ahci [ 1.317903] scsi host3: ahci [ 1.319242] scsi host4: ahci [ 1.320234] scsi host5: ahci [ 1.320795] ata1: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a100 irq 28 [ 1.322134] ata2: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a180 irq 28 [ 1.323483] ata3: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a200 irq 28 [ 1.324674] ata4: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a280 irq 28 [ 1.325786] ata5: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a300 irq 28 [ 1.326956] ata6: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a380 irq 28 [ 1.633227] ata1: SATA link down (SStatus 0 SControl 300) [ 1.634898] ata1: Disk is present for SATA link down event [ 1.941312] ata2: SATA link down (SStatus 0 SControl 300) [ 1.943332] ata2: No present pin info for SATA link down event [ 2.249258] ata3: SATA link down (SStatus 0 SControl 300) [ 2.250877] ata3: No present pin info for SATA link down event [ 2.557239] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 2.559248] ata4.00: ATA-7: QEMU HARDDISK, 2.5+, max UDMA/100 [ 2.560943] ata4.00: 41943040 sectors, multi 16: LBA48 NCQ (depth 31/32) [ 2.562099] ata4.00: SN:QM00007 [ 2.562555] ata4.00: applying bridge limits [ 2.563310] ata4.00: configured for UDMA/100 [ 2.563997] ata4.00: Find SSD disks. [QEMU HARDDISK] [ 2.564843] I/O scheduler elevator not found [ 2.565697] scsi 3:0:0:0: Direct-Access QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 2.567201] sd 3:0:0:0: [sdd] 41943040 512-byte logical blocks: (21.5 GB/20.0 GiB) [ 2.568664] sd 3:0:0:0: [sdd] Write Protect is off [ 2.569555] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00 [ 2.570514] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.572490] sdd: sdd1 sdd2 [ 2.573272] sd 3:0:0:0: [sdd] Attached SCSI disk [ 2.872266] ata5: SATA link down (SStatus 0 SControl 300) [ 2.874765] ata5: No present pin info for SATA link down event [ 3.180240] ata6: SATA link down (SStatus 0 SControl 300) [ 3.181836] ata6: No present pin info for SATA link down event [ 3.183832] i2c /dev entries driver [ 3.185258] i801_smbus 0000:00:1f.3: SMBus using polling [ 3.186805] md: raid1 personality registered for level 1 [ 3.187856] NET: Registered protocol family 17 [ 3.188679] Key type dns_resolver registered [ 3.189478] mce: Unable to init device /dev/mcelog (rc: -5) [ 3.190802] registered taskstats version 1 [ 3.191584] Loading compiled-in untrusted X.509 certificates [ 3.192622] Loading compiled-in X.509 certificates [ 3.193530] Loaded X.509 cert 'Synology SDG kernel module signing key: 7bd0b0d6bcd31651c22ce3978bdc8c8bdc417329' [ 3.195837] Loaded X.509 cert 'Synology Root Certification Authority: f2c075361f168425f8b5ef31b796406c3aab2089' [ 3.197586] Loaded X.509 cert 'Synology Kernel Module Signing Certification Authority: 600839b5d127e0e11d817a31f0575d323a7c0e28' [ 3.199339] Loaded X.509 cert 'Synology kernel module signing key: 4646ce54489669338118a3b1286da156ac366fa5' [ 3.200784] page_owner is disabled [ 3.201368] AppArmor: AppArmor sha1 policy hashing enabled [ 3.202754] hctosys: unable to open rtc device (rtc0) [ 3.204931] Freeing unused kernel memory: 916K [ 3.205645] Write protecting the kernel read-only data: 8192k [ 3.206977] Freeing unused kernel memory: 508K [ 3.208267] Freeing unused kernel memory: 300K START /linuxrc.syno START /linuxrc.syno.impl [ 3.213752] redpill: loading out-of-tree module taints kernel. [ 3.214694] redpill: module verification failed: signature and/or required key missing - tainting kernel [ 3.216358] <redpill/redpill_main.c:24> ================================================================================================ [ 3.218496] <redpill/redpill_main.c:25> RedPill loading... [ 3.220185] <redpill/call_protected.c:65> Got addr ffffffff812041e0 for cmdline_proc_show [ 3.221409] <redpill/cmdline_delegate.c:266> Cmdline count: 329 [ 3.222321] <redpill/cmdline_delegate.c:310> Cmdline: BOOT_IMAGE=/zImage mac1=00505623F398 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=1780PDN123456 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 3.222321] [ 3.227503] <redpill/cmdline_delegate.c:321> Param #0: |BOOT_IMAGE=/zImage| [ 3.228562] <redpill/cmdline_delegate.c:248> Option "BOOT_IMAGE=/zImage" not recognized - ignoring [ 3.229901] <redpill/cmdline_delegate.c:321> Param #1: |mac1=00505623F398| [ 3.230948] <redpill/cmdline_delegate.c:236> Set MAC #1: 00505623F398 [ 3.231935] <redpill/cmdline_delegate.c:321> Param #2: |netif_num=1| [ 3.232995] <redpill/cmdline_delegate.c:191> Declared network ifaces # as 1 [ 3.234122] <redpill/cmdline_delegate.c:321> Param #3: |earlycon=uart8250,io,0x3f8,115200n8| [ 3.235385] <redpill/cmdline_delegate.c:248> Option "earlycon=uart8250,io,0x3f8,115200n8" not recognized - ignoring [ 3.236904] <redpill/cmdline_delegate.c:321> Param #4: |syno_hdd_powerup_seq=1| [ 3.238022] <redpill/cmdline_delegate.c:248> Option "syno_hdd_powerup_seq=1" not recognized - ignoring [ 3.239436] <redpill/cmdline_delegate.c:321> Param #5: |vid=0x46f4| [ 3.240414] <redpill/cmdline_delegate.c:75> VID override: 0x46f4 [ 3.241355] <redpill/cmdline_delegate.c:321> Param #6: |syno_hdd_detect=0| [ 3.242403] <redpill/cmdline_delegate.c:248> Option "syno_hdd_detect=0" not recognized - ignoring [ 3.243734] <redpill/cmdline_delegate.c:321> Param #7: |pid=0x0001| [ 3.244719] <redpill/cmdline_delegate.c:110> PID override: 0x0001 [ 3.245670] <redpill/cmdline_delegate.c:321> Param #8: |console=ttyS2,115200n8| [ 3.246780] <redpill/cmdline_delegate.c:248> Option "console=ttyS2,115200n8" not recognized - ignoring [ 3.248207] <redpill/cmdline_delegate.c:321> Param #9: |elevator=elevator| [ 3.249288] <redpill/cmdline_delegate.c:248> Option "elevator=elevator" not recognized - ignoring [ 3.250622] <redpill/cmdline_delegate.c:321> Param #10: |sn=1780PDN123456| [ 3.251659] <redpill/cmdline_delegate.c:40> S/N set to: 1780PDN123456 [ 3.252644] <redpill/cmdline_delegate.c:321> Param #11: |root=/dev/md0| [ 3.253656] <redpill/cmdline_delegate.c:248> Option "root=/dev/md0" not recognized - ignoring [ 3.254921] <redpill/cmdline_delegate.c:321> Param #12: |earlyprintk| [ 3.255901] <redpill/cmdline_delegate.c:248> Option "earlyprintk" not recognized - ignoring [ 3.257206] <redpill/cmdline_delegate.c:321> Param #13: |loglevel=15| [ 3.258187] <redpill/cmdline_delegate.c:248> Option "loglevel=15" not recognized - ignoring [ 3.259448] <redpill/cmdline_delegate.c:321> Param #14: |syno_port_thaw=1| [ 3.260493] <redpill/cmdline_delegate.c:162> Port thaw set to: 1 [ 3.261423] <redpill/cmdline_delegate.c:321> Param #15: |HddHotplug=0| [ 3.262489] <redpill/cmdline_delegate.c:248> Option "HddHotplug=0" not recognized - ignoring [ 3.263747] <redpill/cmdline_delegate.c:321> Param #16: |withefi| [ 3.264723] <redpill/cmdline_delegate.c:248> Option "withefi" not recognized - ignoring [ 3.265947] <redpill/cmdline_delegate.c:321> Param #17: |syno_hw_version=DS918+| [ 3.267099] <redpill/cmdline_delegate.c:20> HW version set to: DS918+ [ 3.268073] <redpill/cmdline_delegate.c:321> Param #18: |vender_format_version=2| [ 3.269217] <redpill/cmdline_delegate.c:248> Option "vender_format_version=2" not recognized - ignoring [ 3.270610] <redpill/cmdline_delegate.c:285> Add cmdline blacklist "vid=" @ 0 [ 3.271696] <redpill/cmdline_delegate.c:286> Add cmdline blacklist "pid=" @ 1 [ 3.272773] <redpill/cmdline_delegate.c:287> Add cmdline blacklist "mfg" @ 2 [ 3.273846] <redpill/cmdline_delegate.c:288> Add cmdline blacklist "loglevel=" @ 3 [ 3.274984] <redpill/cmdline_delegate.c:289> Add cmdline blacklist "elevator=" @ 4 [ 3.276182] <redpill/cmdline_delegate.c:290> Add cmdline blacklist "earlyprintk" @ 5 [ 3.277355] <redpill/cmdline_delegate.c:291> Add cmdline blacklist "syno_port_thaw=" @ 6 [ 3.278561] <redpill/cmdline_delegate.c:338> CmdLine processed successfully, tokens=19 [ 3.279737] <redpill/runtime_config.c:122> Found platform definition for "DS918+" [ 3.280914] <redpill/runtime_config.c:133> Validating runtime config... [ 3.281926] <redpill/runtime_config.c:142> Config validation resulted in OK [ 3.282992] <redpill/runtime_config.c:159> Runtime config populated [ 3.286091] <redpill/call_protected.c:81> Got addr ffffffff81928292 for early_serial_setup [ 3.287350] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 3.288341] BUG: unable to handle kernel paging request at ffffffff81928292 [ 3.288341] IP: [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] PGD 180d067 PUD 180e063 PMD 2768ad063 PTE 8000000001928163 [ 3.288341] Oops: 0011 [#1] SMP [ 3.288341] Modules linked in: redpill(OE+) [ 3.288341] CPU: 3 PID: 3836 Comm: insmod Tainted: G OE 4.4.180+ #41890 [ 3.288341] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-48-gd9c812dda519-prebuilt.qemu.org 04/01/2014 [ 3.288341] task: ffff88026b995940 ti: ffff880036104000 task.ti: ffff880036104000 [ 3.288341] RIP: 0010:[<ffffffff81928292>] [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] RSP: 0018:ffff880036107b38 EFLAGS: 00010246 [ 3.288341] RAX: ffffffff81928292 RBX: ffff880036107b58 RCX: 00000000000001fa [ 3.288341] RDX: 0000000000000001 RSI: 0000000000000246 RDI: ffff880036107b58 [ 3.288341] RBP: ffff880036107b48 R08: 6c6c69706465723c R09: 00000000000001fa [ 3.288341] R10: ffffffff816fab40 R11: 65746365746f7270 R12: ffff8800365e65e0 [ 3.288341] R13: 0000000000000000 R14: ffffffffa0012000 R15: ffff880272ad5600 [ 3.288341] FS: 00007f6b9677d740(0000) GS:ffff88027fd80000(0000) knlGS:0000000000000000 [ 3.288341] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.288341] CR2: ffffffff81928292 CR3: 00000002747bd000 CR4: 00000000003406b0 [ 3.288341] Stack: [ 3.288341] ffffffffa000107c 0000000000000000 ffff880036107cd0 ffffffffa00071f3 [ 3.288341] 0000000000000000 00000000000003f8 0000000000000000 0000000000000000 [ 3.288341] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 3.288341] Call Trace: [ 3.288341] [<ffffffffa000107c>] ? _early_serial_setup+0x1c/0xa0 [redpill] [ 3.288341] [<ffffffffa00071f3>] fix_muted_ttyS0+0x53/0xc0 [redpill] [ 3.288341] [<ffffffffa00072ab>] register_uart_fixer+0x1b/0x90 [redpill] [ 3.288341] [<ffffffffa001207b>] init_redpill+0x7b/0x143 [redpill] [ 3.288341] [<ffffffff810003b8>] do_one_initcall+0x88/0x1a0 [ 3.288341] [<ffffffff8116daaa>] ? __vunmap+0x9a/0xf0 [ 3.288341] [<ffffffff811305d3>] do_init_module+0x5a/0x1bf [ 3.288341] [<ffffffff810cb1a0>] load_module+0x1ca0/0x22b0 [ 3.288341] [<ffffffff810c80b0>] ? __symbol_put+0x40/0x40 [ 3.288341] [<ffffffff810cb981>] SYSC_finit_module+0x81/0xa0 [ 3.288341] [<ffffffff810cb9b9>] SyS_finit_module+0x9/0x10 [ 3.288341] [<ffffffff8157998a>] entry_SYSCALL_64_fastpath+0x1e/0x8e [ 3.288341] Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <cc> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc [ 3.288341] RIP [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] RSP <ffff880036107b38> [ 3.288341] CR2: ffffffff81928292 [ 3.288341] ---[ end trace cc15cf19e1dc28a8 ]--- Killed Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore[ 3.364522] ACPI: bus type USB registered [ 3.365224] usbcore: registered new interface driver usbfs [ 3.366276] usbcore: registered new interface driver hub [ 3.367316] usbcore: registered new interface driver ethub [ 3.368343] usbcore: registered new device driver usb ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module xhci-pci[ 3.382130] xhci_hcd 0000:00:07.0: xHCI Host Controller [ 3.383276] xhci_hcd 0000:00:07.0: new USB bus registered, assigned bus number 1 [ 3.584961] xhci_hcd 0000:00:07.0: hcc params 0x00087001 hci version 0x100 quirks 0x00000010 [ 3.587087] hub 1-0:1.0: USB hub found [ 3.587819] hub 1-0:1.0: 15 ports detected [ 3.589196] xhci_hcd 0000:00:07.0: xHCI Host Controller [ 3.590282] xhci_hcd 0000:00:07.0: new USB bus registered, assigned bus number 2 [ 3.591936] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.593823] hub 2-0:1.0: USB hub found [ 3.594737] hub 2-0:1.0: 15 ports detected ... [ OK ] :: Loading module usb-storage[ 3.605934] usbcore: registered new interface driver usb-storage ... [ OK ] Insert net driver(Mindspeed only)... [ 3.614145] apollolake_synobios: module license 'Synology Inc.' taints kernel. [ 3.615860] synobios open /dev/ttyS1 success [ 3.616590] WARNING: inconsistent syno gpio info, hdd detect [ 3.617520] correction with 0x00 [ 3.617983] 1900-1-0 0:0:0 UTC [ 3.618490] synobios: load, major number 201 [ 3.619185] Brand: Synology [ 3.619626] Model: DS-918+ [ 3.620096] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 3.621377] synobios cpu_arch proc entry initialized [ 3.622200] synobios crypto_hw proc entry initialized [ 3.622921] synobios syno_platform proc entry initialized Starting /usr/syno/bin/synocfgen... /usr/syno/bin/synocfgen returns 0 [ 3.627371] Module [apollolake_synobios] is removed. [ 3.628204] synobios: unload insmod: can't insert '/lib/modules/virtio-rng.ko': No such file or directory Assemble args: -u 323c41e0:4c6e4857:3017a5a8:c86610be /dev/sdd1 [ 3.669883] md: md0 stopped. [ 3.671210] md: bind<sdd1> [ 3.672135] md/raid1:md0: active with 1 out of 16 mirrors [ 3.678975] md0: detected capacity change from 0 to 2549940224 mdadm: /dev/md0 has been started with 1 drive (out of 16). Partition Version=8 /sbin/e2fsck exists, checking /dev/md0... e2fsck 1.44.1 (24-Mar-2018) /sbin/e2fsck -yvf returns 0 Mounting /dev/md0 /tmpRoot [ 3.714786] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 3.721941] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) ------------upgrade Begin upgrade procedure Mount data partition: /dev/md0 -> /tmpData No upgrade file exists End upgrade procedure [ 3.912112] usb 1-2: new high-speed USB device number 2 using xhci_hcd [ 4.171305] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd [ 4.186561] usb-storage 2-1:1.0: USB Mass Storage device detected [ 4.188733] scsi host6: usb-storage 2-1:1.0 ============upgrade ------------bootup-smallupdate Try bootup smallupdate chroot: can't execute '/usr/syno/sbin/synoupgrade': No such file or directory Failed to synoupgrade --bootup-smallupdate [127] Exit on error [6] bootup-smallupdate failed... Tue Aug 10 04:06:32 UTC 2021 /dev/md0 /tmpRoot ext4 rw,relatime,data=ordered 0 0 none /sys/kernel/debug debugfs rw,relatime 0 0 umount: /etc/mtab: No such file or directory linuxrc.syno failed on 6 starting pid 4566, tty '': '/etc/rc' :: Starting /etc/rc :: Mounting procfs ... [ OK ] :: Mounting tmpfs ... [ OK ] :: Mounting devtmpfs ... [ OK ] :: Mounting devpts ... [ OK ] :: Mounting sysfs ... [ OK ] [ 4.887949] random: syno_swap_ctl: uninitialized urandom read (4 bytes read, 108 bits of entropy available) [ 4.893773] md: md1 stopped. [ 4.895279] md: bind<sdd2> [ 4.895954] md/raid1:md1: active with 1 out of 16 mirrors [ 4.902636] md1: detected capacity change from 0 to 2147418112 [ 4.912786] Adding 2097084k swap on /dev/md1. Priority:-1 extents:1 across:2097084k :: Loading module fat ... [ OK ] :: Loading module vfat ... [ OK ] :: Loading module udp_tunnel ... [ OK ] :: Loading module ip6_udp_tunnel ... [ OK ] :: Loading module vxlan ... [ OK ] :: Loading module e1000e[ 4.983863] e1000e: Intel(R) PRO/1000 Network Driver - 3.4.2.4-NAPI [ 4.985437] e1000e: Copyright(c) 1999 - 2019 Intel Corporation. [ 4.987196] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [ 5.029655] random: nonblocking pool is initialized [ 5.036352] e1000e 0000:01:00.0 0000:01:00.0 (uninitialized): registered PHC clock [ 5.093370] e1000e 0000:01:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:50:56:23:f3:98 [ 5.094825] e1000e 0000:01:00.0 eth0: Intel(R) PRO/1000 Network Connection [ 5.096178] e1000e 0000:01:00.0 eth0: MAC: 3, PHY: 8, PBA No: 000000-000 ... [ OK ] :: Loading module i2c-algo-bit ... [ OK ] :: Loading module igb[ 5.104482] Intel(R) Gigabit Ethernet Linux Driver - version 5.3.5.22 [ 5.105750] Copyright(c) 2007 - 2018 Intel Corporation. ... [ OK ] :: Loading module r8168 ... [ OK ] :: Loading module sunrpc[ 5.123875] RPC: Registered named UNIX socket transport module. [ 5.124985] RPC: Registered udp transport module. [ 5.125913] RPC: Registered tcp transport module. [ 5.126799] RPC: Registered tcp NFSv4.1 backchannel transport module. ... [ OK ] :: Loading module grace ... [ OK ] :: Loading module lockd ... [ OK ] :: Loading module nfs ... [ OK ] :: Loading module nfsv3 ... [ OK ] [ 5.148904] synobios open /dev/ttyS1 success [ 5.149644] WARNING: inconsistent syno gpio info, hdd detect [ 5.150712] correction with 0x00 [ 5.151294] 1900-1-0 0:0:0 UTC [ 5.151757] synobios: load, major number 201 [ 5.152537] Brand: Synology [ 5.153041] Model: DS-918+ [ 5.153493] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 5.154825] synobios cpu_arch proc entry initialized [ 5.155712] synobios crypto_hw proc entry initialized [ 5.156540] synobios syno_platform proc entry initialized mknod: /dev/synobios: File exists Starting SW init... [ 5.159360] Invalid disk Number [9] [ 5.160275] Invalid disk Number [10] [ 5.161040] Invalid disk Number [11] [ 5.161574] Invalid disk Number [12] [ 5.162171] Invalid disk Number [13] [ 5.162690] Invalid disk Number [14] [ 5.163352] Invalid disk Number [15] [ 5.163868] Invalid disk Number [16] [ 5.192381] I/O scheduler elevator not found [ 5.194539] scsi 6:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 5.196828] I/O scheduler elevator not found [ 5.198069] sd 6:0:0:0: [sdq] 262144 512-byte logical blocks: (134 MB/128 MiB) [ 5.199817] sd 6:0:0:0: [sdq] Write Protect is off [ 5.200828] sd 6:0:0:0: [sdq] Mode Sense: 63 00 00 08 [ 5.202147] sd 6:0:0:0: [sdq] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.204763] sdq: sdq1 sdq2 sdq3 [ 5.206434] sd 6:0:0:0: [sdq] Attached SCSI disk [ 5.769882] Module [apollolake_synobios] is removed. [ 5.770707] synobios: unload :: Loading module synobios[ 5.791466] synobios open /dev/ttyS1 success [ 5.792610] WARNING: inconsistent syno gpio info, hdd detect [ 5.793773] correction with 0x00 [ 5.794319] 1900-1-0 0:0:0 UTC [ 5.794761] synobios: load, major number 201 [ 5.795448] Brand: Synology [ 5.795915] Model: DS-918+ [ 5.796386] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 5.797667] synobios cpu_arch proc entry initialized [ 5.798474] synobios crypto_hw proc entry initialized [ 5.799274] synobios syno_platform proc entry initialized ... [ OK ] [ 6.024130] e1000e 0000:01:00.0 eth0: MSI interrupt test failed, using legacy interrupt. udhcpc: started, v1.30.1 [ 6.399809] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx eth0 Link encap:Ethernet HWaddr 00:50:56:23:F3:98 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:437 (437.0 B) TX bytes:60 (60.0 B) Interrupt:22 Memory:fc640000-fc660000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) :: Starting syslogd ... [ OK ] :: Starting scemd [ 12.061743] Invalid disk Number [9] [ 12.062849] Invalid disk Number [10] [ 12.063947] Invalid disk Number [11] [ 12.064992] Invalid disk Number [12] [ 12.065552] Invalid disk Number [13] [ 12.066117] Invalid disk Number [14] [ 12.066641] Invalid disk Number [15] [ 12.067210] Invalid disk Number [16] :: Starting services in background Starting findhostd in flash_rd... Starting services in flash_rd... Running /usr/syno/etc/rc.d/J01httpd.sh... Starting httpd:80 in flash_rd... Starting httpd:5000 in flash_rd... Running /usr/syno/etc/rc.d/J03ssdpd.sh... [ 14.195266] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities /usr/bin/minissdpd -i eth0 (15): upnp:rootdevice (51): uuid:upnp_SynologyNAS-00505623f398::upnp:rootdevice (56): Synology/synology_apollolake_918+/7.0-41890/192.168.0.49 (45): http://192.168.0.49:5000/description-eth0.xml Connected. done. /usr/syno/bin/reg_ssdp_service 192.168.0.49 00505623f398 7.0-41890 synology_apollolake_918+ eth0 [ 14.209875] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh... Starting synoagentregisterd... Running /usr/syno/etc/rc.d/J30DisableNCQ.sh... [ 14.242610] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities Running /usr/syno/etc/rc.d/J80ADTFanControl.sh... Running /usr/syno/etc/rc.d/J98nbnsd.sh... Starting nbnsd... Running /usr/syno/etc/rc.d/J99avahi.sh... [ 14.248544] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Starting Avahi mDNS/DNS-SD Daemon cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf [ 14.264534] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 14.270245] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) :: Loading module hid ... [ OK ] :: Loading module usbhid[ 14.286853] usbcore: registered new interface driver usbhid [ 14.287888] usbhid: USB HID core driver ... [ OK ] :: Loading module syno_hddmon ... [FAILED] Excution Error ============ Date ============ Tue Aug 10 04:06:42 UTC 2021 ============================== starting pid 5868, tty '': '/sbin/getty 115200 console' Tue Aug 10 04:06:42 2021 DiskStation login: same as https://github.com/RedPill-TTG/redpill-lkm/commit/c390f74e48bbe87ecc7ff898402cd87dc4d62f38#comments 1 Link to comment Share on other sites More sharing options...
mcdull Posted August 10, 2021 Share #316 Posted August 10, 2021 37 minutes ago, gadreel said: @ThorGroup Thanks for clarifying. The Jun's loader had support for AMD? Ok, I managed to get the output and it fails at: :: Loading module syno_hddmon ... [FAILED] [ 1.017935] console [ttyS2] enabled [ 1.019129] bootconsole [uart0] disabled [ 1.255514] serial8250: ttyS2 at I/O 0x3e8 (irq = 4, base_baud = 115200) is a 16550A [ 1.257050] Linux agpgart interface v0.103 [ 1.263322] brd: module loaded [ 1.263982] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized [ 1.265249] Loading iSCSI transport class v2.0-870. [ 1.272651] ahci 0000:00:1f.2: version 3.0 [ 1.273585] ACPI: PCI Interrupt Link [GSIA] enabled at IRQ 16 [ 1.275276] ahci 0000:00:1f.2: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode [ 1.276760] ahci 0000:00:1f.2: flags: 64bit ncq only [ 1.290446] scsi host0: ahci [ 1.302461] scsi host1: ahci [ 1.313839] scsi host2: ahci [ 1.317903] scsi host3: ahci [ 1.319242] scsi host4: ahci [ 1.320234] scsi host5: ahci [ 1.320795] ata1: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a100 irq 28 [ 1.322134] ata2: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a180 irq 28 [ 1.323483] ata3: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a200 irq 28 [ 1.324674] ata4: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a280 irq 28 [ 1.325786] ata5: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a300 irq 28 [ 1.326956] ata6: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a380 irq 28 [ 1.633227] ata1: SATA link down (SStatus 0 SControl 300) [ 1.634898] ata1: Disk is present for SATA link down event [ 1.941312] ata2: SATA link down (SStatus 0 SControl 300) [ 1.943332] ata2: No present pin info for SATA link down event [ 2.249258] ata3: SATA link down (SStatus 0 SControl 300) [ 2.250877] ata3: No present pin info for SATA link down event [ 2.557239] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 2.559248] ata4.00: ATA-7: QEMU HARDDISK, 2.5+, max UDMA/100 [ 2.560943] ata4.00: 41943040 sectors, multi 16: LBA48 NCQ (depth 31/32) [ 2.562099] ata4.00: SN:QM00007 [ 2.562555] ata4.00: applying bridge limits [ 2.563310] ata4.00: configured for UDMA/100 [ 2.563997] ata4.00: Find SSD disks. [QEMU HARDDISK] [ 2.564843] I/O scheduler elevator not found [ 2.565697] scsi 3:0:0:0: Direct-Access QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 2.567201] sd 3:0:0:0: [sdd] 41943040 512-byte logical blocks: (21.5 GB/20.0 GiB) [ 2.568664] sd 3:0:0:0: [sdd] Write Protect is off [ 2.569555] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00 [ 2.570514] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.572490] sdd: sdd1 sdd2 [ 2.573272] sd 3:0:0:0: [sdd] Attached SCSI disk [ 2.872266] ata5: SATA link down (SStatus 0 SControl 300) [ 2.874765] ata5: No present pin info for SATA link down event [ 3.180240] ata6: SATA link down (SStatus 0 SControl 300) [ 3.181836] ata6: No present pin info for SATA link down event [ 3.183832] i2c /dev entries driver [ 3.185258] i801_smbus 0000:00:1f.3: SMBus using polling [ 3.186805] md: raid1 personality registered for level 1 [ 3.187856] NET: Registered protocol family 17 [ 3.188679] Key type dns_resolver registered [ 3.189478] mce: Unable to init device /dev/mcelog (rc: -5) [ 3.190802] registered taskstats version 1 [ 3.191584] Loading compiled-in untrusted X.509 certificates [ 3.192622] Loading compiled-in X.509 certificates [ 3.193530] Loaded X.509 cert 'Synology SDG kernel module signing key: 7bd0b0d6bcd31651c22ce3978bdc8c8bdc417329' [ 3.195837] Loaded X.509 cert 'Synology Root Certification Authority: f2c075361f168425f8b5ef31b796406c3aab2089' [ 3.197586] Loaded X.509 cert 'Synology Kernel Module Signing Certification Authority: 600839b5d127e0e11d817a31f0575d323a7c0e28' [ 3.199339] Loaded X.509 cert 'Synology kernel module signing key: 4646ce54489669338118a3b1286da156ac366fa5' [ 3.200784] page_owner is disabled [ 3.201368] AppArmor: AppArmor sha1 policy hashing enabled [ 3.202754] hctosys: unable to open rtc device (rtc0) [ 3.204931] Freeing unused kernel memory: 916K [ 3.205645] Write protecting the kernel read-only data: 8192k [ 3.206977] Freeing unused kernel memory: 508K [ 3.208267] Freeing unused kernel memory: 300K START /linuxrc.syno START /linuxrc.syno.impl [ 3.213752] redpill: loading out-of-tree module taints kernel. [ 3.214694] redpill: module verification failed: signature and/or required key missing - tainting kernel [ 3.216358] <redpill/redpill_main.c:24> ================================================================================================ [ 3.218496] <redpill/redpill_main.c:25> RedPill loading... [ 3.220185] <redpill/call_protected.c:65> Got addr ffffffff812041e0 for cmdline_proc_show [ 3.221409] <redpill/cmdline_delegate.c:266> Cmdline count: 329 [ 3.222321] <redpill/cmdline_delegate.c:310> Cmdline: BOOT_IMAGE=/zImage mac1=00505623F398 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=1780PDN123456 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 3.222321] [ 3.227503] <redpill/cmdline_delegate.c:321> Param #0: |BOOT_IMAGE=/zImage| [ 3.228562] <redpill/cmdline_delegate.c:248> Option "BOOT_IMAGE=/zImage" not recognized - ignoring [ 3.229901] <redpill/cmdline_delegate.c:321> Param #1: |mac1=00505623F398| [ 3.230948] <redpill/cmdline_delegate.c:236> Set MAC #1: 00505623F398 [ 3.231935] <redpill/cmdline_delegate.c:321> Param #2: |netif_num=1| [ 3.232995] <redpill/cmdline_delegate.c:191> Declared network ifaces # as 1 [ 3.234122] <redpill/cmdline_delegate.c:321> Param #3: |earlycon=uart8250,io,0x3f8,115200n8| [ 3.235385] <redpill/cmdline_delegate.c:248> Option "earlycon=uart8250,io,0x3f8,115200n8" not recognized - ignoring [ 3.236904] <redpill/cmdline_delegate.c:321> Param #4: |syno_hdd_powerup_seq=1| [ 3.238022] <redpill/cmdline_delegate.c:248> Option "syno_hdd_powerup_seq=1" not recognized - ignoring [ 3.239436] <redpill/cmdline_delegate.c:321> Param #5: |vid=0x46f4| [ 3.240414] <redpill/cmdline_delegate.c:75> VID override: 0x46f4 [ 3.241355] <redpill/cmdline_delegate.c:321> Param #6: |syno_hdd_detect=0| [ 3.242403] <redpill/cmdline_delegate.c:248> Option "syno_hdd_detect=0" not recognized - ignoring [ 3.243734] <redpill/cmdline_delegate.c:321> Param #7: |pid=0x0001| [ 3.244719] <redpill/cmdline_delegate.c:110> PID override: 0x0001 [ 3.245670] <redpill/cmdline_delegate.c:321> Param #8: |console=ttyS2,115200n8| [ 3.246780] <redpill/cmdline_delegate.c:248> Option "console=ttyS2,115200n8" not recognized - ignoring [ 3.248207] <redpill/cmdline_delegate.c:321> Param #9: |elevator=elevator| [ 3.249288] <redpill/cmdline_delegate.c:248> Option "elevator=elevator" not recognized - ignoring [ 3.250622] <redpill/cmdline_delegate.c:321> Param #10: |sn=1780PDN123456| [ 3.251659] <redpill/cmdline_delegate.c:40> S/N set to: 1780PDN123456 [ 3.252644] <redpill/cmdline_delegate.c:321> Param #11: |root=/dev/md0| [ 3.253656] <redpill/cmdline_delegate.c:248> Option "root=/dev/md0" not recognized - ignoring [ 3.254921] <redpill/cmdline_delegate.c:321> Param #12: |earlyprintk| [ 3.255901] <redpill/cmdline_delegate.c:248> Option "earlyprintk" not recognized - ignoring [ 3.257206] <redpill/cmdline_delegate.c:321> Param #13: |loglevel=15| [ 3.258187] <redpill/cmdline_delegate.c:248> Option "loglevel=15" not recognized - ignoring [ 3.259448] <redpill/cmdline_delegate.c:321> Param #14: |syno_port_thaw=1| [ 3.260493] <redpill/cmdline_delegate.c:162> Port thaw set to: 1 [ 3.261423] <redpill/cmdline_delegate.c:321> Param #15: |HddHotplug=0| [ 3.262489] <redpill/cmdline_delegate.c:248> Option "HddHotplug=0" not recognized - ignoring [ 3.263747] <redpill/cmdline_delegate.c:321> Param #16: |withefi| [ 3.264723] <redpill/cmdline_delegate.c:248> Option "withefi" not recognized - ignoring [ 3.265947] <redpill/cmdline_delegate.c:321> Param #17: |syno_hw_version=DS918+| [ 3.267099] <redpill/cmdline_delegate.c:20> HW version set to: DS918+ [ 3.268073] <redpill/cmdline_delegate.c:321> Param #18: |vender_format_version=2| [ 3.269217] <redpill/cmdline_delegate.c:248> Option "vender_format_version=2" not recognized - ignoring [ 3.270610] <redpill/cmdline_delegate.c:285> Add cmdline blacklist "vid=" @ 0 [ 3.271696] <redpill/cmdline_delegate.c:286> Add cmdline blacklist "pid=" @ 1 [ 3.272773] <redpill/cmdline_delegate.c:287> Add cmdline blacklist "mfg" @ 2 [ 3.273846] <redpill/cmdline_delegate.c:288> Add cmdline blacklist "loglevel=" @ 3 [ 3.274984] <redpill/cmdline_delegate.c:289> Add cmdline blacklist "elevator=" @ 4 [ 3.276182] <redpill/cmdline_delegate.c:290> Add cmdline blacklist "earlyprintk" @ 5 [ 3.277355] <redpill/cmdline_delegate.c:291> Add cmdline blacklist "syno_port_thaw=" @ 6 [ 3.278561] <redpill/cmdline_delegate.c:338> CmdLine processed successfully, tokens=19 [ 3.279737] <redpill/runtime_config.c:122> Found platform definition for "DS918+" [ 3.280914] <redpill/runtime_config.c:133> Validating runtime config... [ 3.281926] <redpill/runtime_config.c:142> Config validation resulted in OK [ 3.282992] <redpill/runtime_config.c:159> Runtime config populated [ 3.286091] <redpill/call_protected.c:81> Got addr ffffffff81928292 for early_serial_setup [ 3.287350] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 3.288341] BUG: unable to handle kernel paging request at ffffffff81928292 [ 3.288341] IP: [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] PGD 180d067 PUD 180e063 PMD 2768ad063 PTE 8000000001928163 [ 3.288341] Oops: 0011 [#1] SMP [ 3.288341] Modules linked in: redpill(OE+) [ 3.288341] CPU: 3 PID: 3836 Comm: insmod Tainted: G OE 4.4.180+ #41890 [ 3.288341] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-48-gd9c812dda519-prebuilt.qemu.org 04/01/2014 [ 3.288341] task: ffff88026b995940 ti: ffff880036104000 task.ti: ffff880036104000 [ 3.288341] RIP: 0010:[<ffffffff81928292>] [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] RSP: 0018:ffff880036107b38 EFLAGS: 00010246 [ 3.288341] RAX: ffffffff81928292 RBX: ffff880036107b58 RCX: 00000000000001fa [ 3.288341] RDX: 0000000000000001 RSI: 0000000000000246 RDI: ffff880036107b58 [ 3.288341] RBP: ffff880036107b48 R08: 6c6c69706465723c R09: 00000000000001fa [ 3.288341] R10: ffffffff816fab40 R11: 65746365746f7270 R12: ffff8800365e65e0 [ 3.288341] R13: 0000000000000000 R14: ffffffffa0012000 R15: ffff880272ad5600 [ 3.288341] FS: 00007f6b9677d740(0000) GS:ffff88027fd80000(0000) knlGS:0000000000000000 [ 3.288341] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.288341] CR2: ffffffff81928292 CR3: 00000002747bd000 CR4: 00000000003406b0 [ 3.288341] Stack: [ 3.288341] ffffffffa000107c 0000000000000000 ffff880036107cd0 ffffffffa00071f3 [ 3.288341] 0000000000000000 00000000000003f8 0000000000000000 0000000000000000 [ 3.288341] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 3.288341] Call Trace: [ 3.288341] [<ffffffffa000107c>] ? _early_serial_setup+0x1c/0xa0 [redpill] [ 3.288341] [<ffffffffa00071f3>] fix_muted_ttyS0+0x53/0xc0 [redpill] [ 3.288341] [<ffffffffa00072ab>] register_uart_fixer+0x1b/0x90 [redpill] [ 3.288341] [<ffffffffa001207b>] init_redpill+0x7b/0x143 [redpill] [ 3.288341] [<ffffffff810003b8>] do_one_initcall+0x88/0x1a0 [ 3.288341] [<ffffffff8116daaa>] ? __vunmap+0x9a/0xf0 [ 3.288341] [<ffffffff811305d3>] do_init_module+0x5a/0x1bf [ 3.288341] [<ffffffff810cb1a0>] load_module+0x1ca0/0x22b0 [ 3.288341] [<ffffffff810c80b0>] ? __symbol_put+0x40/0x40 [ 3.288341] [<ffffffff810cb981>] SYSC_finit_module+0x81/0xa0 [ 3.288341] [<ffffffff810cb9b9>] SyS_finit_module+0x9/0x10 [ 3.288341] [<ffffffff8157998a>] entry_SYSCALL_64_fastpath+0x1e/0x8e [ 3.288341] Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <cc> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc [ 3.288341] RIP [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] RSP <ffff880036107b38> [ 3.288341] CR2: ffffffff81928292 [ 3.288341] ---[ end trace cc15cf19e1dc28a8 ]--- Killed Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore[ 3.364522] ACPI: bus type USB registered [ 3.365224] usbcore: registered new interface driver usbfs [ 3.366276] usbcore: registered new interface driver hub [ 3.367316] usbcore: registered new interface driver ethub [ 3.368343] usbcore: registered new device driver usb ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module xhci-pci[ 3.382130] xhci_hcd 0000:00:07.0: xHCI Host Controller [ 3.383276] xhci_hcd 0000:00:07.0: new USB bus registered, assigned bus number 1 [ 3.584961] xhci_hcd 0000:00:07.0: hcc params 0x00087001 hci version 0x100 quirks 0x00000010 [ 3.587087] hub 1-0:1.0: USB hub found [ 3.587819] hub 1-0:1.0: 15 ports detected [ 3.589196] xhci_hcd 0000:00:07.0: xHCI Host Controller [ 3.590282] xhci_hcd 0000:00:07.0: new USB bus registered, assigned bus number 2 [ 3.591936] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.593823] hub 2-0:1.0: USB hub found [ 3.594737] hub 2-0:1.0: 15 ports detected ... [ OK ] :: Loading module usb-storage[ 3.605934] usbcore: registered new interface driver usb-storage ... [ OK ] Insert net driver(Mindspeed only)... [ 3.614145] apollolake_synobios: module license 'Synology Inc.' taints kernel. [ 3.615860] synobios open /dev/ttyS1 success [ 3.616590] WARNING: inconsistent syno gpio info, hdd detect [ 3.617520] correction with 0x00 [ 3.617983] 1900-1-0 0:0:0 UTC [ 3.618490] synobios: load, major number 201 [ 3.619185] Brand: Synology [ 3.619626] Model: DS-918+ [ 3.620096] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 3.621377] synobios cpu_arch proc entry initialized [ 3.622200] synobios crypto_hw proc entry initialized [ 3.622921] synobios syno_platform proc entry initialized Starting /usr/syno/bin/synocfgen... /usr/syno/bin/synocfgen returns 0 [ 3.627371] Module [apollolake_synobios] is removed. [ 3.628204] synobios: unload insmod: can't insert '/lib/modules/virtio-rng.ko': No such file or directory Assemble args: -u 323c41e0:4c6e4857:3017a5a8:c86610be /dev/sdd1 [ 3.669883] md: md0 stopped. [ 3.671210] md: bind<sdd1> [ 3.672135] md/raid1:md0: active with 1 out of 16 mirrors [ 3.678975] md0: detected capacity change from 0 to 2549940224 mdadm: /dev/md0 has been started with 1 drive (out of 16). Partition Version=8 /sbin/e2fsck exists, checking /dev/md0... e2fsck 1.44.1 (24-Mar-2018) /sbin/e2fsck -yvf returns 0 Mounting /dev/md0 /tmpRoot [ 3.714786] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 3.721941] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) ------------upgrade Begin upgrade procedure Mount data partition: /dev/md0 -> /tmpData No upgrade file exists End upgrade procedure [ 3.912112] usb 1-2: new high-speed USB device number 2 using xhci_hcd [ 4.171305] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd [ 4.186561] usb-storage 2-1:1.0: USB Mass Storage device detected [ 4.188733] scsi host6: usb-storage 2-1:1.0 ============upgrade ------------bootup-smallupdate Try bootup smallupdate chroot: can't execute '/usr/syno/sbin/synoupgrade': No such file or directory Failed to synoupgrade --bootup-smallupdate [127] Exit on error [6] bootup-smallupdate failed... Tue Aug 10 04:06:32 UTC 2021 /dev/md0 /tmpRoot ext4 rw,relatime,data=ordered 0 0 none /sys/kernel/debug debugfs rw,relatime 0 0 umount: /etc/mtab: No such file or directory linuxrc.syno failed on 6 starting pid 4566, tty '': '/etc/rc' :: Starting /etc/rc :: Mounting procfs ... [ OK ] :: Mounting tmpfs ... [ OK ] :: Mounting devtmpfs ... [ OK ] :: Mounting devpts ... [ OK ] :: Mounting sysfs ... [ OK ] [ 4.887949] random: syno_swap_ctl: uninitialized urandom read (4 bytes read, 108 bits of entropy available) [ 4.893773] md: md1 stopped. [ 4.895279] md: bind<sdd2> [ 4.895954] md/raid1:md1: active with 1 out of 16 mirrors [ 4.902636] md1: detected capacity change from 0 to 2147418112 [ 4.912786] Adding 2097084k swap on /dev/md1. Priority:-1 extents:1 across:2097084k :: Loading module fat ... [ OK ] :: Loading module vfat ... [ OK ] :: Loading module udp_tunnel ... [ OK ] :: Loading module ip6_udp_tunnel ... [ OK ] :: Loading module vxlan ... [ OK ] :: Loading module e1000e[ 4.983863] e1000e: Intel(R) PRO/1000 Network Driver - 3.4.2.4-NAPI [ 4.985437] e1000e: Copyright(c) 1999 - 2019 Intel Corporation. [ 4.987196] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [ 5.029655] random: nonblocking pool is initialized [ 5.036352] e1000e 0000:01:00.0 0000:01:00.0 (uninitialized): registered PHC clock [ 5.093370] e1000e 0000:01:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:50:56:23:f3:98 [ 5.094825] e1000e 0000:01:00.0 eth0: Intel(R) PRO/1000 Network Connection [ 5.096178] e1000e 0000:01:00.0 eth0: MAC: 3, PHY: 8, PBA No: 000000-000 ... [ OK ] :: Loading module i2c-algo-bit ... [ OK ] :: Loading module igb[ 5.104482] Intel(R) Gigabit Ethernet Linux Driver - version 5.3.5.22 [ 5.105750] Copyright(c) 2007 - 2018 Intel Corporation. ... [ OK ] :: Loading module r8168 ... [ OK ] :: Loading module sunrpc[ 5.123875] RPC: Registered named UNIX socket transport module. [ 5.124985] RPC: Registered udp transport module. [ 5.125913] RPC: Registered tcp transport module. [ 5.126799] RPC: Registered tcp NFSv4.1 backchannel transport module. ... [ OK ] :: Loading module grace ... [ OK ] :: Loading module lockd ... [ OK ] :: Loading module nfs ... [ OK ] :: Loading module nfsv3 ... [ OK ] [ 5.148904] synobios open /dev/ttyS1 success [ 5.149644] WARNING: inconsistent syno gpio info, hdd detect [ 5.150712] correction with 0x00 [ 5.151294] 1900-1-0 0:0:0 UTC [ 5.151757] synobios: load, major number 201 [ 5.152537] Brand: Synology [ 5.153041] Model: DS-918+ [ 5.153493] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 5.154825] synobios cpu_arch proc entry initialized [ 5.155712] synobios crypto_hw proc entry initialized [ 5.156540] synobios syno_platform proc entry initialized mknod: /dev/synobios: File exists Starting SW init... [ 5.159360] Invalid disk Number [9] [ 5.160275] Invalid disk Number [10] [ 5.161040] Invalid disk Number [11] [ 5.161574] Invalid disk Number [12] [ 5.162171] Invalid disk Number [13] [ 5.162690] Invalid disk Number [14] [ 5.163352] Invalid disk Number [15] [ 5.163868] Invalid disk Number [16] [ 5.192381] I/O scheduler elevator not found [ 5.194539] scsi 6:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 5.196828] I/O scheduler elevator not found [ 5.198069] sd 6:0:0:0: [sdq] 262144 512-byte logical blocks: (134 MB/128 MiB) [ 5.199817] sd 6:0:0:0: [sdq] Write Protect is off [ 5.200828] sd 6:0:0:0: [sdq] Mode Sense: 63 00 00 08 [ 5.202147] sd 6:0:0:0: [sdq] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.204763] sdq: sdq1 sdq2 sdq3 [ 5.206434] sd 6:0:0:0: [sdq] Attached SCSI disk [ 5.769882] Module [apollolake_synobios] is removed. [ 5.770707] synobios: unload :: Loading module synobios[ 5.791466] synobios open /dev/ttyS1 success [ 5.792610] WARNING: inconsistent syno gpio info, hdd detect [ 5.793773] correction with 0x00 [ 5.794319] 1900-1-0 0:0:0 UTC [ 5.794761] synobios: load, major number 201 [ 5.795448] Brand: Synology [ 5.795915] Model: DS-918+ [ 5.796386] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 5.797667] synobios cpu_arch proc entry initialized [ 5.798474] synobios crypto_hw proc entry initialized [ 5.799274] synobios syno_platform proc entry initialized ... [ OK ] [ 6.024130] e1000e 0000:01:00.0 eth0: MSI interrupt test failed, using legacy interrupt. udhcpc: started, v1.30.1 [ 6.399809] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx eth0 Link encap:Ethernet HWaddr 00:50:56:23:F3:98 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:437 (437.0 B) TX bytes:60 (60.0 B) Interrupt:22 Memory:fc640000-fc660000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) :: Starting syslogd ... [ OK ] :: Starting scemd [ 12.061743] Invalid disk Number [9] [ 12.062849] Invalid disk Number [10] [ 12.063947] Invalid disk Number [11] [ 12.064992] Invalid disk Number [12] [ 12.065552] Invalid disk Number [13] [ 12.066117] Invalid disk Number [14] [ 12.066641] Invalid disk Number [15] [ 12.067210] Invalid disk Number [16] :: Starting services in background Starting findhostd in flash_rd... Starting services in flash_rd... Running /usr/syno/etc/rc.d/J01httpd.sh... Starting httpd:80 in flash_rd... Starting httpd:5000 in flash_rd... Running /usr/syno/etc/rc.d/J03ssdpd.sh... [ 14.195266] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities /usr/bin/minissdpd -i eth0 (15): upnp:rootdevice (51): uuid:upnp_SynologyNAS-00505623f398::upnp:rootdevice (56): Synology/synology_apollolake_918+/7.0-41890/192.168.0.49 (45): http://192.168.0.49:5000/description-eth0.xml Connected. done. /usr/syno/bin/reg_ssdp_service 192.168.0.49 00505623f398 7.0-41890 synology_apollolake_918+ eth0 [ 14.209875] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh... Starting synoagentregisterd... Running /usr/syno/etc/rc.d/J30DisableNCQ.sh... [ 14.242610] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities Running /usr/syno/etc/rc.d/J80ADTFanControl.sh... Running /usr/syno/etc/rc.d/J98nbnsd.sh... Starting nbnsd... Running /usr/syno/etc/rc.d/J99avahi.sh... [ 14.248544] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Starting Avahi mDNS/DNS-SD Daemon cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf [ 14.264534] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 14.270245] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) :: Loading module hid ... [ OK ] :: Loading module usbhid[ 14.286853] usbcore: registered new interface driver usbhid [ 14.287888] usbhid: USB HID core driver ... [ OK ] :: Loading module syno_hddmon ... [FAILED] Excution Error ============ Date ============ Tue Aug 10 04:06:42 UTC 2021 ============================== starting pid 5868, tty '': '/sbin/getty 115200 console' Tue Aug 10 04:06:42 2021 DiskStation login: Yours is another issue. You have completed the boot process. The major issue is missing LAN adaptor. There are no network from the e1000e. I uses Virt-io network which obtain fine. (but I use a correct mac address and serial number) anyway, you can login "root" without password to see more from /var/log/messages Link to comment Share on other sites More sharing options...
loomes Posted August 10, 2021 Share #317 Posted August 10, 2021 1 hour ago, jumkey said: same as https://github.com/RedPill-TTG/redpill-lkm/commit/c390f74e48bbe87ecc7ff898402cd87dc4d62f38#comments Disable reinit tty in platforms.h and it will work. Link to comment Share on other sites More sharing options...
loomes Posted August 10, 2021 Share #318 Posted August 10, 2021 (edited) powerbutton for DSM7 (apollolake and bromolow): https://www.file-upload.net/download-14659361/install.sh.html https://www.file-upload.net/download-14659363/powerbutton-7.0-apollolake.tar.html https://www.file-upload.net/download-14659362/powerbutton-7.0-bromolow.tar.html Edited August 10, 2021 by loomes 3 1 Link to comment Share on other sites More sharing options...
Aigor Posted August 10, 2021 Share #319 Posted August 10, 2021 Why i have this strange prompt on DS3615xs 7.0-41222 -BusyBox v1.30.1 () built-in shell (ash) -DiskStation> -l-s- - -DiskStation> -a-d-d-a-d-j-j-d-k-s-d-j-a-l-k-j-d-l-k-j-a beetwein every char there is a "-" minus, but it's only cosmetic, command run flawless Link to comment Share on other sites More sharing options...
Aigor Posted August 10, 2021 Share #320 Posted August 10, 2021 (edited) Try to install into vmware esxi7 -DiskStation login: [ 155.539143] md: bind<sda1> [ 155.545683] md/raid1:md0: active with 1 out of 15 mirrors [ 155.547822] md0: detected capacity change from 0 to 2549940224 [ 158.558838] md: bind<sda2> [ 158.565218] md/raid1:md1: active with 1 out of 15 mirrors [ 158.567452] md1: detected capacity change from 0 to 2147418112 [ 158.575567] md1: unknown partition table [ 158.591467] md0: unknown partition table [ 158.879541] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.882427] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.894494] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 158.953088] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.955542] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.967400] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 158.979805] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.982403] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.994310] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 180.047699] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 180.050885] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 180.064123] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Webinterface stopped around 40% To boot img from usb into vmware esxi, you need to use plip iso boot and usb stick where to put image file with win32 disk imager. Download plip https://download.plop.at/files/bootmngr/plpbt-5.0.15.zip unzip, you obtain a iso file, connect them to VM as boot CDROM when usb-key is ready, put it into esxi host, on VM add usb host device and you should see usb key. Boot with plip, at prompt, boot usb and you can boot vm from image into usb key. Edited August 10, 2021 by Aigor Link to comment Share on other sites More sharing options...
jarugut Posted August 10, 2021 Share #321 Posted August 10, 2021 The bootloader for DS918+ DSM7 with drivers integrated works fine on QNAP hardware. I've tested the same USB on other Barametal but I received error 13 or file corrupted, but in the qnap ts453a works perfectly Link to comment Share on other sites More sharing options...
ThorGroup Posted August 11, 2021 Author Share #322 Posted August 11, 2021 (edited) 21 hours ago, gadreel said: @ThorGroup Thanks for clarifying. The Jun's loader had support for AMD? Ok, I managed to get the output and it fails at: :: Loading module syno_hddmon ... [FAILED] [ 1.017935] console [ttyS2] enabled [ 1.019129] bootconsole [uart0] disabled [ 1.255514] serial8250: ttyS2 at I/O 0x3e8 (irq = 4, base_baud = 115200) is a 16550A [ 1.257050] Linux agpgart interface v0.103 [ 1.263322] brd: module loaded [ 1.263982] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized [ 1.265249] Loading iSCSI transport class v2.0-870. [ 1.272651] ahci 0000:00:1f.2: version 3.0 [ 1.273585] ACPI: PCI Interrupt Link [GSIA] enabled at IRQ 16 [ 1.275276] ahci 0000:00:1f.2: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode [ 1.276760] ahci 0000:00:1f.2: flags: 64bit ncq only [ 1.290446] scsi host0: ahci [ 1.302461] scsi host1: ahci [ 1.313839] scsi host2: ahci [ 1.317903] scsi host3: ahci [ 1.319242] scsi host4: ahci [ 1.320234] scsi host5: ahci [ 1.320795] ata1: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a100 irq 28 [ 1.322134] ata2: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a180 irq 28 [ 1.323483] ata3: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a200 irq 28 [ 1.324674] ata4: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a280 irq 28 [ 1.325786] ata5: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a300 irq 28 [ 1.326956] ata6: SATA max UDMA/133 abar m4096@0xfc81a000 port 0xfc81a380 irq 28 [ 1.633227] ata1: SATA link down (SStatus 0 SControl 300) [ 1.634898] ata1: Disk is present for SATA link down event [ 1.941312] ata2: SATA link down (SStatus 0 SControl 300) [ 1.943332] ata2: No present pin info for SATA link down event [ 2.249258] ata3: SATA link down (SStatus 0 SControl 300) [ 2.250877] ata3: No present pin info for SATA link down event [ 2.557239] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 2.559248] ata4.00: ATA-7: QEMU HARDDISK, 2.5+, max UDMA/100 [ 2.560943] ata4.00: 41943040 sectors, multi 16: LBA48 NCQ (depth 31/32) [ 2.562099] ata4.00: SN:QM00007 [ 2.562555] ata4.00: applying bridge limits [ 2.563310] ata4.00: configured for UDMA/100 [ 2.563997] ata4.00: Find SSD disks. [QEMU HARDDISK] [ 2.564843] I/O scheduler elevator not found [ 2.565697] scsi 3:0:0:0: Direct-Access QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 2.567201] sd 3:0:0:0: [sdd] 41943040 512-byte logical blocks: (21.5 GB/20.0 GiB) [ 2.568664] sd 3:0:0:0: [sdd] Write Protect is off [ 2.569555] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00 [ 2.570514] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.572490] sdd: sdd1 sdd2 [ 2.573272] sd 3:0:0:0: [sdd] Attached SCSI disk [ 2.872266] ata5: SATA link down (SStatus 0 SControl 300) [ 2.874765] ata5: No present pin info for SATA link down event [ 3.180240] ata6: SATA link down (SStatus 0 SControl 300) [ 3.181836] ata6: No present pin info for SATA link down event [ 3.183832] i2c /dev entries driver [ 3.185258] i801_smbus 0000:00:1f.3: SMBus using polling [ 3.186805] md: raid1 personality registered for level 1 [ 3.187856] NET: Registered protocol family 17 [ 3.188679] Key type dns_resolver registered [ 3.189478] mce: Unable to init device /dev/mcelog (rc: -5) [ 3.190802] registered taskstats version 1 [ 3.191584] Loading compiled-in untrusted X.509 certificates [ 3.192622] Loading compiled-in X.509 certificates [ 3.193530] Loaded X.509 cert 'Synology SDG kernel module signing key: 7bd0b0d6bcd31651c22ce3978bdc8c8bdc417329' [ 3.195837] Loaded X.509 cert 'Synology Root Certification Authority: f2c075361f168425f8b5ef31b796406c3aab2089' [ 3.197586] Loaded X.509 cert 'Synology Kernel Module Signing Certification Authority: 600839b5d127e0e11d817a31f0575d323a7c0e28' [ 3.199339] Loaded X.509 cert 'Synology kernel module signing key: 4646ce54489669338118a3b1286da156ac366fa5' [ 3.200784] page_owner is disabled [ 3.201368] AppArmor: AppArmor sha1 policy hashing enabled [ 3.202754] hctosys: unable to open rtc device (rtc0) [ 3.204931] Freeing unused kernel memory: 916K [ 3.205645] Write protecting the kernel read-only data: 8192k [ 3.206977] Freeing unused kernel memory: 508K [ 3.208267] Freeing unused kernel memory: 300K START /linuxrc.syno START /linuxrc.syno.impl [ 3.213752] redpill: loading out-of-tree module taints kernel. [ 3.214694] redpill: module verification failed: signature and/or required key missing - tainting kernel [ 3.216358] <redpill/redpill_main.c:24> ================================================================================================ [ 3.218496] <redpill/redpill_main.c:25> RedPill loading... [ 3.220185] <redpill/call_protected.c:65> Got addr ffffffff812041e0 for cmdline_proc_show [ 3.221409] <redpill/cmdline_delegate.c:266> Cmdline count: 329 [ 3.222321] <redpill/cmdline_delegate.c:310> Cmdline: BOOT_IMAGE=/zImage mac1=00505623F398 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0x46f4 syno_hdd_detect=0 pid=0x0001 console=ttyS2,115200n8 elevator=elevator sn=1780PDN123456 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 3.222321] [ 3.227503] <redpill/cmdline_delegate.c:321> Param #0: |BOOT_IMAGE=/zImage| [ 3.228562] <redpill/cmdline_delegate.c:248> Option "BOOT_IMAGE=/zImage" not recognized - ignoring [ 3.229901] <redpill/cmdline_delegate.c:321> Param #1: |mac1=00505623F398| [ 3.230948] <redpill/cmdline_delegate.c:236> Set MAC #1: 00505623F398 [ 3.231935] <redpill/cmdline_delegate.c:321> Param #2: |netif_num=1| [ 3.232995] <redpill/cmdline_delegate.c:191> Declared network ifaces # as 1 [ 3.234122] <redpill/cmdline_delegate.c:321> Param #3: |earlycon=uart8250,io,0x3f8,115200n8| [ 3.235385] <redpill/cmdline_delegate.c:248> Option "earlycon=uart8250,io,0x3f8,115200n8" not recognized - ignoring [ 3.236904] <redpill/cmdline_delegate.c:321> Param #4: |syno_hdd_powerup_seq=1| [ 3.238022] <redpill/cmdline_delegate.c:248> Option "syno_hdd_powerup_seq=1" not recognized - ignoring [ 3.239436] <redpill/cmdline_delegate.c:321> Param #5: |vid=0x46f4| [ 3.240414] <redpill/cmdline_delegate.c:75> VID override: 0x46f4 [ 3.241355] <redpill/cmdline_delegate.c:321> Param #6: |syno_hdd_detect=0| [ 3.242403] <redpill/cmdline_delegate.c:248> Option "syno_hdd_detect=0" not recognized - ignoring [ 3.243734] <redpill/cmdline_delegate.c:321> Param #7: |pid=0x0001| [ 3.244719] <redpill/cmdline_delegate.c:110> PID override: 0x0001 [ 3.245670] <redpill/cmdline_delegate.c:321> Param #8: |console=ttyS2,115200n8| [ 3.246780] <redpill/cmdline_delegate.c:248> Option "console=ttyS2,115200n8" not recognized - ignoring [ 3.248207] <redpill/cmdline_delegate.c:321> Param #9: |elevator=elevator| [ 3.249288] <redpill/cmdline_delegate.c:248> Option "elevator=elevator" not recognized - ignoring [ 3.250622] <redpill/cmdline_delegate.c:321> Param #10: |sn=1780PDN123456| [ 3.251659] <redpill/cmdline_delegate.c:40> S/N set to: 1780PDN123456 [ 3.252644] <redpill/cmdline_delegate.c:321> Param #11: |root=/dev/md0| [ 3.253656] <redpill/cmdline_delegate.c:248> Option "root=/dev/md0" not recognized - ignoring [ 3.254921] <redpill/cmdline_delegate.c:321> Param #12: |earlyprintk| [ 3.255901] <redpill/cmdline_delegate.c:248> Option "earlyprintk" not recognized - ignoring [ 3.257206] <redpill/cmdline_delegate.c:321> Param #13: |loglevel=15| [ 3.258187] <redpill/cmdline_delegate.c:248> Option "loglevel=15" not recognized - ignoring [ 3.259448] <redpill/cmdline_delegate.c:321> Param #14: |syno_port_thaw=1| [ 3.260493] <redpill/cmdline_delegate.c:162> Port thaw set to: 1 [ 3.261423] <redpill/cmdline_delegate.c:321> Param #15: |HddHotplug=0| [ 3.262489] <redpill/cmdline_delegate.c:248> Option "HddHotplug=0" not recognized - ignoring [ 3.263747] <redpill/cmdline_delegate.c:321> Param #16: |withefi| [ 3.264723] <redpill/cmdline_delegate.c:248> Option "withefi" not recognized - ignoring [ 3.265947] <redpill/cmdline_delegate.c:321> Param #17: |syno_hw_version=DS918+| [ 3.267099] <redpill/cmdline_delegate.c:20> HW version set to: DS918+ [ 3.268073] <redpill/cmdline_delegate.c:321> Param #18: |vender_format_version=2| [ 3.269217] <redpill/cmdline_delegate.c:248> Option "vender_format_version=2" not recognized - ignoring [ 3.270610] <redpill/cmdline_delegate.c:285> Add cmdline blacklist "vid=" @ 0 [ 3.271696] <redpill/cmdline_delegate.c:286> Add cmdline blacklist "pid=" @ 1 [ 3.272773] <redpill/cmdline_delegate.c:287> Add cmdline blacklist "mfg" @ 2 [ 3.273846] <redpill/cmdline_delegate.c:288> Add cmdline blacklist "loglevel=" @ 3 [ 3.274984] <redpill/cmdline_delegate.c:289> Add cmdline blacklist "elevator=" @ 4 [ 3.276182] <redpill/cmdline_delegate.c:290> Add cmdline blacklist "earlyprintk" @ 5 [ 3.277355] <redpill/cmdline_delegate.c:291> Add cmdline blacklist "syno_port_thaw=" @ 6 [ 3.278561] <redpill/cmdline_delegate.c:338> CmdLine processed successfully, tokens=19 [ 3.279737] <redpill/runtime_config.c:122> Found platform definition for "DS918+" [ 3.280914] <redpill/runtime_config.c:133> Validating runtime config... [ 3.281926] <redpill/runtime_config.c:142> Config validation resulted in OK [ 3.282992] <redpill/runtime_config.c:159> Runtime config populated [ 3.286091] <redpill/call_protected.c:81> Got addr ffffffff81928292 for early_serial_setup [ 3.287350] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 3.288341] BUG: unable to handle kernel paging request at ffffffff81928292 [ 3.288341] IP: [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] PGD 180d067 PUD 180e063 PMD 2768ad063 PTE 8000000001928163 [ 3.288341] Oops: 0011 [#1] SMP [ 3.288341] Modules linked in: redpill(OE+) [ 3.288341] CPU: 3 PID: 3836 Comm: insmod Tainted: G OE 4.4.180+ #41890 [ 3.288341] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-48-gd9c812dda519-prebuilt.qemu.org 04/01/2014 [ 3.288341] task: ffff88026b995940 ti: ffff880036104000 task.ti: ffff880036104000 [ 3.288341] RIP: 0010:[<ffffffff81928292>] [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] RSP: 0018:ffff880036107b38 EFLAGS: 00010246 [ 3.288341] RAX: ffffffff81928292 RBX: ffff880036107b58 RCX: 00000000000001fa [ 3.288341] RDX: 0000000000000001 RSI: 0000000000000246 RDI: ffff880036107b58 [ 3.288341] RBP: ffff880036107b48 R08: 6c6c69706465723c R09: 00000000000001fa [ 3.288341] R10: ffffffff816fab40 R11: 65746365746f7270 R12: ffff8800365e65e0 [ 3.288341] R13: 0000000000000000 R14: ffffffffa0012000 R15: ffff880272ad5600 [ 3.288341] FS: 00007f6b9677d740(0000) GS:ffff88027fd80000(0000) knlGS:0000000000000000 [ 3.288341] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3.288341] CR2: ffffffff81928292 CR3: 00000002747bd000 CR4: 00000000003406b0 [ 3.288341] Stack: [ 3.288341] ffffffffa000107c 0000000000000000 ffff880036107cd0 ffffffffa00071f3 [ 3.288341] 0000000000000000 00000000000003f8 0000000000000000 0000000000000000 [ 3.288341] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 [ 3.288341] Call Trace: [ 3.288341] [<ffffffffa000107c>] ? _early_serial_setup+0x1c/0xa0 [redpill] [ 3.288341] [<ffffffffa00071f3>] fix_muted_ttyS0+0x53/0xc0 [redpill] [ 3.288341] [<ffffffffa00072ab>] register_uart_fixer+0x1b/0x90 [redpill] [ 3.288341] [<ffffffffa001207b>] init_redpill+0x7b/0x143 [redpill] [ 3.288341] [<ffffffff810003b8>] do_one_initcall+0x88/0x1a0 [ 3.288341] [<ffffffff8116daaa>] ? __vunmap+0x9a/0xf0 [ 3.288341] [<ffffffff811305d3>] do_init_module+0x5a/0x1bf [ 3.288341] [<ffffffff810cb1a0>] load_module+0x1ca0/0x22b0 [ 3.288341] [<ffffffff810c80b0>] ? __symbol_put+0x40/0x40 [ 3.288341] [<ffffffff810cb981>] SYSC_finit_module+0x81/0xa0 [ 3.288341] [<ffffffff810cb9b9>] SyS_finit_module+0x9/0x10 [ 3.288341] [<ffffffff8157998a>] entry_SYSCALL_64_fastpath+0x1e/0x8e [ 3.288341] Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <cc> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc [ 3.288341] RIP [<ffffffff81928292>] early_serial_setup+0x0/0x150 [ 3.288341] RSP <ffff880036107b38> [ 3.288341] CR2: ffffffff81928292 [ 3.288341] ---[ end trace cc15cf19e1dc28a8 ]--- Killed Insert basic USB modules... :: Loading module usb-common ... [ OK ] :: Loading module usbcore[ 3.364522] ACPI: bus type USB registered [ 3.365224] usbcore: registered new interface driver usbfs [ 3.366276] usbcore: registered new interface driver hub [ 3.367316] usbcore: registered new interface driver ethub [ 3.368343] usbcore: registered new device driver usb ... [ OK ] :: Loading module xhci-hcd ... [ OK ] :: Loading module xhci-pci[ 3.382130] xhci_hcd 0000:00:07.0: xHCI Host Controller [ 3.383276] xhci_hcd 0000:00:07.0: new USB bus registered, assigned bus number 1 [ 3.584961] xhci_hcd 0000:00:07.0: hcc params 0x00087001 hci version 0x100 quirks 0x00000010 [ 3.587087] hub 1-0:1.0: USB hub found [ 3.587819] hub 1-0:1.0: 15 ports detected [ 3.589196] xhci_hcd 0000:00:07.0: xHCI Host Controller [ 3.590282] xhci_hcd 0000:00:07.0: new USB bus registered, assigned bus number 2 [ 3.591936] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 3.593823] hub 2-0:1.0: USB hub found [ 3.594737] hub 2-0:1.0: 15 ports detected ... [ OK ] :: Loading module usb-storage[ 3.605934] usbcore: registered new interface driver usb-storage ... [ OK ] Insert net driver(Mindspeed only)... [ 3.614145] apollolake_synobios: module license 'Synology Inc.' taints kernel. [ 3.615860] synobios open /dev/ttyS1 success [ 3.616590] WARNING: inconsistent syno gpio info, hdd detect [ 3.617520] correction with 0x00 [ 3.617983] 1900-1-0 0:0:0 UTC [ 3.618490] synobios: load, major number 201 [ 3.619185] Brand: Synology [ 3.619626] Model: DS-918+ [ 3.620096] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 3.621377] synobios cpu_arch proc entry initialized [ 3.622200] synobios crypto_hw proc entry initialized [ 3.622921] synobios syno_platform proc entry initialized Starting /usr/syno/bin/synocfgen... /usr/syno/bin/synocfgen returns 0 [ 3.627371] Module [apollolake_synobios] is removed. [ 3.628204] synobios: unload insmod: can't insert '/lib/modules/virtio-rng.ko': No such file or directory Assemble args: -u 323c41e0:4c6e4857:3017a5a8:c86610be /dev/sdd1 [ 3.669883] md: md0 stopped. [ 3.671210] md: bind<sdd1> [ 3.672135] md/raid1:md0: active with 1 out of 16 mirrors [ 3.678975] md0: detected capacity change from 0 to 2549940224 mdadm: /dev/md0 has been started with 1 drive (out of 16). Partition Version=8 /sbin/e2fsck exists, checking /dev/md0... e2fsck 1.44.1 (24-Mar-2018) /sbin/e2fsck -yvf returns 0 Mounting /dev/md0 /tmpRoot [ 3.714786] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 3.721941] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) ------------upgrade Begin upgrade procedure Mount data partition: /dev/md0 -> /tmpData No upgrade file exists End upgrade procedure [ 3.912112] usb 1-2: new high-speed USB device number 2 using xhci_hcd [ 4.171305] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd [ 4.186561] usb-storage 2-1:1.0: USB Mass Storage device detected [ 4.188733] scsi host6: usb-storage 2-1:1.0 ============upgrade ------------bootup-smallupdate Try bootup smallupdate chroot: can't execute '/usr/syno/sbin/synoupgrade': No such file or directory Failed to synoupgrade --bootup-smallupdate [127] Exit on error [6] bootup-smallupdate failed... Tue Aug 10 04:06:32 UTC 2021 /dev/md0 /tmpRoot ext4 rw,relatime,data=ordered 0 0 none /sys/kernel/debug debugfs rw,relatime 0 0 umount: /etc/mtab: No such file or directory linuxrc.syno failed on 6 starting pid 4566, tty '': '/etc/rc' :: Starting /etc/rc :: Mounting procfs ... [ OK ] :: Mounting tmpfs ... [ OK ] :: Mounting devtmpfs ... [ OK ] :: Mounting devpts ... [ OK ] :: Mounting sysfs ... [ OK ] [ 4.887949] random: syno_swap_ctl: uninitialized urandom read (4 bytes read, 108 bits of entropy available) [ 4.893773] md: md1 stopped. [ 4.895279] md: bind<sdd2> [ 4.895954] md/raid1:md1: active with 1 out of 16 mirrors [ 4.902636] md1: detected capacity change from 0 to 2147418112 [ 4.912786] Adding 2097084k swap on /dev/md1. Priority:-1 extents:1 across:2097084k :: Loading module fat ... [ OK ] :: Loading module vfat ... [ OK ] :: Loading module udp_tunnel ... [ OK ] :: Loading module ip6_udp_tunnel ... [ OK ] :: Loading module vxlan ... [ OK ] :: Loading module e1000e[ 4.983863] e1000e: Intel(R) PRO/1000 Network Driver - 3.4.2.4-NAPI [ 4.985437] e1000e: Copyright(c) 1999 - 2019 Intel Corporation. [ 4.987196] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode [ 5.029655] random: nonblocking pool is initialized [ 5.036352] e1000e 0000:01:00.0 0000:01:00.0 (uninitialized): registered PHC clock [ 5.093370] e1000e 0000:01:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:50:56:23:f3:98 [ 5.094825] e1000e 0000:01:00.0 eth0: Intel(R) PRO/1000 Network Connection [ 5.096178] e1000e 0000:01:00.0 eth0: MAC: 3, PHY: 8, PBA No: 000000-000 ... [ OK ] :: Loading module i2c-algo-bit ... [ OK ] :: Loading module igb[ 5.104482] Intel(R) Gigabit Ethernet Linux Driver - version 5.3.5.22 [ 5.105750] Copyright(c) 2007 - 2018 Intel Corporation. ... [ OK ] :: Loading module r8168 ... [ OK ] :: Loading module sunrpc[ 5.123875] RPC: Registered named UNIX socket transport module. [ 5.124985] RPC: Registered udp transport module. [ 5.125913] RPC: Registered tcp transport module. [ 5.126799] RPC: Registered tcp NFSv4.1 backchannel transport module. ... [ OK ] :: Loading module grace ... [ OK ] :: Loading module lockd ... [ OK ] :: Loading module nfs ... [ OK ] :: Loading module nfsv3 ... [ OK ] [ 5.148904] synobios open /dev/ttyS1 success [ 5.149644] WARNING: inconsistent syno gpio info, hdd detect [ 5.150712] correction with 0x00 [ 5.151294] 1900-1-0 0:0:0 UTC [ 5.151757] synobios: load, major number 201 [ 5.152537] Brand: Synology [ 5.153041] Model: DS-918+ [ 5.153493] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 5.154825] synobios cpu_arch proc entry initialized [ 5.155712] synobios crypto_hw proc entry initialized [ 5.156540] synobios syno_platform proc entry initialized mknod: /dev/synobios: File exists Starting SW init... [ 5.159360] Invalid disk Number [9] [ 5.160275] Invalid disk Number [10] [ 5.161040] Invalid disk Number [11] [ 5.161574] Invalid disk Number [12] [ 5.162171] Invalid disk Number [13] [ 5.162690] Invalid disk Number [14] [ 5.163352] Invalid disk Number [15] [ 5.163868] Invalid disk Number [16] [ 5.192381] I/O scheduler elevator not found [ 5.194539] scsi 6:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 5.196828] I/O scheduler elevator not found [ 5.198069] sd 6:0:0:0: [sdq] 262144 512-byte logical blocks: (134 MB/128 MiB) [ 5.199817] sd 6:0:0:0: [sdq] Write Protect is off [ 5.200828] sd 6:0:0:0: [sdq] Mode Sense: 63 00 00 08 [ 5.202147] sd 6:0:0:0: [sdq] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.204763] sdq: sdq1 sdq2 sdq3 [ 5.206434] sd 6:0:0:0: [sdq] Attached SCSI disk [ 5.769882] Module [apollolake_synobios] is removed. [ 5.770707] synobios: unload :: Loading module synobios[ 5.791466] synobios open /dev/ttyS1 success [ 5.792610] WARNING: inconsistent syno gpio info, hdd detect [ 5.793773] correction with 0x00 [ 5.794319] 1900-1-0 0:0:0 UTC [ 5.794761] synobios: load, major number 201 [ 5.795448] Brand: Synology [ 5.795915] Model: DS-918+ [ 5.796386] This is default settings: set group disks wakeup number to 1, spinup time deno 1 [ 5.797667] synobios cpu_arch proc entry initialized [ 5.798474] synobios crypto_hw proc entry initialized [ 5.799274] synobios syno_platform proc entry initialized ... [ OK ] [ 6.024130] e1000e 0000:01:00.0 eth0: MSI interrupt test failed, using legacy interrupt. udhcpc: started, v1.30.1 [ 6.399809] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx eth0 Link encap:Ethernet HWaddr 00:50:56:23:F3:98 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:437 (437.0 B) TX bytes:60 (60.0 B) Interrupt:22 Memory:fc640000-fc660000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) :: Starting syslogd ... [ OK ] :: Starting scemd [ 12.061743] Invalid disk Number [9] [ 12.062849] Invalid disk Number [10] [ 12.063947] Invalid disk Number [11] [ 12.064992] Invalid disk Number [12] [ 12.065552] Invalid disk Number [13] [ 12.066117] Invalid disk Number [14] [ 12.066641] Invalid disk Number [15] [ 12.067210] Invalid disk Number [16] :: Starting services in background Starting findhostd in flash_rd... Starting services in flash_rd... Running /usr/syno/etc/rc.d/J01httpd.sh... Starting httpd:80 in flash_rd... Starting httpd:5000 in flash_rd... Running /usr/syno/etc/rc.d/J03ssdpd.sh... [ 14.195266] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities /usr/bin/minissdpd -i eth0 (15): upnp:rootdevice (51): uuid:upnp_SynologyNAS-00505623f398::upnp:rootdevice (56): Synology/synology_apollolake_918+/7.0-41890/192.168.0.49 (45): http://192.168.0.49:5000/description-eth0.xml Connected. done. /usr/syno/bin/reg_ssdp_service 192.168.0.49 00505623f398 7.0-41890 synology_apollolake_918+ eth0 [ 14.209875] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh... Starting synoagentregisterd... Running /usr/syno/etc/rc.d/J30DisableNCQ.sh... [ 14.242610] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities Running /usr/syno/etc/rc.d/J80ADTFanControl.sh... Running /usr/syno/etc/rc.d/J98nbnsd.sh... Starting nbnsd... Running /usr/syno/etc/rc.d/J99avahi.sh... [ 14.248544] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Starting Avahi mDNS/DNS-SD Daemon cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf [ 14.264534] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 14.270245] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) :: Loading module hid ... [ OK ] :: Loading module usbhid[ 14.286853] usbcore: registered new interface driver usbhid [ 14.287888] usbhid: USB HID core driver ... [ OK ] :: Loading module syno_hddmon ... [FAILED] Excution Error ============ Date ============ Tue Aug 10 04:06:42 UTC 2021 ============================== starting pid 5868, tty '': '/sbin/getty 115200 console' Tue Aug 10 04:06:42 2021 DiskStation login: This is a new issue with v7. There's a reason why it's not merged The core of the problem lies in the timing of the function usage: https://github.com/RedPill-TTG/redpill-lkm/issues/10 As for the AMD support this isn't up to the loader. Kernel is built by syno and we cannot realistically rebuild it from scratch. During the process they disabled AMD support (or actually only enabled Intel support, which is kind of a good practice which lets the compiler optimize for the platform you target). This is unusual in normal Linux distros space since they're meant to run on a variety of hardware, but in NASes and other closed appliance it's pretty normal. The AMD support is available in v1000 platform but we didn't explore it yet. 21 hours ago, mcdull said: [ 0.000000] Command line: BOOT_IMAGE=/zImage mac1=001122334455 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0xF400 syno_hdd_detect=0 pid=0xF400 console=ttyS2,115200n8 elevator=elevator sn=2000PDN000000 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] Kernel command line: BOOT_IMAGE=/zImage mac1=001122334455 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0xF400 syno_hdd_detect=0 pid=0xF400 console=ttyS2,115200n8 elevator=elevator sn=2000PDN000000 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 5.083969] <redpill/cmdline_delegate.c:310> Cmdline: BOOT_IMAGE=/zImage mac1=001122334455 netif_num=1 earlycon=uart8250,io,0x3f8,115200n8 syno_hdd_powerup_seq=1 vid=0xF400 syno_hdd_detect=0 pid=0xF400 console=ttyS2,115200n8 elevator=elevator sn=2000PDN000000 root=/dev/md0 earlyprintk loglevel=15 syno_port_thaw=1 HddHotplug=0 withefi syno_hw_version=DS918+ vender_format_version=2 [ 5.092919] <redpill/cmdline_delegate.c:321> Param #5: |vid=0xF400| [ 5.109385] <redpill/cmdline_delegate.c:285> Add cmdline blacklist "vid=" @ 0 Whatever vid/pid I use, it only reports the quoted lines that "matches" my specified vid/pid. So I guess the important message where the redpill see which vid/pid is missing in my log. For whatever vid/pid I tried, it fails with this statement (f400:f400) (46f4:0001), capital letters or small.. Jan 1 00:00:49 updater: boot/boot_lock.c(228): failed to mount boot device /dev/synoboot2 /tmp/bootmnt (errno:2) Do you see any usb devices in the preboot system? If there's nothing reported by grepping vid (you can also try grepping for "boot_device_shim") it's probably not seeing your usb stick at all. 19 hours ago, loomes said: Disable reinit tty in platforms.h and it will work. That's really not a solution. This reinit is there for a reason We need to figure out a method to either load the module before init finishes or find another way of re-enabling the CLI. 4 hours ago, Aigor said: Why i have this strange prompt on DS3615xs 7.0-41222 -BusyBox v1.30.1 () built-in shell (ash) -DiskStation> -l-s- - -DiskStation> -a-d-d-a-d-j-j-d-k-s-d-j-a-l-k-j-d-l-k-j-a beetwein every char there is a "-" minus, but it's only cosmetic, command run flawless That's an issue with serial swapping. In the current state two different things are fighting for the serial port. We will try to address that, it will most likely just solve itself with the PMU emulation. 4 hours ago, Aigor said: Try to install into vmware esxi7 -DiskStation login: [ 155.539143] md: bind<sda1> [ 155.545683] md/raid1:md0: active with 1 out of 15 mirrors [ 155.547822] md0: detected capacity change from 0 to 2549940224 [ 158.558838] md: bind<sda2> [ 158.565218] md/raid1:md1: active with 1 out of 15 mirrors [ 158.567452] md1: detected capacity change from 0 to 2147418112 [ 158.575567] md1: unknown partition table [ 158.591467] md0: unknown partition table [ 158.879541] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.882427] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.894494] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 158.953088] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.955542] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.967400] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 158.979805] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.982403] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 158.994310] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) [ 180.047699] EXT3-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 180.050885] EXT2-fs (md0): error: couldn't mount because of unsupported optional features (2c0) [ 180.064123] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Webinterface stopped around 40% To boot img from usb into vmware esxi, you need to use plip iso boot and usb stick where to put image file with win32 disk imager. Download plip https://download.plop.at/files/bootmngr/plpbt-5.0.15.zip unzip, you obtain a iso file, connect them to VM as boot CDROM when usb-key is ready, put it into esxi host, on VM add usb host device and you should see usb key. Boot with plip, at prompt, boot usb and you can boot vm from image into usb key. VMWare boot doesn't work due to lack of SATA DOM emulation. We added an issue for that:https://github.com/RedPill-TTG/redpill-lkm/issues/12 3 hours ago, jarugut said: The bootloader for DS918+ DSM7 with drivers integrated works fine on QNAP hardware. I've tested the same USB on other Barametal but I received error 13 or file corrupted, but in the qnap ts453a works perfectly Can you post the install log from /var/log of the install? Edited August 11, 2021 by ThorGroup 1 Link to comment Share on other sites More sharing options...
mcdull Posted August 11, 2021 Share #323 Posted August 11, 2021 (edited) 1 hour ago, ThorGroup said: Do you see any usb devices in the preboot system? If there's nothing reported by grepping vid (you can also try grepping for "boot_device_shim") it's probably not seeing your usb stick at all. you are right, nothing with boot_device_shim. but I am using proxmox, and this should not be an expected behaviour, right? Although I am using AMD CPU and qmeu64 as machine type. [ 5.762165] usb-storage 2-1:1.0: USB Mass Storage device detected [ 5.764347] scsi host12: usb-storage 2-1:1.0 However, the DSM itself should see the usb mass storage. Edited August 11, 2021 by mcdull Link to comment Share on other sites More sharing options...
ThorGroup Posted August 11, 2021 Author Share #324 Posted August 11, 2021 49 minutes ago, mcdull said: you are right, nothing with boot_device_shim. but I am using proxmox, and this should not be an expected behaviour, right? Although I am using AMD CPU and qmeu64 as machine type. [ 5.762165] usb-storage 2-1:1.0: USB Mass Storage device detected [ 5.764347] scsi host12: usb-storage 2-1:1.0 However, the DSM itself should see the usb mass storage. Can you post the full dmesg? I also see your RTC is not working - did you pull the newest release? The one you're using seems to be lacking RTC support. Link to comment Share on other sites More sharing options...
mcdull Posted August 11, 2021 Share #325 Posted August 11, 2021 (edited) 1 hour ago, ThorGroup said: Can you post the full dmesg? I also see your RTC is not working - did you pull the newest release? The one you're using seems to be lacking RTC support. I uses redpill toolchain v0.4 and seems it pull the latest release. I will do it all over again and post the dmesg. umm after checking the source, redpill toolchain do switch to another repo as below if configurated for DSM 7.0 https://github.com/jumkey/redpill-load.git I will revert to 6.2.4 and test again. Until the RedPill-TTG repo support DSM7, I will test DSM7 again. Update: Tested with DSM 6.2.4 and 3615 version and the synoboot mounts correctly. Edited August 11, 2021 by mcdull Link to comment Share on other sites More sharing options...
Recommended Posts