how to slove kmod incompatibility issue

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

Post Reply
yangyang
Posts: 2
Joined: Sun May 22, 2016 9:43 am

how to slove kmod incompatibility issue

Post 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!
Last edited by yangyang on Sun May 22, 2016 10:20 am, edited 1 time in total.

Lantis
Moderator
Posts: 6751
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: how to slove kmod incompatibility issue

Post 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.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

yangyang
Posts: 2
Joined: Sun May 22, 2016 9:43 am

Re: how to slove kmod incompatibility issue

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

Lantis
Moderator
Posts: 6751
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: how to slove kmod incompatibility issue

Post 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.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply