Jump to content
XPEnology Community

Adding Mellanox ConnectX-3 Pro MCX312B-XCCT extension


7upTurbo

Recommended Posts

Hope all ya tech whiz are doing fine. I am currently running DS920+ with DSM 7.1-42661 Update 1 on TCRP. Recently I purchased a Mellanox ConnectX-3 Pro Dual Port 10Gb SFP Network Interface Card (MCX312B-XCCT) and chucked it in the machine but nothing comes up in my Network Interface tab. I searched and i found out some of the Network cards needs additional drivers and dependencies must be added by extension in the Tiny Core. So my first question is, if i want to add this extension, do I need to start from the top of this tutorial ? if not, how can I add the extension which contains the drivers for MCX312B-XCCT without reinstall the whole thing? 

Link to comment
Share on other sites

15 hours ago, painkiller895 said:

It will not work with DS920

 

i'd say "yet" as it would bei a minor task to add it to 920p as extension too

 

connect-x3 would be this pci id https://pci-ids.ucw.cz/read/PC/15b3/1003

and mlx4 driver contains this id

https://github.com/pocopico/rp-ext/tree/main/mlx4_core/releases

 

when looking into tcrp extension repository then there is 918p already and there is no real difference between the kernel of 918p and 920p, i guess it should even be possible to just load the 918p modules in 920p

 

from whats present in tcrp loader it would be closer to use 918p instead of 920p to get the x3 working

it would also be possible to use arpl loader, its geminilake (920p)  driver set contains mlx4 driver

https://github.com/fbelavenuto/arpl/blob/main/files/board/arpl/p3/modules/geminilake-4.4.180.tgz

 

  • Confused 1
Link to comment
Share on other sites

On 11/20/2022 at 1:11 AM, IG-88 said:

connect-x3 would be this pci id https://pci-ids.ucw.cz/read/PC/15b3/1003

and mlx4 driver contains this id

https://github.com/pocopico/rp-ext/tree/main/mlx4_core/releases

 

 

none of those extensions are for 920p geminilake-7.1.0-42661 ! or can I use a different one?

 

okay, the moment of truth, I'm not a expert like most of you guys are and I tried booting into tcrp. Since my knowledge on this whole thing is not sufficient, I tried to add necessary extension by running "./rploader.sh listmods geminilake-7.1.0-42661" and I keep getting "Error: Platform not found"! what am I doing wrong here? 

 

p.s. in my user_config.json the model is ds3622xs+ while when i boot into my DSM, the info tab says im using ds920+ ! its probably bcoz i migrated from ds3622xs+ but shouldnt this info be updated?

Link to comment
Share on other sites

14 hours ago, 7upTurbo said:

okay, the moment of truth, I'm not a expert like most of you guys are and I tried booting into tcrp. Since my knowledge on this whole thing is not sufficient, I tried to add necessary extension by running "./rploader.sh listmods geminilake-7.1.0-42661" and I keep getting "Error: Platform not found"! what am I doing wrong here? 

its not normal to to things like that, so there are things in place to prevent that

"just load" was not meant to be loading any extension, it was more low level like extracting the kernel module (*.ko) file, copy it to a place in the system partition and load it manually with "insmod", just to test if its working or not, apollolake and geminilake use the same kernel and are more or less the same when it comes to the cpu, so kernel settings used to compile the kernel and its modules will be the same, usually its very strict handled and you would only use modules compiled with the same kernel version and even the same settings but depending on the case the settings thing can be less of a problem (you might run into more problems if you use kernel modules made for a different system like a ryzen based unit

 

in theory there is not much difference between 918+ and 920+, so you could migrate (for now) to 918+, use the drivers you need and if 920+ gets the driver you need or any other unit is more interesting you can migrate to that

going to 918+ can be done more "by the book" with a normal howto and would only have steps you have already done before (if you hat 3622 before 920+)

if you go 918+ you might need to redo steps about codes and hardware transcoding as it would be a  new install (files in the system partition are overwritten) and if you generated/used a 920+ special serial number then you need a new one for 918+

 

  • Like 1
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...