Skip to contentSkip to conversation

Adding HTB support for kernel 2.4.19 SUSE 8.1

LARTC Diego Cabrero 2 participants 2 messages Jan 23, 2006

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw
Quoted 10 lines · Diego Cabrero

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?

Quoted 7 lines

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.

Quoted 14 lines

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.

Quoted 8 lines

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc