I''ve applied htb diff, compiled kernel, and I''ve seen sch_htb.o in /lib/modules/2.4.12/kernel/net/sched But: # tc qdisc add dev eth0 root handle 1: htb default 12 Unknown qdisc "htb", hence option "default" is unparsable Why?
You havent upgraded your iproute to ''understand'' htb. Download the htb patch for iproute...or download the binary available on the site. Regards, Amit On Mon, 10 Dec 2001, yangrunhua wrote:> I''ve applied htb diff, compiled kernel, and I''ve seen sch_htb.o in > /lib/modules/2.4.12/kernel/net/sched > But: > # tc qdisc add dev eth0 root handle 1: htb default 12 > Unknown qdisc "htb", hence option "default" is unparsable > > Why? >-- The statement below is true. The statement above is false. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________
I am not sure....but have u compiled everything in QoS as modules ? If so you might need to first load those modules. Best solution would be to compile HTB into the kernel. Regards, Amit On Mon, 10 Dec 2001, yangrunhua wrote:> # insmod sch_htb.o > sch_htb.o: unresolved symbol qdisc_get_rtab > sch_htb.o: unresolved symbol __rta_fill > sch_htb.o: unresolved symbol unregister_qdisc > sch_htb.o: unresolved symbol qdisc_put_rtab > sch_htb.o: unresolved symbol register_qdisc > sch_htb.o: unresolved symbol pfifo_qdisc_ops > sch_htb.o: unresolved symbol rtattr_parse > sch_htb.o: unresolved symbol qdisc_kill_estimator > but I can see all this symbols in my /boot/System.map why?-- The statement below is true. The statement above is false. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________