Hi guys, How to put HTB in to 2.4 kernel? Thanks in advance Rimas
On Tuesday 24 September 2002 16:12, Rimas wrote: Hi Rimas,> How to put HTB in to 2.4 kernel?patching? :) If you wanna try 3.6 code, download the tgz, untargzip it (tar xzpf) and you''ll see a diff/patch. Just "patch -p1 --dry-run < patchname" and see if it succeed, if, leave out --dry-run, if not, fix the errors. If you have questions when errors occur, don''t hesitate to ask. for HTB2 code, just download the patch and follow the same as above (patch -p1 ...) http://luxik.cdi.cz/~devik/qos/htb/ -- Kind regards Marc-Christian Petersen http://sourceforge.net/projects/wolk PGP/GnuPG Key: 1024D/569DE2E3DB441A16 Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16 Key available at www.keyserver.net. Encrypted e-mail preferred. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tue, 2002-09-24 at 11:12, Rimas wrote:> Hi guys, > > How to put HTB in to 2.4 kernel?Compile kernel 2.4.20 with HTB support. Or else get kernel patches for 2.4.x (or 2.2.x) from devik''s homepage. -- Esteban A. Maringolo Secont, Comunicaciones Digitales Buenos Aires, Argentina Tel: +54 (11) 4551-2455 http://www.secont.com.ar/
Thank you guys Rimas ----- Original Message ----- From: Rimas To: lartc@mailman.ds9a.nl Sent: Tuesday, September 24, 2002 3:12 PM Subject: [LARTC] HTB Hi guys, How to put HTB in to 2.4 kernel? Thanks in advance Rimas
I tried the "patch -p1 --dry-run ./htb3.6_2.4.17.diff" but nothing happened, no error message, nothing. Rimas ----- Original Message ----- From: "Marc-Christian Petersen" <m.c.p@gmx.net> To: <lartc@mailman.ds9a.nl> Cc: "Rimas" <rmocius@auste.elnet.lt> Sent: Tuesday, September 24, 2002 3:17 PM Subject: Re: [LARTC] HTB> On Tuesday 24 September 2002 16:12, Rimas wrote: > > Hi Rimas, > > > How to put HTB in to 2.4 kernel? > patching? :) > > If you wanna try 3.6 code, download the tgz, untargzip it (tar xzpf) and > you''ll see a diff/patch. Just "patch -p1 --dry-run < patchname" and see ifit> succeed, if, leave out --dry-run, if not, fix the errors. If you have > questions when errors occur, don''t hesitate to ask. > > for HTB2 code, just download the patch and follow the same as above(patch -p1> ...) > > http://luxik.cdi.cz/~devik/qos/htb/ > > -- > Kind regards > Marc-Christian Petersen > > http://sourceforge.net/projects/wolk > > PGP/GnuPG Key: 1024D/569DE2E3DB441A16 > Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16 > Key available at www.keyserver.net. Encrypted e-mail preferred. > >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tuesday 24 September 2002 16:55, Rimas wrote: Hi Rimas,> I tried the "patch -p1 --dry-run ./htb3.6_2.4.17.diff" but nothing > happened, no error message, nothing.err, you forget < ! Look carefully to what I''ve posted :) root@codeman:[/usr/src/linux-2.4.18-vanilla] # patch -p1 --dry-run < htb2_2.4.17.diff patching file net/sched/Config.in patching file net/sched/Makefile patching file net/sched/sch_htb.c patching file include/linux/pkt_sched.h patching file net/sched/sch_api.c -- Kind regards Marc-Christian Petersen http://sourceforge.net/projects/wolk PGP/GnuPG Key: 1024D/569DE2E3DB441A16 Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16 Key available at www.keyserver.net. Encrypted e-mail preferred. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi again, Sorry it was my mistake, I have mised <. And I got a few error messages : patching file net/sched/Config.in patching file net/sched/Makefile patching file net/sched/sch_htb.c patching file include/linux/pkt_sched.h patching file net/sched/sch_api.c Hunk #1 FAILED at 1117. 1 out of 2 hunks FAILED -- saving rejects to file net/sched/sch_api.c.rej patching file lib/Makefile Reversed (or previously applied) patch detected! Assume -R? [n] y patching file lib/rbtree.c Reversed (or previously applied) patch detected! Assume -R? [n] y patching file include/net/pkt_sched.h Reversed (or previously applied) patch detected! Assume -R? [n] y Hunk #1 succeeded at 222 (offset 1 line). Is it OK or no? I use RedHat 7.3 and kernel 2.4.19 and do I have to update iproute2 too ? Thank you Rimas ----- Original Message ----- From: "Marc-Christian Petersen" <m.c.p@gmx.net> To: <lartc@mailman.ds9a.nl> Cc: "Rimas" <rmocius@auste.elnet.lt> Sent: Tuesday, September 24, 2002 4:00 PM Subject: Re: [LARTC] HTB> On Tuesday 24 September 2002 16:55, Rimas wrote: > > Hi Rimas, > > > I tried the "patch -p1 --dry-run ./htb3.6_2.4.17.diff" but nothing > > happened, no error message, nothing. > err, you forget < ! > > Look carefully to what I''ve posted :) > > root@codeman:[/usr/src/linux-2.4.18-vanilla] # patch -p1 --dry-run < > htb2_2.4.17.diff > patching file net/sched/Config.in > patching file net/sched/Makefile > patching file net/sched/sch_htb.c > patching file include/linux/pkt_sched.h > patching file net/sched/sch_api.c > > -- > Kind regards > Marc-Christian Petersen > > http://sourceforge.net/projects/wolk > > PGP/GnuPG Key: 1024D/569DE2E3DB441A16 > Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16 > Key available at www.keyserver.net. Encrypted e-mail preferred. > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tuesday 24 September 2002 16:23, Esteban Maringolo wrote:> On Tue, 2002-09-24 at 11:12, Rimas wrote: > > Hi guys, > > > > How to put HTB in to 2.4 kernel? > > Compile kernel 2.4.20 with HTB support.Kernel 2.4.20 has htb builtin. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tue, 2002-09-24 at 12:38, Stef Coene wrote:> On Tuesday 24 September 2002 16:23, Esteban Maringolo wrote: > > On Tue, 2002-09-24 at 11:12, Rimas wrote:> > > How to put HTB in to 2.4 kernel?> > Compile kernel 2.4.20 with HTB support. > Kernel 2.4.20 has htb builtin.That''s why I''ve said "compile" and not "patch". :-) -- Esteban A. Maringolo Secont, Comunicaciones Digitales Buenos Aires, Argentina Tel: +54 (11) 4551-2455 http://www.secont.com.ar/
On Tuesday 24 September 2002 17:51, Esteban Maringolo wrote:> On Tue, 2002-09-24 at 12:38, Stef Coene wrote: > > On Tuesday 24 September 2002 16:23, Esteban Maringolo wrote: > > > On Tue, 2002-09-24 at 11:12, Rimas wrote: > > > > How to put HTB in to 2.4 kernel? > > > > > > Compile kernel 2.4.20 with HTB support. > > > > Kernel 2.4.20 has htb builtin. > > That''s why I''ve said "compile" and not "patch". :-):) Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wed, 2002-09-25 at 03:14, Rimas wrote:> Hi again, > > Sorry it was my mistake, I have mised <. > And I got a few error messages : > > patching file net/sched/Config.in > patching file net/sched/Makefile > patching file net/sched/sch_htb.c > patching file include/linux/pkt_sched.h > patching file net/sched/sch_api.c > Hunk #1 FAILED at 1117. > 1 out of 2 hunks FAILED -- saving rejects to file net/sched/sch_api.c.rej > patching file lib/Makefile > Reversed (or previously applied) patch detected! Assume -R? [n] y^^^^> patching file lib/rbtree.c > Reversed (or previously applied) patch detected! Assume -R? [n] y^^^^> patching file include/net/pkt_sched.h > Reversed (or previously applied) patch detected! Assume -R? [n] y^^^^> Hunk #1 succeeded at 222 (offset 1 line).why did you reverse the patch?
On Tuesday 24 September 2002 17:14, Rimas wrote:> Hi again, > > Sorry it was my mistake, I have mised <. > And I got a few error messages : > > patching file net/sched/Config.in > patching file net/sched/Makefile > patching file net/sched/sch_htb.c > patching file include/linux/pkt_sched.h > patching file net/sched/sch_api.c > Hunk #1 FAILED at 1117. > 1 out of 2 hunks FAILED -- saving rejects to file net/sched/sch_api.c.rej > patching file lib/Makefile > Reversed (or previously applied) patch detected! Assume -R? [n] y > patching file lib/rbtree.c > Reversed (or previously applied) patch detected! Assume -R? [n] y > patching file include/net/pkt_sched.h > Reversed (or previously applied) patch detected! Assume -R? [n] y > Hunk #1 succeeded at 222 (offset 1 line). > > Is it OK or no?Nop. You have to choose "n". Some general clean-up patches that are in the htb patch are already applied to the defaul tkernel. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Mandrake 2.4.19mdk has HTB in, probably RedHat have done the same ... "Rimas" <rmocius@auste.elnet.lt> wrote: |Hi again, | |Sorry it was my mistake, I have mised <. |And I got a few error messages : | |patching file net/sched/Config.in |patching file net/sched/Makefile |patching file net/sched/sch_htb.c |patching file include/linux/pkt_sched.h |patching file net/sched/sch_api.c |Hunk #1 FAILED at 1117. |1 out of 2 hunks FAILED -- saving rejects to file net/sched/sch_api.c.rej |patching file lib/Makefile |Reversed (or previously applied) patch detected! Assume -R? [n] y |patching file lib/rbtree.c |Reversed (or previously applied) patch detected! Assume -R? [n] y |patching file include/net/pkt_sched.h |Reversed (or previously applied) patch detected! Assume -R? [n] y |Hunk #1 succeeded at 222 (offset 1 line). | |Is it OK or no? | |I use RedHat 7.3 and kernel 2.4.19 and do I have to update iproute2 too ? | |Thank you | |Rimas | | |----- Original Message ----- |From: "Marc-Christian Petersen" <m.c.p@gmx.net> |To: <lartc@mailman.ds9a.nl> |Cc: "Rimas" <rmocius@auste.elnet.lt> |Sent: Tuesday, September 24, 2002 4:00 PM |Subject: Re: [LARTC] HTB | | |> On Tuesday 24 September 2002 16:55, Rimas wrote: |> |> Hi Rimas, |> |> > I tried the "patch -p1 --dry-run ./htb3.6_2.4.17.diff" but nothing |> > happened, no error message, nothing. |> err, you forget < ! |> |> Look carefully to what I''ve posted :) |> |> root@codeman:[/usr/src/linux-2.4.18-vanilla] # patch -p1 --dry-run < |> htb2_2.4.17.diff |> patching file net/sched/Config.in |> patching file net/sched/Makefile |> patching file net/sched/sch_htb.c |> patching file include/linux/pkt_sched.h |> patching file net/sched/sch_api.c |> |> -- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/