Hello, I''ve built my 2.4.17 with HTB in order to control outgoing traffic for p2p protocols. Everything seems to be ok but I''m getting this error message in the /var/log/messages: May 25 00:31:25 plomboire kernel: KERNEL: assertion (delay > 0 && delay < 5000000) failed at sch_htb.c(416):htb_add_to_wait_tree Here is my starting script: tc=tc.htb if=ppp0 $tc qdisc del dev $if root $tc qdisc add dev $if root handle 1: htb default 12 AC="$tc class add dev $if parent" # root class $AC 1: classid 1:1 htb rate 120kbit ceil 120kbit # p2p class $AC 1:1 classid 1:10 htb rate 30kbit ceil 40kbit # p2p edk class $AC 1:10 classid 1:110 htb rate 20kbit ceil 25kbit # p2p dc class $AC 1:10 classid 1:120 htb rate 20kbit ceil 25kbit # default class $AC 1:1 classid 1:12 htb rate 120kbit ceil 120kbit # outgoing edk $tc filter add dev $if protocol ip parent 1:0 prio 1 u32 match ip dport 4662 0xffff flowid 1:110 # outgoing dc $tc filter add dev $if protocol ip parent 1:0 prio 1 u32 match ip dport 412 0xffff flowid 1:120 $tc qdisc add dev $if parent 1:110 handle 10: pfifo limit 5 $tc qdisc add dev $if parent 1:120 handle 20: pfifo limit 5 $tc qdisc add dev $if parent 1:12 handle 30: tbf rate 120kbit latency 50ms burst 1500 Any idea? TIA! Frip'' frip@bigfoot.com
Hallo! frip wrote:> May 25 00:31:25 plomboire kernel: KERNEL: assertion (delay > 0 && > delay < 5000000) failed at sch_htb.c(416):htb_add_to_wait_treeDevik has released a Patch to hopefully get this fixed. Look for the mail with the subject "[LARTC] HTB: suspicious_delay quick patch and explanation" from 05.22.2002 by devik. Greetings, Nils
Also you should upgrade to HTB 3.5 before using that patch. devik On Sat, 25 May 2002, Nils Lichtenfeld wrote:> Hallo! > > frip wrote: > > May 25 00:31:25 plomboire kernel: KERNEL: assertion (delay > 0 && > > delay < 5000000) failed at sch_htb.c(416):htb_add_to_wait_tree > > Devik has released a Patch to hopefully get this fixed. Look for the > mail with the subject "[LARTC] HTB: suspicious_delay quick patch and > explanation" from 05.22.2002 by devik. > > Greetings, Nils > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > >