Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

В 22.04.2023 в 09:29, Peter Suh сказал:

I should consider the results of your DVA3221,
I would like to try a different way to set the kernel configuration.

Sorry, the test took longer than expected. I set up a more reliable and convenient stand with a clean DSM and Win10, but I'm having trouble getting DSM to run on version 0.0.6b. It appears on the network for about 20 seconds and then disappears. I've tried several times as well as waiting for 10 minutes. I had no issues when using the regular TCRP (tinycore-redpill.v0.9.4.3-2.m-shell.img).

IMG_0227.thumb.JPG.edb6d16dd1f5d37ea6625ff942e50dbd.JPG

Link to comment
Share on other sites

2 hours ago, Loredan said:

Sorry, the test took longer than expected. I set up a more reliable and convenient stand with a clean DSM and Win10, but I'm having trouble getting DSM to run on version 0.0.6b. It appears on the network for about 20 seconds and then disappears. I've tried several times as well as waiting for 10 minutes. I had no issues when using the regular TCRP (tinycore-redpill.v0.9.4.3-2.m-shell.img).

IMG_0227.thumb.JPG.edb6d16dd1f5d37ea6625ff942e50dbd.JPG

 

 

I wanted to find out the impact of the settings below that still remain in ARPL and M SHELL for TCRP v0.0.6b, but I have already verified it.
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y

 

Rather, the above two settings that lowered performance are restored and to improve IO performance
v0.0.6c with the 4 settings below has already been officially distributed.
CONFIG_MQ_IOSCHED_DEADLINE=y
CONFIG_MQ_IOSCHED_KYBER=y
CONFIG_IOSCHED_BFQ=y
CONFIG_BFQ_GROUP_IOSCHED=y

 

897404520_2023-04-229_40_11.thumb.png.070efd89ad6d6a3994e5c05de34593d5.png

 

I am conducting a stability test centering on Korean users.
Synology disk benchmarks were also run in parallel, but there was no synergistic effect.
However, in VMM, it showed a synergistic effect of about 10%.
Windows 10 seemed to start up a little faster.

 

[TCRP Friend DVA3221 v0.0.6c]

423aeedfc6be37d1c79e83464b9a87a9.jpg.a016df4c2eddabe7c40313bb5012fcd6.jpg

 

If you build the 0.9.4.3-2 image with friendaudoupd set to true as usual, it will automatically change to v0.0.6c.

No users have reported not finding an IP with the v0.0.6c kernel yet.

  • Thanks 1
Link to comment
Share on other sites

19 часов назад, Peter Suh сказал:

If you build the 0.9.4.3-2 image with friendaudoupd set to true as usual, it will automatically change to v0.0.6c.

No users have reported not finding an IP with the v0.0.6c kernel yet.

 

I saw the update to version 0.0.6d, but unfortunately, I couldn't check it. DSM appears on the network for 20 seconds and then disappears. I tried building a new boot loader and using a clean HDD (I have encountered a couple of times where ARPL did not load the old DSM, but after cleaning the HDD everything worked fine).

  • Like 1
Link to comment
Share on other sites

4 hours ago, Peter Suh said:

 

Yet no one has succeeded in building modules compatible with kernel 4.4.302+ by DSM 7.2.

 

Pocopico and I had a test result a few weeks ago, but it's not resolved.

 

https://github.com/pocopico/redpill-modules/issues/1

 

I have 7.2 running in vmware fusion and baremetal on a thecus N4200 eco with this bootloader

https://github.com/wjz304/arpl-i18n

  • Thanks 1
Link to comment
Share on other sites

5 hours ago, Huey_Pilot said:

I have 7.2 running in vmware fusion and baremetal on a thecus N4200 eco with this bootloader

https://github.com/wjz304/arpl-i18n

 

I am also aware of the existence of this loader.
It is based on fabio's arpl, and it is a modified arpl, and even verified that arpl-modules were compiled separately.


https://github.com/wjz304/arpl-modules/releases/tag/23.4.1


Within this release there is a unified module pack modules.zip for all platforms covering different kernel versions.
Among them is version 4.4.302+.


A few days ago, I tried using the apollolake-4.4.302.tgz file with DS1019+ in my M shell, and the issue I checked with pocopico still existed.


I don't know how wjz304's ARPL for 7.2 RC can work with apollolake-4.4.302.tgz.


I think we need to do a detailed log analysis again to see if this is an issue that only occurs in TCRP.

  • Like 1
Link to comment
Share on other sites

9 hours ago, Peter Suh said:

 

I am also aware of the existence of this loader.
It is based on fabio's arpl, and it is a modified arpl, and even verified that arpl-modules were compiled separately.


https://github.com/wjz304/arpl-modules/releases/tag/23.4.1


Within this release there is a unified module pack modules.zip for all platforms covering different kernel versions.
Among them is version 4.4.302+.


A few days ago, I tried using the apollolake-4.4.302.tgz file with DS1019+ in my M shell, and the issue I checked with pocopico still existed.


I don't know how wjz304's ARPL for 7.2 RC can work with apollolake-4.4.302.tgz.


I think we need to do a detailed log analysis again to see if this is an issue that only occurs in TCRP.

Due to the high restrictions on email and IP in xpenology.com, I am unable to reply conveniently on xpenology.com. I am sorry.

You can find me on Github.

  • Thanks 1
Link to comment
Share on other sites

Hi is there a acpid extension for Proxmox that works with the DS3622xs+?

 

I tried:

./rploader.sh ext ds3622xsp-7.1.1-42962 add https://raw.githubusercontent.com/jimmyGALLAND/redpill-ext/master/acpid/rpext-index.json (only working until 42961)
./rploader.sh ext ds3622xsp-7.1.1-42962 add https://raw.githubusercontent.com/dodo-dk/rp-ext/main/acpid/rpext-index.json (script not found or something,also only 42961)

./rploader.sh ext ds3622xsp-7.1.1-42962 add https://github.com/pocopico/redpill-load/raw/develop/redpill-acpid/rpext-index.json (Proxmox can't shut down the VM)

 

And i ask myself what to do with 7.2....

 

Thank you

Edited by sten12341
Link to comment
Share on other sites

В 25.04.2023 в 02:14, Peter Suh сказал:

If you build the 0.9.4.3-2 image with friendaudoupd set to true as usual, it will automatically change to v0.0.6c.

No users have reported not finding an IP with the v0.0.6c kernel yet.

 

Today I tried to run DSM in UEFI mode and DSM started, but the VMM problem still persists :(

Maybe there is something wrong with my system, since everything works for everyone else.

Link to comment
Share on other sites

7 minutes ago, Loredan said:

It's enabled, as far as I can remember. Otherwise, virtualization wouldn't work at all, and there are no problems with TCRP.

I don't understand you.

If you are running as baremetal, there is no virtualization needed to run TCRP/ARPL.

Recheck your Bios for VT-x and VT-d (VT-d only needed for PCI passthrough but ... still.. in case)

 

It is hard to follow to be honest, you mean VMM works with TRCP (no friend) ?

Edited by Orphée
Link to comment
Share on other sites

58 минут назад, Orphée сказал:

I don't understand you.

If you are running as baremetal, there is no virtualization needed to run TCRP/ARPL.

Recheck your Bios for VT-x and VT-d (VT-d only needed for PCI passthrough but ... still.. in case)

 

It is hard to follow to be honest, you mean VMM works with TRCP (no friend) ?

 

I do not see VT-d in the settings, but VT-x is enabled (screenshot).

 

I did not describe the details to avoid repetition, as I have already described the problem several times before. Virtual machines (Windows, Debian, Home Assistant, etc.) in the Virtual Machine Manager (VMM) package work very slowly (long installation, laggy performance, etc.). It is accompanied by slow HDD performance.
The problem is only relevant when starting DSM through TCRP Friend and ARPL, as there are no issues when using TCRP (no Friend).

Issues:

https://github.com/fbelavenuto/arpl/issues/260

https://github.com/pocopico/tinycore-redpill/issues/208

 

IMG_0236.JPG

Edited by Loredan
Link to comment
Share on other sites

9 hours ago, Loredan said:

 

I do not see VT-d in the settings, but VT-x is enabled (screenshot).

 

I did not describe the details to avoid repetition, as I have already described the problem several times before. Virtual machines (Windows, Debian, Home Assistant, etc.) in the Virtual Machine Manager (VMM) package work very slowly (long installation, laggy performance, etc.). It is accompanied by slow HDD performance.
The problem is only relevant when starting DSM through TCRP Friend and ARPL, as there are no issues when using TCRP (no Friend).

Issues:

https://github.com/fbelavenuto/arpl/issues/260

https://github.com/pocopico/tinycore-redpill/issues/208

 

IMG_0236.JPG

I know it does not address the issue, but if you really need to run VMs regularly, then you should consider running a real hypervisor like Proxmox and run Xpenology only for DSM, and others VM handled by proxmox (or ESXi).

 

This more resilient, you will keep your other VMs running while you are playing/maintaining Xpenology/DSM.

 

But as you don't have "VT-d", if you expected to do HW transcoding, you won't be able to do it inside VMs with Proxmox of ESXi.

 

But this is just my opinion.

  • Thanks 1
Link to comment
Share on other sites

38 минут назад, Orphée сказал:

I know it does not address the issue, but if you really need to run VMs regularly, then you should consider running a real hypervisor like Proxmox and run Xpenology only for DSM, and others VM handled by proxmox (or ESXi).

 

This more resilient, you will keep your other VMs running while you are playing/maintaining Xpenology/DSM.

 

But as you don't have "VT-d", if you expected to do HW transcoding, you won't be able to do it inside VMs with Proxmox of ESXi.

 

But this is just my opinion.

 

Thank you. For my tasks, VMM is more than enough.
Please tell me which mode is better UEFI or Legacy?

Link to comment
Share on other sites

On 4/4/2023 at 3:19 AM, Dvalin21 said:

So has anyone experienced after upgrading to TCRP Friend, when booting into it, it shows an IP Address, but your network not registering it as being on the network? I can boot into the regular usb option no problem. Its like when booting into the TCRP Friend, it connects, but then disconnect otherwise why and how would it get an IP Address from the network?  This is an old PC network driver Realtek R8168 AMD Athlon II CPU. Thanks. 

 

Hello, I am having similar problems but with ARPL, on some motherboards, some with intel nics, others with realtek nics, after the loader loads DSM, when the command line returns, the NIC does a kind of reboot, and depending on which Synology model you have chosen, the NIC does not have a link again, On a Gigabyte B150 motherboard with intel core i5 6400, intel nic, it does not link if I use DS3615xs but it does link if I use DS3622xs+... Instead on a Gigabyte H610 motherboard with 12-gen intel core i5... with Realtek nic, after loading DSM and resetting the NIC, it no longer has a link with any Synology model... I hope I have explained myself well... ..

Link to comment
Share on other sites

Hi.

I've asked this question in the noob lounge and nobody replied, but this case seems to be very common.

I've installed DSM 7.1.1-42962 as VM on ESXI using image build with TinyCore RedPill Loader (withfriend) and I've installed update 5 on DSM. Initially I've selected E1000e network adapter in ESXi and now I would like to change it to VMXNET 3. Synology VM will not boot after that change (it doesn't have adequate network drivers, I think). So I thought that I can add these drivers using TCRP Image Build again. I've executed these commands:

./rploader.sh fullupgrade

./rploader.sh serialgen DS918+ realmac

./rploader.sh satamap

./rploader.sh build ds918p-7.1.1-42962 withfriend

./rploader.sh backup

exitcheck.sh reboot

The problem is that after rebooting, DSM has complained that there is something wrong with system partition (I think that it expected system with Update 5, but TCRP has build image without any updates). I've restored system partition from backup and configured network adapter as E1000e, so now it's working again.

My question is: how to properly add VMXNET network driver using TCRP?

Link to comment
Share on other sites

22 часа назад, uxer сказал:

how to properly add VMXNET network driver using TCRP?

1) Why are you so insistent on replacing the E1000 (which works for you) on VMXNET3 (which doesn't want to work)?

2) I checked it on my test DSM: ESXi8, the ARPL bootloader - it runs successfully both with E1000e or VMXNET3

Link to comment
Share on other sites

18 hours ago, dj_nsk said:

1) Why are you so insistent on replacing the E1000 (which works for you) on VMXNET3 (which doesn't want to work)?

2) I checked it on my test DSM: ESXi8, the ARPL bootloader - it runs successfully both with E1000e or VMXNET3

1) I have more virtual machines on this host. These machines have VMXNET3 network cards. VMXNET3 is a lot faster and it worked fine in my previous setup (DSM 6.2). I've made a mistake when I was creating VM for DSM 7.1 (I've selected wrong network adapter type). VMXNET3 is working fine when I'm using it on new VM (when building loader from scratch), but I don't know how to update my current bootloader.

2) I'm not using ARPL bootloader - I'm using standard @pocopico's TinyCore RedPill (TCRP) loader. My loader was built without VMXNET3 drivers, so these drivers need to be added to my loader.

Link to comment
Share on other sites

On 5/3/2023 at 3:57 PM, uxer said:

Hi.

I've asked this question in the noob lounge and nobody replied, but this case seems to be very common.

I've installed DSM 7.1.1-42962 as VM on ESXI using image build with TinyCore RedPill Loader (withfriend) and I've installed update 5 on DSM. Initially I've selected E1000e network adapter in ESXi and now I would like to change it to VMXNET 3. Synology VM will not boot after that change (it doesn't have adequate network drivers, I think). So I thought that I can add these drivers using TCRP Image Build again. I've executed these commands:

./rploader.sh fullupgrade

./rploader.sh serialgen DS918+ realmac

./rploader.sh satamap

./rploader.sh build ds918p-7.1.1-42962 withfriend

./rploader.sh backup

exitcheck.sh reboot

The problem is that after rebooting, DSM has complained that there is something wrong with system partition (I think that it expected system with Update 5, but TCRP has build image without any updates). I've restored system partition from backup and configured network adapter as E1000e, so now it's working again.

My question is: how to properly add VMXNET network driver using TCRP?

 

Hello,

 

./rploader.sh ext ds918p-7.1.1-42962 auto

or

./rploader.sh ext ds918p-7.1.1-42962 https://github.com/pocopico/rp-ext/blob/main/vmxnet3/rpext-index.json

 

from pocopico/rp-ext repo (https://github.com/pocopico/rp-ext)

Link to comment
Share on other sites

Hi,

 

I'm migrating on a new machine and trying to install baremetal but I have a problem with ethernet (I'm guessing).

 

CPU : AMD 2400G

Motherboard : AB350M Pro4

Ethernet : on motherboard, should be Realtek "RTL8111/8168/8411" (as per TrueNAS).

 

I used these commands:
 

./rploader.sh update
./rploader.sh serialgen DS3622xs+ realmac
./rploader.sh satamap
./rploader.sh identifyusb
./rploader.sh ext ds3622xsp-7.1.1-42962 auto
./rploader.sh build ds3622xsp-7.1.1-42962 withfriend
./rploader.sh backup
exitcheck.sh reboot

 

After reboot. I don't have any error message but I cannot find the NAS on the network and ethernet NIC is not blinking.

 

Do you guys have any idea what I'm doing wrong?

 

Thanks a lot,

 

Here's the log in Putty :

Quote

login as: tc
tc@192.168.1.250's password:
   ( '>')
  /) TC (\   Core is distributed with ABSOLUTELY NO WARRANTY.
 (/-_--_-\)           www.tinycorelinux.net

tc@box:~$ ./rploader.sh update
Checking Internet Access -> OK
Checking if a newer version exists on the main repo -> Version is current
tc@box:~$ ./rploader.sh serialgen DS3622xs+ realmac
Serial Number for Model = [REDACTED]
Mac Address for Model DS3622xs+ = 00:11:32:BB:93:F2
Real Mac Address : [REDACTED]
Notice : realmac option is requested, real mac will be used
Should i update the user_config.json with these values ? [Yy/Nn]
y
tc@box:~$ ./rploader.sh satamap

Found "01:00.1 Advanced Micro Devices, Inc. [AMD] Device 43b7 (rev 02)"
Detected 8 ports/3 drives. Bad ports: 3 4 7 8. Override # of ports or ENTER to a                                                                                                                                                                              ccept <8>
Found "06:00.0 JMicron Technology Corp. Device 0585"
Detected 5 ports/3 drives. Override # of ports or ENTER to accept <5>

Computed settings:
SataPortMap=85
DiskIdxMap=0008

WARNING: Bad ports are mapped. The DSM installation will fail!

Should i update the user_config.json with these values ? [Yy/Nn] y
Done.
tc@box:~$ ./rploader.sh identifyusb
Found  USB SerialNumber: 070C2463D213A761
Vendor ID : 0x13fe Product ID : 0x3e00
Should i update the user_config.json with these values ? [Yy/Nn]
y
tc@box:~$ ./rploader.sh ext ds3622xsp-7.1.1-42962 auto
bspatch does not exist, bringing over from repo
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10232  100 10232    0     0  70565      0 --:--:-- --:--:-- --:--:-- 70082
Rploader Version : 0.9.4.4
Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop
Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill module branch : master
Extensions :   redpill-misc
Extensions URL : "https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.broadwellnk-7.0.dev.txz/download
TOOLKIT_SHA : 0d9edca67d9e7e14c2529bbb58341b623936124d5264f71f1e4acbacf3ea202d
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/broadwellnk-                                                                                                                                          source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1be
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : ds3622xsp
TARGET_VERSION    : 7.1.1
TARGET_REVISION : 42962
REDPILL_LKM_MAKE_TARGET : dev-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :  modules.alias.4.json
SYNOMODEL : ds3622xsp_42962
MODEL : DS3622xs+
Local Cache Folder : /mnt/sdg3/auxfiles
DATE Internet : 09052023 Local : 09052023
Checking Internet Access -> OK
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1649, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 1649 (delta 19), reused 24 (delta 15), pack-reused 1601
Receiving objects: 100% (1649/1649), 5.85 MiB | 5.27 MiB/s, done.
Resolving deltas: 100% (987/987), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 3233, done.
remote: Counting objects: 100% (70/70), done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 3233 (delta 18), reused 68 (delta 18), pack-reused 3163
Receiving objects: 100% (3233/3233), 120.11 MiB | 20.09 MiB/s, done.
Resolving deltas: 100% (1582/1582), done.
Testing modules.alias.4.json -> File OK
------------------------------------------------------------------------------------------------
It looks that you will need the following modules :


Found SATA Controller : pciid 1022d000043b7  Required Extension :
No matching extension
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json to /home                                                                                                                                          /tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%
[OK]
[#] ========================================== pocopico.r8168 ==========================================
[#] Extension name: r8168
[#] Description: Adds RealTek RTL-8168 Gigabit Ethernet driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/r8168
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p                                                                                                                                          _42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 dva1622_42218 dva1622_42621 ds920p_42962 ds1621p_42                                                                                                                                          661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42                                                                                                                                          218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_                                                                                                                                          42962 ds3615xs_41222 ds920p_42951 rs4021xsp_42218 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42                                                                                                                                          218 rs4021xsp_42951 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds2422p_4262                                                                                                                                          1 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_42661
[#] =======================================================================================

Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8168
r8169
Searching for matching extension for r8168
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json"
Found SATA Controller : pciid 197bd00000585  Required Extension :
No matching extension
Found VGA Controller : pciid 1002d000015dd  Required Extension :
No matching extension
------------------------------------------------------------------------------------------------
tc@box:~$ ./rploader.sh build ds3622xsp-7.1.1-42962 withfriend
Rploader Version : 0.9.4.4
Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop
Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill module branch : master
Extensions :   redpill-misc
Extensions URL : "https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.broadwellnk-7.0.dev.txz/download
TOOLKIT_SHA : 0d9edca67d9e7e14c2529bbb58341b623936124d5264f71f1e4acbacf3ea202d
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/broadwellnk-                                                                                                                                          source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1be
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : ds3622xsp
TARGET_VERSION    : 7.1.1
TARGET_REVISION : 42962
REDPILL_LKM_MAKE_TARGET : dev-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :  modules.alias.4.json
SYNOMODEL : ds3622xsp_42962
MODEL : DS3622xs+
Local Cache Folder : /mnt/sdg3/auxfiles
DATE Internet : 09052023 Local : 09052023
Checking Internet Access -> OK
Checking if a newer version exists on the main repo -> Version is current
Redpill sources already downloaded, pulling latest
Already up to date.
Loader sources already downloaded, pulling latest
Already up to date.
withfriend option set, My friend will be added
No extra build option or static specified, using default <static>
Using static compiled redpill extension
Removing any old redpill.ko modules
Looking for redpill for : ds3622xsp_42962
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpillprod/releases/redpill-4.4.180plus-broad                                                                                                                                          wellnk.tgz
Extracting module
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpillprod/src/check-redpill.sh
Got redpill-linux-v4.4.180+.ko
Testing modules.alias.4.json -> File OK
------------------------------------------------------------------------------------------------
It looks that you will need the following modules :


Found SATA Controller : pciid 1022d000043b7  Required Extension :
No matching extension
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json to /home                                                                                                                                          /tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################## 100.0%

[!] Extension is already added (index exists at /home/tc/redpill-load/custom/extensions/pocopico.r8168/pocopico.r816                                                                                                                                          8.json). For more info use "ext-manager.sh info pocopico.r8168"

*** Process will exit ***
Found Ethernet Interface : pciid 10ecd00008168 Required Extension : r8168
r8169
Searching for matching extension for r8168
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json"
Found SATA Controller : pciid 197bd00000585  Required Extension :
No matching extension
Found VGA Controller : pciid 1002d000015dd  Required Extension :
No matching extension
------------------------------------------------------------------------------------------------
Starting loader creation
Found tinycore cache folder, linking to home/tc/custom-module
Checking user_config.json : Done
Entering redpill-load directory
Removing bundled exts directories
Cache directory OK
Found build request for revision greater than 42218
Getting required extraction tool
------------------------------------------------------------------
Checking tinycore cache folder
Found tinycore cache folder, linking to home/tc/custom-module
Creating temp folder /tmp/synoesp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  389M  100  389M    0     0  24.1M      0  0:00:16  0:00:16 --:--:-- 24.6M
Entering synoesp
extract rd.gz
finish
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/net/tun: Cannot mknod: Operation not permitted
42670 blocks
extract rd
mkdir: cannot create directory '/mnt/sdg3/auxfiles': File exists
Copying required files to local cache folder for future use
Copying usr/lib/libcurl.so.4 to /mnt/sdg3/auxfiles
Copying usr/lib/libmbedcrypto.so.5 to /mnt/sdg3/auxfiles
Copying usr/lib/libmbedtls.so.13 to /mnt/sdg3/auxfiles
Copying usr/lib/libmbedx509.so.1 to /mnt/sdg3/auxfiles
Copying usr/lib/libmsgpackc.so.2 to /mnt/sdg3/auxfiles
Copying usr/lib/libsodium.so to /mnt/sdg3/auxfiles
Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sdg3/auxfiles
Copying usr/syno/bin/scemd to /mnt/sdg3/auxfiles
Copying required libraries to local lib directory
Linking lib to lib64
Copying executable
Removing temp folder /tmp/synoesp
Checking if tools is accessible
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Copyright (c) 2003-2021 Synology Inc. All rights reserved.

/bin/syno_extract_system_patch PATCH_PATH DEST_PATH
Executed succesfully
Creating temp folder /tmp/pat
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Could not find pat file locally cached
Configdir : /home/tc/redpill-load/config/DS3622xs+/7.1.1-42962
Configfile: /home/tc/redpill-load/config/DS3622xs+/7.1.1-42962/config.json
Pat URL : https://global.download.synology.com/download/DSM/release/7.1.1/42962/DSM_DS3622xs%2B_42962.pat
Downloading pat file from URL : https://global.download.synology.com/download/DSM/release/7.1.1/42962/DSM_DS3622xs%2B_42962.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  346M  100  346M    0     0  24.1M      0  0:00:14  0:00:14 --:--:-- 24.7M
File //mnt/sdg3/auxfiles/ds3622xsp_42962.pat, is  encrypted
File //mnt/sdg3/auxfiles/ds3622xsp_42962.pat, has been cached but its encrypted, re-running decrypting process
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/ds3622xsp_42962.pat
File /home/tc/custom-module/ds3622xsp_42962.pat, is  encrypted
Extracting encrypted pat file : /home/tc/custom-module/ds3622xsp_42962.pat to /tmp/pat
/bin/syno_extract_system_patch: /usr/local/lib/libcurl.so.4: no version information available (required by /bin/syno_extract_system_patch)
Creating unecrypted pat file ds3622xsp_42962.pat to /home/tc/redpill-load/cache folder
./VERSION
Pat file  sha256sum is : c6a8fc32f867443bf3ff1b6c8c9c9b96babf062b5cb447099af755b395932d03
Checking config file existence -> OK
Editing config file -> Verifying config file -> OK !
Clearing temp folders
Processing add_extensions entries found on custom_config.json file :   redpill-misc
Adding extension "https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json"
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json...
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
####################################################################################################################################################################################################################################################### 100.0%
[OK]
[#] ========================================== redpill-misc ==========================================
[#] Extension name: Misc shell
[#] Description: Misc shell
[#] To get help visit: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc
[#] Extension preparer/packer: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc
[#] Software author: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc
[#] Update URL: https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 ds923p_42962 dva1622_42951 ds923p_64216 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds3622xsp_64216 ds2422p_42661 ds3622xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 sa6400_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 rs4021xsp_42218 ds3622xsp_64551 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 rs4021xsp_42951 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_42661
[#] =======================================================================================

Updating extension : redpill-misc contents for model : ds3622xsp_42962
[#] Checking runtime for required tools... [OK]
[#] Updating ds3622xsp_42962 platforms extensions...
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
####################################################################################################################################################################################################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension redpill-misc platform ds3622xsp_42962
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/install.sh
####################################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/install.sh file...  [OK]
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install-all.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/install-all.sh
####################################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/install-all.sh file...  [OK]
[#] Downloading remote file https://github.com/tsl0922/ttyd/releases/download/1.6.3/ttyd.x86_64 to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/ttyd
####################################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/ttyd file...  [OK]
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/install_rd.sh to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/install_rd.sh
####################################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/install_rd.sh file...  [OK]
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/releases/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/lrzsz.tar.gz
####################################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/lrzsz.tar.gz file...  [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/...  [OK]
[#] Successfully processed recipe for extension redpill-misc platform ds3622xsp_42962
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42962/...  [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating extensions...

[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json...
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
####################################################################################################################################################################################################################################################### 100.0%
[OK]
[#] ========================================== redpill-boot-wait ==========================================
[#] Extension name: RedPill Bootwait
[#] Description: Simple extension which stops the execution early waiting for the boot device to appear
[#] To get help visit: https://github.com/pocopico/rp-ext/redpill-boot-wait
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/redpill-boot-wait
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622xsp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 ds923p_42962 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 rs4021xsp_42218 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 rs4021xsp_42951 ds920p_42621 ds918p_42962 ds3615xs_42951 ds3622xsp_42951 ds920p_42550 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_42661
[#] =======================================================================================

[#] Checking runtime for required tools... [OK]
[#] Updating pocopico.r8168 extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
####################################################################################################################################################################################################################################################### 100.0%

[#] Extension pocopico.r8168 index is already up to date
[#] Updating redpill-boot-wait extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill-boot-wait/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
####################################################################################################################################################################################################################################################### 100.0%

[#] Extension redpill-boot-wait index is already up to date
[#] Updating redpill-misc extension...
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
####################################################################################################################################################################################################################################################### 100.0%

[#] Extension redpill-misc index is already up to date
[#] Updating redpill-misc extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating ds3622xsp_42962 platforms extensions...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/releases/ds3622xsp_42218.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
####################################################################################################################################################################################################################################################### 100.0%

[#] Filling-in newly downloaded recipe for extension pocopico.r8168 platform ds3622xsp_42962
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/releases/r8168-4.4.180plus-broadwellnk.tgz to /home/tc/redpill-load/custom/extensions/pocopico.r8168/ds3622xsp_42962/r8168-4.4.180plus-broadwellnk.tgz
####################################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8168/ds3622xsp_42962/r8168-4.4.180plus-broadwellnk.tgz file... [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.r8168/ds3622xsp_42962/r8168-4.4.180plus-broadwellnk.tgz to /home/tc/redpill-load/custom/extensions/pocopico.r8168/ds3622xsp_42962/... [OK]
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/r8168/src/check-r8168.sh to /home/tc/redpill-load/custom/extensions/pocopico.r8168/ds3622xsp_42962/check-r8168.sh
####################################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.r8168/ds3622xsp_42962/check-r8168.sh file... [OK]
[#] Successfully processed recipe for extension pocopico.r8168 platform ds3622xsp_42962
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
####################################################################################################################################################################################################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform ds3622xsp_42962
[#] Downloading remote file https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/src/boot-wait.sh to /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3622xsp_42962/boot-wait.sh
####################################################################################################################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3622xsp_42962/boot-wait.sh file... [OK]
[#] Successfully processed recipe for extension redpill-boot-wait platform ds3622xsp_42962
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json
####################################################################################################################################################################################################################################################### 100.0%
[#] Extension redpill-misc for ds3622xsp_42962 platform is already up to date
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3622xsp_42962/boot-wait.sh file... [OK]
[#] Updating extensions... [OK]
[#] Verifying /home/tc/redpill-load/cache/ds3622xsp_42962.pat file... [OK]
[#] Unpacking /home/tc/redpill-load/cache/ds3622xsp_42962.pat file to /home/tc/redpill-load/build/1683635225/pat-ds3622xsp_42962-unpacked... [OK]
[#] Verifying /home/tc/redpill-load/build/1683635225/pat-ds3622xsp_42962-unpacked/zImage file... [OK]
[#] Patching /home/tc/redpill-load/build/1683635225/pat-ds3622xsp_42962-unpacked/zImage to /home/tc/redpill-load/build/1683635225/zImage-patched... [OK]
[#] Verifying /home/tc/redpill-load/build/1683635225/pat-ds3622xsp_42962-unpacked/rd.gz file... [OK]
[#] Unpacking /home/tc/redpill-load/build/1683635225/pat-ds3622xsp_42962-unpacked/rd.gz file to /home/tc/redpill-load/build/1683635225/rd-ds3622xsp_42962-unpacked... [OK]
[#] Apply patches to /home/tc/redpill-load/build/1683635225/rd-ds3622xsp_42962-unpacked... [OK]
[#] Patching config files in ramdisk... [OK]
[#] Adding OS config patching... [OK]
[#] Repacking ramdisk to /home/tc/redpill-load/build/1683635225/rd-patched-ds3622xsp_42962.gz... [OK]
[#] Bundling extensions... [#] Checking runtime for required tools... [OK]
[#] Dumping ds3622xsp_42962 platform extensions to /home/tc/redpill-load/build/1683635225/custom-initrd/exts... [OK]
[#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1683635225/custom.gz... [OK]
[#] Generating GRUB config... [OK]
[#] Creating loader image at loader.img... [OK]
[#] Cleaning up... [OK]
Mounting /dev/sdg1 to localdiskp1
Mounting /dev/sdg2 to localdiskp2
Replacing set root with filesystem UUID instead
Creating tinycore entry
menuentry 'Tiny Core Image Build' {
        savedefault
        search --set=root --fs-uuid 6234-C863 --hint hd0,msdos3
        echo Loading Linux...
        linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791
        echo Loading initramfs...
        initrd /corepure64.gz
        echo Booting TinyCore for loader creation
}
Bringing over my friend
####################################################################################################################################################################################################################################################### 100.0%
####################################################################################################################################################################################################################################################### 100.0%
####################################################################################################################################################################################################################################################### 100.0%
bzImage-friend checksum OK !
initrd-friend checksum OK !
menuentry 'Tiny Core Friend' {
        savedefault
        search --set=root --fs-uuid 6234-C863 --hint hd0,msdos3
        echo Loading Linux...
        linux /bzImage-friend loglevel=3 waitusb=5 vga=791 net.ifnames=0 biosdevname=0
        echo Loading initramfs...
        initrd /initrd-friend
        echo Booting TinyCore Friend
}
Entries in Localdisk bootloader :
=======================================================================
menuentry 'RedPill DS3622xs v7.1.1-42962 Beta (USB, Verbose)' {
menuentry 'RedPill DS3622xs v7.1.1-42962 Beta (SATA, Verbose)' {
menuentry 'Tiny Core Image Build' {
menuentry 'Tiny Core Friend' {
Updated user_config with USB Command Line : withefi earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=1 pid=0x3e00 earlycon=uart8250,io,0x3f8,115200n8 syno_port_thaw=1 mac1=[REDACTED] sn=[REDACTED] vid=0x13fe elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=0008 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 SataPortMap=85
Updated user_config with SATA Command Line : withefi earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=1 pid=0x3e00 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=1 syno_port_thaw=1 mac1=[REDACTED] sn=[REDACTED] vid=0x13fe elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=0008 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 SataPortMap=85
Ramdisk in not compressed
48776 blocks
4042 blocks
52817 blocks
Setting default boot entry to TCRP Friend
Cleaning up files
Caching files for future use
No adequate space on TCRP loader partition /mnt/sdg3 to cache pat file
Found /mnt/sdg3/auxfiles/ds3622xsp_42962.pat file
Removing older cached pat files to cache current
Found /home/tc/redpill-load/cache/ds3622xsp_42962.pat, copying to cache directory : /mnt/sdg3/auxfiles
Saving user session for future use. Saving current extensions  -> OK !
Saving current user_config.json  -> OK !
tc@box:~$ ./rploader.sh backup
Please make sure you are using the latest 1GB img before using backup option
Current /home/tc size is 590M , try to keep it less than 1GB as it might not fit into your image
Should i update the sdg with your current files [Yy/Nn]
OK, keeping last status
tc@box:~$ exitcheck.sh reboot

 

Link to comment
Share on other sites

1 hour ago, secretliar said:

Hi,

 

I'm migrating on a new machine and trying to install baremetal but I have a problem with ethernet (I'm guessing).

 

CPU : AMD 2400G

Motherboard : AB350M Pro4

Ethernet : on motherboard, should be Realtek "RTL8111/8168/8411" (as per TrueNAS).

 

 

Your NIC is Realtek RTL8111GR

For Ryzen (AMD) system, it is suggest to use DS1621+: look at the table on post #1

Also, AMD systems, at least mine, does not handle "withfriend".

Link to comment
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.

×
×
  • Create New...