Skip to contentSkip to conversation

Tc complaining about htp

LARTC Ethy H. Brito 3 participants 5 messages Jun 9, 2003

lore
Share & tools
lore
#0 lore raw

Dears

I got

# tc qdisc add dev eth0  root handle 1: htb default FFFF r2q 1
Unknown qdisc "htb", hence option "default" is unparsable

"grep"ing the kernel map file System.map I can see the htb routines since I compile HTP support hard-wired.

# grep htb /boot/System.map 
c01daa10 T htb_hash
c01daa30 T htb_find
c01daa80 T htb_classify
c01dabb0 T htb_debug_dump
c01daee0 T htb_add_to_id_tree
...

I am using:
Slackware 9.0 w/ kernel 2.4.20
iproute2-2.4.7-now-ss020116-try

[*] QoS and/or fair queueing

<*>   CBQ packet scheduler
<*>   HTB packet scheduler
<*>   SFQ queue
[*]   QoS support
[*]     Rate estimator
    ...

Is there any other option I must set to make it work?

Ethy H. Brito /"\
InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
(012) 3941-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
Sao Jose dos Campos / \

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

#1 lore raw
Quoted 23 lines · Ethy H. Brito

Dears

I got

# tc qdisc add dev eth0  root handle 1: htb default FFFF r2q 1
Unknown qdisc "htb", hence option "default" is unparsable

"grep"ing the kernel map file System.map I can see the htb routines since I compile HTP support hard-wired.

# grep htb /boot/System.map
c01daa10 T htb_hash
c01daa30 T htb_find
c01daa80 T htb_classify
c01dabb0 T htb_debug_dump
c01daee0 T htb_add_to_id_tree
...

I am using:
Slackware 9.0 w/ kernel 2.4.20
iproute2-2.4.7-now-ss020116-try

[*] QoS and/or fair queueing

Quoted 8 lines
<*>   CBQ packet scheduler
<*>   HTB packet scheduler
<*>   SFQ queue
[*]   QoS support
[*]     Rate estimator
    ...

Is there any other option I must set to make it work?

No, but you need a tc binary with htb support. You can download the needed patch from the htb homepage.

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/
#2 lore raw
In reply to Ethy H. Brito

Ethy,

: # tc qdisc add dev eth0 root handle 1: htb default FFFF r2q 1 : Unknown qdisc "htb", hence option "default" is unparsable

Are you using a tc with support for HTB? If not, get a binary here:

http://www.docum.org/stef.coene/qos/download/

-Martin

Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to Ethy H. Brito
Quoted 6 lines · Stef Coene
Quoted 2 lines · Ethy H. Brito

Is there any other option I must set to make it work?

No, but you need a tc binary with htb support. You can download the needed patch from the htb homepage.

A little bit better but still doen't work:

# /sbin/tc qdisc add dev eth0 root handle 1: htb default FFFF r2q 1
RTNETLINK answers: Invalid argument

What now??

Ethy H. Brito /"\
InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
(012) 3941-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
Sao Jose dos Campos / \

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

#4 lore raw
In reply to Ethy H. Brito
Quoted 11 lines · Ethy H. Brito
Quoted 5 lines · Stef Coene
Quoted 1 line · Ethy H. Brito

Is there any other option I must set to make it work?

No, but you need a tc binary with htb support. You can download the needed patch from the htb homepage.

A little bit better but still doen't work:

# /sbin/tc qdisc add dev eth0 root handle 1: htb default FFFF r2q 1
RTNETLINK answers: Invalid argument

Remove default FFFF

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/