OpenWrt Forum Archive

Topic: Installing kernel modules

The content of this topic has been archived on 28 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have problems installing any kernel module as it seems, they all have a dependency to a kernel with same version but different version ending, see below:

root@OpenWrt:/# opkg install kmod-usb-serial coreutils-stty
Installing kmod-usb-serial (3.3.8-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/kmod-usb-serial_3.3.8-1_ar71xx.ipk.
Package coreutils-stty (8.16-1) installed in root is up to date.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-serial:
 *      kernel (= 3.3.8-1-d6597ebf6203328d3519ea3c3371a493) * 
 * opkg_install_cmd: Cannot install package kmod-usb-serial.

So, I'm having:

root@OpenWrt:/# opkg list-installed| grep kernel
kernel - 3.3.8-1-cf032f02071b358867cb4d8f778785c2

I was under the impression that I will be able to install all packages for my openwrt version (12.09) but apparently not, can someone shed light on this.

Why do I have a slightly different kernel version?
What is the normal way out of this situation?

I need to install the prolific drivers so I can connect to another device UART console.



Thanks for the help...

I had the same problem with a custom build kernel. You can install the kernel usb with the option "--force-depends". Just type "opkg" to see all available options and their explanations. For course that doesn't gaurantee that the module will actually work. But if kmod-usb-serial fails to load that should not cause any major problems. But anyway, use force-depens at your own risk.

Hmm, yes, I tried to force but I get an exception and device wont boot.

But I'm really interested to understand how it works, why I can't install kernel modules, its crucial.

I need to load the pl2303 kernel module for the prolific usb to serial converter, its not like i have a choice to skip it, I have to have it work as it part of a project.

(Last edited by sminded on 28 Mar 2016, 20:04)

The discussion might have continued from here.