Коллеги, добрый день
Все делаю по инструкции, но получаю ошибку
Лог выполнения:
tc@box:~$ ./rploader.sh build apollolake-7.0.1-42218 static
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 32482 0 --:--:-- --:--:-- --:--:-- 32482
Rploader Version : 0.9.2.7
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.apollolake-7.0.dev.txz/download
TOOLKIT_SHA : d349fa644392d4cfab8191243ee38aaa32bd517208c144678e0c855cb5a619ea
SYNOKERNEL_URL : https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/25426branch/apollolake-source/linux-4.4.x.txz/download
SYNOKERNEL_SHA : af815ee065775d2e569fd7176e25c8ba7ee17a03361557975c8e5a4b64230c5b
COMPILE_METHOD : toolkit_dev
TARGET_PLATFORM : apollolake
TARGET_VERSION : 7.0.1
TARGET_REVISION : 42218
REDPILL_LKM_MAKE_TARGET : test-v7
KERNEL_MAJOR : 4
MODULE_ALIAS_FILE : modules.alias.4.json
SYNOMODEL : ds918p_42218
MODEL : DS918+
Local Cache Folder : /mnt/sdb3/auxfiles
DATE Internet : 23102022 Local : 23102022
Checking Internet Access -> OK
Checking if a newer version exists on the main repo -> Found newversion : 0.9.2.9
Current version : 0.9.2.7
There is a newer version of the script on the repo should we use that ? [yY/nN]n
Cloning into 'redpill-lkm'...
remote: Enumerating objects: 1398, done.
remote: Counting objects: 100% (470/470), done.
remote: Compressing objects: 100% (127/127), done.
remote: Total 1398 (delta 360), reused 399 (delta 330), pack-reused 928
Receiving objects: 100% (1398/1398), 2.63 MiB | 6.53 MiB/s, done.
Resolving deltas: 100% (923/923), done.
Cloning into 'redpill-load'...
remote: Enumerating objects: 2835, done.
remote: Counting objects: 100% (319/319), done.
remote: Compressing objects: 100% (160/160), done.
remote: Total 2835 (delta 162), reused 297 (delta 150), pack-reused 2516
Receiving objects: 100% (2835/2835), 118.30 MiB | 11.07 MiB/s, done.
Resolving deltas: 100% (1387/1387), done.
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 : ds918p_42218
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 VGA Controller : pciid 1234d00001111 Required Extension : bochs_drm
bochs_drm
Searching for matching extension for bochs_drm
Found SATA Controller : pciid 8086d00002922 Required Extension : ahci
Searching for matching extension for ahci
Found SATA Controller : pciid 8086d00002922 Required Extension : ahci
Searching for matching extension for ahci
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_e xt_index.tmp_json
######################################################################## 100.0%
[OK]
[#] ========================================== pocopico.e1000 ==========================================
[#] Extension name: e1000
[#] 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/e1000
[#] Software author: https://github.com/pocopico
[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds1621p_42951 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 dva3221_42962 ds918p_42661 ds3622x sp_42962 ds3617xs_42951 dva1622_42218 dva1622_42621 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xs p_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 d s3615xs_41222 ds920p_42951 rs4021xsp_42218 ds2422p_42951 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 rs4021xsp_42951 ds920p_42621 ds918p_42962 ds 3615xs_42951 ds3622xsp_42951 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds1621p_42962 ds3622xsp_42621 rs4021xsp_426 61
[#] =======================================================================================
Found Ethernet Interface : pciid 8086d0000100e Required Extension : e1000
Searching for matching extension for e1000
Found matching extension :
"https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json"
------------------------------------------------------------------------------------------------
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
cp: cannot stat '/home/tc/custom-module/*42218*.pat': No such file or directory
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/_ne w_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 ds3622x sp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622 xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 r s4021xsp_42218 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 : ds918p_42218
[#] Checking runtime for required tools... [OK]
[#] Updating ds918p_42218 platforms extensions...
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensio ns/_ext_new_rcp.tmp_json
###################################################################################################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension redpill-misc platform ds918p_42218
[#] 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/ds918p_42218/install.sh
###################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/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/extensi ons/redpill-misc/ds918p_42218/install-all.sh
###################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/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/ds918 p_42218/ttyd
###################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/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/extensio ns/redpill-misc/ds918p_42218/install_rd.sh
###################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/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/extension s/redpill-misc/ds918p_42218/lrzsz.tar.gz
###################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz file... [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-mi sc/ds918p_42218/... [OK]
[#] Successfully processed recipe for extension redpill-misc platform ds918p_42218
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds918p_42218/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-mi sc/ds918p_42218/... [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_ex t_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 ds3622x sp_42962 ds3617xs_42951 ds920p_42962 ds1621p_42661 dva1622_42951 ds918p_25556 dva3221_42218 ds3615xs_42661 dva3221_42951 ds3622xsp_42661 ds2422p_42661 ds3622 xsp_42218 ds2422p_42962 rs4021xsp_42621 dva1622_42962 ds2422p_42218 rs4021xsp_42962 dva3221_42621 ds3615xs_42962 ds3617xs_42962 ds3615xs_41222 ds920p_42951 r s4021xsp_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.e1000 extension...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_e xt_index.tmp_json
###################################################################################################################################################### 100.0%
[#] Extension pocopico.e1000 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/exten sions/_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/_ne w_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 ds918p_42218 platforms extensions...
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/releases/ds918p_42218.json to /home/tc/redpill-load/custom/extensi ons/_ext_new_rcp.tmp_json
###################################################################################################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension pocopico.e1000 platform ds918p_42218
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/releases/e1000-4.4.180plus.tgz to /home/tc/redpill-load/custom/ext ensions/pocopico.e1000/ds918p_42218/e1000-4.4.180plus.tgz
###################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.e1000/ds918p_42218/e1000-4.4.180plus.tgz file... [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.e1000/ds918p_42218/e1000-4.4.180plus.tgz to /home/tc/redpill-load/custom/extensions /pocopico.e1000/ds918p_42218/... [OK]
[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/src/check-e1000.sh to /home/tc/redpill-load/custom/extensions/poco pico.e1000/ds918p_42218/check-e1000.sh
###################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.e1000/ds918p_42218/check-e1000.sh file... [OK]
[#] Successfully processed recipe for extension pocopico.e1000 platform ds918p_42218
[#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw/master/recipes/universal.json to /home/tc/redpill-load/custom/extensions/_ex t_new_rcp.tmp_json
###################################################################################################################################################### 100.0%
[#] Filling-in newly downloaded recipe for extension redpill-boot-wait platform ds918p_42218
[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-boot-wait/master/src/boot-wait.sh to /home/tc/redpill-load/custom/extension s/redpill-boot-wait/ds918p_42218/boot-wait.sh
###################################################################################################################################################### 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds918p_42218/boot-wait.sh file... [OK]
[#] Successfully processed recipe for extension redpill-boot-wait platform ds918p_42218
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-misc/recipes/universal.json to /home/tc/redpill-load/custom/extensio ns/_ext_new_rcp.tmp_json
###################################################################################################################################################### 100.0%
[#] Extension redpill-misc for ds918p_42218 platform is already up to date
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds918p_42218/boot-wait.sh file... [OK]
[#] Updating extensions... [OK]
[#] PAT file /home/tc/redpill-load/cache/ds918p_42218.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.0.1/42218/ DSM_DS918%2B_42218.pat
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 338M 100 338M 0 0 10.8M 0 0:00:31 0:00:31 --:--:-- 11.0M
[#] Verifying /home/tc/redpill-load/cache/ds918p_42218.pat file... [OK]
[#] Unpacking /home/tc/redpill-load/cache/ds918p_42218.pat file to /home/tc/redpill-load/build/1666514791/pat-ds918p_42218-unpacked... [OK]
[#] Verifying /home/tc/redpill-load/build/1666514791/pat-ds918p_42218-unpacked/zImage file... [OK]
[#] Patching /home/tc/redpill-load/build/1666514791/pat-ds918p_42218-unpacked/zImage to /home/tc/redpill-load/build/1666514791/zImage-patched... [OK]
[#] Verifying /home/tc/redpill-load/build/1666514791/pat-ds918p_42218-unpacked/rd.gz file... [OK]
[#] Unpacking /home/tc/redpill-load/build/1666514791/pat-ds918p_42218-unpacked/rd.gz file to /home/tc/redpill-load/build/1666514791/rd-ds918p_42218-unpacked. .. [OK]
[#] Apply patches to /home/tc/redpill-load/build/1666514791/rd-ds918p_42218-unpacked...
[!] One of the patches - /home/tc/redpill-load/config/_common/ramdisk-005-disable-disabled-ports.patch - failed to apply
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- a/usr/syno/web/webman/get_state.cgi
|+++ b/usr/syno/web/webman/get_state.cgi
--------------------------
patching file usr/syno/web/webman/get_state.cgi
Using Plan A...
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file usr/syno/web/webman/get_state.cgi.rej
done
*** Process will exit ***
FAILED : Loader creation failed check the output for any errors
Уже раз 20 пытался. Что я делаю не так???