What's new

Dead loop on virtual device vlan 10, fix it urgently (AC56U 378.54_2)

  • 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!

Cooldragonex

Occasional Visitor
Hi guys!

I'm getting this error on my system log. How do i actually disable this message and fix the nat_rules for vlan10?

Code:
ul  3 00:24:51 start_nat_rules: apply the nat_rules(/tmp/nat_rules_vlan10_vlan10)!
Jul  3 00:24:51 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:24:51 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:24:51 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:24:51 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:24:52 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:24:52 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:25:03 hour monitor: daemon is starting
Jul  3 00:25:17 crond[492]: time disparity of 263065 minutes detected
Jul  3 00:26:08 rc_service: rc 947:notify_rc restart_wrs
Jul  3 00:26:10 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:10 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:10 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:12 start_nat_rules: apply the nat_rules(/tmp/nat_rules_vlan10_vlan10)!
Jul  3 00:26:22 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:22 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:22 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:23 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:23 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:26 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:26 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:53 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:53 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:53 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:54 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:26:54 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:27:01 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:27:01 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:27:46 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:27:46 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:27:55 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:27:55 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:27:57 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:27:57 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:00 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:00 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:03 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:03 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:03 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:03 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:03 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:03 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:06 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:06 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:10 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:10 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:12 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:12 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:12 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:12 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:12 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:12 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:16 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:16 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:16 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:16 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:41 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:41 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:41 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:28:41 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:31:23 rc_service: httpd 490:notify_rc restart_firewall
Jul  3 00:31:24 start_nat_rules: apply the nat_rules(/tmp/nat_rules_vlan10_vlan10)!
Jul  3 00:32:48 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:32:48 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:29 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:29 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:29 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:29 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:30 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:31 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:31 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:34 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:34 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:46 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:34:46 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:35:34 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:35:34 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:19 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:19 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:19 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:26 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:26 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:47 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:47 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:47 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:47 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:47 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:47 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:48 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:48 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:49 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:36:49 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:47 kernel: net_ratelimit: 4 callbacks suppressed
Jul  3 00:37:47 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:47 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:50 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:50 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:50 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:50 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:50 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:50 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:50 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:37:51 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:39:28 kernel: net_ratelimit: 1 callbacks suppressed
Jul  3 00:39:28 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:39:28 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:39:55 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:39:55 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:39:57 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:39:57 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:40:01 kernel: Dead loop on virtual device vlan10, fix it urgently!
Jul  3 00:40:01 kernel: Dead loop on virtual device vlan10, fix it urgently!

Just wondering why is there a vlan10 in my router as there are only 4 ports in my router. But i do have a 8 port gigabit managed switch connected to port 2 of my router. Is the switch the cause of the error ?

Please help! Thanks in advance
 
Last edited:
Can you see the output these commands?

Code:
nvram show|grep -i ifnames
robocfg show
brctl show
ebtables -t filter -L --Lmac2 --Lc --Ln
ebtables -t broute -L --Lmac2 --Lc --Ln
ebtables -t nat -L --Lmac2 --Lc --Ln
iptables -t filter -L --line-numbers -v -n
iptables -t nat -L --line-numbers -v -n
 
You can try to add the rule of tc qdisc:
tc qdisc add dev valn10 root pfifo

or you can write a shell script to run.
 
Can you see the output these commands?

Code:
nvram show|grep -i ifnames
robocfg show
brctl show
ebtables -t filter -L --Lmac2 --Lc --Ln
ebtables -t broute -L --Lmac2 --Lc --Ln
ebtables -t nat -L --Lmac2 --Lc --Ln
iptables -t filter -L --line-numbers -v -n
iptables -t nat -L --line-numbers -v -n

Here is my output on Telnet
 

Attachments

  • Output.txt
    24.9 KB · Views: 464
Last edited:
Thanks managed to disable the message :)

The root cause of dead loop message is because of no default qdisc in vlan interface, I don't know what condition you are using, so just input the command by yourself is better.
 
The root cause of dead loop message is because of no default qdisc in vlan interface, I don't know what condition you are using, so just input the command by yourself is better.

I believe vlan10 gets created while in Dual WAN mode. I know there's been a few fixes in the past for this issue, maybe the fix also needs to be applied in Dual WAN mode.
 
I believe vlan10 gets created while in Dual WAN mode. I know there's been a few fixes in the past for this issue, maybe the fix also needs to be applied in Dual WAN mode.

Dual WAN mode is not enabled on my router. Is there a possibility that AI protection and QOS are the cause of displaying the vlan10 errors?
 
Dual WAN mode is not enabled on my router. Is there a possibility that AI protection and QOS are the cause of displaying the vlan10 errors?

Can you double check? I don't have any vlan10 interface here, and from what I saw in the code it only gets added when Dual WAN is enabled.

That shouldn't be related to QoS or AiProtection - that specific scenario was fixed by Asus a few months ago. I also do have my own router with these two features enabled, and don't any error messages logged.
 
USB + IPTV(or other vlad case) + AiProtection will make this issue occur.
 
Can you double check? I don't have any vlan10 interface here, and from what I saw in the code it only gets added when Dual WAN is enabled.

That shouldn't be related to QoS or AiProtection - that specific scenario was fixed by Asus a few months ago. I also do have my own router with these two features enabled, and don't any error messages logged.

Yes, i do not have dual WAN enabled. But i do have to select ISP profile which actually disable port 4 of my router.
Now the weird thing is that when i reboot my router, it shows the dead loop error message again.
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    145.2 KB · Views: 413
  • Screenshot_2.png
    Screenshot_2.png
    91.8 KB · Views: 530
Yes, i do not have dual WAN enabled. But i do have to select ISP profile which actually disable port 4 of my router.
Now the weird thing is that when i reboot my router, it shows the dead loop error message again.
When you reboot the router, you need to input the command "tc qdisc add dev valn10 root pfifo" again, or you need to add a script or crond to input this automatically.
 
How do I actually add a script or crond?
=============================
#!/bin/sh
tc qdisc add dev valn10 root pfifo
=============================
Save this shell script in /jffs/vlan.sh, when you reboot, you just use telnet and input "./jffs/vlan.sh" and then it's done.

If you want to use crond, I am not survey that, you can survey this kind of command in forum or Internet.
But I know it's the normal tool for linux user when they want to work something automatically or day by day.
Hope it can help you.
 
You can also put this line inside a wan-start custom script, so it will automatically be run whenever your WAN goes live. Make sure you do enable custom script support on the System -> Administration page.
 
You can also put this line inside a wan-start custom script, so it will automatically be run whenever your WAN goes live. Make sure you do enable custom script support on the System -> Administration page.

How do i actually put the line in the wan-start custom script after i enable script support?

Sorry i have kinda of zero knowledge about linux stuffs for now :confused:
 
How do i actually put the line in the wan-start custom script after i enable script support?

Sorry i have kinda of zero knowledge about linux stuffs for now :confused:

Make sure SSH is enabled on that same page. Then use a free SSH client such as XShell or Putty to connect to the router's shell.

Once connected, copy/paste the following text:

Code:
cat << EOF > /jffs/scripts/wan-start
#!/bin/sh
tc qdisc add dev valn10 root pfifo
EOF
chmod a+rx /jffs/scripts/wan-start
exit
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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