Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] HTB broken in linux 2.4.20-rc2 ?
@ 2002-11-17 17:11 Juergen Schmidt
  2002-11-17 17:25 ` Juergen Schmidt
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Juergen Schmidt @ 2002-11-17 17:11 UTC (permalink / raw)
  To: lartc

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

-- 
Juergen Schmidt   Leitender Redakteur/senior editor  c't magazin
Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
EMail: ju@ct.heise.de - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
PGP-Key available

_______________________________________________
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] HTB broken in linux 2.4.20-rc2 ?
  2002-11-17 17:11 [LARTC] HTB broken in linux 2.4.20-rc2 ? Juergen Schmidt
@ 2002-11-17 17:25 ` Juergen Schmidt
  2002-11-17 17:59 ` Abraham van der Merwe
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Juergen Schmidt @ 2002-11-17 17:25 UTC (permalink / raw)
  To: lartc


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

-- 
Juergen Schmidt   Leitender Redakteur/senior editor  c't magazin
Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
EMail: ju@ct.heise.de - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
PGP-Key available

_______________________________________________
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] HTB broken in linux 2.4.20-rc2 ?
  2002-11-17 17:11 [LARTC] HTB broken in linux 2.4.20-rc2 ? Juergen Schmidt
  2002-11-17 17:25 ` Juergen Schmidt
@ 2002-11-17 17:59 ` Abraham van der Merwe
  2002-11-17 18:49 ` Juergen Schmidt
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Abraham van der Merwe @ 2002-11-17 17:59 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 912 bytes --]

Hi Juergen!

> 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?

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)

-- 

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: abz@frogfoot.net


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] HTB broken in linux 2.4.20-rc2 ?
  2002-11-17 17:11 [LARTC] HTB broken in linux 2.4.20-rc2 ? Juergen Schmidt
  2002-11-17 17:25 ` Juergen Schmidt
  2002-11-17 17:59 ` Abraham van der Merwe
@ 2002-11-17 18:49 ` Juergen Schmidt
  2002-11-17 18:58 ` Juergen Schmidt
  2002-11-17 19:03 ` Abraham van der Merwe
  4 siblings, 0 replies; 6+ messages in thread
From: Juergen Schmidt @ 2002-11-17 18:49 UTC (permalink / raw)
  To: lartc


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


-- 
Juergen Schmidt   Leitender Redakteur/senior editor  c't magazin
Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
EMail: ju@ct.heise.de - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
PGP-Key available

_______________________________________________
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] HTB broken in linux 2.4.20-rc2 ?
  2002-11-17 17:11 [LARTC] HTB broken in linux 2.4.20-rc2 ? Juergen Schmidt
                   ` (2 preceding siblings ...)
  2002-11-17 18:49 ` Juergen Schmidt
@ 2002-11-17 18:58 ` Juergen Schmidt
  2002-11-17 19:03 ` Abraham van der Merwe
  4 siblings, 0 replies; 6+ messages in thread
From: Juergen Schmidt @ 2002-11-17 18:58 UTC (permalink / raw)
  To: lartc

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

-- 
Juergen Schmidt   Leitender Redakteur/senior editor  c't magazin
Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
EMail: ju@ct.heise.de - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
PGP-Key available

_______________________________________________
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] HTB broken in linux 2.4.20-rc2 ?
  2002-11-17 17:11 [LARTC] HTB broken in linux 2.4.20-rc2 ? Juergen Schmidt
                   ` (3 preceding siblings ...)
  2002-11-17 18:58 ` Juergen Schmidt
@ 2002-11-17 19:03 ` Abraham van der Merwe
  4 siblings, 0 replies; 6+ messages in thread
From: Abraham van der Merwe @ 2002-11-17 19:03 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 656 bytes --]

Hi Juergen!

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

-- 

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: abz@frogfoot.net


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-11-17 19:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-17 17:11 [LARTC] HTB broken in linux 2.4.20-rc2 ? Juergen Schmidt
2002-11-17 17:25 ` Juergen Schmidt
2002-11-17 17:59 ` Abraham van der Merwe
2002-11-17 18:49 ` Juergen Schmidt
2002-11-17 18:58 ` Juergen Schmidt
2002-11-17 19:03 ` Abraham van der Merwe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox