Redpill - extension driver/modules request


Recommended Posts

Hi all,

 

it looks that extensions are somehow stable and we can safely assume that they will not change too much.

 

So let’s gather a list of essential drivers/modules or whatever to be created 

Link to post
Share on other sites

Hehe, you don't want much, do you? 😃

 

I think AMS relies on a lot of hardware monitoring that isn't implemented in redpill yet, so it may be a bit early yet.

 

Also, it would be really helpful when requesting driver, etc. for others to prepare as extensions if you could provide links to source

Link to post
Share on other sites
Hehe, you don't want much, do you?
 
I think AMS relies on a lot of hardware monitoring that isn't implemented in redpill yet, so it may be a bit early yet.
 
Also, it would be really helpful when requesting driver, etc. for others to prepare as extensions if you could provide links to source

oh i didn’t know about that? but in jun loader it was implemented? on this forum people spreading ams.spk which have ams.ko file so i will get that


Sent from my iPhone using Tapatalk
Link to post
Share on other sites
16 minutes ago, dreamtek said:

Can you made a ext of ixgbe and ixgbevf? I have a x520 da1 on my proxmox and want to use it for test 10Gb network. Thanks

And the igbvf may be also useful for someone using i350 / 82576 nic.

 

Just uploaded, please check 

Link to post
Share on other sites
31 minutes ago, ozef said:

Every drivers needed for HP Microserv GEN8 would be awesome :)

Everything but the NIC driver is included in the default build, and the tg3 NIC driver is already in pocopico's repo:

https://raw.githubusercontent.com/pocopico/rp-ext/master/tg3/rpext-index.json

 

I see that pocopico has issued PRs for some of their extensions but they're still waiting on @ThorGroup to merge them.

  • Like 1
  • Thanks 1
Link to post
Share on other sites

I think the bare minimal is a set of drivers keep up-to-date for virtualization on qmeu for basic functioning and immediate update-proof.

Then the SAS / LSI driver for passthrough TI mode as most of us are running it for storage purpose.

 

My concerns is the ability to catch up with the update from DSM version if a huge database of drivers needs to be maintained.  Its not about feature, but security if we would like to use it in production environment.  It would be quite scary to have a production system running with old version known to have serious exploit.

Link to post
Share on other sites
21 hours ago, pocopico said:

 

I dont know which platform you are using , anyway i have update all platforms to latest, can you try again ? 

I tried the latest version,Still can't drive.

I created dsm7.0.1 in proxmox. The network card is Intel x540 SR-IOV passthrough.

I tried ixgbevf and ixgbe. Finally, the network was not found.

Link to post
Share on other sites
3 hours ago, sanyle said:

I tried the latest version,Still can't drive.

I created dsm7.0.1 in proxmox. The network card is Intel x540 SR-IOV passthrough.

I tried ixgbevf and ixgbe. Finally, the network was not found.

 

Did you copy the ixge into the vm and could'nt load it ?

Link to post
Share on other sites

Well FYI,

 

I’ve figured out why some compiled modules when compiled get that big. E.g ixgbe 11MB or igb 8MB. 

CONFIG_SLUB_DEBUG

CONFIG_DEBUG_INFO

 

are enabled on some of the syno released kernel sources and tool chain. When disabled the ixgbe size gets down to 400k vs 11MB 

 

This actually means the current free space on partition 1 on the default boot_image_template should be enough.

 

I will need to recompile and test again some extensions. This needs some extra effort, any help is welcome so PM me if available.

Link to post
Share on other sites
On 10/10/2021 at 4:36 PM, pocopico said:

Hi all,

 

it looks that extensions are somehow stable and we can safely assume that they will not change too much.

 

So let’s gather a list of essential drivers/modules or whatever to be created 

 

Thank you, post here to keep repill's topic clean.

 

As mcdull said below, is it possible that make a tool(docker) to compile .ko from driver source code and syno kernel code automatically?

For example:     ./make-driver.sh ds918p_42218 aacraid

Just need to keep the tools alive, and don't need to update .ko for every syno kernel update.

On 10/14/2021 at 10:03 AM, mcdull said:

I think the bare minimal is a set of drivers keep up-to-date for virtualization on qmeu for basic functioning and immediate update-proof.

Then the SAS / LSI driver for passthrough TI mode as most of us are running it for storage purpose.

 

My concerns is the ability to catch up with the update from DSM version if a huge database of drivers needs to be maintained.  Its not about feature, but security if we would like to use it in production environment.  It would be quite scary to have a production system running with old version known to have serious exploit.

 

Link to post
Share on other sites

We had this idea also. Actually I’m using a mix of @haydibe toolchain and a local folder.

 

The main issue with the extensions is the testing more than the compilation. 
 

The 918 extensions need to be built with the syno toolkit and the tool chain for the modules to load correctly during the boot process otherwise the modules fail to load with “Unknown rela relocation: 4” message and you enter an install loop. 
 

On top of that, the modules that fail to load during boot, load without any issue when I tested manually to load and unload on another system using insmod/rmmod 

 

Some module sources outside the kernel tree, need manual patching to compile on different and very old kernel versions the syno uses. Most of the modules and extensions released on my repo were compiled against either vanilla kernel or syno kernel. 
 

i would like someone that has more experience on modules like @IG-88 to jump in at some point. 

 

Also we need to wait for beta release as something with the extensions might change in the near future.

Edited by pocopico
Link to post
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.