trying to build a few tcp congestion modules.. for stock openwrt rather than building all my own images.. (seeing if this is easier..)
snapshot uses apk.. so I build a module and tried to install..
apk add kmod-tcp-westwood-6.6.74-r1.apk --allow-untrusted
ERROR: unable to select packages:
kernel-6.6.74~f364c944b08df2b4a72a3622abb9722a-r1:
breaks: kmod-tcp-westwood-6.6.74-r1[kernel=6.6.74~947fc96ec545df1e1e94d5444b760a37-r1]
satisfies: world[kernel] kmod-cfg80211-6.6.74.6.12.6-r1[kernel=6.6.74~f364c944b08df2b4a72a3622abb9722a-r1]
kmod-crypto-acompress-6.6.74-r1[kernel=6.6.74~f364c944b08df2b4a72a3622abb9722a-r1]
kmod-crypto-aead-6.6.74-r1[kernel=6.6.74~f364c944b08df2b4a72a3622abb9722a-r1]
kmod-crypto-authenc-6.6.74-r1[kernel=6.6.74~f364c944b08df2b4a72a3622abb9722a-r1]
kmod-crypto-ccm-6.6.74-r1[kernel=6.6.74~f364c944b08df2b4a72a3622abb9722a-r1]
went back to the src and from the snapshot motd..
OpenWrt SNAPSHOT, r28694-730db6b893
git checkout 730db6b893
did a make clean; then make -j(nproc).. waited a while
put my test module into package dir
make menuconfig (pick the package both M and * now end up the same way..)
make package/westwood_mod/compile
and (of course it tells me) tcp_westwood_mod.ko is missing..
docs/guide-developer/toolchain/single.package#kernel_modules
make target/linux/compile and make package/kernel/linux/compile then make package/westwood_mod/compile gives the tcp_westwood_mod.ko is missing..
and it very much is missing..
[I] @void-d51d87 ~/b/openwrt ((730db6b8)) [2]> find . |grep westwood
./package/westwood_mod
./package/westwood_mod/src
./package/westwood_mod/src/Makefile
./package/westwood_mod/src/tcp_westwood.c
./package/westwood_mod/Makefile
./tmp/info/.packageinfo-westwood_mod
./tmp/info/.packageinfo-tcp-westwood
./build_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/linux-6.6.74/net/ipv4/tcp_westwood.c
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/linux-6.6.74/net/ipv4/tcp_westwood.c
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/.prepared_63bdea8f58af68ea857add0d4b6e7171_6664517399ebbbc92a37c5bb081b5c53_check
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/Makefile
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/tcp_westwood.c
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/.prepared_63bdea8f58af68ea857add0d4b6e7171_6664517399ebbbc92a37c5bb081b5c53
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/.configured_68b329da9893e34099c7d8ad5cb9c940
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/.built_check
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/Module.symvers.tmp
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/.pkgdir
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/.pkgdir/kmod-westwood_mod
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/.dep_files
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/westwood_mod/.built
./build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/symvers/westwood_mod.symvers
I modeled my files after this post:
I've been doing this two or three days with the only problem being the build version different than the module version.. (or so I think.. )
I'm not sure what this is, but the goal is to install version, git clone the src for that version/commit and build a few modules for it.. and load/use them successfully..
(should it matter) I have a pair of mt3000's that I'm testing with..
Thank you in advance.