Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

3.partition from TCRP to small

./rploader.sh build ds918p-7.1.1-42962

 

they will show me some information but the last was

 

"No adequate space on /mnt/sde3/auxfiles to download file into cache folder, clean up the space and restart"

 

It was a 16GB USB stick !!!

but if i make

df -h

i will see

Filesystem    Size    Used     Avail     Use  Mounted on
rootfs        15G     210M      14G       2%    /
tmpfs        7.9G       0      7.9G       0%    /dev/shm
/dev/sda3    899M     899M       0      100%    /mnt/sde3

 

 

any solution ?

 

 

Link to comment
Share on other sites

@alirz1

i am on ESXi with both of my Machines

ARPL does it on the fly on my 6.5 (for NIC reasons)

 

TCRP on my 8.0 System went through -4 update manually fine with:


./rploader.sh update

./rploader.sh postupdate … …

 

after first reboot of DSM when the update was applied via GUI manually 

 

 

Edited by Kaneske
Link to comment
Share on other sites

On 1/23/2023 at 4:30 AM, Aigor said:

Try to disable two of them, or remove 10Gbit card
I had to do to install my xpenology on Gen 8 microserver 

 

 

Kinda defeats the purpose. 

 

I have a dual 10g intel card and a 10g unifi switch. why would i want to remove it?

 

Is there another way i can get the intel card working?? i have disabled all the onboard intel gigabit nics in bios, the only ones presented to xpenology are the 2 10g connections on the x520 card but im never able to find it on the network?

 

Link to comment
Share on other sites

2 hours ago, Andy Miller said:

 

Kinda defeats the purpose. 

 

I have a dual 10g intel card and a 10g unifi switch. why would i want to remove it?

 

Is there another way i can get the intel card working?? i have disabled all the onboard intel gigabit nics in bios, the only ones presented to xpenology are the 2 10g connections on the x520 card but im never able to find it on the network?

 

Not removing, simply disabling until the installation ends
Install without card, shutdown server, reinstall card, reboot 

Link to comment
Share on other sites

  • 2 weeks later...

Copy the integrated module pack (ARPL MODULES), which is the most core function of ARPL, to /lib/modules
It has a function that dynamically and automatically recognizes various devices and processes up to module injection.
At the heart of this feature is something called EUDEV.

EUDEV is as follows.

 

1221095240_2023-02-2612_38_29.thumb.png.eb0647475240a0e659f0152c6ffddc64.png


I wanted to apply this EUDEV to TCRP as I heard from pocopico and fabio, but in a state where the concept was not established
It was difficult to apply to M SHELL for TCRP at first glance.

 
Pocopico started in August of last year, but it seems that he ported this EUDEV from ARPL version to TCRP for TCRP about 3 weeks ago to complete the usable level.

https://github.com/pocopico/rp-ext/tree/main/eudev

 

There was a slight bug where the EUDEV daemon loading did not run, but it was corrected to work properly by solving the cause.
 

So far, the method I have applied to M SHELL is the method in which ARPL's integrated module pack is used by TCRP for automatic device discovery.
Based on VID / PID analyzed by lspci command
This is a method of injecting matching modules one by one by comparing pre-prepared modules.alias.4.json files.
 

If this is handled statically, even if the integrated module pack is prepared, if modules.alias.4.json is not prepared, the module cannot be installed.
Could the opposite be the case?
Since the two developers are different, there were enough possibilities for omissions in two places.

 

Now, it is possible to handle modules dynamically like ARPL in TCRP only with EUDEV, out of the way of statically referencing the modules.alias.4.json file.

As long as the module.ko file, which is the ARPL integrated module list file, exists for each platform in the path below and EUDEV detects the device normally,

all devices are loaded without missing drivers.

https://github.com/fbelavenuto/arpl-modules

 

 

To use this method, you need to rebuild the loader with M SHELL for TCRP.

 

M SHELL for TCRP also faces a new phase in the module loading method today, and I think it is a meaningful transition for me as well.

Please feel free to tell me about any bugs or improvements while using the new version.

 

https://github.com/PeterSuh-Q3/tcrp-modules

 

 

thank you @pocopico, @fbelavenuto

 

Edited by Peter Suh
  • Like 1
Link to comment
Share on other sites

Hi i have a little problems for HDD Storage

I'm using Vmware Workstation 16 & Tiny Redpill Loader v0.9.4.0

DSM_DS3617xs_42962

 

I'm created about 6 HDD, but in synology just only recives 4 HDD.

And my HDD start Drives is 12 not start 01

 

Like Image 01: Added the first HDD and Start at 12

https://imgur.com/a/5D4XTs2

 

Like Image 02: Added more 4 HDD (total 5)

 

https://imgur.com/ymYDenG

 

Like Image 03: in Synology just see only 4 HDD can use

 

https://imgur.com/undefined

Link to comment
Share on other sites

On 12/9/2022 at 12:51 PM, Jizar Stoffel said:

my Drive 8 have been crashing non-stop. 
I have already Replace the drive with brand new ones many times (4 to be exact). and everytime I try to repair the Storagepool,

Some times is not HDD problem , a few could be a weak cable connection (micro cut power). Pls. before change your disk, try to change cable Sata/Power among disk and test if continue problem. My solution was --> 

 

 

Captura de Pantalla 2023-03-03 a la(s) 10.04.57.png

Edited by Mary Andrea
Link to comment
Share on other sites

Hi all 

 

when I build  ds918p-7.1.1-42962, I get an error:

-------------

tc@box:~$ ./rploader.sh build ds918p-7.1.1-42962
Rploader Version : 0.9.4.3
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : ds918p
TARGET_VERSION    : 7.1.1
TARGET_REVISION : 42962
REDPILL_LKM_MAKE_TARGET : test-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :  modules.alias.4.json
SYNOMODEL : ds918p_42962
MODEL : DS918+
Local Cache Folder : /mnt/sda3/auxfiles
DATE Internet : 03032023 Local : 03032023
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.
--

--
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpillprod/releases/redpill-4.4.180plus.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 IDE Controller : pciid 8086d00007111  Required Extension : ata_piix
ata_piix
Searching for matching extension for ata_piix
Found ---

---
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/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.e1000e/pocopico.e1000e.json). For more info use "ext-manager.sh info pocopico.e1000e"

*** Process will exit ***
Found Ethernet Interface : pciid 8086d000010d3 Required Extension : e1000e
Searching for matching extension for e1000e
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json"
------------------------------------------------------------------------------------------------
Starting loader creation
.....

....

....

....

[#] Extension redpill-misc for ds918p_42962 platform is already up to date
[#] Updating ds918p_42962 platforms extensions...  [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
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

[!] Failed to download 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

*** Process will exit ***

[!] Failed to add "https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json" as an extension:


,

*** Process will exit ***
[!] Failed to install redpill.bootwait bundled extension - see errors above

*** Process will exit ***
FAILED : Loader creation failed check the output for any errors
---------------

 

 

I use a proxy to connnect to github.com and it works fine as I has downloaded the above files except the error json file

 

any solution or advice??

Link to comment
Share on other sites

@pocopico

Hi. I'm trying to build DS923 v7.1.1-42962 but I have the following error:

Rploader Version : 0.9.4.0

....

[-] The extension pocopico.e1000e was found. However, the extension index has no recipe for ds923p_42962 platform. It may not be
[-] supported on that platform, or author didn't updated it for that platform yet. You can try running
[-] "ext-manager.sh update" to refresh indexes for all extensions manually. Below are the currently known information about
[-] the extension stored locally:
[#] ========================================== pocopico.e1000e ==========================================
[#] Extension name: e1000e
[#] Description: Adds Intel(R) PRO/1000 Network Driver Support
...

[-] Failed to update recipe for pocopico.e1000e extension for platform ds923p_42962. The script will terminate as you do not
[-] have previously downloaded recipe which can be used if download fails. Try again later. If problem
[-] persists contact the extension packer for support (displayed below)
 

*** Process will exit ***

Same on Rploader Version : 0.9.4.3 after update and fullupgrade

For DS920, DS1621, latest version, the build process works fine

 

If I add the ext manualy, it works without error

 

Spoiler

./rploader.sh ext ds923p-7.1.1-42962 add "https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.
json"
Rploader Version : 0.9.4.3
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
  dtbpatch
Extensions URL : "https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/rpext-index.json",
"https://github.com/pocopico/rp-ext/raw/main/dtbpatch/rpext-index.json"
TOOLKIT_URL : https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.denverton-7.0.dev.txz/download
TOOLKIT_SHA : 6dc6818bad28daff4b3b8d27b5e12d0565b65ee60ac17e55c36d913462079f57
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology NAS GPL Source/25426branch/denverton-source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1be
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : ds923p
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 : ds923p_42962
MODEL : DS923+
Local Cache Folder : /mnt/sda3/auxfiles
DATE Internet : 03032023 Local : 03032023
Checking Internet Access -> OK
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1597, done.
remote: Total 1597 (delta 0), reused 0 (delta 0), pack-reused 1597
Receiving objects: 100% (1597/1597), 6.03 MiB | 8.42 MiB/s, done.
Resolving deltas: 100% (961/961), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 3036, done.
remote: Total 3036 (delta 0), reused 0 (delta 0), pack-reused 3036
Receiving objects: 100% (3036/3036), 118.52 MiB | 11.75 MiB/s, done.
Resolving deltas: 100% (1489/1489), done.
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
######################################################################################################################### 100.0%
[OK]
[#] ========================================== pocopico.e1000e ==========================================
[#] Extension name: e1000e
[#] Description: Adds Intel(R) PRO/1000 Network Driver Support
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/e1000e
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/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_42661 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 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_42661
[#] =======================================================================================
 

Thanks
 

Edited by blindspot
Link to comment
Share on other sites

12 hours ago, sc_lodestar said:

Hi all 

 

when I build  ds918p-7.1.1-42962, I get an error:

-------------

tc@box:~$ ./rploader.sh build ds918p-7.1.1-42962
Rploader Version : 0.9.4.3
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : ds918p
TARGET_VERSION    : 7.1.1
TARGET_REVISION : 42962
REDPILL_LKM_MAKE_TARGET : test-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :  modules.alias.4.json
SYNOMODEL : ds918p_42962
MODEL : DS918+
Local Cache Folder : /mnt/sda3/auxfiles
DATE Internet : 03032023 Local : 03032023
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.
--

--
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpillprod/releases/redpill-4.4.180plus.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 IDE Controller : pciid 8086d00007111  Required Extension : ata_piix
ata_piix
Searching for matching extension for ata_piix
Found ---

---
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/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.e1000e/pocopico.e1000e.json). For more info use "ext-manager.sh info pocopico.e1000e"

*** Process will exit ***
Found Ethernet Interface : pciid 8086d000010d3 Required Extension : e1000e
Searching for matching extension for e1000e
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/rpext-index.json"
------------------------------------------------------------------------------------------------
Starting loader creation
.....

....

....

....

[#] Extension redpill-misc for ds918p_42962 platform is already up to date
[#] Updating ds918p_42962 platforms extensions...  [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
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

[!] Failed to download 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

*** Process will exit ***

[!] Failed to add "https://github.com/pocopico/rp-ext/raw/main/redpill-boot-wait/rpext-index.json" as an extension:


,

*** Process will exit ***
[!] Failed to install redpill.bootwait bundled extension - see errors above

*** Process will exit ***
FAILED : Loader creation failed check the output for any errors
---------------

 

 

I use a proxy to connnect to github.com and it works fine as I has downloaded the above files except the error json file

 

any solution or advice??

change network connection and it goes well.

  • Like 1
Link to comment
Share on other sites

1 hour ago, sc_lodestar said:

change network connection and it goes well.

Hi do you know how can add more 4 hdd?

I'm using Vmware Workstation 16 & Tiny Redpill Loader v0.9.4.0

DSM_DS3617xs_42962

 

I'm created about 6 HDD, but in synology just only recives 4 HDD.

And my HDD start Drives is 12 not start 01

thanks you guys

Link to comment
Share on other sites

Hello. I need to use DSM 7.0.1

I try to build loader for DS3615, or DS3622xs+, but its end with same error>

[#] PAT file /home/tc/redpill-load/cache/ds3622xsp_42218.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs+_42218.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  389M  100  389M    0     0  10.3M      0  0:00:37  0:00:37 --:--:-- 11.4M
[#] Verifying /home/tc/redpill-load/cache/ds3622xsp_42218.pat file... [ERR]
[!] Checksum mismatch - expected f38329b8cdc5824a8f01fb1e377d3b1b6bd23da365142a01e2158beff5b8a424 but computed a222d37f369d71042057ccb592f40c7c81e9b988a95d69fa166c7c2a611da99c

*** Process will exit ***
FAILED : Loader creation failed check the output for any errors

And this problem persist only on 7.0.1-42218 and 7.0.1-42218-JUN version.

Tried different USB sticks, different loader versions, different motherboards, every time - same error.

Please help.

Link to comment
Share on other sites

Good day. I need help with discover additional hard drives in my system. 

I have: 

  • Supermicro 4U case with 16HDD Bays 
  • Supermicro X9DRH-iF motherboard (Specs)
  • 2x Xeon e5-2620v2 Processors
  • 64Gb DDR3 ECC REG 
  • ASMEDIA PCI-E to 20x SATA port controller
  • 6x HDD WD4000F9YZ and 5x HDD SD4000DM00 (11 total)

I attempt to install latest TCRP with PeterSuh's M-Shell (Friend Mode). 

I choose RS4021xs+ build, paste serial and mac's but after build and first boot i didn't see all my disks and see only 7 HDD's

In user_config i see parameter "max_disks=16" and understood that DSM scan sata slots on motherboard first, but that motherboard have 10 sata slots (8x SATA2 and 2 SATA3). 
For this reason i use Asmedia controller with 20x SATA3 port and all disks connected to that controller. 

I attempt to modify max_disks parameter with value 30, but DSM again show me only 7 HDD's 

Can you help me to solve that problem, please

Link to comment
Share on other sites

18 hours ago, SecundiS said:

For this reason i use Asmedia controller with 20x SATA3 port and all disks connected to that controller.

Hi. Boot into a live linux distro, eg ubuntu or fedora and see which drives that distro is detecting. Usually boards with more than one chipset on it eg ASMedia 106x and JMB58x have multiplier sata ports. But you might check on this

Link to comment
Share on other sites

On 4/15/2022 at 9:12 PM, billat29 said:

You can add this to user_config.json:

{
  "extra_cmdline": {
    "pid": "0x4200",
    "vid": "0x13fe",
    "sn": "xxxxxxxxx",
    "mac1": "xxxxxxxx",
    "SataPortMap": "42",
    "DiskIdxMap": "0002",
    "disable_mtrr_trim": null
}

This worked on my N54L

Hi, I have also a N54L with 16GB, DSM 7.1.1-42962 Update 2 and redpill.

I have changed the user_config.json file on the third partition of the USB drive, but when I restart DSM it still reserves 12GB of RAM. Is it enough to set the value as you indicate? Will it be 1 instead of null?

Thank you very much.

Link to comment
Share on other sites

16 hours ago, Franology said:

Hi, I have also a N54L with 16GB, DSM 7.1.1-42962 Update 2 and redpill.

I have changed the user_config.json file on the third partition of the USB drive, but when I restart DSM it still reserves 12GB of RAM. Is it enough to set the value as you indicate? Will it be 1 instead of null?

Thank you very much.

 

 

null means just pass the parameter without a value which is what we want to do.

ie.

disable_mtrr_trim

rather than

disable_mttr_trim=1

However, having made that change you need to rebuild the loader for it to take effect. I cannot say whether the version of user_config.json you have changed is the correct one or a backup. So I would reboot the N54L selecting the option for loader build and go from there.

 

 

Edited by billat29
  • Like 1
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...