HI; I am using kernel 2.4.20 and have compiled HTB as module. When I try to configure HTB this is printed when I write /sbin/lsmod. ------ [root@jabba iproute2]# /sbin/lsmod Module Size Used by Not tainted sch_htb 14784 0 (autoclean) (unused) 3c59x 28520 2 [root@jabba iproute2]# ------ What does (autoclean) and (unused) means??? When I configure cbq this happens. ------ [root@jabba iproute2]# /sbin/lsmod Module Size Used by Not tainted sch_cbq 14784 0 (autoclean) 3c59x 28520 2 [root@jabba iproute2]# ------ What is wrong width my htb??? Regards Lars Student _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tuesday 25 February 2003 14:25, Lars Landmark wrote:> HI; > > I am using kernel 2.4.20 and have compiled HTB as module. When I try to > configure HTB this is printed when I write /sbin/lsmod. > > ------ > [root@jabba iproute2]# /sbin/lsmod > Module Size Used by Not tainted > sch_htb 14784 0 (autoclean) (unused) > 3c59x 28520 2 > [root@jabba iproute2]# > ------ > > What does (autoclean) and (unused) means??? > When I configure cbq this happens. > > ------ > [root@jabba iproute2]# /sbin/lsmod > Module Size Used by Not tainted > sch_cbq 14784 0 (autoclean) > 3c59x 28520 2 > [root@jabba iproute2]# > ------ > > What is wrong width my htb???Nothing :) Have you add a htb qdisc? -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tue, 25 Feb 2003, Stef Coene wrote:> On Tuesday 25 February 2003 14:25, Lars Landmark wrote: > > HI; > > > > I am using kernel 2.4.20 and have compiled HTB as module. When I try to > > configure HTB this is printed when I write /sbin/lsmod. > > > > ------ > > [root@jabba iproute2]# /sbin/lsmod > > Module Size Used by Not tainted > > sch_htb 14784 0 (autoclean) (unused) > > 3c59x 28520 2 > > [root@jabba iproute2]# > > ------ > > > > What does (autoclean) and (unused) means??? > > When I configure cbq this happens. > > > > ------ > > [root@jabba iproute2]# /sbin/lsmod > > Module Size Used by Not tainted > > sch_cbq 14784 0 (autoclean) > > 3c59x 28520 2 > > [root@jabba iproute2]# > > ------ > > > > What is wrong width my htb??? > Nothing :) > Have you add a htb qdisc?Yes, I have added htb qdisc [root@jabba iproute2.lars]# ./tc/tc qdisc add dev eth1 root handle 1: htb default 10 [root@jabba iproute2.lars]# /sbin/lsmod Module Size Used by Not tainted sch_htb 3872 0 (autoclean) (unused) 3c59x 28520 2 Is it possible that I have a wrong tc-tool?? However if I had wrong tc-tool, then why is sch_htb module loaded??? Regards Lars Student _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> [root@jabba iproute2.lars]# ./tc/tc qdisc add dev eth1 root handle 1: htb > default 10 > [root@jabba iproute2.lars]# /sbin/lsmod > Module Size Used by Not tainted > sch_htb 3872 0 (autoclean) (unused) > 3c59x 28520 2 > > Is it possible that I have a wrong tc-tool??No.> However if I had wrong > tc-tool, then why is sch_htb module loaded???Have you compiled the htb qdisc as module? If you did, that''s why it''s loaded. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wed, 26 Feb 2003, Stef Coene wrote:> > [root@jabba iproute2.lars]# ./tc/tc qdisc add dev eth1 root handle 1: htb > > default 10 > > [root@jabba iproute2.lars]# /sbin/lsmod > > Module Size Used by Not tainted > > sch_htb 3872 0 (autoclean) (unused) > > 3c59x 28520 2 > > > > Is it possible that I have a wrong tc-tool?? > No. > > > However if I had wrong > > tc-tool, then why is sch_htb module loaded??? > Have you compiled the htb qdisc as module? If you did, that''s why it''s > loaded.Thanks for your patience for my novice question.. :-) Yes I have compiled HTB as module and I am using 2.4.20 kernel. My question is, why do I see "unused" when I configure HTB, but not when configure cbq... How can I check that HTB has been loaded properly. And what to do next, if it has not?? Regards Lars Student _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wednesday 26 February 2003 20:19, Lars Landmark wrote:> On Wed, 26 Feb 2003, Stef Coene wrote: > > > [root@jabba iproute2.lars]# ./tc/tc qdisc add dev eth1 root handle 1: > > > htb default 10 > > > [root@jabba iproute2.lars]# /sbin/lsmod > > > Module Size Used by Not tainted > > > sch_htb 3872 0 (autoclean) (unused) > > > 3c59x 28520 2 > > > > > > Is it possible that I have a wrong tc-tool?? > > > > No. > > > > > However if I had wrong > > > tc-tool, then why is sch_htb module loaded??? > > > > Have you compiled the htb qdisc as module? If you did, that''s why it''s > > loaded. > > Thanks for your patience for my novice question.. :-) > > Yes I have compiled HTB as module and I am using 2.4.20 kernel. > My question is, why do I see "unused" when I configure HTB, but not when > configure cbq...Aha :) # lsmod |grep htb sch_htb 10784 1 (autoclean) I don''t know why lsmod thinks your htb module is not in use.> How can I check that HTB has been loaded properly. And what to do next, > if it has not??As long as you can shape traffic it''s loaded ok :) Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/