Skip to contentSkip to conversation

HTB broken in linux 2.4.20-rc2 ?

LARTC Juergen Schmidt 2 participants 6 messages Nov 17, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

I just tried to upgrade to linux 2.4.20-rc2 and found, that my scripts are not working any more (they did with 2.4.18 + HTB patch).

It boils down to:

# tc qdisc add dev ppp0 root handle 1: htb default 12
RTNETLINK answers: Invalid argument

while

# tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit

still works fine.

Any ideas?

bye, ju

Signature · 8 lines
Juergen Schmidt   Leitender Redakteur/senior editor  c't magazin
Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
EMail: [email protected] - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
PGP-Key available

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 3 lines
# tc qdisc add dev ppp0 root handle 1: htb default 12
RTNETLINK answers: Invalid argument

FYI: I did compile htb as loadable module and it is loaded.

bye, ju

Signature · 8 lines
Juergen Schmidt   Leitender Redakteur/senior editor  c't magazin
Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
EMail: [email protected] - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
PGP-Key available

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Juergen Schmidt

Hi Juergen!

Quoted 8 lines

I just tried to upgrade to linux 2.4.20-rc2 and found, that my scripts are not working any more (they did with 2.4.18 + HTB patch).

It boils down to:

# tc qdisc add dev ppp0 root handle 1: htb default 12
RTNETLINK answers: Invalid argument
Quoted 7 lines

while

# tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit

still works fine.

Any ideas?

I got HTB working with 2.4.20-rc1 yesterday. Make sure you're using the latest iproute with HTB3 patches applied. (ss020116 + htb3 patches iirc)

Signature · 11 lines
Regards
 Abraham

The executioner is, I hear, very expert, and my neck is very slender.
		-- Anne Boleyn

___________________________________________________
 Abraham vd Merwe [ZR1BBQ] - Frogfoot Networks
 P.O. Box 3472, Matieland, Stellenbosch, 7602
 Cell: +27 82 565 4451 Http: http://www.frogfoot.net
 Email: [email protected]
#3 lore raw
In reply to Juergen Schmidt
Quoted 4 lines

I got HTB working with 2.4.20-rc1 yesterday. Make sure you're using the latest iproute with HTB3 patches applied. (ss020116 + htb3 patches iirc)

Do I need those patches with the HTB included in the kernel? Is HTB 2 or 3 in 2.4.20 ?

Everything worked fine with 2.4.18 + htb2 kernel patches

bye, juergen

Signature · 8 lines
Juergen Schmidt   Leitender Redakteur/senior editor  c't magazin
Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
EMail: [email protected] - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
PGP-Key available

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#4 lore raw
In reply to Juergen Schmidt
Quoted 2 lines
Quoted 2 lines

I got HTB working with 2.4.20-rc1 yesterday. Make sure you're using the latest iproute with HTB3 patches applied. (ss020116 + htb3 patches iirc)

You are right: the problem was the "old" tc which worked with htb2 but not with htb3. Now everything works as expected.

thanks, ju

Signature · 8 lines
Juergen Schmidt   Leitender Redakteur/senior editor  c't magazin
Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
EMail: [email protected] - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
PGP-Key available

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#5 lore raw
In reply to Juergen Schmidt

Hi Juergen!

Quoted 5 lines
Quoted 2 lines

I got HTB working with 2.4.20-rc1 yesterday. Make sure you're using the latest iproute with HTB3 patches applied. (ss020116 + htb3 patches iirc)

Do I need those patches with the HTB included in the kernel? Is HTB 2 or 3 in 2.4.20 ?

No, not if you use 2.4.20rcXX. It already includes HTB 3.7

Signature · 10 lines
Regards
 Abraham

It's not reality that's important, but how you perceive things.

___________________________________________________
 Abraham vd Merwe [ZR1BBQ] - Frogfoot Networks
 P.O. Box 3472, Matieland, Stellenbosch, 7602
 Cell: +27 82 565 4451 Http: http://www.frogfoot.net
 Email: [email protected]