Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Add TSL kernel module (ktsl) on Unraid 6.9.1

Featured Replies

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

 

 

  1. It appears that Unraid 6.9.1's kernel does not have CONFIG_TLS set.
  2. When it is set, the way to activate offload seems to be:
ethtool -K ethX tls-hw-tx-offload on

 

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...

  • Author
20 hours ago, doron said:

 


ethtool -K ethX tls-hw-tx-offload on

 

Thank you @doron, I did not know this command

  • Author

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 ?

  • Author

@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 ?

 

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).

  • Author

Thank you, I did not know the 'm' config, so I use this config:

 

export CONFIG_TLS=y
export CONFIG_TLS_DEVICE=m

 

But the file seems not to be generated nor the "*.ko" files.

 

I attached the log, if someone can help me.

 

build-tls.log

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.