RedPill - the new loader for 6.2.4 - Discussion


Recommended Posts

27 minutes ago, shibby said:


i have 4-gen CPU (Haswell). I can install DS918+ 6.2.3 (jun). I can install DS918+ 7.0.1 on fresh HDD using redpill. I can even upgrade from 6.2.3 (jun) to 6.2.4 (redpill) using DS918+ image.

But i can`t upgrade from 6.2.3/6.2.4 to 7.x 😕

Have you tried loader from previous reply?

Mine is i5-4570 with asus b85, works perfectly from 6.2.3 to 7.0.1

only packages not compatible with newer dsm, just let it fix.

seems all function works perfectly without any data lost.

 image.thumb.png.9cc4d71cb1ea9bf17fe3ea270c5dbf27.png

 

if i use bromolow version's loader which complied from my computer, it wont boot, no ip address.

 but using @tocinillo2's loader it works fine.

On 9/4/2021 at 6:24 PM, tocinillo2 said:

Compiled 7.0.1 with last BSP patch and works perfect ;)

 

https://drive.google.com/file/d/1CqqhO-TBdwOff0dH54iP-XPdrhzgvtNR/view?usp=sharing

 

- Add UEFI support.
- Deleted twice EFI folder.
- Fixed SynoBoot_EFI place.
- Compiled with last BSP Patch for 7.0.1.
- Insmod efi_gop into EFI.
- Tested with Baremetal and works fine (Astock 3455-ITX).
- After installation (the reboot process can take 15-20 minutes) you have to install File Station manually: https://www.synology.com/en-us/support/download/DS918+#system (select DSM 7.0), find and download File Station SPK and install it in Package Center.

 

1RZ3yro.jpg

 

Edited by nk950357
Link to post
Share on other sites
1 hour ago, titoum said:

for those going fresh don't forget to setup your gouvernor to powersaver again :-)

 

 

 

 

Good call! It's so long since I did a fresh install of xpenology I'd forgotten all about that. I set mine to conservative, fwiw, as this box does some Plex transcoding from time to time.

 

More info here for those who were unaware of this: 

 

Link to post
Share on other sites

Trying to build and run it on my HP Gen8.

I first built redpill.ko using redpill-lkm, that was quite easy.

For the record I used gcc 4.9.2 to build it.

 

Using redpill-load I created the following user_config.json:

{
  "extra_cmdline": {
    "vid": "0x0951",
    "pid": "0x1665",
    "sn": "xxx",
    "mac1": "xxx",
    "mac2": "xxx"
  }
}

I copied redpill.ko from repill-lkm to: ext/rp-lkm/redpill-linux-v3.10.108.ko

And finally: sudo ./build-loader.sh 'DS3615xs' '7.0-41222'

 

The image is successfully created, but the first partition doesn't have the bootabled flag:

fdisk -l ./redpill-DS3615xs_7.0-41222_b1631017171.img 
Schijf ./redpill-DS3615xs_7.0-41222_b1631017171.img: 128 MiB, 134217728 bytes, 262144 sectoren
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes
In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijflabeltype: dos
Schijf-ID: 0xf110ee87

Apparaat                                      Op.  Begin  Einde Sectoren Grootte ID Type
./redpill-DS3615xs_7.0-41222_b1631017171.img1       2048 100351    98304     48M 83 Linux
./redpill-DS3615xs_7.0-41222_b1631017171.img2     100352 253951   153600     75M 83 Linux
./redpill-DS3615xs_7.0-41222_b1631017171.img3     253952 262143     8192      4M 83 Linux

 

So I used fdisk on the image to set the first partition "active", so it can actually boot on legacy systems.

The developers should fix this I guess.

 

After writing it to USB it does seem to try and boot, but it just shows: Booting the kernel.

It hangs for like 20 or 30 seconds, then it reboots. (see screenshot).

 

Any ideas?

 

 

Schermafdruk van 2021-09-07 16-03-44.png

Link to post
Share on other sites
On 9/4/2021 at 10:36 PM, Drones said:

Thank you for your responses!
As an old XPE user, I certainly tried OFS Mount, but it refused to open the image of the new bootloader.
As I later understood, everything turned out to be due to the old version, wired into Xpenology_Tool_V141.
The current version of OFS correctly opened the new bootloader IMG file.
I confirm that it works on AsRock 4105. Everything works well, including hardware transcoding, VMM, Active Backup for Business and QC.
At the moment I only have a problem with face recognition (valid SN & MAC).
Many thanks to the community for DSM7!

 

I'm afraid that DS3615xs and DS3617xs won't be able to use the "face recognition" feature, according to this Synology article:

 

https://kb.synology.com/en-uk/DSM/tutorial/Which_Synology_NAS_models_support_the_facial_recognition_feature_on_Synology_Photos

 

There is only DS918+ model listed. 

Link to post
Share on other sites

@MastaG I've successfully installed 6.2.4 baremetal on a Gen8 and can confirm that console output stops at what you're seeing with "Booting the kernel.". It should eventually bring up a network interface and DHCP, though, not reboot. I've not tried 7.x yet, so can't comment on that. This is my console that's been booted into DSM for 6hrs+
image.thumb.png.61d2a0a9b7ee8b413fc9c0c85af31cce.png

Edited by WiteWulf
Link to post
Share on other sites
41 minutes ago, WiteWulf said:

Good call! It's so long since I did a fresh install of xpenology I'd forgotten all about that. I set mine to conservative, fwiw, as this box does some Plex transcoding from time to time.

 Do you notice this makes any difference on gen8 Microserver (e3-1275 v2) ?

 

Link to post
Share on other sites
25 minutes ago, scoobdriver said:

 Do you notice this makes any difference on gen8 Microserver (e3-1275 v2) ?

 

It makes no noticeable difference to performance, as it scales back up on demand, but as to reducing power consumption I honestly can't say. The PDU the server is connected to isn't sensitive enough to even notice the Gen8 is powered on or off. The only thing it ever really notices is when the PS4 Pro is on and working hard. I could stick a meter on it and measure it properly, but I'm really not that bothered, I just like to think that I'm doing at least something to minimise the impact of having a Xeon sat there doing very little for 90% of the time. I would imagine spinning down the 4 HDDs would have more impact, but the server's constantly logging monitoring data for a few bits and pieces and the HDDs wouldn't stay off for more than a few minutes, and spinning them up and down that much could shorten their life span.

Edited by WiteWulf
  • Thanks 1
Link to post
Share on other sites
46 minutes ago, MastaG said:

Trying to build and run it on my HP Gen8.

I first built redpill.ko using redpill-lkm, that was quite easy.

For the record I used gcc 4.9.2 to build it.

 

Using redpill-load I created the following user_config.json:


{
  "extra_cmdline": {
    "vid": "0x0951",
    "pid": "0x1665",
    "sn": "xxx",
    "mac1": "xxx",
    "mac2": "xxx"
  }
}

I copied redpill.ko from repill-lkm to: ext/rp-lkm/redpill-linux-v3.10.108.ko

And finally: sudo ./build-loader.sh 'DS3615xs' '7.0-41222'

 

The image is successfully created, but the first partition doesn't have the bootabled flag:


fdisk -l ./redpill-DS3615xs_7.0-41222_b1631017171.img 
Schijf ./redpill-DS3615xs_7.0-41222_b1631017171.img: 128 MiB, 134217728 bytes, 262144 sectoren
Eenheid: sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logisch/fysiek): 512 bytes / 512 bytes
In-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijflabeltype: dos
Schijf-ID: 0xf110ee87

Apparaat                                      Op.  Begin  Einde Sectoren Grootte ID Type
./redpill-DS3615xs_7.0-41222_b1631017171.img1       2048 100351    98304     48M 83 Linux
./redpill-DS3615xs_7.0-41222_b1631017171.img2     100352 253951   153600     75M 83 Linux
./redpill-DS3615xs_7.0-41222_b1631017171.img3     253952 262143     8192      4M 83 Linux

 

So I used fdisk on the image to set the first partition "active", so it can actually boot on legacy systems.

The developers should fix this I guess.

 

After writing it to USB it does seem to try and boot, but it just shows: Booting the kernel.

It hangs for like 20 or 30 seconds, then it reboots. (see screenshot).

 

Any ideas?

 

 

Schermafdruk van 2021-09-07 16-03-44.png

So I got a little further.

 

I've now build the redpill.ko kernel module using the toolchain stated here: https://github.com/RedPill-TTG/redpill-lkm/pull/16/commits/b3f263c65198d94014f60f52f58bc6be00d1d8f8#

 

So basically:

make LINUX_SRC=~/.toolchain/bromolow-DSM-7.0-toolkit/build CROSS_COMPILE=~/.toolchain/bromolow-DSM-7.0-toolchain/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-

and also:

strip -S redpill.ko

 

Now using the redpill.ko built by the DSM 7.0 toolchain (and stripped) my Microserver Gen8 doesn't reboot any longer.

It now just sits there at the "Booting the kernel." screen.

 

However I can't see any DHCP being requested and I still don't have any console output.

Any ideas?

Link to post
Share on other sites
2 minutes ago, MastaG said:

So I got a little further.

 

I've now build the redpill.ko kernel module using the toolchain stated here: https://github.com/RedPill-TTG/redpill-lkm/pull/16/commits/b3f263c65198d94014f60f52f58bc6be00d1d8f8#

 

So basically:

make LINUX_SRC=~/.toolchain/bromolow-DSM-7.0-toolkit/build CROSS_COMPILE=~/.toolchain/bromolow-DSM-7.0-toolchain/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-

and also:

strip -S redpill.ko

 

Now using the redpill.ko built by the DSM 7.0 toolchain (and stripped) my Microserver Gen8 doesn't reboot any longer.

It now just sits there at the "Booting the kernel." screen.

 

However I can't see any DHCP being requested and I still don't have any console output.

Any ideas?

Can you access into ILO to view serial output of gen8? 

 

Link to post
Share on other sites
11 minutes ago, MastaG said:

So I got a little further.

 

...

 

Now using the redpill.ko built by the DSM 7.0 toolchain (and stripped) my Microserver Gen8 doesn't reboot any longer.

It now just sits there at the "Booting the kernel." screen.

 

However I can't see any DHCP being requested and I still don't have any console output.

Any ideas?

What version of DSM and bootloader where you previously running, and do you have a  PCIe NIC in your Gen8? Synology dropped the driver that was compatible with the onboard NIC a few versions ago (6.2.2, iirc) and users needed to either move to ESXi and vmxnet, or else fit a compatible PCIe NIC and disable the onboard NIC.

 

No longer the case, apparently. Driver support for the onboard NIC came back with 6.2.3

Edited by WiteWulf
Link to post
Share on other sites
3 minutes ago, WiteWulf said:

What version of DSM and bootloader where you previously running, and do you have a  PCIe NIC in your Gen8? Synology dropped the driver that was compatible with the onboard NIC a few versions ago (6.2.2, iirc) and users needed to either move to ESXi and vmxnet, or else buy a compatible PCIe NIC, fit it and disable the onboard NIC.

I believe this changed. 6.2.3 supports onboard nic. I use the two standard nics on my gen 8 with no modifications. 

  • Thanks 1
Link to post
Share on other sites
2 minutes ago, scoobdriver said:

I believe this changed. 6.2.3 supports onboard nic. I use the two standard nics on my gen 8 with no modifications. 

Oh, that's cool, didn't realise that! That opens up the possibility of getting a better/additional HBA to go in there at some point...

Link to post
Share on other sites

 

2 minutes ago, WiteWulf said:

Oh, that's cool, didn't realise that! That opens up the possibility of getting a better/additional HBA to go in there at some point...

yep confirmed I use standard nic on 6.2.3 loader 1.03b no extra Lmza , also with a hba card. , on baremetal. G8 ms 

  • Thanks 1
Link to post
Share on other sites
8 minutes ago, Aigor said:

Can you access into ILO to view serial output of gen8? 

 

I couldn't find an option to make the iLO show the serial output instead of what's on the screen.

I've tried setting different consoles by editing the grub cmd line, like ttyS0, ttyS1, tty0 and tty1 but it refuses to show anything after "Booting the kernel."

7 minutes ago, WiteWulf said:

What version of DSM and bootloader where you previously running, and do you have a  PCIe NIC in your Gen8? Synology dropped the driver that was compatible with the onboard NIC a few versions ago (6.2.2, iirc) and users needed to either move to ESXi and vmxnet, or else fit a compatible PCIe NIC and disable the onboard NIC.

I've used sudo ./build-loader.sh 'DS3615xs' '7.0-41222'

 

There builtin NICs in the Gen8 yes, two of them.

I think it's: Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet PCIe

 

I was also using that model with 6.2.3 on jun's 1.03b loader.

I'm running bare metal btw.

 

Link to post
Share on other sites
7 minutes ago, MastaG said:

I couldn't find an option to make the iLO show the serial output instead of what's on the screen.

I've tried setting different consoles by editing the grub cmd line, like ttyS0, ttyS1, tty0 and tty1 but it refuses to show anything after "Booting the kernel."

 

You can get at the serial console by following this guide (which I didn't know was possible with the iLO until I Googled it just now, so that's good to know!):
https://serverfault.com/questions/830748/how-to-enable-and-use-the-serial-terminal-of-a-hp-microserver-gen9

(Confirmed works on my Gen8, they both have the same iLO4 card in them)

Edited by WiteWulf
Link to post
Share on other sites
5 minutes ago, WiteWulf said:

 

You can get at the serial console by following this guide (which I didn't know was possible with the iLO until I Google it just now, so that's good to know!):
https://serverfault.com/questions/830748/how-to-enable-and-use-the-serial-terminal-of-a-hp-microserver-gen9

(Confirmed works on my Gen8, they both have the same iLO4 card in them)

Thanks bro, you're completely right.

In the meantime I've built 6.2.4-25556 for DS3615xs.

For the record I've the correct toolchain to build "redpill-linux-v3.10.105.ko" here as well:

make LINUX_SRC=~/.toolchain/bromolow-DSM-6.2-toolkit/build CROSS_COMPILE=~/.toolchain/bromolow-DSM-6.2-toolchain/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-

 

The console will tell me:

Starting kernel with USB boot                                                                                                                                                                                                                                                                  [    0.000000] console [ttyS0] enabled, bootconsole disabled                                                                                                                                                                                                                                   [    0.000000] allocated 67633152 bytes of page_cgroup                                                                                                                                                                                                                                
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] hpet clockevent registered                                     |
[    0.001000] tsc: Fast TSC calibration using PIT                            |
[    0.002000] tsc: Detected 2494.409 MHz processor                           |
[    0.000002] Calibrating delay loop (skipped), value calculated using timer frequency.. 4988.81 BogoMIPS (lpj=2494409)
[    0.003647] pid_max: default: 32768 minimum: 301                           |
[    0.005123] Security Framework initialized                                 |
[    0.006447] AppArmor: AppArmor initialized                                 |
[    0.007741] Mount-cache hash table entries: 256                            |
[    0.009278] Initializing cgroup subsys memory                              | 
[    0.010736] Initializing cgroup subsys devices-----------------------------+
[    0.012188] Initializing cgroup subsys freezer
[    0.013683] Initializing cgroup subsys blkioy is highlighted.          
[    0.015056] CPU: Physical Processor ID: 0e' to edit the commands       
[    0.016363] CPU: Processor Core ID: 0d-line.                           
[    0.017647] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'            
[    0.017647] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.022029] mce: CPU supports 9 MCE banks
[    0.023429] CPU0: Thermal monitoring enabled (TM1)
[    0.024935] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0
[    0.024935] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32
[    0.024935] tlb_flushall_shift: 2
[    0.029386] FEATURE SPEC_CTRL Present
[    0.030602] FEATURE IBPB_SUPPORT Present
[    0.031877] Spectre V2 : Vulnerable
[    0.033269] Freeing SMP alternatives: 24k freed
[    0.034739] ACPI: Core revision 20130328
[    0.036816] ACPI: All ACPI Tables successfully acquired
[    0.038877] dmar: Host address width 39
[    0.040129] dmar: DRHD base: 0x000000fed90000 flags: 0x1
[    0.041853] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c9008020660262 ecap f010da
[    0.044448] dmar: RMRR base: 0x000000f1ffd000 end: 0x000000f1ffffff
[    0.046422] dmar: RMRR base: 0x000000f1ff6000 end: 0x000000f1ffcfff
[    0.048377] dmar: RMRR base: 0x000000f1f93000 end: 0x000000f1f94fff
[    0.050444] dmar: RMRR base: 0x000000f1f8f000 end: 0x000000f1f92fff
[    0.052507] dmar: RMRR base: 0x000000f1f7f000 end: 0x000000f1f8efff
[    0.054482] dmar: RMRR base: 0x000000f1f7e000 end: 0x000000f1f7efff
[ 0.056444] dmar: RMRR base: 0x000000000f4000 end: 0x000000000f4fff
[    0.158583] dmar: RMRR base: 0x000000000e8000 end: 0x000000000e8fff
[    0.160618] dmar: RMRR base: 0x000000f1dee000 end: 0x000000f1deefff
[    0.162864] IOAPIC id 8 under DRHD base  0xfed90000 IOMMU 0
[    0.164647] HPET id 0 under DRHD base 0xfed90000
[    0.166164] Enabled IRQ remapping in xapic mode
[    0.168031] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.179979] smpboot: CPU0: Intel(R) Xeon(R) CPU E3-1265L V2 @ 2.50GHz (fam: 06, model: 3a, stepping: 09)
[    0.183254] TSC deadline timer enabled
[    0.184455] Performance Events: PEBS fmt1+, 16-deep LBR, IvyBridge events, Broken BIOS detected, complain to your hardware vendor.
[    0.188286] [Firmware Bug]: the BIOS has corrupted hw-PMU resources (MSR 38d is 330)
[    0.190686] Intel PMU driver.
[    0.191586] ... version:                3
[    0.192884] ... bit width:              48
[    0.194247] ... generic registers:      4
[    0.195467] ... value mask:             0000ffffffffffff
[    0.197092] ... max period:             000000007fffffff
[    0.198715] ... fixed-purpose events:   3
[    0.199914] ... event mask:             000000070000000f
[    0.201844] smpboot: Booting Node   0, Processors  #1 #2 #3 #4 #5 #6 #7 OK
[    0.324021] Brought up 8 CPUs
[    0.325019] smpboot: Total of 8 processors activated (39910.54 BogoMIPS)
[    0.333197] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.336065] devtmpfs: initialized
[    0.337445] xor: automatically using best checksumming function:
[    0.349457]    avx       : 24000.000 MB/sec
[    0.351166] NET: Registered protocol family 16
[    0.352854] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.355403] ACPI: bus type PCI registered
[    0.356763] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf4000000-0xf7ffffff] (base 0xf4000000)
[    0.359744] PCI: MMCONFIG at [mem 0xf4000000-0xf7ffffff] reserved in E820
[    0.361934] PCI: Using configuration type 1 for base access
[    0.366083] bio: create slab <bio-0> at 0
[    0.384401] raid6: sse2x1   gen()  8492 MB/s
[    0.402964] raid6: sse2x1   xor()  6753 MB/s
[    0.421433] raid6: sse2x2   gen() 10398 MB/s
[    0.439998] raid6: sse2x2   xor()  7546 MB/s
[    0.458413] raid6: sse2x4   gen() 12398 MB/s
[    0.476899] raid6: sse2x4   xor()  9253 MB/s
[    0.478346] raid6: using algorithm sse2x4 gen() (12398 MB/s)
[    0.480154] raid6: .... xor() 9253 MB/s, rmw enabled
[    0.481716] raid6: using ssse3x2 recovery algorithm
[    0.483453] ACPI: Added _OSI(Module Device)
[    0.484783] ACPI: Added _OSI(Processor Device)
[    0.486208] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.487686] ACPI: Added _OSI(Processor Aggregator Device)
[    0.489646] ACPI: EC: Look up EC in DSDT
[    0.492110] ACPI: Interpreter enabled
[    0.493319] ACPI: (supports S0 S4 S5)
[    0.494499] ACPI: Using IOAPIC for interrupt routing
[    0.496106] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.499068] ACPI: No dock devices found.
[    0.502303] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-14])
[    0.504377] acpi PNP0A08:00: Requesting ACPI _OSC control (0x1d)
[    0.506318] acpi PNP0A08:00: ACPI _OSC request failed (AE_SUPPORT), returned control mask: 0x00
[    0.509027] ACPI _OSC control for PCIe not granted, disabling ASPM
[    0.510971] acpi PNP0A08:00: host bridge window expanded to [mem 0xfed00000-0xfed44fff]; [mem 0xfed00000-0xfed44fff] ignored
[    0.514638] PCI host bridge to bus 0000:00
[    0.515975] pci_bus 0000:00: root bus resource [bus 00-14]
[    0.517697] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xfbffffff]
[    0.519832] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    0.521748] pci_bus 0000:00: root bus resource [io  0x0000-0x03af]
[    0.523762] pci_bus 0000:00: root bus resource [io  0x03e0-0x0cf7]
[    0.525696] pci_bus 0000:00: root bus resource [io  0x0d00-0x0fff]
[    0.527631] pci_bus 0000:00: root bus resource [mem 0xfed00000-0xfed44fff]
[    0.529780] pci_bus 0000:00: root bus resource [io  0x03b0-0x03bb]
[    0.531804] pci_bus 0000:00: root bus resource [io  0x03c0-0x03df]
[    0.533799] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[    0.535919] pci 0000:00:00.0: [8086:0158] type 00 class 0x060000
[    0.537797] pci 0000:00:01.0: [8086:0151] type 01 class 0x060400
[    0.539754] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[    0.541744] pci 0000:00:06.0: [8086:015d] type 01 class 0x060400
[    0.543797] pci 0000:00:06.0: PME# supported from D0 D3hot D3cold
[    0.545845] pci 0000:00:1a.0: [8086:1c2d] type 00 class 0x0c0320
[    0.547892] pci 0000:00:1a.0: reg 10:em 0xfacf0000-0xfacf03ff]
[    0.650049] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold
[    0.652012] pci 0000:00:1c.0: [8086:1c10] type 01 class 0x060400
[    0.654030] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[    0.656175] pci 0000:00:1c.4: [8086:1c18] type 01 class 0x060400
[    0.658166] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
[    0.660258] pci 0000:00:1c.6: [8086:1c1c] type 01 class 0x060400
[    0.662210] pci 0000:00:1c.6: PME# supported from D0 D3hot D3cold
[    0.664209] pci 0000:00:1c.7: [8086:1c1e] type 01 class 0x060400
[    0.666182] pci 0000:00:1c.7: PME# supported from D0 D3hot D3cold
[    0.668155] pci 0000:00:1d.0: [8086:1c26] type 00 class 0x0c0320
[    0.670039] pci 0000:00:1d.0: reg 10: [mem 0xface0000-0xface03ff]
[    0.672015] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold
[    0.674226] pci 0000:00:1e.0: [8086:244e] type 01 class 0x060401
[    0.676316] pci 0000:00:1f.0: [8086:1c54] type 00 class 0x060100
[    0.678750] pci 0000:00:1f.2: [8086:1c02] type 00 class 0x010601
[    0.680720] pci 0000:00:1f.2: reg 10: [io  0x10c0-0x10c7]
[    0.682465] pci 0000:00:1f.2: reg 14: [io  0x10c8-0x10cb]
[    0.684229] pci 0000:00:1f.2: reg 18: [io  0x10d0-0x10d7]
[    0.685932] pci 0000:00:1f.2: reg 1c: [io  0x10d8-0x10db]
[    0.687645] pci 0000:00:1f.2: reg 20: [io  0x10e0-0x10ff]
[    0.689335] pci 0000:00:1f.2: reg 24: [mem 0xfacd0000-0xfacd07ff]
[    0.691372] pci 0000:00:1f.2: PME# supported from D3hot
[    0.693138] pci 0000:00:01.0: PCI bridge to [bus 07]
[    0.694766] pci 0000:00:06.0: PCI bridge to [bus 02]
[    0.696407] pci 0000:00:1c.0: PCI bridge to [bus 0d]
[    0.698045] pci 0000:03:00.0: [14e4:165f] type 00 class 0x020000
[    0.700002] pci 0000:03:00.0: reg 10: [mem 0xfabf0000-0xfabfffff 64bit pref]
[    0.702258] pci 0000:03:00.0: reg 18: [mem 0xfabe0000-0xfabeffff 64bit pref]
[    0.704497] pci 0000:03:00.0: reg 20: [mem 0xfabd0000-0xfabdffff 64bit pref]
[    0.706794] pci 0000:03:00.0: reg 30: [mem 0x0000000x0001ffff pref]
[    0.809059] pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
[    0.811068] pci 0000:03:00.1: [14e4:165f] type 00 class 0x020000
[    0.813052] pci 0000:03:00.1: reg 10: [mem 0xfabc0000-0xfabcffff 64bit pref]
[    0.815346] pci 0000:03:00.1: reg 18: [mem 0xfabb0000-0xfabbffff 64bit pref]
[    0.817594] pci 0000:03:00.1: reg 20: [mem 0xfaba0000-0xfabaffff 64bit pref]
[    0.819882] pci 0000:03:00.1: reg 30: [mem 0x00000000-0x0001ffff pref]
[    0.821992] pci 0000:03:00.1: PME# supported from D0 D3hot D3cold
[    0.826019] pci 0000:00:1c.4: PCI bridge to [bus 03]
[    0.827681] pci 0000:00:1c.4:   bridge window [mem 0xfab00000-0xfabfffff 64bit pref]
[    0.830189] pci 0000:04:00.0: [1912:0014] type 00 class 0x0c0330
[    0.832100] pci 0000:04:00.0: reg 10: [mem 0xfbff0000-0xfbff1fff 64bit]
[    0.834429] pci 0000:04:00.0: PME# supported from D0 D3hot D3cold
[    0.838486] pci 0000:00:1c.6: PCI bridge to [bus 04]
[    0.840120] pci 0000:00:1c.6:   bridge window [mem 0xfbf00000-0xfbffffff]
[    0.842372] pci 0000:01:00.0: [103c:3306] type 00 class 0x088000
[    0.844337] pci 0000:01:00.0: reg 10: [io  0x3000-0x30ff]
[    0.846012] pci 0000:01:00.0: reg 14: [mem 0xfbef0000-0xfbef01ff]
[    0.847927] pci 0000:01:00.0: reg 18: [io  0x3400-0x34ff]
[    0.849783] pci 0000:01:00.1: [102b:0533] type 00 class 0x030000
[    0.852007] pci 0000:01:00.1: reg 10: [mem 0xf9000000-0xf9ffffff pref]
[    0.854146] pci 0000:01:00.1: reg 14: [mem 0xfbee0000-0xfbee3fff]
[    0.856069] pci 0000:01:00.1: reg 18: [mem 0xfb000000-0xfb7fffff]
[    0.858142] pci 0000:01:00.2: [103c:3307] type 00 class 0x088000
[    0.860098] pci 0000:01:00.2: reg 10: [io  0x3800-0x38ff]
[    0.861819] pci 0000:01:00.2: reg 14: [mem 0xfaff0000-0xfaff00ff]
[    0.863814] pci 0000:01:00.2: reg 18: [mem 0xfae00000-0xfaefffff]
[    0.865748] pci 0000:01:00.2: reg 1c: [mem 0xfad80000-0xfadfffff]
[    0.867757] pci 0000:01:00.2: reg 20: [mem 0xfad70000-0xfad77fff]
[    0.869720] pci 0000:01:00.2: reg 24: [mem 0xfad60000-0xfad67fff]
[    0.871634] pci 0000:01:00.2: reg 30: [mem 0x00000000-0x0000ffff pref]
[    0.873818] pci 0000:01:00.2: PME# supported from D0 D3hot D3cold
[    0.875820] pci 0000:01:00.4: [103c:3300] type 00 class 0x0c0300
[    0.877777] pci 0000:01:00.4: reg 20: [io  0x4000-0x401f]
[    0.881564] pci 0000:00:1c.7: PCI bridge to [bus 01]
[    0.883408] pci 0000:00:1c.7:   bridge window [io  0x3000-0x4fff]
[    0.885353] pci 0000:00:1c.7:   bridge window [mem 0xfad00000-0xfbefffff]
[    0.887526] pci 0000:00:1c.7:   bridge window [mem 0xf9000000-0xf9ffffff 64bit pref]
[    0.890033] pci 0000:00:1e.0: PCI bridge to [bus 14] (subtractive decode)
[    0.892168] pci 0000:00:1e.0:   bridge window [mem 0xf8000000-0xfbffffff] (subtractive decode)
[    0.895006] pci 0000:00:1e.0:   bridge window [io  0x1000-0xffff] (subtractive decode)
[    0.484] pci 0000:00:1e.0:   bridge window [io  0x0000-0x03af] (subtractive decode)
[    1.000068] pci 0000:00:1e.0:   bridge window [io  0x03e0-0x0cf7] (subtractive decode)
[    1.002506] pci 0000:00:1e.0:   bridge window [io  0x0d00-0x0fff] (subtractive decode)
[    1.005004] pci 0000:00:1e.0:   bridge window [mem 0xfed00000-0xfed44fff] (subtractive decode)
[    1.007630] pci 0000:00:1e.0:   bridge window [io  0x03b0-0x03bb] (subtractive decode)
[    1.010019] pci 0000:00:1e.0:   bridge window [io  0x03c0-0x03df] (subtractive decode)
[    1.012552] pci 0000:00:1e.0:   bridge window [mem 0x000a0000-0x000bffff] (subtractive decode)
[    1.015283] pci_bus 0000:00: on NUMA node 0
[    1.016715] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 7 10 *11)
[    1.018762] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *7 10 11)
[    1.020823] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7 10 *11)
[    1.022910] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 *10 11)
[    1.025035] ACPI: PCI Interrupt Link [LNKE] (IRQs *5 7 10 11)
[    1.027290] ACPI: PCI Interrupt Link [LNKF] (IRQs 5 7 10 11) *4
[    1.029608] ACPI: PCI Interrupt Link [LNKG] (IRQs 5 7 10 11) *0, disabled.
[    1.032064] ACPI: PCI Interrupt Link [LNKH] (IRQs 5 7 10 11) *0, disabled.
[    1.034703] acpi root: \_SB_.PCI0 notify handler is installed
[    1.036550] Found 1 acpi root devices
[    1.037793] vgaarb: device added: PCI:0000:01:00.1,decodes=io+mem,owns=io+mem,locks=none
[    1.040327] vgaarb: loaded
[    1.041217] vgaarb: bridge control possible 0000:01:00.1
[    1.043001] SCSI subsystem initialized
[    1.044307] ACPI: bus type ATA registered
[    1.045653] libata version 3.00 loaded.
[    1.046931] pps_core: LinuxPPS API ver. 1 registered
[    1.048560] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.051384] PTP clock support registered
[    1.052709] PCI: Using ACPI for IRQ routing
[    1.055340] PCI: pci_cache_line_size set to 64 bytes
[    1.057010] e820: reserve RAM buffer [mem 0x00099800-0x0009ffff]
[    1.058906] e820: reserve RAM buffer [mem 0xf1de4000-0xf3ffffff]
[    1.060955] e820: reserve RAM buffer [mem 0x40bfff000-0x40bffffff]
[    1.063126] Switching to clocksource hpet
[    1.064480] AppArmor: AppArmor Filesystem Ened
[    1.166291] pnp: PnP ACPI init
[    1.167302] ACPI: bus type PNP registered
[    1.168692] system 00:00: [io  0x0408-0x040f] has been reserved
[    1.170554] system 00:00: [io  0x04d0-0x04d1] has been reserved
[    1.172514] system 00:00: [io  0x0310-0x0313] has been reserved
[    1.174458] system 00:00: [io  0x0316-0x0317] has been reserved
[    1.176274] system 00:00: [io  0x0700-0x071f] has been reserved
[    1.178076] system 00:00: [io  0x0880-0x08ff] has been reserved
[    1.179887] system 00:00: [io  0x0900-0x097f] could not be reserved
[    1.181847] system 00:00: [io  0x0cd4-0x0cd7] has been reserved
[    1.183797] system 00:00: [io  0x0cd0-0x0cd3] has been reserved
[    1.185656] system 00:00: [io  0x0f50-0x0f58] has been reserved
[    1.187494] system 00:00: [io  0x0ca0-0x0ca1] has been reserved
[    1.189447] system 00:00: [io  0x0ca4-0x0ca5] has been reserved
[    1.191299] system 00:00: [io  0x02f8-0x02ff] has been reserved
[    1.193185] system 00:00: [mem 0xf4000000-0xf7ffffff] has been reserved
[    1.195301] system 00:00: [mem 0xfe000000-0xfebfffff] has been reserved
[    1.197374] system 00:00: [mem 0xfed90000-0xfed91fff] could not be reserved
[    1.199549] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    1.201712] pnp 00:01: Plug and Play ACPI device, IDs IPI0001 (active)
[    1.203872] pnp 00:02: Plug and Play ACPI device, IDs PNP0103 (active)
[    1.206018] pnp 00:03: [dma 7]
[    1.207027] pnp 00:03: Plug and Play ACPI device, IDs PNP0200 (active)
[    1.209115] pnp 00:04: Plug and Play ACPI device, IDs PNP0800 (active)
[    1.211190] pnp 00:05: Plug and Play ACPI device, IDs PNP0a06 (active)
[    1.213312] pnp 00:06: Plug and Play ACPI device, IDs PNP0b00 (active)
[    1.215392] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
[    1.217463] pnp 00:08: Plug and Play ACPI device, IDs PNP0f13 PNP0f0e (active)
[    1.219801] pnp: PnP ACPI: found 9 devices
[    1.221185] ACPI: bus type PNP unregistered
[    1.229869] pci 0000:00:1c.4: BAR 14: assigned [mem 0xf8000000-0xf80fffff]
[    1.232113] pci 0000:00:01.0: PCI bridge to [bus 07]
[    1.233802] pci 0000:00:06.0: PCI bridge to [bus 02]
[    1.235371] pci 0000:00:1c.0: PCI bridge to [bus 0d]
[    1.237054] pci 0000:03:00.0: BAR 6: assigned [mem 0xfab00000-0xfab1ffff pref]
[    1.240280] pci 0000:03:00.1: BAR 6: assigned [mem 0xfab20000-0xfab3ffff pref]
[    1.242574] pci 0000:00:1c.4: PCI bridge to [bus 03]
[    1.244249] pci 0000:00:1c.4:   bridge window [mem 0xf8000000-0xf80fffff]
[    1.246376] pci 0000:00:1c.4:   bridge window [mem 0xfab00000-0xfabfffff 64bit pref]
[    1.248797] pci 0000:00:1c.6: PCI bridge to [bus 04]
[    1.250339] pci 0000:00:1c.6:   bridge window [mem 0xfbf00000-0xfbffffff]
[    1.252554] pci 0000:01:00.2: BAR 6: assigned [mem 0xfad00000-0xfad0ffff pref]
[    1.255140] pci 0000:00:1c.7: PCI bridge to [bus 01]
[    1.256644] pci 0000:00:1c.7:   bridge window [io  0x3000-0x4fff]
[    1.258502] pci 0000:00:1c.7:   bridge window [mem 0xfad00000-0xfbefffff]
[  .260581] pci 0000:00:1c.7:   bridge window [mem 0xf9000000-0xf9ffffff 64bit pref]
[    1.363242] pci 0000:00:1e.0: PCI bridge to [bus 14]
[    1.365280] pci 0000:00:1e.0: setting latency timer to 64
[    1.367128] pci_bus 0000:00: resource 4 [mem 0xf8000000-0xfbffffff]
[    1.369120] pci_bus 0000:00: resource 5 [io  0x1000-0xffff]
[    1.370878] pci_bus 0000:00: resource 6 [io  0x0000-0x03af]
[    1.372607] pci_bus 0000:00: resource 7 [io  0x03e0-0x0cf7]
[    1.374454] pci_bus 0000:00: resource 8 [io  0x0d00-0x0fff]
[    1.376210] pci_bus 0000:00: resource 9 [mem 0xfed00000-0xfed44fff]
[    1.378167] pci_bus 0000:00: resource 10 [io  0x03b0-0x03bb]
[    1.379945] pci_bus 0000:00: resource 11 [io  0x03c0-0x03df]
[    1.381838] pci_bus 0000:00: resource 12 [mem 0x000a0000-0x000bffff]
[    1.383938] pci_bus 0000:03: resource 1 [mem 0xf8000000-0xf80fffff]
[    1.385957] pci_bus 0000:03: resource 2 [mem 0xfab00000-0xfabfffff 64bit pref]
[    1.388205] pci_bus 0000:04: resource 1 [mem 0xfbf00000-0xfbffffff]
[    1.390155] pci_bus 0000:01: resource 0 [io  0x3000-0x4fff]
[    1.391903] pci_bus 0000:01: resource 1 [mem 0xfad00000-0xfbefffff]
[    1.393868] pci_bus 0000:01: resource 2 [mem 0xf9000000-0xf9ffffff 64bit pref]
[    1.396152] pci_bus 0000:14: resource 4 [mem 0xf8000000-0xfbffffff]
[    1.398227] pci_bus 0000:14: resource 5 [io  0x1000-0xffff]
[    1.399973] pci_bus 0000:14: resource 6 [io  0x0000-0x03af]
[    1.401695] pci_bus 0000:14: resource 7 [io  0x03e0-0x0cf7]
[    1.403471] pci_bus 0000:14: resource 8 [io  0x0d00-0x0fff]
[    1.405281] pci_bus 0000:14: resource 9 [mem 0xfed00000-0xfed44fff]
[    1.407240] pci_bus 0000:14: resource 10 [io  0x03b0-0x03bb]
[    1.409015] pci_bus 0000:14: resource 11 [io  0x03c0-0x03df]
[    1.410768] pci_bus 0000:14: resource 12 [mem 0x000a0000-0x000bffff]
[    1.412911] NET: Registered protocol family 2
[    1.414520] TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
[    1.417080] TCP bind hash table entries: 65536 (order: 1048576 bytes)
[    1.519444] TCP: Hash tables configured (established 131072 bind 65536)
[    1.521581] TCP: reno registered
[    1.522628] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[    1.524670] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[    1.526901] NET: Registered protocol family 1
[    1.528368] RPC: Registered named UNIX socket transport module.
[    1.530240] RPC: Registered udp transport module.
[    1.531711] RPC: Registered tcp transport module.
[    1.533235] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.557142] pci 0000:01:00.1: Boot video device
[    1.558704] PCI: CLS 64 bytes, default 64
[    1.669477] ramdisk corrupt
[    1.670402] Trying to unpack rootfs image as initramfs...
[    2.600154] Freeing initrd memory: 6220k freed
[    2.603336] redpill: module verification failed: signature and/or required key missing - tainting kernel
[    2.606660] <redpill/redpill_main.c:38> ================================================================================================
[    2.610560] <redpill/redpill_main.c:39> RedPill v0.5-??? loading...
[    2.613234] <redpill/call_protected.c:65> Got addr ffffffff81165a70 for cmdline_proc_show
[    2.615966] <redpill/cmdline_delegate.c:314> Cmdline count: 365
[    2.617847] <redpill/cmdline_delegate.c:382> Cmdline: BOOT_IMAGE=/zImage withefi earlyprintk syno_hw_version=DS3615xs console=ttyS0,115200n8 netif_num=1 pid=0x1665 earlycon=uart8250,io,0x3f8,115200n8 syno_port_thaw=1 mac2=00fd45fd96e9 mac1=00fd45fd96e8 sn=X vid=0x0951 elevator=elevator loglevel=15 HddHotplug=0 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0
[    2.617847] 
[    2.629676] <redpill/cmdline_delegate.c:393> Param #0: |BOOT_IMAGE=/zImage|
[    2.631859] <redpill/cmdline_delegate.c:288> Option "BOOT_IMAGE=/zImage" not recognized - ignoring
[    2.634674] <redpill/cmdline_delegate.c:393> Param #1: |withefi|
[    2.636597] <redpill/cmdline_delegate.c:288> Option "withefi" not recognized - ignoring
[    2.639079] <redpill/cmdline_delegate.c:393> Param #2: |earlyprintk|
[    2.641052] <redpill/cmdline_delegate.c:288> Option "earlyprintk" not recognized - ignoring
[    2.643632] <redpill/cmdline_delegate.c:393> Param #3: |syno_hw_version=DS3615xs|
[    2.646022] <redpill/cmdline_delegate.c:25> HW version set to: DS3615xs
[    2.648037] <redpill/cmdline_delegate.c:393> Param #4: |console=ttyS0,115200n8|
[    2.650250] <redpill/cmdline_delegate.c:288> Option "console=ttyS0,115200n8" not recognized - ignoring
[    2.653070] <redpill/cmdline_delegate.c:393> Param #5: |netif_num=1|
[    2.655051] <redpill/cmdline_delegate.c:231> Declared network ifaces # as 1
[    2.657209] <redpill/cmdline_delegate.c:393> Param #6: |pid=0x1665|
[    2.659175] <redpill/cmdline_egate.c:134> PID override: 0x1665
[    2.761243] <redpill/cmdline_delegate.c:393> Param #7: |earlycon=uart8250,io,0x3f8,115200n8|
[    2.763939] <redpill/cmdline_delegate.c:288> Option "earlycon=uart8250,io,0x3f8,115200n8" not recognized - ignoring
[    2.767261] <redpill/cmdline_delegate.c:393> Param #8: |syno_port_thaw=1|
[    2.769389] <redpill/cmdline_delegate.c:203> Port thaw set to: 1
[    2.771264] <redpill/cmdline_delegate.c:393> Param #9: |mac2=00fd45fd96e9|
[    2.773403] <redpill/cmdline_delegate.c:276> Set MAC #1: 00fd45fd96e9
[    2.775448] <redpill/cmdline_delegate.c:393> Param #10: |mac1=00fd45fd96e8|
[    2.777696] <redpill/cmdline_delegate.c:276> Set MAC #2: 00fd45fd96e8
[    2.779707] <redpill/cmdline_delegate.c:393> Param #11: |sn=X|
[    2.781831] <redpill/cmdline_delegate.c:44> S/N set to: X
[    2.783835] <redpill/cmdline_delegate.c:393> Param #12: |vid=0x0951|
[    2.785890] <redpill/cmdline_delegate.c:100> VID override: 0x0951
[    2.787812] <redpill/cmdline_delegate.c:393> Param #13: |elevator=elevator|
[    2.789984] <redpill/cmdline_delegate.c:288> Option "elevator=elevator" not recognized - ignoring
[    2.792736] <redpill/cmdline_delegate.c:393> Param #14: |loglevel=15|
[    2.794777] <redpill/cmdline_delegate.c:288> Option "loglevel=15" not recognized - ignoring
[    2.797393] <redpill/cmdline_delegate.c:393> Param #15: |HddHotplug=0|
[    2.799427] <redpill/cmdline_delegate.c:288> Option "HddHotplug=0" not recognized - ignoring
[    2.802048] <redpill/cmdline_delegate.c:393> Param #16: |syno_hdd_detect=0|
[    2.804208] <redpill/cmdline_delegate.c:288> Option "syno_hdd_detect=0" not recognized - ignoring
[    2.807049] <redpill/cmdline_delegate.c:393> Param #17: |vender_format_version=2|
[    2.809377] <redpill/cmdline_delegate.c:288> Option "vender_format_version=2" not recognized - ignoring
[    2.812289] <redpill/cmdline_delegate.c:393> Param #18: |syno_hdd_powerup_seq=0|
[    2.814585] <redpill/cmdline_delegate.c:288> Option "synod_powerup_seq=0" not recognized - ignoring
[    2.917849] <redpill/cmdline_delegate.c:393> Param #19: |log_buf_len=32M|
[    2.920005] <redpill/cmdline_delegate.c:288> Option "log_buf_len=32M" not recognized - ignoring
[    2.922788] <redpill/cmdline_delegate.c:393> Param #20: |root=/dev/md0|
[    2.924893] <redpill/cmdline_delegate.c:288> Option "root=/dev/md0" not recognized - ignoring
[    2.927587] <redpill/cmdline_delegate.c:356> Add cmdline blacklist "vid=" @ 0
[    2.929826] <redpill/cmdline_delegate.c:357> Add cmdline blacklist "pid=" @ 1
[    2.932050] <redpill/cmdline_delegate.c:358> Add cmdline blacklist "mfg" @ 2
[    2.934273] <redpill/cmdline_delegate.c:359> Add cmdline blacklist "elevator=" @ 3
[    2.936712] <redpill/cmdline_delegate.c:360> Add cmdline blacklist "loglevel=" @ 4
[    2.939261] <redpill/cmdline_delegate.c:361> Add cmdline blacklist "log_buf_len=" @ 5
[    2.941728] <redpill/cmdline_delegate.c:362> Add cmdline blacklist "earlyprintk" @ 6
[    2.944192] <redpill/cmdline_delegate.c:363> Add cmdline blacklist "syno_port_thaw=" @ 7
[    2.946817] <redpill/cmdline_delegate.c:412> CmdLine processed successfully, tokens=21
[    2.949274] <redpill/runtime_config.c:152> Found platform definition for "DS3615xs"
[    2.951645] <redpill/runtime_config.c:163> Validating runtime config...
[    2.953710] <redpill/runtime_config.c:49> Configured boot device type to USB
[    2.955976] <redpill/runtime_config.c:109> Number of defined interfaces ("netif_num=1") is not equal to the number of MAC addresses found (2)
[    2.959966] <redpill/runtime_config.c:172> Config validation resulted in OK
[    2.962141] <redpill/runtime_config.c:189> Runtime config populated
[    2.964110] <redpill/uart_fixer.c:69> Registering UART fixer...
[    2.966044] <redpill/uart_swapper.c:409> Swapping ttyS1<=>ttyS0 started
[    2.968122] <redpill/override_symbol.c:173> Overriding uart_match_port() with uart_match_port_collector [redpill]()<ffffffffa0003130>
[    2.969555] <redpill/override_symbol.c:18Found uart_match_port() @ <ffffffff812fc4a0>
[    2.969556] <redpill/override_symbol.c:189> Generated jump to f()<ffffffffa0003130> for uart_match_port()<ffffffff812fc4a0>: 48b8 303100a0ffffffff ffe0
[    2.969557] <redpill/override_symbol.c:138> Disabling memory protection for page(s) at ffffffff812fc4a0+12/1 (<<ffffffff812fc000)
[    2.969686] <redpill/call_protected.c:66> Got addr ffffffff81030160 for flush_tlb_all
[    2.969698] <redpill/override_symbol.c:194> Writing jump code to <ffffffff812fc4a0>
[    2.969699] <redpill/override_symbol.c:159> Enabling memory protection for page(s) at ffffffff812fc4a0+12/1 (<<ffffffff812fc000)
[    2.969708] <redpill/override_symbol.c:198> Override for uart_match_port set up with ffffffffa0003130
[    2.971155] <redpill/call_protected.c:91> Got addr ffffffff813022f0 for serial8250_find_port
[    2.971156] <redpill/uart_swapper.c:114> Found ptr to line=0 iobase=0x2f8 irq=3
[    2.971156] <redpill/uart_swapper.c:114> Found ptr to line=1 iobase=0x3f8 irq=4
[    2.971157] <redpill/uart_swapper.c:114> Found ptr to line=2 iobase=0x3e8 irq=4
[    2.971157] <redpill/uart_swapper.c:114> Found ptr to line=3 iobase=0x2e8 irq=3
[    2.971159] <redpill/override_symbol.c:364> Restoring symbol @ uart_match_port()<ffffffff812fc4a0>
[    2.971160] <redpill/override_symbol.c:138> Disabling memory protection for page(s) at ffffffff812fc4a0+12/1 (<<ffffffff812fc000)
[    2.971170] <redpill/override_symbol.c:367> Writing original code to <ffffffff812fc4a0>
[    2.971170] <redpill/override_symbol.c:159> Enabling memory protection for page(s) at ffffffff812fc4a0+12/1 (<<ffffffff812fc000)
[    2.971180] <redpill/override_symbol.c:370> Symbol restored @ uart_match_port()<ffffffff812fc4a0>
[    3.124222] <redpill/uart_swapper.c:424> Disabling preempt & locking console
[    3.126485] <redpill/uart_swapper.c:426> ======= OUTPUT ON THIS PORT WILL STOP AND CONTINUE ON ANOTHER ONE (swapping ttyS1 & ttyS0) =======
[    3.130373] <redpill/uart_swapper.c:428> ### LAST MESSAGE BEFORE SWAP "OLD" PORT ttyS1<=>ttyS0

So I guess it works.. it just misses drivers for the Gen8 network chipset?

Link to post
Share on other sites
44 minutes ago, sirdrug said:

 

I updated my synology, but I still can't change the serial number to a valid one, who can tell me where else to change it?

2021-09-07_17-40-37.png

 

1.open ssh service

2.connect to your dsm

3.mount boot partion. Just like this: mount /dev/vda1 /mnt  #my device is /dev/vda1

4.vim /mnt/boot/grub/grub.cfg , search "sn",change the serial number

 

my dsm 7.0.1 runs on qnap 453b-mini

 

Link to post
Share on other sites

I'm using the docker method and scripts provided by haydibe, rather than doing it myself (macOS isn't the easiest environment for compiling non-Mac stuff in), and 6.2.4 compiles and runs just fine on my baremetal Gen8 (although I'm not using the onboard NIC, but this shouldn't be an issue from what scoobdriver said).

Edited by WiteWulf
Link to post
Share on other sites
Just now, WiteWulf said:

I'm using the docker method and scripts provided by haydibe, rather than trying to doing it myself, and 6.2.4 compiles and runs just fine on my baremetal Gen8 (although I'm not using the onboard NIC, but this shouldn't be an issue from what scoobdriver said).

Would it be possible to share your image, so I can give it a shot?

And can you also point me to the dockerfiles so I can see if he puts anything special in the user_config?

Link to post
Share on other sites
3 minutes ago, MastaG said:

Would it be possible to share your image, so I can give it a shot?

And can you also point me to the dockerfiles so I can see if he puts anything special in the user_config?

Sure, I'll DM you a link to the image

 

Here's the latest toolchain docker script:

 

Link to post
Share on other sites

I try build img from ds.geminilake-7.0.dev.txz but error here

Can help me fix it?

sudo ./redpill_tool_chain.sh auto geminilake-7.0.1-42214
Checking if redpill-lkm sources require pull.
  Nothing to do.
Check if redpill-load sources require pull.
  Nothing to do.
Lay back and enjoy the show: Magic is about to happen!
make[1]: Entering directory '/opt/redpill-lkm'
make -C /opt/redpill-lkm/toolkit_dev-geminilake-7.0.1-42214 M=/opt/redpill-lkm modules
make[2]: Entering directory '/opt/redpill-lkm/toolkit_dev-geminilake-7.0.1-42214'
  CC [M]  /opt/redpill-lkm/compat/string_compat.o
  CC [M]  /opt/redpill-lkm/internal/override_symbol.o
  CC [M]  /opt/redpill-lkm/internal/intercept_execve.o
  CC [M]  /opt/redpill-lkm/internal/call_protected.o
  CC [M]  /opt/redpill-lkm/internal/intercept_driver_register.o
  CC [M]  /opt/redpill-lkm/internal/stealth/sanitize_cmdline.o
  CC [M]  /opt/redpill-lkm/internal/stealth.o
  CC [M]  /opt/redpill-lkm/internal/virtual_pci.o
  CC [M]  /opt/redpill-lkm/internal/uart/uart_swapper.o
  CC [M]  /opt/redpill-lkm/internal/uart/vuart_virtual_irq.o
  CC [M]  /opt/redpill-lkm/internal/uart/virtual_uart.o
  CC [M]  /opt/redpill-lkm/config/cmdline_delegate.o
/opt/redpill-lkm/config/cmdline_delegate.c: In function 'extract_config_from_cmdline':
/opt/redpill-lkm/config/cmdline_delegate.c:405:74: warning: value computed is not used [-Wunused-value]
         extract_netif_macs(config->macs, single_param_chunk)             ||
                                                                          ^~
  CC [M]  /opt/redpill-lkm/config/runtime_config.o
/opt/redpill-lkm/config/runtime_config.c: In function 'validate_runtime_config':
/opt/redpill-lkm/config/runtime_config.c:168:53: warning: passing argument 2 of 'validate_nets' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     valid &= validate_nets(config->netif_num, config->macs);
                                               ~~~~~~^~~~~~
/opt/redpill-lkm/config/runtime_config.c:80:76: note: expected 'char (**)[13]' but argument is of type 'char (* const*)[13]'
 static inline bool validate_nets(const unsigned short if_num, mac_address *macs[MAX_NET_IFACES])
                                                               ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
  CC [M]  /opt/redpill-lkm/shim/boot_dev/usb_boot_shim.o
  CC [M]  /opt/redpill-lkm/shim/boot_dev/sata_boot_shim.o
  CC [M]  /opt/redpill-lkm/shim/boot_device_shim.o
  CC [M]  /opt/redpill-lkm/shim/bios/rtc_proxy.o
In file included from /opt/redpill-lkm/shim/bios/rtc_proxy.h:4,
                 from /opt/redpill-lkm/shim/bios/rtc_proxy.c:22:
/opt/redpill-lkm/shim/bios/mfgbios_types.h:179:41: error: 'MfgCompatHddLedStatus' defined as wrong kind of tag
 typedef int (*mfgc_set_hdd_led_cb)(enum MfgCompatHddLedStatus *status);
                                         ^~~~~~~~~~~~~~~~~~~~~
/opt/redpill-lkm/shim/bios/mfgbios_types.h:179:41: warning: 'enum MfgCompatHddLedStatus' declared inside parameter list will not be visible outside of this definition or declaration
make[3]: *** [scripts/Makefile.build:278: /opt/redpill-lkm/shim/bios/rtc_proxy.o] Error 1
make[2]: *** [Makefile:1445: _module_/opt/redpill-lkm] Error 2
make[2]: Leaving directory '/opt/redpill-lkm/toolkit_dev-geminilake-7.0.1-42214'
make[1]: *** [Makefile:43: all] Error 2
make[1]: Leaving directory '/opt/redpill-lkm'
make: *** [Makefile:23: build_redpill_lkm] Error 2

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.