Installing USB storage driver, kmod compatibility error

i want to use usb drive for transmission. when try to install kmod-usb-storage give me this error.

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.98-1-8a84c8c97b3c0f37cb40bd9236daddd5) for kmod-usb-storage
  • satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage:
  • kernel (= 5.15.98-1-8a84c8c97b3c0f37cb40bd9236daddd5)
  • opkg_install_cmd: Cannot install package kmod-usb-storage.

I searched forum and found this guide:

I want to try solution2

  • Solution #2: Try to install via opkg with option --force-depends (=Install/remove despite failed dependencies). Mind that this is likely to fail for kernel related packages (kmods). Note that failing/incompatible kernel modules may cause the device to crash or not to reboot properly.

But i dont want to take a risk of brick this device. Anyone tried here?

Another method to consider is to build a custom image with that module included.

AttendedSysUpgrade and ImageBuilder can do that.

There is always that risk. That's why there is the warning. If kernel has been complied with slightly different options, there may be binary incompatibility.

The risk is build specific, so any success/failure by others does not guarantee anything for you.

But in general, if you try installing a driver compiled for the same kernel version (5.15.98) as your current kernel, and the kernel and module have been compiled with default options (typical), the risk is small.

Add kmod & others as luci in windows "Personalize packages " with OpenWrt Firmware Selector