Skip to contentSkip to conversation

module HTB

LARTC Lars Landmark 2 participants 6 messages Feb 25, 2003 – Feb 26, 2003

lore
Share & tools
lore
#0 lore raw

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 19 lines · Lars Landmark

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

Quoted 6 lines
sch_cbq                14784   0  (autoclean)
3c59x                  28520   2

[root@jabba iproute2]#
------

What is wrong width my htb???

Nothing :)
Have you add a htb qdisc?

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Lars Landmark
Quoted 25 lines · Stef Coene
Quoted 24 lines · Lars Landmark

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]#
------

Quoted 3 lines
Quoted 1 line

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Lars Landmark
Quoted 8 lines

[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.

Quoted 2 lines

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

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#4 lore raw
In reply to Lars Landmark
Quoted 7 lines · Stef Coene
Quoted 7 lines

[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

Quoted 7 lines
Quoted 1 line

Is it possible that I have a wrong tc-tool??

No.

Quoted 2 lines

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#5 lore raw
In reply to Lars Landmark
Quoted 15 lines · Lars Landmark
Quoted 14 lines · Stef Coene
Quoted 8 lines

[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.

Quoted 2 lines

However if I had wrong
tc-tool, then why is sch_htb module loaded???

Quoted 8 lines
Quoted 2 lines

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.

Quoted 2 lines

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

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/