QOS: Trying to make cake working on DSL-AX82U

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

GNUton

Senior Member
Hi there,
I am back from my holidays and I am now chasing back an issue we had in my builds.
Cake is not working as for now on the DSL-AX82U and I think I would need some help to speed up this task

The first thing I fixed, it was missingthe missing support in the kernel
Now it seems to work as it should
Code:
[email protected]:/jffs/logs# tc qdisc add dev ppp0 root cake
[email protected]:/jffs/logs# tc qdisc
qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth1 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth3 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth4 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth5 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth6 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev ptm0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc cake 8001: dev ppp0 root refcnt 2 bandwidth unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead 0
qdisc pfifo_fast 0: dev tun21 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1

The problem now is that I do see all cake options in the web UI but if I do click apply the router reboots (I check the code that's correct) but cake qos doesn't start.
qos.c should output some debuggin messages if QOS_DEBUG and QOS_LOGS files are defined in /tmp (See
)
I moved QOS_debug and QOS_LOG to /jffs/logs to keep them up during the reboot.. but nothing.. no logs.
Unfortunately the UI is not working yet and the the settings for tc qdisc are not generated in the /tmp/qos script by the C code for some reasons I don't konw yet.
Has anybody managed to get those debugging messages working... or is any other option on how I can get the qos cake script generation from the C more verbose.

Any help is welcome! Thanks in advance.
 

RMerlin

Asuswrt-Merlin dev
Is it possible that DSL models use qos_multiwan.c instead of qos.c?
 

GNUton

Senior Member
That's right! Thanks a lot! In any case I have not see the debug messages from there too.. or I missed that... becasue I was expecting something else..
Checking right now.
 

RMerlin

Asuswrt-Merlin dev
That's right! Thanks a lot! In any case I have not see the debug messages from there too.. or I missed that... becasue I was expecting something else..
Checking right now.
If you do take care of porting my qos.c changes to qos_multiwan.c, feel free to provide me with a patch so I can do it on my end. I never bothered with it because I had no way of testing it. I wasn't sure if the multiwan file was for devices like the BRT-AC828 or RT-AX89X, or for their DSL devices.
 

RMerlin

Asuswrt-Merlin dev
I will, BTW do you get the debug/log messages?
Don't know, I never looked for them. I just directly looked at the tc configuration and manipulated the generated qos shell script when I was working on it.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top