Jump to content
XPEnology Community

Mellanox ConnectX-4 or connectx-5


vinhdt

Recommended Posts

6 hours ago, vinhdt said:

Does Mellanox connectx-4 or Mellanox connectx-5 sfp28 25gb card works with either Tinycore Redpill or ARPL? Thanks.

seem not the same even inside one loader (like tcrp apollolake mlx4 and mlx5, geminilake mlx4 only)

you might need to check for your target here

https://github.com/pocopico/redpill-modules

https://github.com/fbelavenuto/arpl-modules

https://github.com/AuxXxilium/arc-modules

 

there is also mlx support in dsm itselft for buisiness units having open pcie slots, in that case synology supports extending with nic's from there list and there are mlx adapters on that list, so you can check that online (no mlx5 there)

https://www.synology.com/en-global/compatibility?search_by=category&category=network_interface_cards&p=1&change_log_p=1

 

as kernel 4.4.180 is base for dsm 7.0/7.1 (expect sa6400 that comes with kernel 5.x and some old units like 3615 that still have 3.10) and there is a mlx4 driver inside it should be possible to have that (i did have mlx5 in my extra drives for 918+ on 6.2.3 and that was also kernel 4.4 based so it should be possible to make drivers for mlx5)

so you might need to persuade the dev in question to add at least the original kernel drivers to the platform you need arpl dev lately announced he will not be available much for the net time so look for tcrp and arc when it needs changes)

 

bottom line would be connectx-4 should work widely on business platforms as they are sold by synology, safe bet's are the ones listed from the link above but if any unit in a platform needs it all will have the driver because all units in the platform use the same kernel config and for that get the same driver set from the kernel)

  • Like 1
Link to comment
Share on other sites

Thank you very much, I was able to get DS3617xs to detect my Mellanox ConnectX-4 25Gbe sfp28 using ARPL. I did not have to add the mlx4 extension driver and it still detect my 25gb card. I'm very excited to get it on my Unifi aggregated switch with four 25gb ports. I will set it up with virtualize pfsense on this DS3617xs. I will try to get a link for you to see my brand new server. Stay tune.

Edited by vinhdt
Link to comment
Share on other sites

Now that I have DS3617xs working in ARPL, I wanted to try DS920+ using TCRP latest version v0.9.4.0 but I keep getting the error below when try to add the mlx4 extension driver to DS920+. I use this command to add the mlx4 driver: 

./rploader.sh ext ds920p-7.1.1-42962 add https://github.com/pocopico/rp-ext/blob/main/mlx4_core/rpext-index.json

 

[-] JSON file "/home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json" is invalid:

parse error: Invalid numeric literal at line 8, column 10
[-] Extension loaded from https://github.com/pocopico/rp-ext/blob/main/mlx4_core/rpext-index.json (id: ) is invalid: index JSON file is unparsable. Please report that to the extension maintainer via help URL
[!] The index file for https://github.com/pocopico/rp-ext/blob/main/mlx4_core/rpext-index.json extension is invalid - please report that to the extension maintainer

*** Process will exit ***

 

2.png

Link to comment
Share on other sites

Also, getting this error below when try to add mlx5 driver to DS920+ using TCRP. I'm using this command to add mlx5 driver.

./rploader.sh ext ds920p-7.1.1-42962 add https://github.com/pocopico/rp-ext/blob/main/mlx5_core/rpext-index.json
 

[-] JSON file "/home/tc/redpill-load/custom/extensions/_new_ext_index.tmp_json" is invalid:

parse error: Invalid numeric literal at line 8, column 10
[-] Extension loaded from https://github.com/pocopico/rp-ext/blob/main/mlx5_core/rpext-index.json (id: ) is invalid: index JSON file is unparsable. Please report that to the extension maintainer via help URL
[!] The index file for https://github.com/pocopico/rp-ext/blob/main/mlx5_core/rpext-index.json extension is invalid - please report that to the extension maintainer

*** Process will exit ***

 

 

3.png

Link to comment
Share on other sites

Recently, there was a dependency problem with the mlx4_core module in ARPL's EUDEV method, and a solution to solve this problem was suggested in my M SHELL.

 

The result is the 1st success step, and the 2nd reconfirmation test is in progress.

 

Let's start with shibby's inquiry and look at the contents below.

 

https://xpenology.com/forum/topic/61839-tinycore-redpill-loader-build-support-tool-m-shell/?do=findComment&comment=441027

 

Since M SHELL for TCRP has a slightly different load-building method related to modules, the above problems in the original TCRP can be skipped.

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

Looks like no one read the issue of shibby's mlx4_core module.

 

I'll explain it myself.

 

Shibby reported that the mlx4_core and mlx4_en modules, which have dependencies in ARPL using eudev, are not loaded correctly.

 

ARPL's eudev was expected to handle dependencies smartly, but in this case it didn't.

 

In the end, He succeeded by sequentially insmod-processing mlx4_core and mlx4_en, which are the processing methods of pocopico.

 

And also, because the ddsml method in my m shell processes dependencies with modprobe mlx4_core, shibby confirmed in this post that up to mlx4_en was processed without problems.

 

 

  • Like 2
Link to comment
Share on other sites

Sorry for this noobie questions, maybe I'm confused with ARPL and TCRP. ARPL is a graphical web interface and TCRP where I can ssh into. How do I enable m-shell DDSML en_US Friend for ARPL DS920+ after I booted from usb flash drive? Are the commands the same for both TCRP and ARPL ? Are the commands correct commands for TCRP below? Am I missing any commands in between for the DS920+?

 

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

curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz" --output my.sh.gz; tar -zxvf my.sh.gz;

./my.sh

./my.sh DS920+J jumkey noclean

./myv.sh DS920+J

 

How can I get to this screen below after I booted and ssh into TCRP? Sorry for the noob questions. I went the easy way and just load ARPL DS3622xs and it just works.

 

1.PNG.a8e117196aea0cd159e0e986fc18b0c0.png

Edited by vinhdt
Link to comment
Share on other sites

8 hours ago, vinhdt said:

Sorry for this noobie questions, maybe I'm confused with ARPL and TCRP. ARPL is a graphical web interface and TCRP where I can ssh into. How do I enable m-shell DDSML en_US Friend for ARPL DS920+ after I booted from usb flash drive? Are the commands the same for both TCRP and ARPL ? Are the commands correct commands for TCRP below? Am I missing any commands in between for the DS920+?

 

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

curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz" --output my.sh.gz; tar -zxvf my.sh.gz;

./my.sh

./my.sh DS920+J jumkey noclean

./myv.sh DS920+J

 

How can I get to this screen below after I booted and ssh into TCRP? Sorry for the noob questions. I went the easy way and just load ARPL DS3622xs and it just works.

 

1.PNG.a8e117196aea0cd159e0e986fc18b0c0.png

 

 

ARPL and M SHELL for TCRP are different loaders.
Do not mix and use the two loader programs.
Download the latest version of M SHELL for TCRP from the location below and record it to the USB stick again.


https://github.com/PeterSuh-Q3/tinycore-redpill/releases/tag/v0.9.4.3-2


A screen identical to the screenshot you showed will appear in the upper right corner.
You can proceed in the order shown in the menu.
The default module loading method will be set to DDSML.
(If not, please change it.)

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

  • 8 months later...

he can create a pool with 1 nvme disk or 4 x sata ssd in raid 0  or 6xHDD in Raid 0 to burn this ******* over the network booom 

what is better as 25Gbit card yep correct 100 Gbit card :-)

 

Now you can create smb mutlichannel with 2 cables at the swicht and two on the server = 50 Gbit 

https://community.synology.com/enu/forum/1/post/157265

 

Edited by nemesis122
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...