Patrick Spousta
2004-Mar-28 08:40 UTC
HTB and message ''RTNETLINK answers: Invalid argument''
I wish to use HTB shapper with ESFQ scheduler per class. Kernel patched, compiled and reinstaled with all needed modules. Package iproute is also patched, compiled and this ''new'' version is installed. When I tried assign HTB as root qdisc with the ''new'' tc I got message root@nm-vra:/etc/init.d# tc qdisc add dev eth2 root handle 1: htb default 12 RTNETLINK answers: Invalid argument root@nm-vra:/etc/init.d# BUT when I do the same with original tc (I doesn''t support ESFQ), everything is ok root@nm-vra:/etc/init.d# /usr/local/sbin/tc qdisc add dev eth2 root handle 1: htb default 12 root@nm-vra:/etc/init.d# Sources for ESFQ patching I take from Debian sources (iproute_20010824.orig.tar.gz, iproute_20010824-8.diff.gz and iproute_20010824-8.dsc). I hope it sources are the same version as original (Debian binary) iproute package. When I tried apply HTB3.6 patch to iproute sources I got message, that the patch is already used. Do anybody know where is problem? Patrick _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Andy Furniss
2004-Mar-29 23:50 UTC
Re: HTB and message ''RTNETLINK answers: Invalid argument''
Patrick Spousta wrote:> I wish to use HTB shapper with ESFQ scheduler per class. Kernel patched, > compiled and reinstaled with all needed modules. Package iproute is also > patched, compiled and this ''new'' version is installed. > > When I tried assign HTB as root qdisc with the ''new'' tc I got message > > root@nm-vra:/etc/init.d# tc qdisc add dev eth2 root handle 1: htb > default 12 > RTNETLINK answers: Invalid argument > root@nm-vra:/etc/init.d# > > BUT when I do the same with original tc (I doesn''t support ESFQ), > everything is ok > > root@nm-vra:/etc/init.d# /usr/local/sbin/tc qdisc add dev eth2 root > handle 1: htb default 12 > root@nm-vra:/etc/init.d# > > Sources for ESFQ patching I take from Debian sources > (iproute_20010824.orig.tar.gz, iproute_20010824-8.diff.gz and > iproute_20010824-8.dsc). I hope it sources are the same version as > original (Debian binary) iproute package. > > When I tried apply HTB3.6 patch to iproute sources I got message, that > the patch is already used. > > Do anybody know where is problem?I don''t know what the problem is but there is a binary tc with esqf patch on Alexander Clouters site http://www.digriz.org.uk/jdg-qos-script/ http://www.digriz.org.uk/jdg-qos-script/releases/binaries-031207.tar.bz2 Andy. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Patrick Spousta
2004-Mar-30 04:03 UTC
Re: HTB and message ''RTNETLINK answers: Invalid argument''
Andy Furniss wrote:>> Sources for ESFQ patching I take from Debian sources >> (iproute_20010824.orig.tar.gz, iproute_20010824-8.diff.gz and >> iproute_20010824-8.dsc). I hope it sources are the same version as >> original (Debian binary) iproute package. >> >> When I tried apply HTB3.6 patch to iproute sources I got message, that >> the patch is already used. >> >> Do anybody know where is problem? > > > I don''t know what the problem is but there is a binary tc with esqf > patch on Alexander Clouters site > > http://www.digriz.org.uk/jdg-qos-script/ > > http://www.digriz.org.uk/jdg-qos-script/releases/binaries-031207.tar.bz2It helps me. Correct link is http://www.digriz.org.uk/jdg-qos-script/releases/binaries-latest.tar.bz2 Thanks Patrick> > Andy. > >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/