Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

4 minutes ago, rojoone2 said:

Other members have faced the same issue with DSM 7 and decided to go with DSM 6.2.3 instead.

Have a look at this thread:

 

Im aware of this, but they had issues finding the disks in the device (which i do). Additionally i tried with this, but after the installation process the device shows up without Serial Number and can´t get past a privacy confirmation.

Dunno if the Hardware is an issue (Celeron J3355 with 2GB RAM - thought this is fine) or if sth. crashes during the process.


And, you know, if its possible to go to the newer version ... :)

Link to comment
Share on other sites

On 8/2/2022 at 9:05 PM, SebastianC said:

Hi,

 

im currently trying to install DSM7 on a ReadyNAS 2304. Everything is looking fine (Boot, Find Disks, generate Image etc.) but the USB Stick is not recognized.

 

tc@box:~$ ./rploader.sh identifyusb
Found more than one USB disk devices, please select which one is your loader on
1) SanDisk
2) Kingston
#? 1
Selected Device : SanDisk , with VendorID: 0x0781 and ProductID: 0x5151
Sorry, no usb disk could be identified

 

 

The Kingston is the USB Stick which is built in to the Device, the SAN Disk is the one i´m booting tinycore from.

 

After the reboot comes a grub message "grub_disk_native_sectors" not found and rescue Mode is appearing. Can sbd. tell me how to fix this issue?

 

Thanks in Advance :)

Other members have faced the same issue with DSM 7 and decided to go with DSM 6.2.3 instead.

Have a look at this thread:

 

Have you tried manually editing the user config with WinSCP before you do your build command?

{
  "extra_cmdline": {
    "pid": "0x5151",
    "vid": "0x0781",
    "sn": "2150SXXXXXXXX",
    "mac1": "Your ReadyNAS MAC",
    "SataPortMap": "4",
    "DiskIdxMap": "00"
  },
  "synoinfo": {
 
          "internalportcfg" : "0xffff",
          "maxdisks" : "16",
                      "support_bde_internal_10g" : "no",
                      "support_disk_compatibility" : "no",
          "support_memory_compatibility" : "no"
 
 
},
  "ramdisk_copy": {
  • Like 1
Link to comment
Share on other sites

Anyone got DSM Hotfix Update 4 (7.1-42661-4) installed with TCRP?

 

Same Procedure?

 

 

First update to update4 from DSM GUI 

Second boot into TCRP and run

 

./rploader.sh update now
./rploader.sh fullupgrade now
./rploader.sh backup
./rploader.sh postupdate <yourplatform>


Or does it kill my working Hotfix 3 Install?

  • Like 1
Link to comment
Share on other sites

16 hours ago, rojoone2 said:

Other members have faced the same issue with DSM 7 and decided to go with DSM 6.2.3 instead.

Have a look at this thread:

 

Have you tried manually editing the user config with WinSCP before you do your build command?

 

 

Yeah, manually editing the PID/VID did the job.

Now im checking if everything is working (so far im only seeing the Start GUI)

 

Thanks a lot

Edited by SebastianC
Link to comment
Share on other sites

On 6/25/2022 at 6:55 PM, Hemin said:

as dodo-dk says, his acpid is working correctly with 3622. The one on pocopico is not working 

 

I think the dodo-dk code should be imported to pocopino code to avoid confusions

Sadly I can't get the 3622 working on unraid as the internet is then broken with whatever adapter I try to use (e1000, e1000e, virtio)

Link to comment
Share on other sites

2 hours ago, Bose321 said:

Sadly I can't get the 3622 working on unraid as the internet is then broken with whatever adapter I try to use (e1000, e1000e, virtio)

Did you install the ext (drivers) for whichever network you are emulating in unraid?  I think there is a step by step tutorial for unraid in the tutorials section

Link to comment
Share on other sites

@phone guy@SebastianC@rojoone2 While the info you seak are within the previous 163 page, checking it can be the best way, but time to read. If you want to discuss another loader or another version : just create a different topic. This topic is only for the great work of Pocopico.

@Bose321 as for the acpi, it do work fine, but if you add with the wrong url, that can give a not working condition. Also, it depend on the version of prox you use. best : install prox 7.1 don<t do any update, install tc with acpi and other and it work. No need of dodo not updated file.

Link to comment
Share on other sites

Just to confirm, while doing a v7.1u1 update to u3 : i got an error while the postupdate try to download something at about 38%.. it hang.. like an ssl error or so. But after the reboot, it do show as being running U3. So was it properly apply or something is missing.
 here :

sudo ./rploader.sh postupdate broadwellnk-7.1.0-42661
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  20881      0 --:--:-- --:--:-- --:--:-- 20839
Rploader Version : 0.8.0.5
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/master/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%20NAS%20GPL%20Source/25426branch/broadwellnk-source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : d3e85eb80f16a83244fcae6016ab6783cd8ac55e3af2b4240455261396e1e1be
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM       : broadwellnk
TARGET_VERSION    : 7.1.0
TARGET_REVISION : 42661
REDPILL_LKM_MAKE_TARGET : dev-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE :  modules.alias.4.json
SYNOMODEL : ds3622xsp_42661
MODEL : DS3622xs+
Local Cache Folder : /mnt/sda3/auxfiles
DATE Internet : 03082022 Local : 03082022
Checking Internet Access -> OK
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1317, done.
remote: Counting objects: 100% (389/389), done.
remote: Compressing objects: 100% (75/75), done.
remote: Total 1317 (delta 333), reused 337 (delta 301), pack-reused 928
Receiving objects: 100% (1317/1317), 484.13 KiB | 145.00 KiB/s, done.
Resolving deltas: 100% (896/896), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 2066, done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection timed out
error: 42608 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Removing any old redpill.ko modules
Looking for redpill for : ds3622xsp_42661
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus-broadwellnk.tgz
Extracting module
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/src/check-redpill.sh
mv: cannot move '/home/tc/redpill.ko' to '/home/tc/redpill-load/ext/rp-lkm/redpill-linux-v4.4.180+.ko': No such file or directory
Creating temp ramdisk space
Mounting partition sda1
Mounting partition sda2
Extracting update ramdisk
unlzma: /mnt/sda2/rd.gz: Compressed data is corrupt
48803 blocks
Found Version : 7.1-42661-0
Do you want to use this for the loader ? [yY/nN] : 

 

Link to comment
Share on other sites

 Precision, redo over a diff version and it look to hang at 43% item objects 908/2066 . with 36.27mb received. It was the same item this weekend. But while the script don<t do a <skip object> it hang and cancel the rest. With a mention of reused existing.. but not updated object. @pocopico is that could cause a partial update as some function not matching or so .. ?

Link to comment
Share on other sites

Finally decided to go from 7.0 to 7.1 today on my Gen8 bare metal and it's been a steep learning curve!

 

I now know a lot more about satamaps than I ever wanted too.

 

Quick question though - I'm using ds3615xs because I thought my CPU - e3-1220v2 -couldn't handle anything newer - but I've seen some people using the 3622xs+ build on the Gen8.

 

How is this possible? Can I just run through TCRP loader again, and select the 3622 instead?

Link to comment
Share on other sites

1 hour ago, profet said:

Finally decided to go from 7.0 to 7.1 today on my Gen8 bare metal and it's been a steep learning curve!

 

I now know a lot more about satamaps than I ever wanted too.

 

Quick question though - I'm using ds3615xs because I thought my CPU - e3-1220v2 -couldn't handle anything newer - but I've seen some people using the 3622xs+ build on the Gen8.

 

How is this possible? Can I just run through TCRP loader again, and select the 3622 instead?

DS3615 is becoming outdated and DS3622xs+ installs on most hardware.

Try a new build with a spare hard drive. If it’s successful on your hardware you can migrate the DS3615 to DS3622

  • Thanks 1
Link to comment
Share on other sites

5 hours ago, Bullseye said:

Anybody have same feeling, that 7.1 is much slower when i copy file over LAN than on 6.2.3 ?
On 6.2.3 i have almost 90MB/s, on 7.1 i have less than 10MB/s.

 

You don't suppose after all this development that someone would have noticed a 90% speed decrease?

 

There is some other problem, it's not 7.1 or RedPill.

  • Like 2
  • Haha 2
Link to comment
Share on other sites

On 8/5/2022 at 9:08 PM, flyride said:

 

You don't suppose after all this development that someone would have noticed a 90% speed decrease?

 

There is some other problem, it's not 7.1 or RedPill.

Was my mistake :) I connect via cheap WiFi 1$ thats why i have that speed :)
Now its quite good, around 60MB/s.

Only i have problem with DVA3221 that not recognizes objects :( everything works, but i dont have any obiect detected

Link to comment
Share on other sites

17 hours ago, Hemin said:

I think "./rploader.sh postupdate <yourplatform>" is a must if you don't want a bootloop after update

 

It dosnt matter what you think :) I have done it without the need of postupdate. When no Kernel/Boot Files are touched by the Updates postupdate is not needed.

Link to comment
Share on other sites

Hello,

 

It's possible to avoid that the loader modify these lines every time I reboot the machine?

 

"synoinfo": {
    ...
    "rss_server": "http://example.com/null.xml",
    "rss_server_ssl": "https://example.com/null.xml",
    "small_info_path": "https://example.com/null",
    "updateurl": "http://example.com/",
    "myds_region_api_base_url": "https://example.com"

 I can't find the config file on the tc folder to delete these lines and if i modify the synoinfo.conf the config is rewrite every time I reboot

 

I Know that is not a good practice, but needed for some API features on Home Assistant domotic software

Edited by Hemin
Link to comment
Share on other sites

19 minutes ago, Hemin said:

Hello,

 

It's possible to avoid that the loader modify these lines every time I reboot the machine?

 

"synoinfo": {
    ...
    "rss_server": "http://example.com/null.xml",
    "rss_server_ssl": "https://example.com/null.xml",
    "small_info_path": "https://example.com/null",
    "updateurl": "http://example.com/",
    "myds_region_api_base_url": "https://example.com"

 I can't find the config file on the tc folder to delete these lines and if i modify the synoinfo.conf the config is rewrite every time I reboot

 

I Know that is not a good practice, but needed for some API features on Home Assistant domotic software


You need to edit the config file under /home/tc/redpill-load/config/platform/config.json

 

E.g https://github.com/pocopico/redpill-load/blob/develop/config/DS3622xs%2B/7.1.0-42661/config.json


remove all example.com entries 

Edited by pocopico
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

I am not sure if I am posting in the correct forum, so apologies if not.

 

I have an existing XPEnology 6.2 install on a Dell R420 server with two HDD's attached to a PERC H710 Mini in RAID mode.

 

I have previously tried a baremetal upgrade to DSM 7.1.0 without success. I tried adding the mpt3sas extension, but it doesn't see the drives. I figured that I could solve that problem by running a hypervisor and virtualizing the controller.

 

I am running VMWare ESXi 7.03Uf3 on a separate HDD attached to the H710. I configure and boot the tcrp 0.8 loader. I can see the VM and I can login to SynologyNAS on port 7681.

 

I don't understand the timeout waiting for /dev/synoboot. It looks as if it sees both of the data drives and the tcrp VMDK drive.

 

Can someone help me figure this out?

 

SynologyNAS> cat /var/log/junior_reason
Exit on error [99] rp ext init exec failure...
SynologyNAS> ls /dev/synoboot
ls: /dev/synoboot: No such file or directory
SynologyNAS> cat /var/log/*rc*
START /linuxrc.syno.impl
Insert Marvell 1475 SATA controller driver
Insert basic USB modules...
:: Loading module usb-common ... [  OK  ]
:: Loading module usbcore ... [  OK  ]
:: Loading module ehci-hcd ... [  OK  ]
:: Loading module ehci-pci ... [  OK  ]
:: Loading module xhci-hcd ... [  OK  ]
:: Loading module xhci-pci ... [  OK  ]
:: Loading module usb-storage ... [  OK  ]
:: Loading kernel modules from extensions ...
Loading kmod #0 "mpt3sas.ko" for pocopico.mpt3sas (args: )
Loading kmod #0 "virtio.ko" for pocopico.v9fs (args: )
Loading kmod #1 "virtio_ring.ko" for pocopico.v9fs (args: )
Loading kmod #2 "virtio_mmio.ko" for pocopico.v9fs (args: )
Loading kmod #3 "virtio_pci.ko" for pocopico.v9fs (args: )
Loading kmod #4 "virtio_blk.ko" for pocopico.v9fs (args: )
Loading kmod #5 "virtio_net.ko" for pocopico.v9fs (args: )
Loading kmod #6 "virtio_scsi.ko" for pocopico.v9fs (args: )
Loading kmod #7 "9pnet.ko" for pocopico.v9fs (args: )
Loading kmod #8 "9pnet_virtio.ko" for pocopico.v9fs (args: )
Loading kmod #9 "9p.ko" for pocopico.v9fs (args: )
Loading kmod #0 "vmxnet3.ko" for pocopico.vmxnet3 (args: )
:: Loading kernel modules from extensions ... [  OK  ]
:: Executing "on_boot" custom scripts ...
Running "check-mpt3sas.sh" for pocopico.mpt3sas->on_boot
Loading module mpt3sas -> Module mpt3sas loaded succesfully
Ran "check-mpt3sas.sh" for pocopico.mpt3sas->on_boot - exit=0
Running "check-v9fs.sh" for pocopico.v9fs->on_boot
Loading module 9pnet -> Module 9pnet loaded succesfully
Ran "check-v9fs.sh" for pocopico.v9fs->on_boot - exit=0
Running "check-vmxnet3.sh" for pocopico.vmxnet3->on_boot
Loading module vmxnet3 -> Module vmxnet3 loaded succesfully
Ran "check-vmxnet3.sh" for pocopico.vmxnet3->on_boot - exit=0
Running "boot-wait.sh" for redpill-boot-wait->on_boot
Still waiting for boot device (waited 1 of 30 seconds)
Still waiting for boot device (waited 2 of 30 seconds)
Still waiting for boot device (waited 3 of 30 seconds)
Still waiting for boot device (waited 4 of 30 seconds)
Still waiting for boot device (waited 5 of 30 seconds)
Still waiting for boot device (waited 6 of 30 seconds)
Still waiting for boot device (waited 7 of 30 seconds)
Still waiting for boot device (waited 8 of 30 seconds)
Still waiting for boot device (waited 9 of 30 seconds)
Still waiting for boot device (waited 10 of 30 seconds)
Still waiting for boot device (waited 11 of 30 seconds)
Still waiting for boot device (waited 12 of 30 seconds)
Still waiting for boot device (waited 13 of 30 seconds)
Still waiting for boot device (waited 14 of 30 seconds)
Still waiting for boot device (waited 15 of 30 seconds)
Still waiting for boot device (waited 16 of 30 seconds)
Still waiting for boot device (waited 17 of 30 seconds)
Still waiting for boot device (waited 18 of 30 seconds)
Still waiting for boot device (waited 19 of 30 seconds)
Still waiting for boot device (waited 20 of 30 seconds)
Still waiting for boot device (waited 21 of 30 seconds)
Still waiting for boot device (waited 22 of 30 seconds)
Still waiting for boot device (waited 23 of 30 seconds)
Still waiting for boot device (waited 24 of 30 seconds)
Still waiting for boot device (waited 25 of 30 seconds)
Still waiting for boot device (waited 26 of 30 seconds)
Still waiting for boot device (waited 27 of 30 seconds)
Still waiting for boot device (waited 28 of 30 seconds)
Still waiting for boot device (waited 29 of 30 seconds)
Still waiting for boot device (waited 30 of 30 seconds)
ERROR: Timeout waiting for /dev/synoboot device to appear.
Most likely your vid/pid configuration is not correct, or you don't have drivers needed for your USB/SATA controller

========== BEGIN DUMP OF ALL PARTITIONS DETECTED ===========
/dev/sda1                  2048         4982527         4980480  fd  
/dev/sda2               4982528         9176831         4194304  fd  
/dev/sda3               9437184      9766232063      9756794880  fd  


/dev/sdb1                  2048         4982527         4980480  fd  
/dev/sdb2               4982528         9176831         4194304  fd  
/dev/sdb3               9437184      9766232063      9756794880  fd  


/dev/sdq1                  2048          100351           98304  83  
/dev/sdq2                100352          253951          153600  83  
/dev/sdq3                253952         2097151         1843200  83  


========== END OF DUMP OF ALL PARTITIONS DETECTED ==========
Ran "boot-wait.sh" for redpill-boot-wait->on_boot - exit=1
Running "install_rd.sh" for redpill-misc->on_boot
Starting ttyd, listening on port: 7681
Ran "install_rd.sh" for redpill-misc->on_boot - exit=0
ERROR: Some of the scripts failed! See above for any with exit != 0
:: Executing "on_boot" custom scripts ... [  OK  ]
Exit on error [99] rp ext init exec failure...
Sat Aug  6 21:01:34 UTC 2022
none /sys/kernel/debug debugfs rw,relatime 0 0
Link to comment
Share on other sites

On 8/5/2022 at 9:08 AM, flyride said:

 

You don't suppose after all this development that someone would have noticed a 90% speed decrease?

 

There is some other problem, it's not 7.1 or RedPill.

I have a kind of related question for everybody.... I have a proxmox redpill DS3622 build. Running paravirtual NIC in Proxmox with V9F ext drivers. I also have a PCI passthru Ethernet port, I used one of the intel ports onboard from the server motherboard. Both work fine, the Intel NIC in pci pass thru didn't require any additional ext drivers to work.  Each has its own different IP, they are not bonded, so I know which port I am using.  I am getting different smb speeds when copying over the network in Windows.

 

Scenario 1:

In windows, open network, open icon for DS3622, open temp shared folder, now drag and drop 1.1gb file.. I get a maximum transfer of 60mb/sec (\\ds3622\temp)

 

Scenario 2:

Change location in windows explorer to direct ip (\\192.168.1.100\temp) I get 110mb/sec. The proxmox virtual nic is ip 100, and the pci passthru is ip 101 (\\192.168.1.101\temp), same speeds on either direct ip.

 

So if the window shows a direct ip in the location, the speed is nearly doubled. If it show ds3622 its about half speed...? any clue?

This is a repeatable experiment. I get similar results from different pcs on the lan, different files, and the results almost always the same, give or take a few mbs/sec

Edited by phone guy
Link to comment
Share on other sites

Hi guys,

 

Don't know if this is the proper place to ask for it so here we go:

 

I'm trying to do a clean installation to DSM 7.1.0-42661 but with no success... I always get stuck at 73% of installation and then reboots with a 10 min counter, once is rebooted the installation prompt is shown again.

 

I used broadwellnk architecture to build the loader so the model version used is DS3622xs+, just in case I used the default choice for satamap assignation which is in the image attached, something weird to me since I got 4 SATA ports, not 8 and It states as 0 drives which I don't know if its correct or not.

 

This is my user_config:

 

{
  "extra_cmdline": {
    "pid": "0x6545",
    "vid": "0x0930",
    "sn": "2030SQRMN5HWZ",
    "mac1": "70106FCA609E",
    "SataPortMap": "18",
    "DiskIdxMap": "0001"
  },
  "synoinfo": {
    "internalportcfg": "0xffff",
    "maxdisks": "16",
    "support_bde_internal_10g": "no",
    "support_disk_compatibility": "no",
    "support_memory_compatibility": "no"
  },
  "ramdisk_copy": {}
}

 

My setup is a HPE ProLiant Microserver Gen10 with a CPU: AMD Opteron X3216 which I think it's a pretty common setup in XPE world.

 

Regards

 

satamap.png

Link to comment
Share on other sites

16 hours ago, pocopico said:


You need to edit the config file under /home/tc/redpill-load/config/platform/config.json

 

E.g https://github.com/pocopico/redpill-load/blob/develop/config/DS3622xs%2B/7.1.0-42661/config.json


remove all example.com entries 

Hi pocopico,

 

I don't have this folder on /home/tc. I have connected with winscp to the TC filesystem and on /home/tc I have some configuration files, 5 folders, 4 hidden "fltk", "local", "wmx", "X.d" and 1 not hidden named "old". None of this folders have the config.json file

 

sorry I'm doing something wrong?

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...