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/
> # tc qdisc add dev ppp0 root handle 1: htb default 12 > RTNETLINK answers: Invalid argumentFYI: 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/
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
> > 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/
> > 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/
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