Cake qdisc crashes my MT7621 router

Device:Newifi D1
LEDE version:17.01.4
Using tc command to attach cake qdisc to any interface will instantly the router. WAN/LAN lights blink.
Is it a MT7621 problem? I see similar issue reported but it's on LEDE 17.01.0.

Please try a recent snapshot (keep in mind that snapshots don't have luci preinstalled), while I'm not quite following SQM or mt7621, I do remember a related issue which is supposed to be fixed for quite a while in the master branch (I don't know if those fixes have been backported to the 17.01.x branch).

Thank you for your advice. Do you mean this? https://bugs.lede-project.org/index.php?do=details&task_id=764&string=mt7621&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=

My situation is a little different from that. I don't use SQM. Part of my QoS script is below.

int=br-lan
out=eth0.2
TC_COMMAND=/usr/sbin/tc
  $TC_COMMAND qdisc replace dev $out root handle 1: htb default 2
    $TC_COMMAND class replace dev $out parent 1: classid 1:1 htb rate ${FullDL}mbit ceil ${FullDL}kbit
      $TC_COMMAND class replace dev $out parent 1:1 classid 1:2 htb rate ${UL}kbit ceil ${UL}kbit
        $TC_COMMAND qdisc replace dev $out parent 1:2 handle 10: cake bandwidth ${UL}kbit besteffort dual-srchost nat wash
      $TC_COMMAND class replace dev $out parent 1:1 classid 1:3 htb rate 50mbit ceil $((FullUL))mbit
        $TC_COMMAND qdisc replace dev $out parent 1:3 handle 20: cake bandwidth ${FullUL}kbit besteffort dual-srchost nat wash

  $TC_COMMAND qdisc replace dev $int root handle 1: htb default 2
    $TC_COMMAND class replace dev $int parent 1: classid 1:1 htb rate ${FullDL}mbit ceil ${FullDL}mbit
      $TC_COMMAND class replace dev $int parent 1:1 classid 1:2 htb rate ${DL}kbit ceil ${DL}kbit
        $TC_COMMAND qdisc replace dev $int parent 1:2 handle 10: cake bandwidth ${DL}kbit besteffort dual-dsthost nat wash
      $TC_COMMAND class replace dev $int parent 1:1 classid 1:3 htb rate 50mbit ceil $((FullDL))mbit
        $TC_COMMAND qdisc replace dev $int parent 1:3 handle 20: cake bandwidth ${FullDL}mbit besteffort dual-dsthost nat wash

After executing these commands, the system instantly crashed. No large traffic is needed to crash the router.

Did you disable offloading before starting cake?

God you help me!!!

I tried to disable TFO UFO GSO GRO and now the cake qdisc works. Thank you!