HTB/IMQ with GRE bug
Hi Devik/Patrik,
In setting up IMQ/HTB with a GRE Tunnel I'm constantly getting kernel
errors:
[root@linux /root]# dmesg
... ... ...
NET: XXX messages suppressed.
Dead loop on virtual device gre1, fix it urgently!
... ... ...
This I get only if I'm going to start cross device b/w control. If I remove
iptables rule
iptables -t mangle -D POSTROUTING -j IMQ
then no such warning messages :O.
An information to this is in my all class I'm using very low rate and rely
on ceil parameter of htb... example of one such class is
class htb 1:35 parent 1:2 leaf 35: prio 0 rate 1Kbit ceil 64Kbit burst 1600b cburst 1680b
becouse of that I get following message on console
... ... ...
Oct 29 17:30:12 1035892812 kernel: HTB: quantum of class 10057 is small. Consider r2q change. Oct 29 17:31:08 1035892868 kernel: NET: 17 messages suppressed.
... ... ...
This I didnot think a serious matter as in your code you yourself concern
and at run time adjust that parameter and also this works with ethernet without any problem but while using gre I get dangerous(seems to be) warnings flooding up.
Any Idea about this? I'm using RedHat release kernel-2.4.18-3 with your
patches
imq-2.4.18.diff-10.txt and htb3.6_2.4.17.diff
In case if you need my detail network setup configuration...
My Tunnel configurations are following LOCAL-IP 2.LLL.IP.148 REMOTE-IP 2.RRR.IP.4 TUNNEL-IP 2.TUN.IP.254
[root@linux /root]# route -n
202.LLL.IP.148 0.0.0.0 255.255.255.255 UH 0 0 0 eth1 202.INT.IP.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 202.RRR.IP.0 202.LLL.IP.147 255.255.255.248 UG 0 0 0 eth1 202.LLL.IP.144 0.0.0.0 255.255.255.248 U 0 0 0 eth1 202.INT.IP.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 202.TUN.IP.254 0.0.0.0 UG 0 0 0 gre1
[root@linux /root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:4B:50:04:7B
inet addr:202.INT.IP.1 Bcast:202.INT.IP.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1116522 errors:0 dropped:0 overruns:0 frame:0
TX packets:853832 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10eth1 Link encap:Ethernet HWaddr 00:00:4B:50:05:73
inet addr:202.LLL.IP.148 Bcast:202.LLL.IP.151 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1182092 errors:0 dropped:0 overruns:0 frame:2
TX packets:984484 errors:0 dropped:0 overruns:0 carrier:1106
collisions:10090 txqueuelen:100
Interrupt:12 Base address:0x2000gre0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1476 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
gre1 Link encap:UNSPEC HWaddr
CA-B7-46-94-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:202.TUN.IP.254 P-t-P:202.TUN.IP.254 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:1476 Metric:1
RX packets:78208 errors:0 dropped:0 overruns:0 frame:0
TX packets:105391 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0imq0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:2914477 errors:0 dropped:0 overruns:0 frame:0
TX packets:2914470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:30lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:32921 errors:0 dropped:0 overruns:0 frame:0 TX packets:32921 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
Thanks for your time.
-- Sumit
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines
[root@linux /root]# dmesg
... ... ...
NET: XXX messages suppressed.
Dead loop on virtual device gre1, fix it urgently!
Hmm. I heard about these. They are IMQ related - you have to bother Patrick.
Quoted 7 lines
class htb 1:35 parent 1:2 leaf 35: prio 0 rate 1Kbit ceil 64Kbit burst 1600b cburst 1680b
becouse of that I get following message on console
... ... ...Oct 29 17:30:12 1035892812 kernel: HTB: quantum of class 10057 is small. Consider r2q change. Oct 29 17:31:08 1035892868 kernel: NET: 17 messages suppressed.
1kbit is WAY to small and it is hard to find correct quantum for it. Specify "quantum 500" on the line to get rid of the message.
devik
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi All,
Mails from Patrick's account is bouncing back. Does anyone knows his
alternative mail address?
-- Sumit
Quoted 21 lines
-----Original Message-----
From: devik [mailto:[email protected]]Quoted 4 lines
[root@linux /root]# dmesg
... ... ...
NET: XXX messages suppressed.
Dead loop on virtual device gre1, fix it urgently!Hmm. I heard about these. They are IMQ related - you have to bother Patrick.
Quoted 1 line
class htb 1:35 parent 1:2 leaf 35: prio 0 rate 1Kbit ceil
64Kbit burst 1600b
Quoted 6 lines
cburst 1680b
becouse of that I get following message on console ... ... ...Oct 29 17:30:12 1035892812 kernel: HTB: quantum of class 10057 is small. Consider r2q change. Oct 29 17:31:08 1035892868 kernel: NET: 17 messages suppressed.
Quoted 5 lines
1kbit is WAY to small and it is hard to find correct quantum for it. Specify "quantum 500" on the line to get rid of the message.
devik
Hi Devik/Patrik,
In setting up IMQ/HTB with a GRE Tunnel I'm constantly getting kernel
errors:
[root@linux /root]# dmesg
... ... ...
NET: XXX messages suppressed.
Dead loop on virtual device gre1, fix it urgently!
... ... ...
This I get only if I'm going to start cross device b/w control. If I remove
iptables rule
iptables -t mangle -D POSTROUTING -j IMQ
then no such warning messages :O.
An information to this is in my all class I'm using very low rate and rely
on ceil parameter of htb... example of one such class is
class htb 1:35 parent 1:2 leaf 35: prio 0 rate 1Kbit ceil 64Kbit burst 1600b cburst 1680b
becouse of that I get following message on console
... ... ...
Oct 29 17:30:12 1035892812 kernel: HTB: quantum of class 10057 is small. Consider r2q change. Oct 29 17:31:08 1035892868 kernel: NET: 17 messages suppressed.
... ... ...
This I didnot think a serious matter as in your code you yourself concern
and at run time adjust that parameter and also this works with ethernet without any problem but while using gre I get dangerous(seems to be) warnings flooding up.
Any Idea about this? I'm using RedHat release kernel-2.4.18-3 with your
patches
imq-2.4.18.diff-10.txt and htb3.6_2.4.17.diff
In case if you need my detail network setup configuration...
My Tunnel configurations are following LOCAL-IP=202.LLL.IP.148 REMOTE-IP=202.RRR.IP.4 TUNNEL-IP=202.TUN.IP.254
[root@linux /root]# route -n
202.LLL.IP.148 0.0.0.0 255.255.255.255 UH 0 0 0 eth1 202.INT.IP.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 202.RRR.IP.0 202.LLL.IP.147 255.255.255.248 UG 0 0 0 eth1 202.LLL.IP.144 0.0.0.0 255.255.255.248 U 0 0 0 eth1 202.INT.IP.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 202.TUN.IP.254 0.0.0.0 UG 0 0 0 gre1
[root@linux /root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:4B:50:04:7B
inet addr:202.INT.IP.1 Bcast:202.INT.IP.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1116522 errors:0 dropped:0 overruns:0 frame:0
TX packets:853832 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10eth1 Link encap:Ethernet HWaddr 00:00:4B:50:05:73
inet addr:202.LLL.IP.148 Bcast:202.LLL.IP.151 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1182092 errors:0 dropped:0 overruns:0 frame:2
TX packets:984484 errors:0 dropped:0 overruns:0 carrier:1106
collisions:10090 txqueuelen:100
Interrupt:12 Base address:0x2000gre0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1476 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
gre1 Link encap:UNSPEC HWaddr
CA-B7-46-94-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:202.TUN.IP.254 P-t-P:202.TUN.IP.254 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:1476 Metric:1
RX packets:78208 errors:0 dropped:0 overruns:0 frame:0
TX packets:105391 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0imq0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:2914477 errors:0 dropped:0 overruns:0 frame:0
TX packets:2914470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:30lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:32921 errors:0 dropped:0 overruns:0 frame:0 TX packets:32921 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
Thanks for your time.
-- Sumit
Hmm,
Patrick had a big personal troubles when I talk to him last time. Maybe he is no longer able to read his mail :(
devik
Quoted 4 lines · Sumit Pandya
Hi All,
Mails from Patrick's account is bouncing back. Does anyone knows his
alternative mail address?
-- Sumit
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/