* Re: [LARTC] module HTB
2003-02-25 13:25 [LARTC] module HTB Lars Landmark
@ 2003-02-25 18:23 ` Stef Coene
2003-02-26 8:37 ` Lars Landmark
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2003-02-25 18:23 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [LARTC] module HTB
2003-02-25 13:25 [LARTC] module HTB Lars Landmark
2003-02-25 18:23 ` Stef Coene
@ 2003-02-26 8:37 ` Lars Landmark
2003-02-26 17:51 ` Stef Coene
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Lars Landmark @ 2003-02-26 8:37 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [LARTC] module HTB
2003-02-25 13:25 [LARTC] module HTB Lars Landmark
2003-02-25 18:23 ` Stef Coene
2003-02-26 8:37 ` Lars Landmark
@ 2003-02-26 17:51 ` Stef Coene
2003-02-26 19:19 ` Lars Landmark
2003-02-26 20:25 ` Stef Coene
4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2003-02-26 17:51 UTC (permalink / raw)
To: lartc
> [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/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [LARTC] module HTB
2003-02-25 13:25 [LARTC] module HTB Lars Landmark
` (2 preceding siblings ...)
2003-02-26 17:51 ` Stef Coene
@ 2003-02-26 19:19 ` Lars Landmark
2003-02-26 20:25 ` Stef Coene
4 siblings, 0 replies; 6+ messages in thread
From: Lars Landmark @ 2003-02-26 19:19 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [LARTC] module HTB
2003-02-25 13:25 [LARTC] module HTB Lars Landmark
` (3 preceding siblings ...)
2003-02-26 19:19 ` Lars Landmark
@ 2003-02-26 20:25 ` Stef Coene
4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2003-02-26 20:25 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 6+ messages in thread