All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Adding HTB support for kernel 2.4.19 SUSE 8.1
@ 2006-01-23  9:37 Diego Cabrero
  2006-01-23 16:13 ` gypsy
  0 siblings, 1 reply; 2+ messages in thread
From: Diego Cabrero @ 2006-01-23  9:37 UTC (permalink / raw)
  To: lartc

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
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).
***************************************************
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Adding HTB support for kernel 2.4.19 SUSE 8.1
  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
  0 siblings, 0 replies; 2+ messages in thread
From: gypsy @ 2006-01-23 16:13 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-23 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.