Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

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.

Change default kernel config to enable CONFIG_MODULE_FORCE_UNLOAD

Featured Replies

Dear developers!

Could you please consider possibility to change default kernel config, used in release versions of Armbian, so it enable to forcefully unload of kernel modules ( to do this config option CONFIG_MODULE_FORCE_UNLOAD needs to be enabled). This is seldom but regular needs for me and I beleive for many others in case of external hardware malfunctions, for example.

 

Previosly  I have used selfcompiled version of Armbian 5.15 where named option was enabled and anything was fine. Now I have upgraded to Armbian 21.08.1 Buster by installing release version of it because it seems dramatically more complicated to compile by myself.

 

Now in case of freezes of my bluetooth adapter which connects to gsm phone to send some alerts, the only way to restore its functioning is to do system restart, while uloading an reloading (rmmod -f btusb; moprobe btusb) bluetooth driver was enough. 

  • Author
3 hours ago, Werner said:

Provide PR across all kernel configs here: https://github.com/armbian/build

 

Looks like some of targets have this option already enabled:

linux-imx6-current.config         # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-imx6-edge.config            # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-imx7d-current.config        # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-imx7d-legacy.config         # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-jetson-nano-current.config  # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-jetson-nano-edge.config     # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-jetson-nano-legacy.config   # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-meson64-current.config      # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-meson64-edge.config         # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-meson64-legacy.config       # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-meson-current.config        # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-meson-edge.config           # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-meson-legacy.config         # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-mt7623-edge.config          # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-mt7623-legacy.config        # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-mvebu64-current.config      # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-mvebu64-edge.config         # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-mvebu64-legacy.config       # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-mvebu-current.config        # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-mvebu-edge.config           # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-mvebu-legacy.config         # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-odroidxu4-current.config    CONFIG_MODULE_FORCE_UNLOAD=y
linux-odroidxu4-edge.config       CONFIG_MODULE_FORCE_UNLOAD=y
linux-odroidxu4-legacy.config     CONFIG_MODULE_FORCE_UNLOAD=y
linux-rk322x-current.config       CONFIG_MODULE_FORCE_UNLOAD=y
linux-rk322x-edge.config          CONFIG_MODULE_FORCE_UNLOAD=y
linux-rk322x-legacy.config        CONFIG_MODULE_FORCE_UNLOAD=y
linux-rk3399-legacy.config        CONFIG_MODULE_FORCE_UNLOAD=y
linux-rk35xx-legacy.config        CONFIG_MODULE_FORCE_UNLOAD=y
linux-rockchip64-current.config   # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-rockchip64-edge.config      # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-rockchip64-legacy.config    CONFIG_MODULE_FORCE_UNLOAD=y
linux-rockchip-current.config     CONFIG_MODULE_FORCE_UNLOAD=y
linux-rockchip-edge.config        CONFIG_MODULE_FORCE_UNLOAD=y
linux-rockchip-legacy.config      CONFIG_MODULE_FORCE_UNLOAD=y
linux-rockpis-legacy.config       # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-s5p6818-legacy.config       CONFIG_MODULE_FORCE_UNLOAD=y
linux-sun50iw9-legacy.config      CONFIG_MODULE_FORCE_UNLOAD=y
linux-sunxi64-current.config      # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-sunxi64-edge.config         # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-sunxi64-legacy.config       # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-sunxi-current.config        # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-sunxi-edge.config           # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-sunxi-legacy.config         # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-virtual-current.config      # CONFIG_MODULE_FORCE_UNLOAD is not set
linux-zynq-legacy.config          # CONFIG_MODULE_FORCE_UNLOAD is not set

 

 

Due to limited environment I can't do pull request on github, so I'm attaching patched configs here for remaining of them.

Configs-for-CONFIG_MODULE_FORCE_UNLOAD.7z

Guest
This topic is now 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.