opened
ecsv
username_0
Collect module symvers for all external modules to make them available
for modpost. This fixes dependencies for most external modules.

    root@ffv-525400123456:/# modinfo batman-adv
    module:         /lib/modules/4.4.153/batman-adv.ko
    alias:          net-pf-16-proto-16-family-batadv
    alias:          rtnl-link-batadv
    version:        openwrt-2018.1-5
    description:    B.A.T.M.A.N. advanced
    author:         Marek Lindner <mareklindner@neomailbox.ch>, Simon Wunderlich <sw@simonwunderlich.de>
    license:        GPL
    depends:

After:

    root@ffv-525400123456:/# modinfo batman-adv
    module:         /lib/modules/4.4.153/batman-adv.ko
    alias:          net-pf-16-proto-16-family-batadv
    alias:          rtnl-link-batadv
    version:        openwrt-2018.1-5
    description:    B.A.T.M.A.N. advanced
    author:         Marek Lindner <mareklindner@neomailbox.ch>, Simon Wunderlich <sw@simonwunderlich.de>
    license:        GPL
    depends:        libcrc32c,cfg80211
v2018.1.x: kernel: collect module symvers for external modules
issue
created
rubo77
username_1
When was this bug introduced?
comment
created
ecsv
username_0
It was triggered by https://github.com/freifunk-gluon/gluon/commit/0bb3742f51d1af0ebc1394c72e899524b0adf81d (which moved the the openwrt-routing feed to a newer commit in the openwrt-18.06 branch). The first gluon release with these commit is v2018.1.2.

The underlying bug (missing dependencies in external kernel modules) is there since the beginning of external kernel modules in LEDE/OpenWrt. Kernel modules before OpenWrt 18.06 usually used workarounds to force loading other kernel modules in the correct order. This kind of WAR was dropped for batman-adv in the openwrt-18.06 branch and its kernel loading mechanism was switched to AutoProbe.

* https://github.com/openwrt-routing/packages/commit/1ba424a4d040210fdded11a7d6848f9b82857918

The fix here is a backport of the required OpenWrt-18.06 commit to LEDE 17.01. It is required because gluon uses the openwrt-18.06 branch of openwrt-routing with LEDE 17.01.
comment
created
heini66
username_2
my er-x is working with this patch and i've got a bat0 interface
comment