From: gypsy <gypsy@iswest.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Adding HTB support for kernel 2.4.19 SUSE 8.1
Date: Mon, 23 Jan 2006 16:13:05 +0000 [thread overview]
Message-ID: <43D50091.55921D21@iswest.com> (raw)
In-Reply-To: <43D4A3ED.4000407@e-attico.net>
Diego Cabrero wrote:
>
> Hi everybody,
> I've got a little problem when adding HTB support to my SUSE 8.1 by
> patching its kernel 2.4.19.
>
> After i patch kernel getting some errors, the HTB kernel option shows up
> but when i make modules it finds something wrong with the sch_htb.o module.
>
> Could somebody give me a hand on this?
>
> Thanks in advance.
>
> I get this information when patching (patch -p1 < htb3.6_2.4.17.diff)
> ******************************************************
> patching file net/sched/Config.in
> Reversed (or previously applied) patch detected! Assume -R? [n] n
> Apply anyway? [n] y
NO! Never say YES when patch says "Reverse?". Never say YES when patch
says "Apply anyway?" either.
> Hunk #1 FAILED at 2.
> 1 out of 1 hunk FAILED -- saving rejects to file net/sched/Config.in.rej
> patching file net/sched/Makefile
> Reversed (or previously applied) patch detected! Assume -R? [n] y
> Hunk #1 succeeded at 15 (offset -1 lines).
> patching file net/sched/sch_htb.c
> patching file include/linux/pkt_sched.h
> Reversed (or previously applied) patch detected! Assume -R? [n] y
> patching file net/sched/sch_api.c
> Hunk #1 FAILED at 1117.
> Hunk #2 succeeded at 1205 with fuzz 2.
> 1 out of 2 hunks FAILED -- saving rejects to file net/sched/sch_api.c.rej
> patching file lib/Makefile
> Hunk #1 FAILED at 8.
> 1 out of 1 hunk FAILED -- saving rejects to file lib/Makefile.rej
> patching file lib/rbtree.c
> Reversed (or previously applied) patch detected! Assume -R? [n] y
> Hunk #2 succeeded at 126 (offset 1 line).
> Hunk #3 succeeded at 292 (offset 1 line).
> 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).
Whatever just succeeded reversed what was in htb3.6_2.4.17.diff.
Go get the kernel source for 2.4.32. Copy your worlking .config into
that source and
make oldconfig
rm .version
Edit linux/include/net/pkt_sched.h changing JIFFIES to CPU
Compile and install that new kernel.
--gypsy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-01-23 16:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-23 9:37 [LARTC] Adding HTB support for kernel 2.4.19 SUSE 8.1 Diego Cabrero
2006-01-23 16:13 ` gypsy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43D50091.55921D21@iswest.com \
--to=gypsy@iswest.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox