Jump to content
XPEnology Community

DSM 7.1 in ESXi: Mapping LSI2008 Card


Recommended Posts

Hey everyone! I actually got my Xpenology fully booted thanks to this virtualization guide and this general install guide, but neither provided me enough details to get my raid card active. To begin, here are my specs:

VM or BareMetal : VM - ESXi 6.7U3
Hardware (Motherboard/CPU) : Gigabyte M370M DS3H / Intel 8400

Storage-Controller: 1x LSI SAS 9211-8i (HBA in IT mode)
Hot Plug/Hot Swap Applied : Yes
version of rploader.sh : 0.8.0.3
Platform (DS3622xsp/DS918+/DS920+/DVA3221/DS1621+/DS3615xs/DS3617xs) : 3622xs+
Platform Version (6.2.4/7.0.1/7.1) : 7.1
Platform Revision (42218/42661/42661-U1) : 42661
Current Status  : Boots to kernel, but with virtualized disk.

 

As the virtualized guide suggested, I have two SATA Controllers, one with TCRP and the other is just a virtual disk. I also have my LSI 9211-8i in there in IT Mode. lspci -kkq reveals:

 

0b:00.0 RAID bus controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
	Subsystem: Fujitsu Technology Solutions HBA Ctrl SAS 6G 0/1 [D2607]

 

 

So its registered by the machine, I just need it initialized by Synology. I read about drivers in the guide linked above, so I ran the following commands:

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-e
xt/master/mpt2sas/rpext-index.json

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-e
xt/master/mpt3sas/rpext-index.json

I didn't know which had the driver I needed, and frankly I didn't see any negatives by doing both, so I did both. Now I get this, basically saying it sees the controller, but that is has zero

drives. It is also saying that a single SCSI/HBA has 63 drives. I have one drive connected to the SAS:

root@box:/home/tc# ./rploader.sh satamap now
Machine is VIRTUAL Hypervisor=VMware
Found SCSI HBAs, We need to install the SCSI modules
Don't run this as root.

Found "02:03.0 VMware SATA AHCI controller"
Detected 30 ports/1 drives. Mapping SATABOOT drive after maxdisks

Found "02:04.0 VMware SATA AHCI controller"
Detected 30 ports/1 drives. Defaulting 8 virtual ports for typical system compatibility
Override # of ports or ENTER to accept <8> ds
Non-numeric, overridden to 0

Found SCSI/HBA "0b:00.0 LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid bus number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (63 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
Found SCSI/HBA "03:00.0 VMware PVSCSI SCSI Controller (rev 02)" (0 drives)

Computed settings:
SataPortMap=10
DiskIdxMap=1000

Should i update the user_config.json with these values ? [Yy/Nn] n
OK remember to update manually by editing user_config.json file

 

 

I seemingly have all the pieces here, just need some help putting it altogether. I plan on connecting eight drives absolute max, and have four drives in the short term. For testing, there is currently one drive plugged into my LSI card with a SAS cable. I would really appreciate some guidance.

Link to comment
Share on other sites

4 hours ago, flyride said:

 

Sorry. At that point it was about 3am and I was just trying to grasp what was going on. New day, although no sleep in between. This is the response when not in root. I am a beginner and this is my first xpenology, I'm not entirely clear what is going on. This is what I understand:

 

I enter "./rploader.sh satamap now". It sees an SCSI Controller and downloads a module for it, presumably my LSI.

 

Then it sees SATA Controller one, where TCRP lives. Then it sees SATA Controller two, where a 25GB virtual disk is sitting (do I need this if the LSI works properly? I assume not). 

 

Then it asks me how many virtual ports I want. Is this for the final Synology build? I don't understand this question

 

Then it revisits the SCSI Controller, identifying it as LSI SAS2008. It sees 15 "unlabeled slot numbers," all with zero drives except one which is labeled as having 65 drives. I honestly have no idea what to make of this. This is likely documented and I'm happy to learn, but I don't understand what I'm looking at. I know things changed a lot for DSM 7 and not all documentation translates.

 

 

tc@box:~$ ./rploader.sh satamap now
Machine is VIRTUAL Hypervisor=VMware
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 "02:03.0 VMware SATA AHCI controller"
Detected 30 ports/1 drives. Mapping SATABOOT drive after maxdisks

Found "02:04.0 VMware SATA AHCI controller"
Detected 30 ports/1 drives. Defaulting 8 virtual ports for typical system compatibility
Override # of ports or ENTER to accept <8> 8

Found SCSI/HBA "0b:00.0 LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)" (1 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid bus number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (65 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
Found SCSI/HBA "03:00.0 VMware PVSCSI SCSI Controller (rev 02)" (0 drives)

Computed settings:
SataPortMap=18
DiskIdxMap=1000

Should i update the user_config.json with these values ? [Yy/Nn] n
OK remember to update manually by editing user_config.json file

 

Link to comment
Share on other sites

First, understand that satamap has nothing to do with your LSI.  Satamap controls sata ports.  Your LSI has SAS/SCSI ports.  You do need a satamap to tell DSM how to map SATA ports from various controllers into a portspace that it can use.

 

4 minutes ago, thisisthedangtime said:

I enter "./rploader.sh satamap now". It sees an SCSI Controller and downloads a module for it, presumably my LSI.

 

Then it sees SATA Controller one, where TCRP lives. Then it sees SATA Controller two, where a 25GB virtual disk is sitting (do I need this if the LSI works properly? I assume not). 

 

ESXi virtual SATA controllers have the odd characteristic in that they support 30 ports.  If configured as such, it would use up all the DSM ports such that your LSI controller would not be visible.  So as long as you have a vSATA controller in the VM, TCRP attempts to override you with a "sane" value such as 8. Sata controller two is only needed if you want a virtual disk to be visible in DSM.  If you are planning to use the storage from disks attached to your LSI HBA, it is not needed.  If you remove the virtual disk and SATA controller 2 from your VM, it won't attempt to configure the satamap for it. 

 

As a courtesy only, TCRP attempts to provide information about the LSI and the disks attached to it because if it doesn't, the user thinks something is wrong.  Even though it has nothing to do with satamap.  For some reason TCRP appears to find controllers in the PCI map that seem not to exist. If you can run this from the TinyCore command line that will help explain this further:

lspci -d ::100; lspci -d ::104; lspci -d ::107

 

As an aside, you also seem to have a virtual SCSI controller configured in the VM that isn't attached to anything.  The tutorial suggests for you to delete this. I'm not sure if that is part of the problem with the script output.

 

Finally, satamap configures to support the LSI ports to be tacked on to the end of the sata port mapping.  Even through there were "errors" it did not affect the outcome.

 

Bottom line, it is configuring satamap correctly to support the vSATA controller and the LSI. If your controller is recognized by DSM (meaning, the driver works) then your LSI will expose its ports starting with slot #9

 

If you delete the vSATA controller and virtual disk, your LSI will expose its ports starting with slot #2.

 

You can always compute your own SataPortMap and DiskIdxMap values and edit them into user_config.json.  TCRP attempts to do this for you but it doesn't work perfectly in every corner case as there are infinite combinations of hardware out there.

Link to comment
Share on other sites

Posted (edited)

Thanks for this information. I ended up deleting the VM and starting over. It seems like in my tired stew, I made a good number of mistakes and that it would be easier to start fresh than to fix the mess. My new VM has one SATA Controller for TCRP and then the LSI, that's it. Here are the commands I ran, for anyone running into similar configuration issues

 

I had date issues that made every step thereafter broken, regardless of the valid internet connection. So from another thread, I run this and it fixes everything

ntpd -p north-america.pool.ntp.org -q

 

Standard update

./rploader.sh update now

 

Standard upgrade

./rploader.sh fullupgrade

 

Getting a MAC address to add to my virtual network card

./rploader.sh serialgen DS3622xs+

 

 

 

That's what I got to a science. It sounds like you're telling me that because my drives are listed as "Invalid slot number," that TCRP isn't able to intelligently map my drives. So I will have to manually map them. Can I use DSM 6 guides to make my satamap? At your request, here's my response to:

lspci -d ::100; lspci -d ::104; lspci -d ::107
tc@box:~$ lspci -d ::104
03:00.0 RAID bus controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
tc@box:~$ 

 

 

Here's what "./rploader.sh satamap now" shows now that I removed all the unnecessary virtual hardware.

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 "02:01.0 VMware SATA AHCI controller"
Detected 30 ports/1 drives. Mapping SATABOOT drive after maxdisks

Found SCSI/HBA "03:00.0 LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid bus number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (63 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)
lspci: -s: Invalid slot number
Found SCSI/HBA "" (0 drives)

Computed settings:
SataPortMap=1
DiskIdxMap=10

Should i update the user_config.json with these values ? [Yy/Nn] n
OK remember to update manually by editing user_config.json file

 

 

Edited by thisisthedangtime
correction to code return
Link to comment
Share on other sites

Learning more about lspci, I learned this about the RAID adapter

 

Slot:	03:00.0
Class:	RAID bus controller
Vendor:	LSI Logic / Symbios Logic
Device:	SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]
SVendor:	Fujitsu Technology Solutions
SDevice:	Device 1177
PhySlot:	160
Rev:	03

 

Link to comment
Share on other sites

6 hours ago, thisisthedangtime said:

It sounds like you're telling me that because my drives are listed as "Invalid slot number," that TCRP isn't able to intelligently map my drives. So I will have to manually map them. Can I use DSM 6 guides to make my satamap? At your request, here's my response to:

 

No, the invalid slot number error has no impact.  The satamap that is generated is valid, but you choose not to save it to user_config.json.

Link to comment
Share on other sites

Posted (edited)

I thought I did, but got a "no drives detected warning" on setup, so I started from scratch again. I actually did three times to make sure I haven't messed up. Each time has ended with it saying "no drives detected." As above, I started with these commends:

 

ntpd -p north-america.pool.ntp.org -q
./rploader.sh update now
./rploader.sh fullupgrade
./rploader.sh serialgen DS3622xs+
./rploader.sh satamap

Here, the driver downloads but doesn't seem to initialize, so I deny the update because it doesn't see the two drives I have plugged in.

Spoiler

Machine is VIRTUAL Hypervisor=VMware

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 "02:01.0 VMware SATA AHCI controller"

Detected 30 ports/1 drives. Mapping SATABOOT drive after maxdisks

 

Found SCSI/HBA "13:00.0 LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid bus number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (63 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

 

Computed settings:

SataPortMap=1

DiskIdxMap=10

 

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

OK remember to update manually by editing user_config.json file

./rploader.sh satamap

I ran it again immediately afterwards now that the driver is initialized. This time, I accepted the update to user_config.json

Spoiler

tc@box:~$ ./rploader.sh satamap

Machine is VIRTUAL Hypervisor=VMware

Found SCSI HBAs, We need to install the SCSI modules

scsi-5.10.3-tinycore64 is already installed!

Succesfully installed SCSI modules

 

Found "02:01.0 VMware SATA AHCI controller"

Detected 30 ports/1 drives. Mapping SATABOOT drive after maxdisks

 

Found SCSI/HBA "13:00.0 LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)" (2 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid bus number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (65 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

 

Computed settings:

SataPortMap=1

DiskIdxMap=10

 

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

Done.

cat user_config.json

Just wanted to verify the configuration.

Spoiler

{

  "extra_cmdline": {

    "pid": "0xa4a5",

    "vid": "0x0525",

    "sn": "redacted",

    "mac1": "redacted",

    "SataPortMap": "1",

    "DiskIdxMap": "10"

  },

  "synoinfo": {

    "internalportcfg": "0xffff",

    "maxdisks": "16",

    "support_bde_internal_10g": "no",

    "support_disk_compatibility": "no",

    "support_memory_compatibility": "no"

  },

  "ramdisk_copy": {}

}

./rploader.sh build broadwellnk-7.1.0-42661

Built with the loader with broadwellnk, which this link says is the correct configuration for the DS3622xs+ we selected earlier.

 

Then I turned off the machine and booted into SATA, where it tells me there are no disks.

 

To play devils advocate, I reboot back into the image builder to verify things are correct.

 

./rploader.sh satamap

 

The drives aren't initialized again. It had to redownload "scsi-5.10.3-tinycore64." Am I missing something?

 

 

 

 

 

Spoiler

tc@box:~$ sudo su

root@box:/home/tc# date

Tue Jan  2 02:25:45 UTC 2018

root@box:/home/tc# ntpd -p north-america.pool.ntp.org -q

root@box:/home/tc# exit

tc@box:~$ ./rploader.sh update now

Checking Internet Access -> OK

Checking if a newer version exists on the main repo -> Found newversion : 0.8.0.3

Current version : 0.8.0.0

There is a newer version of the script on the repo should we use that ? [yY/nN]y

OK, updating, please re-run after updating

Updating tinycore loader with latest updates

Backing up files to /mnt/sda3//mydata.tgz

Done.

tc@box:~$ ./rploader.sh fullupgrade

Performing a full TCRP upgrade

Warning some of your local files will be moved to /home/tc/old/xxxx.2022-Jun-30-04-35

Updating custom_config.json

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 33842  100 33842    0     0  72622      0 --:--:-- --:--:-- --:--:-- 72622

Updating custom_config_jun.json

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100  8954  100  8954    0     0  18970      0 --:--:-- --:--:-- --:--:-- 18970

Updating global_config.json

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100  5692  100  5692    0     0  12537      0 --:--:-- --:--:-- --:--:-- 12537

Updating modules.alias.3.json.gz

mv: cannot stat 'modules.alias.3.json.gz': No such file or directory

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100  5591  100  5591    0     0  17581      0 --:--:-- --:--:-- --:--:-- 17581

Updating modules.alias.4.json.gz

mv: cannot stat 'modules.alias.4.json.gz': No such file or directory

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 89007  100 89007    0     0   252k      0 --:--:-- --:--:-- --:--:--  252k

Updating rpext-index.json

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100  211k  100  211k    0     0   345k      0 --:--:-- --:--:-- --:--:--  345k

Updating user_config.json

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100   431  100   431    0     0    876      0 --:--:-- --:--:-- --:--:--  420k

Updating dtc

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100  146k  100  146k    0     0   281k      0 --:--:-- --:--:-- --:--:--  281k

Updating rploader.sh

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 95994  100 95994    0     0   261k      0 --:--:-- --:--:-- --:--:--  261k

Updating ds1621p.dts

mv: cannot stat 'ds1621p.dts': No such file or directory

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100  3026  100  3026    0     0   6861      0 --:--:-- --:--:-- --:--:--  6861

Updating ds920p.dts

mv: cannot stat 'ds920p.dts': No such file or directory

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

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100  2423  100  2423    0     0   5210      0 --:--:-- --:--:-- --:--:--  5210

Please make sure you are using the latest 1GB img before using backup option

Current /home/tc size is 2.8M , try to keep it less than 1GB as it might not fit into your image

Should i update the sda with your current files [Yy/Nn]

y

Backing up home files to sda : Backing up files to /mnt/sda3//mydata.tgz

Done.

 

tc@box:~$ ./rploader.sh serialgen DS3622xs+

Serial Number for Model : 2150SQRFPN7EW

Mac Address for Model DS3622xs+ : 00:11:32:38:1F:3C

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

y

tc@box:~$ ./rploader.sh satamap

Machine is VIRTUAL Hypervisor=VMware

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 "02:01.0 VMware SATA AHCI controller"

Detected 30 ports/1 drives. Mapping SATABOOT drive after maxdisks

 

Found SCSI/HBA "13:00.0 LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid bus number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (63 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

 

Computed settings:

SataPortMap=1

DiskIdxMap=10

 

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

OK remember to update manually by editing user_config.json file

tc@box:~$ ./rploader.sh satamap

Machine is VIRTUAL Hypervisor=VMware

Found SCSI HBAs, We need to install the SCSI modules

scsi-5.10.3-tinycore64 is already installed!

Succesfully installed SCSI modules

 

Found "02:01.0 VMware SATA AHCI controller"

Detected 30 ports/1 drives. Mapping SATABOOT drive after maxdisks

 

Found SCSI/HBA "13:00.0 LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)" (2 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid bus number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (65 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

lspci: -s: Invalid slot number

Found SCSI/HBA "" (0 drives)

 

Computed settings:

SataPortMap=1

DiskIdxMap=10

 

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": "sensored",

    "mac1": "sensored",

    "SataPortMap": "1",

    "DiskIdxMap": "10"

  },

  "synoinfo": {

    "internalportcfg": "0xffff",

    "maxdisks": "16",

    "support_bde_internal_10g": "no",

    "support_disk_compatibility": "no",

    "support_memory_compatibility": "no"

  },

  "ramdisk_copy": {}

}

tc@box:~$ ./rploader.sh build broadwellnk-7.1.0-42661

Rploader Version : 0.8.0.3

Loader source : https://github.com/pocopico/redpill-load.git Loader Branch : develop

Redpill module source : https://github.com/pocopico/redpill-lkm.git : Redpill module branch : master

Extensions :   redpill-misc

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 NAS GPL Source/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 : 30062022 Local : 30062022

Checking Internet Access -> OK

Checking if a newer version exists on the main repo -> Version is current

Cloning into 'redpill-lkm'...

remote: Enumerating objects: 1257, done.

remote: Counting objects: 100% (329/329), done.

remote: Compressing objects: 100% (44/44), done.

remote: Total 1257 (delta 306), reused 290 (delta 284), pack-reused 928

Receiving objects: 100% (1257/1257), 470.09 KiB | 3.31 MiB/s, done.

Resolving deltas: 100% (869/869), done.

Cloning into 'redpill-load'...

remote: Enumerating objects: 2042, done.

remote: Counting objects: 100% (14/14), done.

remote: Compressing objects: 100% (9/9), done.

remote: Total 2042 (delta 3), reused 12 (delta 3), pack-reused 2028

Receiving objects: 100% (2042/2042), 114.71 MiB | 15.36 MiB/s, done.

Resolving deltas: 100% (955/955), 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 : 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

Got redpill-linux-v4.4.180+.ko

Testing modules.alias.4.json -> File OK

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

It looks that you will need the following modules :

 

 

Found IDE Controller : pciid 8086d00007111  Required Extension :

No matching extension

Found VGA Controller : pciid 15add00000405  Required Extension : vmwgfx

Searching for matching extension for vmwgfx

Found SATA Controller : pciid 15add000007e0  Required Extension :

No matching extension

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

[#] Adding new extension from https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/rpext-index.json...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

######################################################################## 100.0%

[OK]

[#] ========================================== pocopico.vmxnet3 ==========================================

[#] Extension name: vmxnet3

[#] Description: Adds VMware vmxnet3 virtual NIC driver Support

[#] To get help visit: <todo>

[#] Extension preparer/packer: https://github.com/pocopico/rp-ext/tree/main/vmxnet3

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

[#] Update URL: https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/rpext-index.json

[#] Platforms supported: ds1621p_42218 ds918p_41890 dva3221_42661 ds3617xs_42621 ds3617xs_42218 ds920p_42661 ds918p_42661 dva1622_42218 dva1622_42621 ds1621p_42661 ds918p_25556 dva3221_42218 ds3615xs_42661 ds3622xsp_42661 ds3622xsp_42218 ds2422p_42218 dva3221_42621 ds3615xs_41222 ds918p_42621 ds3617xs_42661 ds3615xs_25556 ds920p_42218 ds920p_42621 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621

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

 

Found Ethernet Interface : pciid 15add000007b0 Required Extension : vmxnet3

Searching for matching extension for vmxnet3

Found matching extension :

"https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/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

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  41.3M      0  0:00:08  0:00:08 --:--:-- 42.6M

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/DS3622xs+/7.1.0-42661

Configfile: /home/tc/redpill-load/config/DS3622xs+/7.1.0-42661/config.json

Pat URL : https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_DS3622xs%2B_42661.pat

Downloading pat file from URL : https://global.download.synology.com/download/DSM/release/7.1/42661-1/DSM_DS3622xs%2B_42661.pat

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

                                 Dload  Upload   Total   Spent    Left  Speed

100  352M  100  352M    0     0  52.0M      0  0:00:06  0:00:06 --:--:-- 54.2M

File //mnt/sda3/auxfiles/ds3622xsp_42661.pat, is  encrypted

File //mnt/sda3/auxfiles/ds3622xsp_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/ds3622xsp_42661.pat

File /home/tc/custom-module/ds3622xsp_42661.pat, is  encrypted

Extracting encrypted pat file : /home/tc/custom-module/ds3622xsp_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 ds3622xsp_42661.pat to /home/tc/redpill-load/cache folder

./VERSION

Pat file  sha256sum is : 2e1febc08070d72c3be8e00ab067bfbdacb0748bfe5a8e0b08b72d11e494964d

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 : ds3622xsp_42661

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

[#] Updating ds3622xsp_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 ds3622xsp_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/ds3622xsp_42661/install.sh

##################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_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/ds3622xsp_42661/install-all.sh

##################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_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/ds3622xsp_42661/ttyd

##################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_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/ds3622xsp_42661/install_rd.sh

##################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_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/ds3622xsp_42661/lrzsz.tar.gz

##################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42661/lrzsz.tar.gz file... [OK]

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42661/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42661/... [OK]

[#] Successfully processed recipe for extension redpill-misc platform ds3622xsp_42661

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_42661/lrzsz.tar.gz to /home/tc/redpill-load/custom/extensions/redpill-misc/ds3622xsp_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 dva1622_42661 ds918p_42218 ds2422p_42621 ds1621p_42621 ds3615xs_42621 ds3615xs_42218 ds3622xsp_42621

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

 

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

[#] Updating pocopico.vmxnet3 extension...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/rpext-index.json to /home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json

##################################################################################################################### 100.0%

 

[#] Extension pocopico.vmxnet3 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/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%

[OK]

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

[#] Updating ds3622xsp_42661 platforms extensions...

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/releases/ds3622xsp_42218.json to /home/tc/redpill-load/custom/extensions/_ext_new_rcp.tmp_json

##################################################################################################################### 100.0%

 

[#] Filling-in newly downloaded recipe for extension pocopico.vmxnet3 platform ds3622xsp_42661

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/releases/vmxnet3-4.4.180plus-broadwellnk.tgz to /home/tc/redpill-load/custom/extensions/pocopico.vmxnet3/ds3622xsp_42661/vmxnet3-4.4.180plus-broadwellnk.tgz

##################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.vmxnet3/ds3622xsp_42661/vmxnet3-4.4.180plus-broadwellnk.tgz file... [OK]

[#] Unpacking files from /home/tc/redpill-load/custom/extensions/pocopico.vmxnet3/ds3622xsp_42661/vmxnet3-4.4.180plus-broadwellnk.tgz to /home/tc/redpill-load/custom/extensions/pocopico.vmxnet3/ds3622xsp_42661/... [OK]

[#] Downloading remote file https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/src/check-vmxnet3.sh to /home/tc/redpill-load/custom/extensions/pocopico.vmxnet3/ds3622xsp_42661/check-vmxnet3.sh

##################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/pocopico.vmxnet3/ds3622xsp_42661/check-vmxnet3.sh file... [OK]

[#] Successfully processed recipe for extension pocopico.vmxnet3 platform ds3622xsp_42661

[#] 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 ds3622xsp_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/ds3622xsp_42661/boot-wait.sh

##################################################################################################################### 100.0%

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3622xsp_42661/boot-wait.sh file... [OK]

[#] Successfully processed recipe for extension redpill-boot-wait platform ds3622xsp_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 ds3622xsp_42661 platform is already up to date

[#] Verifying /home/tc/redpill-load/custom/extensions/redpill-boot-wait/ds3622xsp_42661/boot-wait.sh file... [OK]

[#] Updating extensions... [OK]

[#] Verifying /home/tc/redpill-load/cache/ds3622xsp_42661.pat file... [OK]

[#] Unpacking /home/tc/redpill-load/cache/ds3622xsp_42661.pat file to /home/tc/redpill-load/build/1656563970/pat-ds3622xsp_42661-unpacked... [OK]

[#] Verifying /home/tc/redpill-load/build/1656563970/pat-ds3622xsp_42661-unpacked/zImage file... [OK]

[#] Patching /home/tc/redpill-load/build/1656563970/pat-ds3622xsp_42661-unpacked/zImage to /home/tc/redpill-load/build/1656563970/zImage-patched... [OK]

[#] Verifying /home/tc/redpill-load/build/1656563970/pat-ds3622xsp_42661-unpacked/rd.gz file... [OK]

[#] Unpacking /home/tc/redpill-load/build/1656563970/pat-ds3622xsp_42661-unpacked/rd.gz file to /home/tc/redpill-load/build/1656563970/rd-ds3622xsp_42661-unpacked... [OK]

[#] Apply patches to /home/tc/redpill-load/build/1656563970/rd-ds3622xsp_42661-unpacked... [OK]

[#] Patching config files in ramdisk... [OK]

[#] Adding OS config patching... [OK]

[#] Repacking ramdisk to /home/tc/redpill-load/build/1656563970/rd-patched-ds3622xsp_42661.gz... [OK]

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

[#] Dumping ds3622xsp_42661 platform extensions to /home/tc/redpill-load/build/1656563970/custom-initrd/exts... [OK]

[#] Packing custom ramdisk layer to /home/tc/redpill-load/build/1656563970/custom.gz... [OK]

[#] Generating GRUB config... [OK]

[#] Creating loader image at loader.img... [OK]

[#] Cleaning up... [OK]

Mounting /dev/sda1 to localdiskp1

/dev/sda2 localdiskp2

Creating tinycore entry

menuentry 'Tiny Core Image Build' {

        savedefault

        set root=(hd0,msdos3)

        echo Loading Linux...

        linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791

        echo Loading initramfs...

        initrd /corepure64.gz

        echo Booting TinyCore for loader creation

}

Entries in Localdisk bootloader :

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

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

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

menuentry 'Tiny Core Image Build' {

Machine is VIRTUAL Hypervisor=VMware

Setting default boot entry to SATA

Caching files for future use

Found /home/tc/redpill-load/cache/ds3622xsp_42661.pat, copying to cache directory : /mnt/sda3/auxfiles

Saving user session for future use. Saving current extensions  -> OK !

Saving current user_config.json  -> OK !

tc@box:~$ exit

Connection to 10.69.197.144 closed.

T-Mac@Tylers-MacBook-Air ~ %       

 

Edited by thisisthedangtime
Link to comment
Share on other sites

It seems the error is in the installer:

 

It looks that you will need the following modules : 

 

 

Found IDE Controller : pciid 8086d00007111  Required Extension : 

No matching extension

Found VGA Controller : pciid 15add00000405  Required Extension : vmwgfx

Searching for matching extension for vmwgfx

Found SATA Controller : pciid 15add000007e0  Required Extension : 

No matching extension

 

 

It looks like I just need the extension, probably mpt2sas and mpt3sas

 

 

Link to comment
Share on other sites

Those are normal error messages and nothing to do with your LSI HBA.

 

But if you are getting no drives recognized from the LSI, the driver isn't loaded or isn't working.  You're on the right track with manual add of extensions.  You can see what DSM sees if you load the TCRP console in junior mode (at install screen).  It will probably show you that mpt2sas/mpt3sas are not loaded.  That's what needs fixing.

 

33 minutes ago, thisisthedangtime said:

Here, the driver downloads but doesn't seem to initialize, so I deny the update because it doesn't see the two drives I have plugged in.

Again this doesn't really matter because satamap is unaffected by SCSI/SAS.  You just need a basic satamap in place, which you finally did.

Link to comment
Share on other sites

Thanks @flyride. Just to remove any other potential errors from the equation, I recreated the machine once again. I used all the commands above, with the addition of the mpt3sas driver:

./rploader.sh ext broadwellnk-7.1.0-42661 add https://raw.githubusercontent.com/pocopico/rp-ext/master/mpt3sas/rpext-index.json

 

and then also used the following command to adjust the DiskIdxMap=1000

 

vi user_config.json

 

Now it works! Seriously big thanks. I was ready to install something else, incredibly frustrating. Can you explain why the DiskIdxMap is 1000? Just looking to understand what that change does. Perhaps it can help someone else down the line understand how that string is interpreted.

  • Thanks 1
Link to comment
Share on other sites

You need the mapping beyond MaxDisks for Synoboot, but the mapping index needs to be reset so that the non-SATA ports can fill in at the end.  There's a bug in the algorithm when the right combination of SATA and HBA's are in the system.  I'll update it and get it over to @pocopico

Link to comment
Share on other sites

At mid may, the satamap detect did detect all hdd connected directly to the lsi. Now this has been removed and it give the problem you got. i do put the dsm install on the sata1:0 and told 3hdd for the satamap. then install dsm pat.  and at reboot, go change the grub and add 8 at the end of satamap. i have 3hdd for scratch or virtual other and 4 to 12 for the one on the lsi.  so : 138 and diskid 100003

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.   Paste as plain text instead

  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.

 Share

×
×
  • Create New...