Emeryth / openwrt-zsun

OpenWrt 15.05 port for the ZSUN WiFi SD Card Reader
GNU General Public License v2.0
97 stars 28 forks source link

Official Kernel Modules in Repository #8

Open TheExpertNoob opened 8 years ago

TheExpertNoob commented 8 years ago

What is the reasoning behind the official kernel modules in the repository not working with zsun? I'm trying to get kmod-batman-adv to compile but come up with the error. types.h:386:26: error: expected ')' before numeric constant DECLARE_EWMA(throughput, 1024, 8)

I did test with the official kernel module and had to recover via u-boot and a serial connection.

TheExpertNoob commented 8 years ago

I can however, install a kernel module once the image is built with opkg and it works just fine. At least kmod-fs-isofs did. kmod-batman-adv would not install because of a missing kernel dependency/

gdm85 commented 7 years ago

Probably some combinations have bugs in the menuconfig dependencies. You could try the cherry-picked fork I opened here: https://github.com/gdm85/openwrt

However I am not doing much progress since the .config used for the ZSUN wifi has not been published, do you perhaps have a working one? I think the default will not work.

gdm85 commented 7 years ago

@TheExpertNoob when building with this repo's defaults I get:

 opkg install kmod-fs-vfat_3.18.20-1_ar71xx.ipk 
Installing kmod-fs-vfat (3.18.20-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-vfat:
 *  kernel (= 3.18.20-1-ed08ac5a4b0732cab7986f151b63496b) * 
 * opkg_install_cmd: Cannot install package kmod-fs-vfat.

Did you also get this error?

madIlama commented 7 years ago

@gdm85 hi,sorry for bump but i got same error for installing kmod module:

Installing kmod-usb-storage-extras (3.18.20-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base/kmod-usb-storage-extras_3.18.20-1_ar71xx.ipk.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage-extras:
 *  kernel (= 3.18.20-1-7bed08fa9c06eb8089e82c200340ec66) * 
 * opkg_install_cmd: Cannot install package kmod-usb-storage-extras.

I want to try exroot on sdcard,but this module always failed to install any solution for this? where i can find source (and do custom build) for those module?