Jump to content
XPEnology Community

RedPill - the new loader for 6.2.4 - Discussion


Recommended Posts

10 hours ago, haydibe said:

You need to use v0.5.4 of the script OR just change the url and branch in the global_settings.json. Just copy the values for load repo from one of the other profiles. 

 

Ahhh, v0.5.4 did the trick! Thank you very much for the hint! Now the loader will compile.

I only get some warnings:

 

...
include/linux/kfifo.h:390:37: warning: initialization of 'unsigned char' from 'int *' makes integer from pointer without a cast [-Wint-conversion]
...
/opt/redpill-lkm/config/cmdline_delegate.c:405:74: warning: value computed is not used [-Wunused-value]
...
/opt/redpill-lkm/config/runtime_config.c:168:53: warning: passing argument 2 of 'validate_nets' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

 

I will be able to test the image hopefully tomorrow. :-)

Link to comment
Share on other sites

Changing the url in the global_config.json and building a new image after that should do the job.

Afterall the parameters are fetched from the json file for the "platform_version" and provided as parameters to the dockerfile.

 

add this to build_configs:

       ,{
            "id": "apollolake-7.0-41890-mpt3sas",
            "platform_version": "apollolake-7.0-41890",
            "docker_base_image": "debian:10-slim",
            "compile_with": "toolkit_dev",
            "download_urls": {
                "kernel": "https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/apollolake-source/linux-4.4.x.txz/download",
                "toolkit_dev": "https://sourceforge.net/projects/dsgpl/files/toolkit/DSM7.0/ds.apollolake-7.0.dev.txz/download"
            },
            "redpill_lkm": {
                "source_url": "https://github.com/RedPill-TTG/redpill-lkm.git",
                "branch": "master"
            },
            "redpill_load": {
                "source_url": "https://github.com/420Xnu/redpill-load.git",
                "branch": "mpt3sas"
            }
        }

 

 

then run it with build apollolake-7.0-41890-mpt3sas

 

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

28 minutes ago, haydibe said:

Changing the url in the global_config.json and building a new image after that should do the job.

Afterall the parameters are fetched from the json file for the "platform_version" and provided as parameters to the dockerfile.

 

Thus, said maybee you want to share what you actualy try to achive?


sure thing i want this repo with mpt3sas branch 
https://github.com/420Xnu/redpill-load

nope it changed i was blind and changed in wrong
i changed in bromolow and building for apollolake lulz

 

{
            "id": "bromolow-7.0-41222",
            "platform_version": "bromolow-7.0-41222",
            "docker_base_image": "debian:8-slim",
            "compile_with": "toolkit_dev",
            "download_urls": {
                "kernel": "https://phoenixnap.dl.sourceforge.net/project/dsgpl/toolkit/DSM7.0/ds.brom>
                "toolkit_dev": "https://phoenixnap.dl.sourceforge.net/projects/dsgpl/files/toolkit/DS>
            },
            "redpill_lkm": {
                "source_url": "https://github.com/RedPill-TTG/redpill-lkm.git",
                "branch": "master"
            },
            "redpill_load": {
                "source_url": "https://github.com/420Xnu/redpill-load.git",
                "branch": "mpt3sas"
            }



yeah this time changed every link in global-config now it is working sorry for pinging you

Edited by psychoboi32
I can call myself blind
Link to comment
Share on other sites

I am missing something, can somebody help my virtio driver not working i follow what I understood and put mpt3sas.ko like virtio did but none of them loading :( poor me
hope anyone help

Edit 1:-
@haydibe R u able to get lsi-sas-2008 card & virtio on ds3615xs built. means i tried but failed hope you guide me here.

proxmox config

 

args: -device 'qemu-xhci,addr=0x18' -drive 'id=synoboot,file=/var/lib/vz/template/iso/DS3615xs7.img,if=none,format=raw' -device 'usb-storage,id=synoboot,drive=synoboot,bootindex=5'
boot: order=scsi0;ide2
cores: 4
hostpci0: 0000:01:00
hostpci1: 0000:08:00
memory: 8192
name: xpen
numa: 0
ostype: l26
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=CBA73ABA-6D53-44E8-BFB1-7A32B71F794E
sockets: 1
vga: serial0
virtio1: local-lvm:vm-500-disk-0,cache=unsafe,size=32G

~


Edit 2:-
Is anyone know how to get logs dmesg and all on proxmox, i only use proxmox as production server never debug it. thanks

Edited by psychoboi32
Link to comment
Share on other sites

50 minutes ago, psychoboi32 said:

@haydibe R u able to get lsi-sas-2008 card & virtio on ds3615xs built. means i tried but failed hope you guide me here.

I just have migrated my ESXi testbox to redpill apollolake-7.0-41890 on xpe - but this box has no additional controller.  VIrtio just works fine on this box. Smart looks fine with thin-lvm provisioned drives, Info-Center looks fine, Docker works.. I am good. This is stable enough for me to "look arround" in DSM7.

 

I am going to migrate my main ESXi box, based on bromolow with a LSI9211-8i controller, tomorrow. Though, I am aiming for Jun's bootloader.

 

Can't help you when it commes to redpill and passthough LSI controller, as this migration will not happen before redpill is final.

 

Edited by haydibe
Link to comment
Share on other sites

I just have migrated my ESXi testbox to redpill apollolake-7.0-41890 on xpe - but this box has no additional controller.  VIrtio just works fine on this box. Smart looks fine with thin-lvm provisioned drives, Info-Center looks fine, Docker works.. I am good. This is stable enough for me to "look arround" in DSM7.
 
I am going to migrate my main ESXi box, based on bromolow with a LSI9211-8i controller, tomorrow. Though, I am aiming for Jun's bootloader.
 
Can't help you when it commes to redpill and passthough LSI controller, as this migration will not happen before redpill is final.
 

ok virtio works but here mine doesn’t work and xpenology forum banned me or there forum banned my ip lulz using tapatalk for a moment there is something missing in my image if i get virtio then i can move all my hdd into virtio and bypass lsi-sas sata have limitation of 6 hdd only icon_e_sad.gif.d41d0457145169ea2b6a24c8de509ca8.gif
e34dded4346849c227f9544b03950db5.jpg


edit 1.1:- wow sata failed and scsi both shows me this 45f8aa07cf390e416eda6822383bdd61.jpg

failed due to file corrupt

Sent from my iPhone using Tapatalk
Link to comment
Share on other sites

Should we worry about this output in /var/log/messages?

 

2021-08-20T22:30:28+02:00 dsm synocloudserviceauth[27855]: cloudservice_get_api_key.cpp:21 Cannot get key
2021-08-20T22:30:28+02:00 dsm synocloudserviceauth[27855]: cloudservice_register_api_key.cpp:293 Register api key failed: Auth Fail
2021-08-20T22:30:28+02:00 dsm notify[27851]: pushservice_update_ds_token.c:52 fgets failed
2021-08-20T22:30:28+02:00 dsm notify[27851]: pushservice_update_ds_token.c:147 Can't set api key
2021-08-20T22:30:28+02:00 dsm notify[27851]: pushservice_utils.c:325 SYNOPushserviceUpdateDsToken failed.
2021-08-20T22:30:28+02:00 dsm notify[27851]: pushservice_utils.c:387 GenerateDsToken Failed
2021-08-20T22:30:28+02:00 dsm notify[27851]: Failed to get ds token.

Since 18:30 this block repeats roughly 50 times in the logs.  Seems there is the need to supress one more url.

 

 

Link to comment
Share on other sites

Should we worry about this output in /var/log/messages?
 
2021-08-20T22:30:28+02:00 dsm synocloudserviceauth[27855]: cloudservice_get_api_key.cpp:21 Cannot get key2021-08-20T22:30:28+02:00 dsm synocloudserviceauth[27855]: cloudservice_register_api_key.cpp:293 Register api key failed: Auth Fail2021-08-20T22:30:28+02:00 dsm notify[27851]: pushservice_update_ds_token.c:52 fgets failed2021-08-20T22:30:28+02:00 dsm notify[27851]: pushservice_update_ds_token.c:147 Can't set api key2021-08-20T22:30:28+02:00 dsm notify[27851]: pushservice_utils.c:325 SYNOPushserviceUpdateDsToken failed.2021-08-20T22:30:28+02:00 dsm notify[27851]: pushservice_utils.c:387 GenerateDsToken Failed2021-08-20T22:30:28+02:00 dsm notify[27851]: Failed to get ds token.

Since 18:30 this block repeats roughly 50 times in the logs.  Seems there is the need to supress one more url.
 
 


r u using some synology service means cloud drive or something i think it is unable to get some key so it spamming there


Sent from my iPhone using Tapatalk
Link to comment
Share on other sites

10 hours ago, psychoboi32 said:

r u using some synology service means cloud drive or something i think it is unable to get some key so it spamming there

Might  be related to accidently opening "active insight" (the package came pre-installed and can't be removed). I would be surprised if the installation of the docker package caused it. 

 

Link to comment
Share on other sites

Run loader on native Windows

 

Made a pure java version RedPill Loader, compiled by GraalVM native-image

 

Steps

  1. enable symlinks on win7+ via https://superuser.com/a/548713
  2. download ko from https://github.com/jumkey/redpill-lkm/actions
  3. replace redpill-load files from redpill-load.win.zip

Feature

for other countries'

user_config.json

"proxy": "socks5://127.0.0.1:1080"

 

Tested DS918+ 7.0-41890

redpill-load.win.zip

  • Like 5
  • Sad 1
Link to comment
Share on other sites

Hi, I am currently testing 7.0-41222 DS3615xs on a barebone Xeon E3-1245. Everything works fine except info center and the general tab, it is completely empty.

Does anyone have ideas on how to start troubleshooting? 

 

Link to comment
Share on other sites

7 hours ago, joad said:

Hi, I am currently testing 7.0-41222 DS3615xs on a barebone Xeon E3-1245. Everything works fine except info center and the general tab, it is completely empty.

Does anyone have ideas on how to start troubleshooting? 

 

These are known issues.

Link to comment
Share on other sites

On 8/19/2021 at 8:03 PM, ilovepancakes said:

OK cool. Did that log you posted above showing the face detection plugin failing come from /var/log/messages or another log?

No nothing.

i have installed ds3615xs DSM7 beta in the same machine for testing. Face Detection is working fine in this version with 2 cores 1 socket, 4 cores 1 socket, 4 cores 2 socket.

on ds918+ nothing is working.

Link to comment
Share on other sites

Spoiler

2021-08-21T19:20:19+03:00 RedPill synocgid[7672]: noise.cpp:206 Failed [pkey.empty() && !get_device_info_from_store(account, did, pkey, state, rememberme)]

2021-08-22T00:52:58+03:00 RedPill synocgid[7672]: session/timeout.cpp:70 gadreel has session timeout.

2021-08-22T00:52:58+03:00 RedPill synocgid[7672]: noise.cpp:206 Failed [pkey.empty() && !get_device_info_from_store(account, did, pkey, state, rememberme)]

2021-08-22T08:09:53+03:00 RedPill synocgid[7672]: session/timeout.cpp:70 gadreel has session timeout.

2021-08-22T08:09:53+03:00 RedPill synocgid[7672]: AccessTokenWrapper.cpp:103 (AccessTokenWrapper.cpp:103)Failed [!szSid || !szSid[0]]

2021-08-22T08:49:57+03:00 RedPill synocgid[7672]: noise.cpp:206 Failed [pkey.empty() && !get_device_info_from_store(account, did, pkey, state, rememberme)]

 

I do not know if these failed messages have anything helpful... other than that I have been running Apollolake 7/0 for days without any issues.

Edited by gadreel
Link to comment
Share on other sites

6 minutes ago, taiziccf said:

when i build i got this, what did i do wrong?

 

user_config.json




{
  "extra_cmdline": {
    "vid": "0x46f4",
    "pid": "0x0001",
    "sn": "1750PDN123456",
    "mac1": "00:11:32:12:34:56"
  },
  "synoinfo": {},
  "ramdisk_copy": {}
}

 

image.thumb.png.0241839dcabb555c612005b79dfff85d.png

 

All I can say for sure is that your mac1 is wrong. Enter the mac address without those ":" e.g. "001132123456". I do not know if that will fix your issue but definitely that is wrong.

Edited by gadreel
Link to comment
Share on other sites

however it is same 🙃

image.thumb.png.54df9a8f163acd97c9cdc7a5b328e8dd.png

 

 

alright, figured it out!

user_config.json must be in root folder same as redpill_tool_chain.sh

but the template is actually kept inside docker folder, thats why I though it should be save inside docker folder for the user_config.json file aswell....

image.png.5ab4cd1edfebdafe92dc89d626d1e2fa.png

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

2 hours ago, taiziccf said:

alright, figured it out!

user_config.json must be in root folder same as redpill_tool_chain.sh

but the template is actually kept inside docker folder, thats why I though it should be save inside docker folder for the user_config.json file aswell....

Yep. everything inside the docker folder is realy just ment to be used when building the docker image.

Of couse the user_config.json needs to be where redpill_tool_chain.sh is. Actualy the template was intended for people that just wanted to specify the 4 params and don't want to deal with a user_config.json. During the magration from make to bash, I should have removed it as I implemented nothing to actualy set the parameters that would render a meaningfull user_config.json inside the container. It is impossible to implement the required flexibility without ending up with something that looks like the user_config.json, thus mapping a pre-created user_config.json makes more sense. 

 

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...