What's new

FlexQoS GT-AX11000 Pro - FlexQOS not starting?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

krich

New Around Here
I have installed FlexQOS on a GT-AX11000 Pro but am encountering some issues which are being logged and I am not clear whether this is just a logging anomaly.

The issue seems to be that after installing FlexQOS, it doesn't seem to be able to start successfully (according to the logs).
Dec 20 13:54:09 FlexQoS: Updated flexqos.asp
Dec 20 13:54:12 rc_service: service 4882:notify_rc restart_qos;restart_firewall
Dec 20 13:54:12 custom_script: Running /jffs/scripts/service-event (args: restart qos)
Dec 20 13:54:15 BWDPI: fun bitmap = 4bf
Dec 20 13:54:15 A.QoS: qos_count=0, qos_check=0
Dec 20 13:54:18 custom_script: Running /jffs/scripts/service-event-end (args: restart qos)
Dec 20 13:54:18 custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Dec 20 13:54:18 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Dec 20 13:54:18 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Dec 20 13:54:18 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=6824) called in unattended mode with 1 args: -start
Dec 20 13:54:18 FlexQoS: Applying iptables static rules
Dec 20 13:54:19 FlexQoS: Applying iptables custom rules
Dec 20 13:54:19 FlexQoS: Flushing conntrack table
Dec 20 13:54:19 FlexQoS: TC Modification Delayed Start
Dec 20 13:56:18 kernel: htb: htb qdisc 13: is non-work-conserving?
Dec 20 13:56:18 kernel: htb: too many events!
Dec 20 13:57:29 FlexQoS: QoS state: Classes=8 | Filters=0 | qdiscs=8
Dec 20 13:57:29 FlexQoS: TC Modification Delay reached maximum 180 seconds. Restarting QoS.
Dec 20 13:57:29 rc_service: service 11297:notify_rc restart_qos;restart_firewall
Dec 20 13:57:29 custom_script: Running /jffs/scripts/service-event (args: restart qos)
Dec 20 13:57:32 BWDPI: fun bitmap = 4bf
Dec 20 13:57:33 A.QoS: qos_count=0, qos_check=0
Dec 20 13:57:36 custom_script: Running /jffs/scripts/service-event-end (args: restart qos)
Dec 20 13:57:36 custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Dec 20 13:57:36 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Dec 20 13:57:36 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Dec 20 13:57:36 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=12552) called in unattended mode with 1 args: -start
Dec 20 13:57:36 FlexQoS: Applying iptables static rules
Dec 20 13:57:36 FlexQoS: Applying iptables custom rules
Dec 20 13:57:36 FlexQoS: Flushing conntrack table
Dec 20 13:57:36 FlexQoS: TC Modification Delayed Start
Dec 20 14:00:47 FlexQoS: QoS state: Classes=8 | Filters=0 | qdiscs=8
Dec 20 14:00:47 FlexQoS: TC Modification Delay reached maximum 180 seconds again. Canceling startup!
Dec 20 14:01:02 rc_service: httpds 2631:notify_rc restart_qos;restart_firewall
Dec 20 14:01:02 custom_script: Running /jffs/scripts/service-event (args: restart qos)
Dec 20 14:01:05 BWDPI: fun bitmap = 4bf
Dec 20 14:01:05 A.QoS: qos_count=0, qos_check=0
Dec 20 14:01:08 custom_script: Running /jffs/scripts/service-event-end (args: restart qos)
Dec 20 14:01:08 custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Dec 20 14:01:08 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Dec 20 14:01:08 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Dec 20 14:01:08 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=18631) called in unattended mode with 1 args: -start
Dec 20 14:01:09 FlexQoS: Applying iptables static rules
Dec 20 14:01:09 FlexQoS: Applying iptables custom rules
Dec 20 14:01:09 FlexQoS: Flushing conntrack table
Dec 20 14:01:09 FlexQoS: TC Modification Delayed Start
Dec 20 14:04:19 FlexQoS: QoS state: Classes=8 | Filters=0 | qdiscs=8
Dec 20 14:04:19 FlexQoS: TC Modification Delay reached maximum 180 seconds. Restarting QoS.
Dec 20 14:04:19 rc_service: service 23460:notify_rc restart_qos;restart_firewall
Dec 20 14:04:19 custom_script: Running /jffs/scripts/service-event (args: restart qos)
Dec 20 14:04:23 BWDPI: fun bitmap = 4bf
Dec 20 14:04:23 A.QoS: qos_count=0, qos_check=0
Dec 20 14:04:26 custom_script: Running /jffs/scripts/service-event-end (args: restart qos)
Dec 20 14:04:26 custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Dec 20 14:04:26 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Dec 20 14:04:26 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Dec 20 14:04:26 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=24725) called in unattended mode with 1 args: -start
Dec 20 14:04:26 FlexQoS: Applying iptables static rules
Dec 20 14:04:27 FlexQoS: Applying iptables custom rules
Dec 20 14:04:27 FlexQoS: Flushing conntrack table
Dec 20 14:04:27 FlexQoS: TC Modification Delayed Start
Dec 20 14:05:48 kernel: htb: htb qdisc 13: is non-work-conserving?
Dec 20 14:05:48 kernel: htb: too many events!
Dec 20 14:07:04 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=28907) called in interactive mode with 1 args: -check
Dec 20 14:07:04 FlexQoS: [*] Killing Delayed Process (pid=24725)
Dec 20 14:07:04 FlexQoS: [*] 24725 NM-ROUTE 3460 S sh /jffs/addons/flexqos/flexqos.sh -start
Dec 20 14:07:04 FlexQoS: iptables rules already present
Dec 20 14:07:04 FlexQoS: TC Modification Delayed Start
Dec 20 14:10:15 FlexQoS: QoS state: Classes=8 | Filters=0 | qdiscs=8
Dec 20 14:10:15 FlexQoS: TC Modification Delay reached maximum 180 seconds again. Canceling startup!
After that last message, nothing else is logged but it (seems) like everything is running as expected - after disabling fc, the traffic is being categorised properly, so I am assuming everything is running correctly but that because the startup is cancelled (as per the last log message), FlexQOS is not running anymore.

I have tried a factory reset of the router and set it up again from scratch, but I am still encountering this behaviour - it did not happen on my AX86U.

I will post the debug output from FlexQOS shortly.

Thanks.
 
Code:
FlexQoS v1.3.2 released 2022-09-16





Debug date      : 2022-12-20 14:53:45+0000


Router Model    : GT-AX11000_Pro


Firmware Ver    : 388.1_0


DPI/Sig Ver     : 2.0.3 / 2.326


WAN iface       : ppp0


tc WAN iface    : eth0


IPv6            : disabled


Undf Prio       : 2


Down Band       : 61440


Up Band         : 15360


*****************


Net Control     : 1:10


Work-From-Home  : 1:14


Gaming          : 1:11


Others          : 1:17


Web Surfing     : 1:13


Streaming       : 1:12


File Transfers  : 1:16


Learn-From-Home : 1:15


*****************


Downrates       :    3072,    9216,   18432,    6144,   12288,    3072,    3072,    6144


Downceils       :   61440,   61440,   61440,   61440,   61440,   61440,   61440,   61440


Uprates         :     768,    2304,    1536,    1536,    3072,     768,     768,    4608


Upceils         :   15360,   15360,   15360,   15360,   15360,   15360,   15360,   15360


*****************


iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>5<10.0.0.4>>both>>!80,443>000000>1


-A FlexQoS_down -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff


-A FlexQoS_up -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff


-A FlexQoS_down -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff


-A FlexQoS_up -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff


-A FlexQoS_down -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff


-A FlexQoS_up -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff


-A FlexQoS_down -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8003ffff/0xc03fffff


-A FlexQoS_up -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4003ffff/0xc03fffff


-A FlexQoS_down -d 10.0.0.4 -p tcp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff


-A FlexQoS_up -s 10.0.0.4 -p tcp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff


-A FlexQoS_down -d 10.0.0.4 -p udp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff


-A FlexQoS_up -s 10.0.0.4 -p udp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff


*****************


appdb rules: Defaults


filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:17


filter add dev eth0 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:17


filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:17


filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:17


filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16


filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:16


filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16


filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:13


filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:13


filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:13


filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:13


filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:13


filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:13


class change dev br0 parent 1:1 classid 1:10 htb  prio 0 rate 3072Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 38400


class change dev eth0 parent 1:1 classid 1:10 htb  prio 0 rate 768Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 9600


class change dev br0 parent 1:1 classid 1:11 htb  prio 1 rate 9216Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 115200


class change dev eth0 parent 1:1 classid 1:11 htb  prio 1 rate 2304Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 28800


class change dev br0 parent 1:1 classid 1:12 htb  prio 2 rate 18432Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 230400


class change dev eth0 parent 1:1 classid 1:12 htb  prio 2 rate 1536Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 19200


class change dev br0 parent 1:1 classid 1:13 htb  prio 3 rate 6144Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 76800


class change dev eth0 parent 1:1 classid 1:13 htb  prio 3 rate 1536Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 19200


class change dev br0 parent 1:1 classid 1:14 htb  prio 4 rate 12288Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 153600


class change dev eth0 parent 1:1 classid 1:14 htb  prio 4 rate 3072Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 38400


class change dev br0 parent 1:1 classid 1:15 htb  prio 5 rate 3072Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 38400


class change dev eth0 parent 1:1 classid 1:15 htb  prio 5 rate 768Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 9600


class change dev br0 parent 1:1 classid 1:16 htb  prio 6 rate 3072Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 38400


class change dev eth0 parent 1:1 classid 1:16 htb  prio 6 rate 768Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 9600


class change dev br0 parent 1:1 classid 1:17 htb  prio 7 rate 6144Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 76800


class change dev eth0 parent 1:1 classid 1:17 htb  prio 7 rate 4608Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 57600
 
What’s the output of:
Code:
tc filter show dev br0
 
Thanks - here it is at Pastebin and taken after the last log saying it was cancelling startup: https://pastebin.com/c8EzY1Uw

Sorry for the Pastebin link - it seems the output was longer than 10,000 characters so could not post it here directly.
I see the difference with this model and made a minor update to possibly make it work. Please force an update via the command line, since there was no version change.
 
I see the difference with this model and made a minor update to possibly make it work. Please force an update via the command line, since there was no version change.
Beautiful - I think that has worked! Thanks a million!

Dec 20 16:26:51 FlexQoS: Updated flexqos.sh
Dec 20 16:26:52 FlexQoS: File flexqos.asp is already up-to-date
Dec 20 16:26:54 rc_service: service 25927:notify_rc restart_qos;restart_firewall
Dec 20 16:26:54 custom_script: Running /jffs/scripts/service-event (args: restart qos)
Dec 20 16:26:58 BWDPI: fun bitmap = 4bf
Dec 20 16:26:58 A.QoS: qos_count=0, qos_check=0
Dec 20 16:27:01 custom_script: Running /jffs/scripts/service-event-end (args: restart qos)
Dec 20 16:27:01 custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Dec 20 16:27:01 custom_script: Running /jffs/scripts/firewall-start (args: ppp0)
Dec 20 16:27:01 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Dec 20 16:27:01 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=27191) called in unattended mode with 1 args: -start
Dec 20 16:27:01 FlexQoS: Applying iptables static rules
Dec 20 16:27:01 FlexQoS: Applying iptables custom rules
Dec 20 16:27:02 FlexQoS: Flushing conntrack table
Dec 20 16:27:03 FlexQoS: Applying AppDB rules and TC rates
Dec 20 16:32:00 FlexQoS: /jffs/addons/flexqos/flexqos.sh (pid=4392) called in unattended mode with 1 args: -check
Dec 20 16:32:00 FlexQoS: iptables rules already present
Dec 20 16:32:00 FlexQoS: No TC modifications necessary
I am now seeing the line 'Applying AppDB rules and TC rates' which was not showing before, so I assume that has fixed it, because it now is not saying anything about delayed starts.

Here's another output in case - https://pastebin.com/WHrm7exS and another Debug -
Code:
FlexQoS v1.3.2 released 2022-09-16





Debug date      : 2022-12-20 16:31:59+0000


Router Model    : GT-AX11000_Pro


Firmware Ver    : 388.1_0


DPI/Sig Ver     : 2.0.3 / 2.326


WAN iface       : ppp0


tc WAN iface    : eth0


IPv6            : disabled


Undf Prio       : 2


Down Band       : 61440


Up Band         : 15360


*****************


Net Control     : 1:10


Work-From-Home  : 1:14


Gaming          : 1:11


Others          : 1:16


Web Surfing     : 1:13


Streaming       : 1:12


File Transfers  : 1:15


Learn-From-Home : 1:17


*****************


Downrates       :    3072,    9216,   18432,    6144,   12288,    3072,    6144,    3072


Downceils       :   61440,   61440,   61440,   61440,   61440,   61440,   61440,   61440


Uprates         :     768,    2304,    1536,    1536,    3072,     768,    4608,     768


Upceils         :   15360,   15360,   15360,   15360,   15360,   15360,   15360,   15360


*****************


iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>5<10.0.0.4>>both>>!80,443>000000>1


-A FlexQoS_down -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff


-A FlexQoS_up -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff


-A FlexQoS_down -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff


-A FlexQoS_up -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff


-A FlexQoS_down -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff


-A FlexQoS_up -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff


-A FlexQoS_down -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8003ffff/0xc03fffff


-A FlexQoS_up -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4003ffff/0xc03fffff


-A FlexQoS_down -d 10.0.0.4 -p tcp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff


-A FlexQoS_up -s 10.0.0.4 -p tcp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff


-A FlexQoS_down -d 10.0.0.4 -p udp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff


-A FlexQoS_up -s 10.0.0.4 -p udp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff


*****************


appdb rules: Defaults


filter change dev br0 prio 2 protocol all handle 828::800 u32 flowid 1:16


filter change dev eth0 prio 2 protocol all handle 828::800 u32 flowid 1:16


filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:16


filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:16


filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:15


filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:15


filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:15


filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:15


filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:15


filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:15


filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:13


filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:13


filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:13


filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:13


filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:13


filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:13


class change dev br0 parent 1:1 classid 1:10 htb  prio 0 rate 3072Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 38400


class change dev eth0 parent 1:1 classid 1:10 htb  prio 0 rate 768Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 9600


class change dev br0 parent 1:1 classid 1:11 htb  prio 1 rate 9216Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 115200


class change dev eth0 parent 1:1 classid 1:11 htb  prio 1 rate 2304Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 28800


class change dev br0 parent 1:1 classid 1:12 htb  prio 2 rate 18432Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 230400


class change dev eth0 parent 1:1 classid 1:12 htb  prio 2 rate 1536Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 19200


class change dev br0 parent 1:1 classid 1:13 htb  prio 3 rate 6144Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 76800


class change dev eth0 parent 1:1 classid 1:13 htb  prio 3 rate 1536Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 19200


class change dev br0 parent 1:1 classid 1:14 htb  prio 4 rate 12288Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 153600


class change dev eth0 parent 1:1 classid 1:14 htb  prio 4 rate 3072Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 38400


class change dev br0 parent 1:1 classid 1:15 htb  prio 5 rate 3072Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 38400


class change dev eth0 parent 1:1 classid 1:15 htb  prio 5 rate 768Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 9600


class change dev br0 parent 1:1 classid 1:16 htb  prio 6 rate 6144Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 76800


class change dev eth0 parent 1:1 classid 1:16 htb  prio 6 rate 4608Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 57600


class change dev br0 parent 1:1 classid 1:17 htb  prio 7 rate 3072Kbit ceil 61440Kbit burst 7680b cburst 76800b quantum 38400


class change dev eth0 parent 1:1 classid 1:17 htb  prio 7 rate 768Kbit ceil 15360Kbit burst 1920b cburst 19200b quantum 9600
 
@dave14305 I am having the same issue but with gt-ax6000. I uninstalled all other scripts "skynet, diversion, YazDHCP and scMerlin", but still having same issue.

I've tried factory reset, base config then install just flex_qos script only and still getting the same message.


EDIT: I am also getting this line right before cancelling startup line
Code:
Apr 29 23:52:49 FlexQoS: QoS state: Classes=0 | Filters=0 | qdiscs=0

Code:
Apr 29 23:52:49 FlexQoS: TC Modification Delay reached maximum 180 seconds again. Canceling startup!
Skynet and diversion also kept restarting.


When I execute tc filter show dev br0 there are no output.

I am currently running merlin 388.2 final but i have had this issue since 388.1, also seen it on 388.2 alpha1/2 and all the 388.2 betas.


Now, since flexqos start was cancelled it is not running but everything else is working as expected.
 
Last edited:
Code:
FlexQoS v1.3.2 released 2022-09-16

Debug date      : 2023-04-29 23:53:49-0400
Router Model    : GT-AX6000
Firmware Ver    : 388.2_0
DPI/Sig Ver     : 2.0.3 / 2.348
sed: /tmp/bwdpi/qosd.conf: No such file or directory
WAN iface       : eth0
tc WAN iface    : eth0
IPv6            : disabled
Undf Prio       : -1
Down Band       : 332800
Up Band         : 10240
*****************
Net Control     :
Work-From-Home  :
Gaming          :
Others          :
Web Surfing     :
Streaming       :
File Transfers  :
Learn-From-Home :
*****************
Downrates       :       0,       0,       0,       0,       0,       0,       0,       0
Downceils       :       0,       0,       0,       0,       0,       0,       0,       0
Uprates         :       0,       0,       0,       0,       0,       0,       0,       0
Upceils         :       0,       0,       0,       0,       0,       0,       0,       0
*****************
iptables settings: Defaults
-A FlexQoS_down -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff
-A FlexQoS_up -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff
-A FlexQoS_down -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8003ffff/0
xc03fffff
-A FlexQoS_up -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4003ffff/0xc
03fffff
*****************
appdb rules: Defaults
filter add dev br0 protocol all prio -1 u32 match mark 0x80000000 0xc000ffff flowid
filter add dev eth0 protocol all prio -1 u32 match mark 0x40000000 0xc000ffff flowid
filter add dev br0 protocol all prio -1 u32 match mark 0x8000006B 0xc03fffff flowid
filter add dev eth0 protocol all prio -1 u32 match mark 0x4000006B 0xc03fffff flowid
filter add dev br0 protocol all prio -1 u32 match mark 0x800D0007 0xc03fffff flowid
filter add dev eth0 protocol all prio -1 u32 match mark 0x400D0007 0xc03fffff flowid
filter add dev br0 protocol all prio -1 u32 match mark 0x800D0086 0xc03fffff flowid
filter add dev eth0 protocol all prio -1 u32 match mark 0x400D0086 0xc03fffff flowid
filter add dev br0 protocol all prio -1 u32 match mark 0x800D00A0 0xc03fffff flowid
filter add dev eth0 protocol all prio -1 u32 match mark 0x400D00A0 0xc03fffff flowid
filter add dev br0 protocol all prio -1 u32 match mark 0x8012003F 0xc03fffff flowid
filter add dev eth0 protocol all prio -1 u32 match mark 0x4012003F 0xc03fffff flowid
filter add dev br0 protocol all prio -1 u32 match mark 0x80130000 0xc03f0000 flowid
filter add dev eth0 protocol all prio -1 u32 match mark 0x40130000 0xc03f0000 flowid
filter add dev br0 protocol all prio -1 u32 match mark 0x80140000 0xc03f0000 flowid
filter add dev eth0 protocol all prio -1 u32 match mark 0x40140000 0xc03f0000 flowid
class change dev br0 parent 1:1 classid 1:10 htb overhead 4 linklayer ethernet prio 0 rate 0Kbit ceil 0Kbit burst 1749b
cburst 1749b quantum 1749
class change dev eth0 parent 1:1 classid 1:10 htb overhead 4 linklayer ethernet prio 0 rate 0Kbit ceil 0Kbit burst 1749b
 cburst 1749b quantum 1749
class change dev br0 parent 1:1 classid 1:11 htb overhead 4 linklayer ethernet prio 1 rate 0Kbit ceil 0Kbit burst 1749b
cburst 1749b quantum 1749
class change dev eth0 parent 1:1 classid 1:11 htb overhead 4 linklayer ethernet prio 1 rate 0Kbit ceil 0Kbit burst 1749b
 cburst 1749b quantum 1749
class change dev br0 parent 1:1 classid 1:12 htb overhead 4 linklayer ethernet prio 2 rate 0Kbit ceil 0Kbit burst 1749b
cburst 1749b quantum 1749
class change dev eth0 parent 1:1 classid 1:12 htb overhead 4 linklayer ethernet prio 2 rate 0Kbit ceil 0Kbit burst 1749b
 cburst 1749b quantum 1749
class change dev br0 parent 1:1 classid 1:13 htb overhead 4 linklayer ethernet prio 3 rate 0Kbit ceil 0Kbit burst 1749b
cburst 1749b quantum 1749
class change dev eth0 parent 1:1 classid 1:13 htb overhead 4 linklayer ethernet prio 3 rate 0Kbit ceil 0Kbit burst 1749b
 cburst 1749b quantum 1749
class change dev br0 parent 1:1 classid 1:14 htb overhead 4 linklayer ethernet prio 4 rate 0Kbit ceil 0Kbit burst 1749b
cburst 1749b quantum 1749
class change dev eth0 parent 1:1 classid 1:14 htb overhead 4 linklayer ethernet prio 4 rate 0Kbit ceil 0Kbit burst 1749b
 cburst 1749b quantum 1749
class change dev br0 parent 1:1 classid 1:15 htb overhead 4 linklayer ethernet prio 5 rate 0Kbit ceil 0Kbit burst 1749b
cburst 1749b quantum 1749
class change dev eth0 parent 1:1 classid 1:15 htb overhead 4 linklayer ethernet prio 5 rate 0Kbit ceil 0Kbit burst 1749b
 cburst 1749b quantum 1749
class change dev br0 parent 1:1 classid 1:16 htb overhead 4 linklayer ethernet prio 6 rate 0Kbit ceil 0Kbit burst 1749b
cburst 1749b quantum 1749
class change dev eth0 parent 1:1 classid 1:16 htb overhead 4 linklayer ethernet prio 6 rate 0Kbit ceil 0Kbit burst 1749b
 cburst 1749b quantum 1749
class change dev br0 parent 1:1 classid 1:17 htb overhead 4 linklayer ethernet prio 7 rate 0Kbit ceil 0Kbit burst 1749b
cburst 1749b quantum 1749
class change dev eth0 parent 1:1 classid 1:17 htb overhead 4 linklayer ethernet prio 7 rate 0Kbit ceil 0Kbit burst 1749b
 cburst 1749b quantum 1749
 
Apr 29 23:52:49 FlexQoS: QoS state: Classes=0 | Filters=0 | qdiscs=0
sed: /tmp/bwdpi/qosd.conf: No such file or directory
When I execute tc filter show dev br0 there are no output.
These three things suggest that plain Adaptive QoS is not working on your router. Reset to defaults, don’t install any scripts, enable Adaptive QoS, and run these commands:
Code:
cat /tmp/bwdpi/qosd.conf
tc qdisc
tc class show dev br0
tc filter show dev br0
They should all produce output. If not, there is possibly a firmware issue with Adaptive QoS on your model/firmware version unrelated to FlexQoS.
 
These three things suggest that plain Adaptive QoS is not working on your router. Reset to defaults, don’t install any scripts, enable Adaptive QoS, and run these commands:
Code:
cat /tmp/bwdpi/qosd.conf
tc qdisc
tc class show dev br0
tc filter show dev br0
They should all produce output. If not, there is possibly a firmware issue with Adaptive QoS on your model/firmware version unrelated to FlexQoS.

I tried the following:

I didn't have AiProtection enabled so i did enable it followed by enabling qos. Surprise, i can see graphs and some values under classification tab. Before, when i enabled qos ONLY nothing was showing under classification. I didn't see any errors in the log like before also. I did confirm qos kicked in when doing speedtest, but I didn't like the qos tests' result. Speedtest with qos on are what is expected for download but i'm seeing very high latency, and with upload speed is fluctuating a lot with high latency as well. Later, I did install FlexQoS and restarted qos, no issues here. Also, I didn't see any errors in the log. I can see graphs and values under FlexQoS tab. I confirmed qos with FlexQoS is working after doing multiple speedtests and bufferbloat, but the results are not like what I had before with my old router AC68u even though I applied the same settings. I even tried play with the up/down bandwidth values but bufferbloat test is still bad ranging between D and C. Before with my old router I always get A or B. Again, speedtest are what is expected for download but i'm seeing high latency, and with upload speed is fluctuating a lot with high latency as well.

I disabled AiProtection, qos, withdraw the privacy agreement and uninstalled FlexQoS. Speedtest is perfect now with normal latency, and bufferbloat now is always at B with no noticeable fluctuation. By the way, my bufferbloat was always giving A with the factory firmware. Latency is also back to normal, which is actually way better with QoS on. It seems that enabling qos caused more problems than to fix. The only reason I wanted to have QoS, but with FlexQoS, is that I need to prioritize the traffic for certain clients in my network. Not sure what asus did with their code cuz the idea that I must enable AiProtection in order to fully use qos is nonsense. I didn't have to do any of that with my older ac68u. Now, not sure if it is a hardware or code issue. I doubt it is a hardware since the gt-ax6000 is working as intended without qos.

@dave14305 , I do appreciate you taking the time and effort in assisting me. FlexQoS is a great tool and I will keep trying hopefully with newer firmware. Never give up!! ;-)
 
Hello

Is FlexQos working for me, not to be sure but i moves also youtube streaming to web surfing somtimes.

FlexQoS v1.3.2 released 2022-09-16

Debug date : 2023-05-06 16:54:46+0200
Router Model : RT-AC5300
Firmware Ver : 386.10_0
DPI/Sig Ver : 2.0.1 / 2.350
WAN iface : ppp0
tc WAN iface : eth0
IPv6 : dhcp6
Undf Prio : 2
Down Band : 103424
Up Band : 18432
*****************
Net Control : 1:10
Work-From-Home : 1:13
Gaming : 1:11
Others : 1:16
Web Surfing : 1:14
Streaming : 1:12
File Transfers : 1:15
Learn-From-Home : 1:17
*****************
Downrates : 5171, 15513, 31027, 20684, 10342, 5171, 10342, 5171
Downceils : 103424, 103424, 103424, 103424, 103424, 103424, 103424, 103424
Uprates : 921, 2764, 1843, 3686, 1843, 921, 5529, 921
Upceils : 18432, 18432, 18432, 18432, 18432, 18432, 18432, 18432
*****************
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>5<192.168.1.106>>both>>!80,443>000000>1<>>udp>>19302:19309>>3<>>udp>>3478:3481>000000>3<>>udp>>8801:8810>000000>3
-A FlexQoS_down -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff
-A FlexQoS_up -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff
-A FlexQoS_down -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff
-A FlexQoS_up -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff
-A FlexQoS_down -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8003ffff/0xc03fffff
-A FlexQoS_up -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4003ffff/0xc03fffff
-A FlexQoS_down -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8003ffff/0xc03fffff
-A FlexQoS_up -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4003ffff/0xc03fffff
-I PREROUTING -i br0 -m conntrack --ctstate NEW -s 192.168.1.106 -j SET --add-set 192.168.1.106-mac src --exist
-I PREROUTING -i br0 -m conntrack --ctstate NEW -m set --match-set 192.168.1.106-mac src -j SET --add-set 192.168.1.106 src --exist
-A FlexQoS_down -d 192.168.1.106 -p tcp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff
-A FlexQoS_up -s 192.168.1.106 -p tcp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff
-A FlexQoS_down -m set --match-set 192.168.1.106 dst -p tcp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff
-A FlexQoS_up -m set --match-set 192.168.1.106 src -p tcp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff
-A FlexQoS_down -d 192.168.1.106 -p udp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff
-A FlexQoS_up -s 192.168.1.106 -p udp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff
-A FlexQoS_down -m set --match-set 192.168.1.106 dst -p udp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff
-A FlexQoS_up -m set --match-set 192.168.1.106 src -p udp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --sports 19302:19309 -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --dports 19302:19309 -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --sports 19302:19309 -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --dports 19302:19309 -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --sports 3478:3481 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --dports 3478:3481 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --sports 3478:3481 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --dports 3478:3481 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --sports 8801:8810 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --dports 8801:8810 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4006ffff/0xc03fffff
-A FlexQoS_down -p udp -m multiport --sports 8801:8810 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8006ffff/0xc03fffff
-A FlexQoS_up -p udp -m multiport --dports 8801:8810 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4006ffff/0xc03fffff
*****************
appdb rules: Defaults
filter change dev br0 prio 2 protocol all handle 828::800 u32 flowid 1:16
filter change dev eth0 prio 2 protocol all handle 828::800 u32 flowid 1:16
filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:14
filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:14
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:14
filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:14
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:14
filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:14
class change dev br0 parent 1:1 classid 1:10 htb overhead 27 linklayer ethernet prio 0 rate 5171Kbit ceil 103424Kbit burst 12928b cburst 128000b quantum 64637
class change dev eth0 parent 1:1 classid 1:10 htb overhead 27 linklayer ethernet prio 0 rate 921Kbit ceil 18432Kbit burst 2304b cburst 22400b quantum 11512
class change dev br0 parent 1:1 classid 1:11 htb overhead 27 linklayer ethernet prio 1 rate 15513Kbit ceil 103424Kbit burst 12928b cburst 128000b quantum 193912
class change dev eth0 parent 1:1 classid 1:11 htb overhead 27 linklayer ethernet prio 1 rate 2764Kbit ceil 18432Kbit burst 2304b cburst 22400b quantum 34550
class change dev br0 parent 1:1 classid 1:12 htb overhead 27 linklayer ethernet prio 2 rate 31027Kbit ceil 103424Kbit burst 12928b cburst 128000b quantum 387837
class change dev eth0 parent 1:1 classid 1:12 htb overhead 27 linklayer ethernet prio 2 rate 1843Kbit ceil 18432Kbit burst 2304b cburst 22400b quantum 23037
class change dev br0 parent 1:1 classid 1:13 htb overhead 27 linklayer ethernet prio 3 rate 20684Kbit ceil 103424Kbit burst 12928b cburst 128000b quantum 258550
class change dev eth0 parent 1:1 classid 1:13 htb overhead 27 linklayer ethernet prio 3 rate 3686Kbit ceil 18432Kbit burst 2304b cburst 22400b quantum 46075
class change dev br0 parent 1:1 classid 1:14 htb overhead 27 linklayer ethernet prio 4 rate 10342Kbit ceil 103424Kbit burst 12928b cburst 128000b quantum 129275
class change dev eth0 parent 1:1 classid 1:14 htb overhead 27 linklayer ethernet prio 4 rate 1843Kbit ceil 18432Kbit burst 2304b cburst 22400b quantum 23037
class change dev br0 parent 1:1 classid 1:15 htb overhead 27 linklayer ethernet prio 5 rate 5171Kbit ceil 103424Kbit burst 12928b cburst 128000b quantum 64637
class change dev eth0 parent 1:1 classid 1:15 htb overhead 27 linklayer ethernet prio 5 rate 921Kbit ceil 18432Kbit burst 2304b cburst 22400b quantum 11512
class change dev br0 parent 1:1 classid 1:16 htb overhead 27 linklayer ethernet prio 6 rate 10342Kbit ceil 103424Kbit burst 12928b cburst 128000b quantum 129275
class change dev eth0 parent 1:1 classid 1:16 htb overhead 27 linklayer ethernet prio 6 rate 5529Kbit ceil 18432Kbit burst 2304b cburst 22400b quantum 69112
class change dev br0 parent 1:1 classid 1:17 htb overhead 27 linklayer ethernet prio 7 rate 5171Kbit ceil 103424Kbit burst 12928b cburst 128000b quantum 64637
class change dev eth0 parent 1:1 classid 1:17 htb overhead 27 linklayer ethernet prio 7 rate 921Kbit ceil 18432Kbit burst 2304b cburst 22400b quantum 11512
 

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