Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

On 2/24/2022 at 1:13 AM, scoobdriver said:

 

Thanks put some old disk with a previous DSM in my GEN8 on the HBA , and migrated to DS3622xs+ and all appears OK ! .. 

Next step is to migrate actual disks.  

 

On 2/24/2022 at 1:13 AM, scoobdriver said:

 

Thanks put some old disk with a previous DSM in my GEN8 on the HBA , and migrated to DS3622xs+ and all appears OK ! .. 

Next step is to migrate actual disks.  

 I have exactly the same Gen8 specs and run 7.0.1 ds3615xs. Could I ask for your prebuilt bootloader running ds3622xs via my email. Thanks.

 Ps: what is your SataPortMap and DiskIdxMap config ?

Edited by Son Truong
Link to comment
Share on other sites

@john_matrix

 

I now have exactly the same error as you have

 

Protocol spec without prior Class and Subclass spec at line 23281
Downloading dtc binary
########################################################################################################################################### 100.0%
No cached dtb file found in /home/tc/custom-module/ds1621p.dtb
Found 2 disks and 0 nvme
Collecting disk paths
Found local disk sda with path 00:1e.0,01.0, adding into internal_slot 1 with portnumber 6
Found local disk sdb with path 00:1e.0,01.0, adding into internal_slot 2 with portnumber 7
NO NVME disks found, returning
Patching USB to include your loader. Loader found in 010-2 port
Converting dts file : ds1621p.dts to dtb file : >ds1621p.dtb
dtb extension is not loaded and its required for DSM to find disks on ds1621p_42661
Copy of the DTB file ds1621p.dtb to  was not succesfull.
Please remember to replace the dtb extension model file ...
execute manually : cp ds1621p.dtb  and re-run
 

seems to be something in the new version of the loader

Link to comment
Share on other sites

6 hours ago, leang521 said:

 

Thank you very much. I updated the "RedPill-Tinycore-loader" today, which can indeed be guided normally.
But there is a small problem. The current execution of "./rploader.sh Satamap now" has no manual adjustment project.
Automatic generated
    "SataPortMap": "11",
    "DiskIdxMap": "1010"
Such configuration.
If you directly use this configuration guidance, you can't find the hard disk.
You also need to adjust the conf file manually.

    "SataPortMap": "14",
    "DiskIdxMap": "1002"


Another suggestion. When compiling repeatedly, Synology limits the download speed of the PAT file, with a minimum of only 2kb/s. So I hope to manually upload the pat file to the system. And increase the mirror space to save the PAT file.

 

You can always copy/scp your files under /home/tc/custom-modules and they will be used instead of downloading the pat all the time.

 

The 1GB image size can hold up to two different pat files. If you are on a physical machine you can also use parted to increase the third USB partition to the maximum. If you are in virtual you have to leave it to 1GB as this is critical for the synoboot to be picked correctly.

 

Link to comment
Share on other sites

42 minutes ago, pocopico said:

 

You can always copy/scp your files under /home/tc/custom-modules and they will be used instead of downloading the pat all the time.

 

The 1GB image size can hold up to two different pat files. If you are on a physical machine you can also use parted to increase the third USB partition to the maximum. If you are in virtual you have to leave it to 1GB as this is critical for the synoboot to be picked correctly.

 

I do this currently, but it seems to have some problems.
I compiled DVA3221 and there were some errors.

My operating process is as follows:

./rploader.sh update now
./rploader.sh fullupgrade now
./rploader.sh serialgen DVA3221
./rploader.sh satamap now
vi user_config.json
./rploader.sh ext denverton-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-boot-wait/rpext-index.json
./rploader.sh ext denverton-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-virtio/rpext-index.json
./rploader.sh ext denverton-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-acpid/rpext-index.json
./rploader.sh build denverton-7.1.0-42661

 

Conf configuration file is as follows:

tc@box:~$ cat user_config.json
{
  "extra_cmdline": {
    "pid": "0xa4a5",
    "vid": "0x0525",
    "sn": "20C0SJRP05KQM",
    "mac1": "00113240BCCC",
    "SataPortMap": "14",
    "DiskIdxMap": "1000"
  },
  "synoinfo": {
    "internalportcfg": "0xffff",
    "maxdisks": "16",
    "support_bde_internal_10g": "no",
    "support_disk_compatibility": "no",
    "support_memory_compatibility": "no"
  },
  "ramdisk_copy": {}
}

 

The feedback information is as follows:

tc@box:~$ ./rploader.sh build denverton-7.1.0-42661
Rploader Version : 0.7.1.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/master/redpill-misc/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       : denverton
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 : dva3221_42661
MODEL : DVA3221
Local Cache Folder : /mnt/sdb3/auxfiles
DATE Internet : 24052022 Local : 24052022
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Redpill sources already downloaded, pulling latest
Already up to date.
Loader sources already downloaded, pulling latest
Already up to date.
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 : dva3221_42661
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus-denverton.tgz
Extracting module
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/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
Found Ethernet Interface : pciid 1af4d00001000 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
Found custom pat file /home/tc/custom-module/DSM_DVA3221_42218.pat
Processing old pat file to extract required files for extraction
Entering synoesp
extract rd.gz
finish
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/net/tun: Cannot mknod: Operation not permitted
36374 blocks
extract rd
mkdir: cannot create directory '/mnt/sdb3/auxfiles': File exists
Copying required files to local cache folder for future use
Copying usr/lib/libcurl.so.4 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedcrypto.so.5 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedtls.so.13 to /mnt/sdb3/auxfiles
Copying usr/lib/libmbedx509.so.1 to /mnt/sdb3/auxfiles
Copying usr/lib/libmsgpackc.so.2 to /mnt/sdb3/auxfiles
Copying usr/lib/libsodium.so to /mnt/sdb3/auxfiles
Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sdb3/auxfiles
Copying usr/syno/bin/scemd to /mnt/sdb3/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
Checking for cached pat file
Found tinycore cache folder, linking to home/tc/custom-module
Found locally cached pat file /home/tc/custom-module/DSM_DVA3221_42661.pat
File /home/tc/custom-module/DSM_DVA3221_42661.pat, is  encrypted
File /home/tc/redpill-load/cache/dva3221_42661.pat, is a compressed tar
Unecrypted file is already cached in :  /home/tc/redpill-load/cache/dva3221_42661.pat
tar: ./VERSION: Not found in archive
tar: Exiting with failure status due to previous errors
Pat file  sha256sum is : b4c2b99f40934e1dc90be1bb08f29e8403186a0dbb34fee180d004dc267d682a
Checking config file existence -> No config file found, please use the proper repo, clean and download again
tc@box:~$

 

After that, I executed the "./rploader.sh clean now" command and build it again. But the problem is still.

 

Link to comment
Share on other sites

On 5/22/2022 at 4:23 AM, phone guy said:

P20. google your hba and P20 IT MODE, there are literally hundreds of guides... many will have img/iso with all required files. I just went down that rabbit hole myself. Which card exactly do you have?

 

Here is a starting point for you, but trust me google will have all the directions you'll need.

 

sorry for the late reply

 

yeah i know how to upgrade/downgrade of the firmwares, i tested when i was looking on getting DRAT working on my SSD (that is one of the volumes on the HBA, a 250gb 860 evo from Samsung), but thanks for the hint :)

I have a Dell H200 that is flashed in IT mode with stock LSI firmware, but i'm on P16 where TRIM works.. 

 

Disk /dev/sdf: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6aa1d93a

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sdf1          2048   4982527   4980480   2.4G fd Linux raid autodetect
/dev/sdf2       4982528   9176831   4194304     2G fd Linux raid autodetect
/dev/sdf3       9437184 488192351 478755168 228.3G fd Linux raid autodetect

user@DiskStation:~$ sudo hdparm -I /dev/sdf | grep TRIM
           *    Data Set Management TRIM supported (limit 8 blocks)
           *    Deterministic read ZEROs after TRIM

 

so updating to P20 will probably fix the 2Tb hdd limitation i have (i assume) but will break TRIM on the ssd.. i think it's just better ditch the LSI all together and get a dumb asm1166.

Link to comment
Share on other sites

[NOTICE]

 

M Shell, Tinycore jun mode build function added distribution

 

I don't have time

So, I only applied my.sh.

The rest of the shells will be updated soon.

 

DSM 7.0.1-42218, which is a required pat file for the current Jun Mode application, is changed to update 4.

The contents of the download pat file have been changed again.

In this changed state, pocopico's tinycore does not respond, so when building in jun mode, build is not possible due to sha256sum mismatch.


In order to bypass this part in the m shell,

DSM 7.0.1-42218 update 4 Download the pat file to avoid build errors.

 

Automatic update is supported, so if you use "./my.sh model name" only once, it will be updated to the latest version.

 

For new users, please download and decompress it using the command below in TC Linux.

wget https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz; tar -zxvf my.sh.gz;


For jun mode, just add one more "J" after the existing model name.
It's like this.

 

./my.sh DS918+J

./my.sh DS3622xsJ

Link to comment
Share on other sites

8 hours ago, pocopico said:

 

You can always copy/scp your files under /home/tc/custom-modules and they will be used instead of downloading the pat all the time.

 

The 1GB image size can hold up to two different pat files. If you are on a physical machine you can also use parted to increase the third USB partition to the maximum. If you are in virtual you have to leave it to 1GB as this is critical for the synoboot to be picked correctly.

 

Sorry, I made a mistake before. It has been resolved so far.

For DVA3221, you need to build 7.0.1-42218 before building 7.1.0-42661.

But I still had a few minor problems.

The pat file name recognized by the script is dva3221_42218.pat. The file downloaded from the official website is DSM_DVA3221_42218.pat.

If I upload DSM_DVA3221_42218.pat directly, the script is not recognized.

 

Want to use firmware files from /home/tc/custom-module/*.pat ? [yY/nN] :

y

Processing add_extensions entries found on custom_config.json file :

[#] Checking runtime for required tools... [OK]

[#] Updating extensions...

 

......

 

[#] PAT file /home/tc/redpill-load/cache/dva3221_42218.pat not found - downloading from https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DVA3221_42218.pat

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 347M 100 347M 0 0 2030k 0 0:02:55 0:02:55 --:--:-- 2452k

 

 

If I change the file name to dva3221_42218.pat. Prompt me to delete after the build is over

Entries in Localdisk bootloader :

=======================================================================

menuentry 'RedPill DVA3221 v7.1.0-42661 Beta (USB, Verbose)' {

menuentry 'RedPill DVA3221 v7.1.0-42661 Beta (SATA, Verbose)' {

menuentry 'Tiny Core Image Build' {

Machine is VIRTUAL Hypervisor=KVM

Setting default boot entry to SATA

Caching files for future use

No adequate space on TCRP loader partition /mnt/sdb3 to cache pat file

Found /mnt/sdb3/auxfiles/dva3221_42218.pat

/mnt/sdb3/auxfiles/dva3221_42661.pat file

Do you want me to remove older cached pat files and cache current ? [yY/nN] :

 

Second question

Some strange information will appear on the serial port during booting

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)

 

 

Third question. If I set the VNIC to E1000e before building. The NIC cannot obtain the IP address after booting.

eth0 Link encap:Ethernet HWaddr 00:11:32:2A:46:E7

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:21 errors:8 dropped:0 overruns:0 frame:8

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:3274 (3.1 KiB) TX bytes:0 (0.0 B)

Interrupt:23 Memory:c1620000-c1640000

 

 

 

And you receive a lot of drop notification

[ 539.856580] e1000e 0000:06:12.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx

[ 539.859860] e1000e 0000:06:12.0 eth0: NIC Link is Down

 

If I set the virtual NIC to virtio before building, the NIC will not be recognized after booting.

So far I haven't been able to run the NIC on dva3221.


 

Link to comment
Share on other sites

Quote

 

Second question

Some strange information will appear on the serial port during booting

 

 

For that, i suggest you review again your VID:PID of the USB loader on your KVM and better select USB.

 

Quote

If I change the file name to dva3221_42218.pat. Prompt me to delete after the build is over

 

Just go again and enter "y" at the end. This way the unencrypted file will be cached for future use.

 

Link to comment
Share on other sites

8 hours ago, pigr8 said:

 

sorry for the late reply

 

yeah i know how to upgrade/downgrade of the firmwares, i tested when i was looking on getting DRAT working on my SSD (that is one of the volumes on the HBA, a 250gb 860 evo from Samsung), but thanks for the hint :)

I have a Dell H200 that is flashed in IT mode with stock LSI firmware, but i'm on P16 where TRIM works.. 

 


Disk /dev/sdf: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6aa1d93a

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sdf1          2048   4982527   4980480   2.4G fd Linux raid autodetect
/dev/sdf2       4982528   9176831   4194304     2G fd Linux raid autodetect
/dev/sdf3       9437184 488192351 478755168 228.3G fd Linux raid autodetect

user@DiskStation:~$ sudo hdparm -I /dev/sdf | grep TRIM
           *    Data Set Management TRIM supported (limit 8 blocks)
           *    Deterministic read ZEROs after TRIM

 

so updating to P20 will probably fix the 2Tb hdd limitation i have (i assume) but will break TRIM on the ssd.. i think it's just better ditch the LSI all together and get a dumb asm1166.

Since I am using spinning hdd, I cant say much about ssd trim sorry.

Link to comment
Share on other sites

21 hours ago, leang521 said:

Thank you very much. I updated the "RedPill-Tinycore-loader" today, which can indeed be guided normally.
But there is a small problem. The current execution of "./rploader.sh Satamap now" has no manual adjustment project.
Automatic generated
    "SataPortMap": "11",
    "DiskIdxMap": "1010"
Such configuration.
If you directly use this configuration guidance, you can't find the hard disk.
You also need to adjust the conf file manually.

    "SataPortMap": "14",
    "DiskIdxMap": "1002"

 

This looks like you are running KVM q35, plus SATABOOT image on sata0, and now data drives on scsi controller. This is different than your first post which was all sata.

 

There is a problem for systems with SCSI data disks only that will be fixed with the next rploader script update.

Functional settings for the above specific combination are SataPortMap="11" and DiskIdxMap="101000"

Link to comment
Share on other sites

1 hour ago, flyride said:

This looks like you are running KVM q35, plus SATABOOT image on sata0, and now data drives on scsi controller. This is different than your first post which was all sata.

 

There is a problem for systems with SCSI data disks only that will be fixed with the next rploader script update.

Functional settings for the above specific combination are SataPortMap="11" and DiskIdxMap="101000"

No, I did not use any SCSI hard disk. I have only tested one virtual hard disk structures.

 

SATA0:tinycore-redpill.v0.4.6.img

SATA1:loader.img

SATA2:data hard disk(1TB)

Under this configuration, I use SataPortMap="14" and DiskIdxMap="1002".

SATA1 and SATA2 can be seen in the DSM system, and the disk is located on Hard Disk 4 and Hard Disk 5, respectively.
I hope to only display SATA2 and be located on the hard disk 1. But there is no time to adjust.
Because I am doing my best to achieve the guidance of DVA3221, it has not yet succeeded

 

Link to comment
Share on other sites

 

16 minutes ago, leang521 said:

No, I did not use any SCSI hard disk. I have only tested one virtual hard disk structures.

 

SATA0:tinycore-redpill.v0.4.6.img

SATA1:loader.img

SATA2:data hard disk(1TB)

 

I see problems. I don't know how or why you have two img files on both SATA0 and SATA1.  There should only be one loader image file.

 

Also, a data disk should not be on the same controller as a SATABOOT image.  So if this is KVM, you will need to change the data disk to scsi0.

Alternatively, you can convert your loader to USB image and then data disk on sata0.

 

If you want more diagnosis post the actual output from ./rploader.sh satamap now

Link to comment
Share on other sites

6 hours ago, pocopico said:

 

For that, i suggest you review again your VID:PID of the USB loader on your KVM and better select USB.

 

I did not use USB guidance. Instead, the virtual disk generated using "QM Importdisk" is mounted on SATA0.

 

7 hours ago, pocopico said:

 

Just go again and enter "y" at the end. This way the unencrypted file will be cached for future use.

 

I tried like this. However, DVA3221_42218.pat will be deleted and only retains DVA3221_42661.pat files. Does this affect the next build?

 

 

In the end, how should I configure the network card driver, I still can't run it correctly.
If I configure it to Virtio NIC before build, the script cannot be recognized correctly.

Even though I had executed the "./rploader.sh ext denverton-7.1.0-42661 add https://github.com/pocopico/redpill-load/raw/develop/redpill-virtio/rpext-index.json" command before constructing.

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

Found Ethernet Interface : pciid 1af4d00001000 Required Extension :

No matching extension

 

 

If I configure it to E1000e NIC before build. It looks like the driver is installed correctly. But Boot cannot obtain IP correctly.

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/

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/mame/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/e100

[#] Software author: https://github.com/pocopico

[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000e/

[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621_42661 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 dxs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds2621 ds3615xs_42218 ds3622xsp_42621

[#] ============================================================================

 

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

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

 

Link to comment
Share on other sites

I found that Mellanox Technologies MT27500 Family [ConnectX-3] [15b3:1003] network card works fine under DS918+ system,The driver is "mlx4_core", but cannot install system when compiling DS3617xs DS3615xs DS3622xs+, it shows system inaccessible after installation reboot, then PC immediately Off , but if you don't visit a web page after opening, the PC will keep running.I compared the drivers I got, the DS918+ is different from other drivers

Link to comment
Share on other sites

32 minutes ago, flyride said:

 

 

I see problems. I don't know how or why you have two img files on both SATA0 and SATA1.  There should only be one loader image file.

 

Also, a data disk should not be on the same controller as a SATABOOT image.  So if this is KVM, you will need to change the data disk to scsi0.

Alternatively, you can convert your loader to USB image and then data disk on sata0.

 

If you want more diagnosis post the actual output from ./rploader.sh satamap now

I hope the loader file is independent, this is a small habit of mine, please ignore it. I will use SATA0 when compiling. Then export loader.img and mount them on SATA1. And start with SATA1.

Because SCSI cannot be driven in many Chinese tutorials. I didn't find a tutorial with SCSI.
So this may be a cognitive error.
I will try to re-build loader with SCSI. 

Show as follows, do I need to make more modifications?

tc@box:~$ ./rploader.sh satamap now
Machine is VIRTUAL Hypervisor=KVM
Found SCSI HBAs, We need to install the SCSI modules
Downloading: scsi-5.10.3-tinycore64.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
saving to 'scsi-5.10.3-tinycore64.tcz'
scsi-5.10.3-tinycore 100% |********************************| 2632k  0:00:00 ETA
'scsi-5.10.3-tinycore64.tcz' saved
scsi-5.10.3-tinycore64.tcz: OK
Succesfully installed SCSI modules

Found "00:1f.2 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)"
0 drive(s) connected. Reserving and disabling KVM q35 hardware model bogus controller

Found "06:07.0 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)"
1 drive(s) connected. SATABOOT detected. Mapping loader dev after maxdisks 16

Recommended settings:
SataPortMap=11
DiskIdxMap=1010

Should i update the user_config.json with these values ? [Yy/Nn] Y
Done.
 

 

Link to comment
Share on other sites

@leang521

 

16 hours ago, leang521 said:

I will try to re-build loader with SCSI. 

Show as follows, do I need to make more modifications?

tc@box:~$ ./rploader.sh satamap now
Machine is VIRTUAL Hypervisor=KVM
Found "00:1f.2 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)"
0 drive(s) connected. Reserving and disabling KVM q35 hardware model bogus controller

Found "06:07.0 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)"
1 drive(s) connected. SATABOOT detected. Mapping loader dev after maxdisks 16

Recommended settings:
SataPortMap=11
DiskIdxMap=1010

Should i update the user_config.json with these values ? [Yy/Nn] Y
Done.

If data disk is SCSI, you need to manually edit DiskIdxMap=101000 after satamap and before loader build

This is until the next update comes out from @pocopico

 

I hope it works.  If it doesn't, here's a summary of how I would try to configure your system.

  • refresh new, clean TCRP image
  • Configure virtio for network card
  • bootloader image on sata0 and data disk on scsi0
    • OR bootloader image on USB image and data disk on sata0
  • ./rploader.sh update now
  • ./rploader.sh fullupgrade now
  • ./rploader.sh identifyusb now
  • ./rploader.sh serialgen DVA3221
  • ./rploader.sh satamap now
  • edit DiskIdxMap per above if data disk is scsi0, leave alone if data disk is sata0
  • ./rploader.sh ext denverton-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-virtio/rpext-index.json
  • ./rploader.sh build denverton-7.1.0-42661 auto

USB image is a manual configuration to the VM conf file:

Put loader.img in the path /var/lib/vz/images/<vmid>

args: -device 'nec-usb-xhci,id=usb-bus0,multifunction=on' -drive 'file=/var/lib/vz/images/<vmid>/<img file name>,media=disk,format=raw,if=none,id=drive-disk-bootloader' -device 'usb-storage,bus=usb-bus0.0,port=1,drive=drive-disk-bootloader,id=usb-disk-bootloader,bootindex=999,removable=on'
(and don't forget to configure boot to USB device)

Link to comment
Share on other sites

4 minutes ago, flyride said:

@leang521

 

If data disk is SCSI, you need to manually edit DiskIdxMap=101000 after satamap and before loader build

This is until the next update comes out from @pocopico

 

I hope it works.  If it doesn't, here's a summary of how I would try to configure your system.

  • refresh new, clean TCRP image
  • Configure virtio for network card
  • bootloader image on sata0 and data disk on scsi0
    • OR bootloader image on USB image and data disk on sata0
  • ./rploader.sh identifyusb now
  • ./rploader.sh serialgen DV3221
  • ./rploader.sh satamap now
  • edit DiskIdxMap per above if data disk is scsi0, leave alone if data disk is sata0
  • ./rploader.sh ext denverton-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-virtio/rpext-index.json
  • ./rploader.sh build denverton-7.1.0-42661 auto

USB image is a manual configuration to the VM conf file:

Put loader.img in the path /var/lib/vz/images/<vmid>

args: -device 'nec-usb-xhci,id=usb-bus0,multifunction=on' -drive 'file=/var/lib/vz/images/<vmid>/<img file name>,media=disk,format=raw,if=none,id=drive-disk-bootloader' -device 'usb-storage,bus=usb-bus0.0,port=1,drive=drive-disk-bootloader,id=usb-disk-bootloader,bootindex=999,removable=on'
(and don't forget to configure boot to USB device)

Okay, but so far I still can't start the NIC when using DVA3221. It is correct under DS918+.

Link to comment
Share on other sites

13 hours ago, flyride said:

@leang521

 

If data disk is SCSI, you need to manually edit DiskIdxMap=101000 after satamap and before loader build

This is until the next update comes out from @pocopico

 

I hope it works.  If it doesn't, here's a summary of how I would try to configure your system.

  • refresh new, clean TCRP image
  • Configure virtio for network card
  • bootloader image on sata0 and data disk on scsi0
    • OR bootloader image on USB image and data disk on sata0
  • ./rploader.sh update now
  • ./rploader.sh fullupgrade now
  • ./rploader.sh identifyusb now
  • ./rploader.sh serialgen DV3221
  • ./rploader.sh satamap now
  • edit DiskIdxMap per above if data disk is scsi0, leave alone if data disk is sata0
  • ./rploader.sh ext denverton-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-virtio/rpext-index.json
  • ./rploader.sh build denverton-7.1.0-42661 auto

USB image is a manual configuration to the VM conf file:

Put loader.img in the path /var/lib/vz/images/<vmid>

args: -device 'nec-usb-xhci,id=usb-bus0,multifunction=on' -drive 'file=/var/lib/vz/images/<vmid>/<img file name>,media=disk,format=raw,if=none,id=drive-disk-bootloader' -device 'usb-storage,bus=usb-bus0.0,port=1,drive=drive-disk-bootloader,id=usb-disk-bootloader,bootindex=999,removable=on'
(and don't forget to configure boot to USB device)

I re-imported the tinycore-redpill image and followed the steps below to build it. More errors occurred as a result.

The configuration of the KVM.

root@x99pve:/etc/pve/qemu-server# cat 108.conf
balloon: 0
bios: ovmf
boot: order=sata0
cores: 4
cpu: host
ide2: none,media=cdrom
machine: q35
memory: 4096
meta: creation-qemu=6.1.0,ctime=1653357922
name: DVA3221
net0: virtio=00:11:32:7E:6D:DA,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
sata0: data-zfs:vm-108-disk-1,backup=0,size=1G
scsi0: data-zfs:vm-108-disk-0,backup=0,size=1200G
serial0: socket
smbios1: uuid=7fb25a1e-5f14-4a3d-9242-5aa88b0ca99a
sockets: 1
vmgenid: 6f42693e-62e8-4b59-a859-840f57244b93

 

)./rploader.sh update now
2)./rploader.sh fullupgrade now
3)./rploader.sh serialgen DVA3221
4)./rploader.sh satamap now

 

tc@box:~$ ./rploader.sh satamap now
Machine is VIRTUAL Hypervisor=KVM

Found "00:1f.2 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)"
Detected 6 ports/0 drives. Reserving and disabling KVM q35 bogus controller

Found "06:07.0 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)"
Detected 6 ports/1 drives. SATABOOT detected. Mapping loader dev after maxdisks
No SATA ports mapped. Setup for compatibility with SCSI/SAS controller mapping.

Recommended settings:
SataPortMap=11
DiskIdxMap=101000

Should i update the user_config.json with these values ? [Yy/Nn] Y
Done.

 

tc@box:~$ cat user_config.json
{
  "extra_cmdline": {
    "pid": "0xa4a5",
    "vid": "0x0525",
    "sn": "2150SJRGCVBDH",
    "mac1": "00113223B5FB",
    "SataPortMap": "11",
    "DiskIdxMap": "101000"
  },
  "synoinfo": {
    "internalportcfg": "0xffff",
    "maxdisks": "16",
    "support_bde_internal_10g": "no",
    "support_disk_compatibility": "no",
    "support_memory_compatibility": "no"
  },
  "ramdisk_copy": {}
}

 

5)./rploader.sh build denverton-7.0.1-42218
6)./rploader.sh clean now
7)./rploader.sh ext denverton-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/redpill-load/master/redpill-virtio/rpext-index.json

The execution process before that still seems to be correct.
But the next instruction came with many errors.

8)./rploader.sh build denverton-7.1.0-42661 auto

 

tc@box:~$ ./rploader.sh build denverton-7.1.0-42661 auto
Rploader Version : 0.7.1.8
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.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       : denverton
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 : dva3221_42661
MODEL : DVA3221
Local Cache Folder : /mnt/sda3/auxfiles
DATE Internet : 25052022 Local : 25052022
Checking Internet Access -> OK
Checking if a newer version exists on the repo -> Version is current
Redpill sources already downloaded, pulling latest
Already up to date.
Loader sources already downloaded, pulling latest
Already up to date.
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 : dva3221_42661
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/releases/redpill-4.4.180plus-denverton.tgz
Extracting module
Getting file https://raw.githubusercontent.com/pocopico/rp-ext/master/redpill/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 SCSI Controller : pciid 1000d00000012  Required Extension : sym53c8xx
Searching for matching extension for sym53c8xx
Found SATA Controller : pciid 8086d00002922  Required Extension : ahci
Searching for matching extension for ahci
Found Ethernet Interface : pciid 1af4d00001000 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  345M  100  345M    0     0  17.0M      0  0:00:20  0:00:20 --:--:-- 18.7M
Entering synoesp
extract rd.gz
finish
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/net/tun: Cannot mknod: Operation not permitted
42506 blocks
extract rd
mkdir: cannot create directory '/mnt/sda3/auxfiles': File exists
Copying required files to local cache folder for future use
Copying usr/lib/libcurl.so.4 to /mnt/sda3/auxfiles
Copying usr/lib/libmbedcrypto.so.5 to /mnt/sda3/auxfiles
Copying usr/lib/libmbedtls.so.13 to /mnt/sda3/auxfiles
Copying usr/lib/libmbedx509.so.1 to /mnt/sda3/auxfiles
Copying usr/lib/libmsgpackc.so.2 to /mnt/sda3/auxfiles
Copying usr/lib/libsodium.so to /mnt/sda3/auxfiles
Copying usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 to /mnt/sda3/auxfiles
Copying usr/syno/bin/scemd to /mnt/sda3/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/DVA3221/7.1.0-42661
Configfile: /home/tc/redpill-load/config/DVA3221/7.1.0-42661/config.json
Pat URL : https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_DVA3221_42661.pat
Downloading pat file from URL : https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_DVA3221_42661.pat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  353M  100  353M    0     0   857k      0  0:07:02  0:07:02 --:--:-- 1356k
File //mnt/sda3/auxfiles/dva3221_42661.pat, is  encrypted
File //mnt/sda3/auxfiles/dva3221_42661.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/dva3221_42661.pat
File /home/tc/custom-module/dva3221_42661.pat, is  encrypted
Extracting encrypted pat file : /home/tc/custom-module/dva3221_42661.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 dva3221_42661.pat to /home/tc/redpill-load/cache folder
./VERSION
Pat file  sha256sum is : 20fbe25a0773877d9f9e624f72ecb318400a38fc88a477f5512f431072c6734f
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/master/redpill-misc/rpext-index.json"
[#] Checking runtime for required tools... [OK]
[#] Adding new extension from https://github.com/pocopico/redpill-load/raw/master/redpill-misc/rpext-index.json...
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/master/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 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds918p_42218 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

Updating extension : redpill-misc contents for model : dva3221_42661
[#] Checking runtime for required tools... [OK]
[#] Updating dva3221_42661 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 dva3221_42661
[#] 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/dva3221_42661/install.sh
################################################################################################################################################################# 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/dva3221_42661/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/dva3221_42661/install-all.sh
################################################################################################################################################################# 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/dva3221_42661/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/dva3221_42661/ttyd
################################################################################################################################################################# 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/dva3221_42661/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/dva3221_42661/install_rd.sh
################################################################################################################################################################# 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/dva3221_42661/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/dva3221_42661/lrzsz.tar.gz
################################################################################################################################################################# 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/dva3221_42661/lrzsz.tar.gz file...  [OK]
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/dva3221_42661/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/dva3221_42661/...  [OK]
[#] Successfully processed recipe for extension redpill-misc platform dva3221_42661
[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/dva3221_42661/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/dva3221_42661/...  [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 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 ds920p_42550 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

[#] Checking runtime for required tools... [OK]
[#] 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%
[#] Updating thethorgroup.virtio extension...
[#] Downloading remote file https://github.com/pocopico/redpill-load/raw/develop/redpill-virtio/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json
################################################################################################################################################################# 100.0%

[#] Extension thethorgroup.virtio index is already up to date
[#] Updating thethorgroup.virtio extension... [OK]
[#] Checking runtime for required tools... [OK]
[#] Updating dva3221_42661 platforms extensions...
[#] Downloading remote file https://github.com/RedPill-TTG/redpill-boot-wait/raw/master/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 dva3221_42661
[#] Downloading remote file https://raw.githubusercontent.com/RedPill-TTG/redpill-boot-wait/master/src/boot-wait.sh to /home/tc/redpill-load/custom/extensions/redpill-boot-wait/dva3221_42661/boot-wait.sh
################################################################################################################################################################# 100.0%
[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/dva3221_42661/boot-wait.sh file... [OK]
[#] Successfully processed recipe for extension redpill-boot-wait platform dva3221_42661
[#] 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 dva3221_42661 platform is already up to date
[-] The extension thethorgroup.virtio was found. However, the extension index has no recipe for dva3221_42661 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:
[#] ========================================== thethorgroup.virtio ==========================================
[#] Extension name: VirtIO
[#] Description: Adds VirtIO support for fast network/PCI/SCSI/network/console paravirtualization under QEmu (Proxmox, VirtualBox, virsh, and similar)
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/RedPill-TTG/redpill-virtio
[#] Software author: https://www.linux-kvm.org/page/Virtio
[#] Update URL: https://github.com/pocopico/redpill-load/raw/develop/redpill-virtio/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 ds3615xs_42661 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42218 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3622xsp_42550 ds3615xs_25556 ds920p_42218 ds920p_42621 ds920p_42550 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

[-] Failed to update recipe for thethorgroup.virtio extension for platform dva3221_42661. 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)
[#] ========================================== thethorgroup.virtio ==========================================
[#] Extension name: VirtIO
[#] Description: Adds VirtIO support for fast network/PCI/SCSI/network/console paravirtualization under QEmu (Proxmox, VirtualBox, virsh, and similar)
[#] To get help visit: <todo>
[#] Extension preparer/packer: https://github.com/RedPill-TTG/redpill-virtio
[#] Software author: https://www.linux-kvm.org/page/Virtio
[#] Update URL: https://github.com/pocopico/redpill-load/raw/develop/redpill-virtio/rpext-index.json
[#] Platforms supported: ds1621p_42218 ds918p_41890 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 ds1621p_42661 ds918p_25556 ds3615xs_42661 ds3622xsp_42661 ds2422p_42661 ds3622xsp_42218 ds2422p_42218 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3622xsp_42550 ds3615xs_25556 ds920p_42218 ds920p_42621 ds920p_42550 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621
[#] =======================================================================================

[!] Cannot continue due to previous errors (see above)

*** Process will exit ***
[!] Failed to update all extensions for dva3221_42661 platform - see errors above

*** Process will exit ***
FAILED : Loader creation failed check the output for any errors
tc@box:~$

 

Link to comment
Share on other sites

27 minutes ago, flyride said:

I only see one error. It looks like the virtio extension doesn't have a tag for DV3221.  @pocopico is there a better repo to use or did it just not get added?

 

Have you noticed the following tips?
        Found Ethernet Interface : pciid 1af4d00001000 Required Extension :
        No matching extension

Link to comment
Share on other sites

2 hours ago, flyride said:

It looks like the virtio extension doesn't have a tag for DVA3221.

 

@leang521 I was able to compile and boot DVA3221 with r8169 instead of virtio for network.  But without virtio the scsi data disk won't be accessible. 

 

So unless you want to rebuild for USB/sata0 data disk, we need to wait and see if there is another repo with virtio current platform updates, or the new platforms added to the pocopico fork of redpill-load/virtio.

Link to comment
Share on other sites

1 hour ago, flyride said:

 

@leang521 I was able to compile and boot DVA3221 with r8169 instead of virtio for network.  But without virtio the scsi data disk won't be accessible. 

 

So unless you want to rebuild for USB/sata0 data disk, we need to wait and see if there is another repo with virtio current platform updates, or the new platforms added to the pocopico fork of redpill-load/virtio.

 

Have him try the v9fs driver for the dva3221. AFAIK its everything Virtio is + more so it should work.

./rploader.sh ext denverton-7.0.1-42218 add https://raw.githubusercontent.com/pocopico/rp-ext/master/v9fs/rpext-index.json
./rploader.sh ext denverton-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/v9fs/rpext-index.json

 

Edited by phone guy
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...