Page 1 of 1

how to slove kmod incompatibility issue

Posted: Sun May 22, 2016 9:57 am
by yangyang
It's odd seems to me that binary image I downloaded from gargoyle website is kmod compatible with openwrt offcial packages. Beacuse I'm using a modfied TP-Link 1041N router with USB port. I need to modify source code and build myself. But the hash code is always incompatibility with openwrt packages. Here's what I did:

Code: Select all

tar xvf gargoyle_1.8.1-src.tar.gz && cd gargoyle
modify gargoyle/custom-src/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1041n-v2.c
make custom
What should do to make this right? Please help, thank you!

Re: how to slove kmod incompatibility issue

Posted: Sun May 22, 2016 10:11 am
by Lantis
The build will be using a different kernel version to openwrt packages.
Just include the ones you want.
Or build every package and install them from a local repository.

Re: how to slove kmod incompatibility issue

Posted: Sun May 22, 2016 11:52 am
by yangyang
I followed instruction from "http://wiki.openwrt.org/doc/howtobuild/tl-mr3420.build" and fixed this.

But can you tell me why can Gargoyle offcial images use openwrt repository kernel module without incompatibility issue? I couldn't make sense of it.

Re: how to slove kmod incompatibility issue

Posted: Sun May 22, 2016 5:34 pm
by Lantis
Usually an openwrt branch is just about finalised by the time gargoyle moves to it. Therefore kernel updates are not likely.

In the case of chaos calmer, since we moved to it there has been 6 minor kernel updates.
The latest kernel version is 3.18.29, but the openwrt repository holds 3.18.27 hence, incompatible.