Add TSL kernel module (ktsl) on Unraid 6.9.1


Recommended Posts

Hi,

 

I do not know how to activate the TSL kernel module (ktsl) on Unraid 6.9.1.

I already found some post but seems to be outdated.

 

I tried:

 

$ modprobe tls
modprobe: FATAL: Module tls not found in directory /lib/modules/5.10.21-Unraid

 

So it seems that Unraid 6.9.1 is based on linux kernel 5.10.21.

 

The TLS feature seems to be activated since linux kernel 4.13 and should be enable with those flags (CONFIG_TLS=y and CONFIG_TLS_DEVICE=y)

 

I learnt that Unraid is base on https://packages.slackware.com but I do not know on which version ?

Nor if it is 64 bits or not ?

 

Does someone have any idea to achieve that ?

 

Thanks

 

 

Link to comment
6 hours ago, Starli0n said:

Nor if it is 64 bits or not ?

Unraid only runs on systems that actually support the 64bit instruction set, yes it is 64bit.

 

6 hours ago, Starli0n said:

Does someone have any idea to achieve that ?

Search for the Unraid-Kernel-Helper and you can customize Unraid how you like it, but you have to enable the Custom build mode and do it by hand with the provided build script.

 

6 hours ago, Starli0n said:

I do not know how to activate the TSL kernel module (ktsl) on Unraid 6.9.1.

You know that this can lead to many problems and also to Kernel panics?

HW offload is a little complicated in Linux and some say that is even not fully supported...

Link to comment

Thank you @ich777, I thought to avoid rebuilding the kernel as I just want a module but I think I will not be able to do otherwise.

 

Are you sure that activate this feature could result a Kernel panic as it seems that ktls is activated out of the box on other distro ?

Link to comment

@ich777, I just realize that you are the author of the module.

 

I built the kernel in Custom mode and I added the two variables at the beginning of the script:

 

export CONFIG_TLS=y
export CONFIG_TLS_DEVICE=y

 

it seems to work fine but I do not see the TLS module in a separate file in the output dir.

Does it means that something went wrong or the modules are directly included into the main files ?

 

My aim would be not to replace the whole kernel but only to install/add the ktls compiled module.

 

Do you have any advice on this ?

 

Link to comment
2 hours ago, Starli0n said:

 


export CONFIG_TLS=y
export CONFIG_TLS_DEVICE=y

 

it seems to work fine but I do not see the TLS module in a separate file in the output dir.

Does it means that something went wrong or the modules are directly included into the main files ?

 

If you want it as a separate module, you need to specify 

export CONFIG_TLS_DEVICE=m

 

When you specify it as "y", it is compiled into the kernel (becomes part of it).

  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.