Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10244 - sys-apps/iproute needs latest htb3 patch
Summary: sys-apps/iproute needs latest htb3 patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Brandon Low (RETIRED)
URL: http://luxik.cdi.cz/~devik/qos/htb/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-04 23:58 UTC by Thomas Arnett
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
iproute.zip (A new version that works with vanilla-2.4.20-rc1 ) (iproute.zip,28.21 KB, application/x-zip)
2002-11-10 08:13 UTC, Paul de Vrieze (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Arnett 2002-11-04 23:58:01 UTC
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.
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2002-11-10 08:13:07 UTC
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.
Comment 2 Georg Sauthoff 2002-11-23 16:19:48 UTC
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
Comment 3 Alexander Gretencord 2002-12-02 13:27:41 UTC
 Works great here too (with vanilla-2.4.20, now get it into the portage tree we need it :) 
Comment 4 Sebastian Dröge 2002-12-26 19:04:33 UTC
Works also with gentoo-sources-2.4.19-r10
Thanks
Comment 5 Josh Goebel 2003-01-06 04:54:18 UTC
Works great on gentoo-sources-2.4.19-r10 here as well.
Comment 6 Brandon Low (RETIRED) gentoo-dev 2003-01-09 15:15:08 UTC
closing bug, if it needs to be, any of you all can reopen it :)