Skip to contentSkip to conversation

HTB and message 'RTNETLINK answers: Invalid argument'

LARTC Patrick Spousta 2 participants 3 messages Mar 28, 2004 – Mar 30, 2004

lore
Share & tools
lore
#0 lore raw

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 23 lines · Patrick Spousta

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.

Quoted 4 lines

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Patrick Spousta
Quoted 11 lines · Andy Furniss
Quoted 9 lines

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?

Quoted 6 lines

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

It helps me. Correct link is
http://www.digriz.org.uk/jdg-qos-script/releases/binaries-latest.tar.bz2

Thanks
Patrick

Quoted 4 lines

Andy.

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