LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   patching kernel problem (https://www.linuxquestions.org/questions/linux-newbie-8/patching-kernel-problem-163434/)

drenal 03-28-2004 02:21 PM

patching kernel problem
 
Hi, I want to patch my kernel. I did earlier 1 patch patch-2.4.26-pre2.bz2 on my linux-2.4.25 and now I try to inject htb3.6_2.4.17

drenal 03-28-2004 02:23 PM

Code:

# patch -p1 < htb3.6_2.4.17.diff
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.4orig/net/sched/Config.in  Sun Jan 13 15:10:25 2002
|+++ linux-2.4/net/sched/Config.in      Sun Jan 13 14:54:48 2002
--------------------------
File to patch:

how to apply this patch correctly?

vinay_s_s 03-28-2004 02:24 PM

I dont get it! what exactly do u want to do ?

drenal 03-28-2004 02:32 PM

I'm trying to use tc and HTB to shape traffic in my network. I recompiled kernel wiht all options in QoS section (in kernel not modules) but when I try to create some htb queue, I have this output:
Code:

# tc qdisc add dev eth1 root handle 1: htb default 12
Unknown qdisc "htb", hence option "default" is unparsable

so I checked HTB homepage http://luxik.cdi.cz/~devik/qos/htb/ and got some patch http://luxik.cdi.cz/~devik/qos/htb/v....6-020525.tgz. Now I try to inject it in my kernel

drenal 03-28-2004 02:56 PM

all right, no matter, I'm too nervous today:/


All times are GMT -5. The time now is 02:03 AM.