gentoo-sources 2.4.19-r10 incorporates the htb3.6-020525 patch to provide a HTB packet scheduler. A corresponding patch to tc is required, but it appears this patch differs from the htb3 patch provided with iproute 20010824-r2. When attempting to use this scheduler as a tc qdisc (e.g., "tc qdisc add dev eth0 root handle 1: htb default 11"), the binary produced by iproute-20010824-r2 fails with "RTNETLINK answers: Invalid argument", while a binary produced from iproute2-2.4.7-now-ss010824 + htb3.6-020525 works properly.
Created attachment 5533 [details] iproute.zip (A new version that works with vanilla-2.4.20-rc1 ) I made a new patch +ebuild that takes q_htb.c from the patch on the htb website. To make it compile I removed the old kernel header as it doesn't even compile. If necessary the new version of that header file could be included. I tested the patch on the vanilla kernel version 2.4.20-rc1.
Hi, I have tried this ebuild, and it works fine with vanilla 2.4.20-rc3 and htb. No RNETLINK errors anymore like with the -r2 ebuild. Regards Georg Sauthoff
Works great here too (with vanilla-2.4.20, now get it into the portage tree we need it :)
Works also with gentoo-sources-2.4.19-r10 Thanks
Works great on gentoo-sources-2.4.19-r10 here as well.
closing bug, if it needs to be, any of you all can reopen it :)