Sqm not working, Cake is not even in the list

in all the latest snapshot build, cake is not even on the list and only fq_codel is available and it doesn't work either, i tried deleting, reinstalling and cant find any solution. i have wrt3200 as my router

I guess you will need to install the package containing the kernel module first (opkg update ; opkg install kmod-sched-cake)?

What is the output of:

cat /etc/config/sqm
tc -s qdisc
config queue 'eth1'
        option qdisc 'fq_codel'
        option download '5000'
        option upload '1000'
        option debug_logging '0'
        option verbosity '5'
        option interface 'eth1.2'
        option qdisc_advanced '1'
        option squash_dscp '1'
        option squash_ingress '1'
        option ingress_ecn 'ECN'
        option egress_ecn 'NOECN'
        option qdisc_really_really_advanced '0'
        option enabled '1'
        option linklayer 'none'
        option script 'simple.qos'
root@OpenWrt:~# tc -s qdisc
Error loading shared library libelf.so.1: No such file or directory (needed by /      usr/sbin/tc)
Error relocating /usr/sbin/tc: elf_kind: symbol not found
Error relocating /usr/sbin/tc: elf_begin: symbol not found
Error relocating /usr/sbin/tc: gelf_getsym: symbol not found
Error relocating /usr/sbin/tc: elf_getdata: symbol not found
Error relocating /usr/sbin/tc: elf_version: symbol not found
Error relocating /usr/sbin/tc: gelf_getshdr: symbol not found
Error relocating /usr/sbin/tc: elf_getscn: symbol not found
Error relocating /usr/sbin/tc: gelf_getehdr: symbol not found
Error relocating /usr/sbin/tc: gelf_getrel: symbol not found
Error relocating /usr/sbin/tc: elf_end: symbol not found
Error relocating /usr/sbin/tc: elf_strptr: symbol not found

my interface is eth1.2 not eth1, doesn't matter which one i select the sqm is broken and doesn't work, its not my first time working with sqm.
install kmod-sched-cake? its installed and i even reinstalled it and it doesn't make any difference. dsl report shows sqm not working at all


This all looks bad. I suggest to drop back to the latest stable, is there some reason you can't?

i prefer using david snapshot, even his is giving the same issue, yes if i use the stable release everything works as it should. but the adblock doesnt work either as it should, even after enabling it and installing libustream-mbedtls, the sqm does some weird stuff, it use to work so well under this setting:

option linklayer 'ethernet'
option overhead '34'
option linklayer_advanced '1'
option tcMTU '2047'
option tcTSIZE '128'
option tcMPU '64'
option linklayer_adaptation_mechanism 'cake'
option iqdisc_opts 'nat dual-dsthost ingress mpu 64'
option eqdisc_opts 'nat dual-srchost mpu 64'

but these setting fail to work on the same internet, which is cable comcast/xfinity, if there is new suggestion please advice

Well, there you have it; your snapshot has a non functional build of the tc binary, which in turn is essential for sqm to do its thing. I believe this issue was caught be the developers and should be fixed already, so a newer master build should allow you to tackle sqm again. :wink:

What exactly is failing?