From: Tue Nørgaard (lists_at_n-consult.dk)
Date: Thu 26 Jun 2003 - 00:53:24 BST
Sent: Wednesday, June 25, 2003 6:57 AM
Subject: Re: [vserver] Vserver patches for Redhat 7.3 kernel 2.4.18-3?
> On Wednesday 25 June 2003 01:17, Tue Nørgaard wrote:
> > Hi...
> > I´m looking for the vserver patches - I would prefere the ctx17 - to
> > redhat´s kernel 2.4.18-3?
> > So why do I insist on that kernel? Because IBM has some smbus drivers
> > for this kernel ONLY.
> > Adaptec also has some system management drivers made ONLY for that
> > really need...
> > Please help..
> Not problem. For correctly work my patches on 2.4.18-3 you need simple
> last RH kernels rename one function in task scheduler - you need manual
> it after patching.
> My last patches can found www.ttn.ru/~shadow/
I have downloaded: http://www.ttn.ru:8001/~shadow/releases/rh-vserver.gz
I then edited the patch file so the right kernel is used. (2.4.18-3)
When I patch I get the following:
[root_at_server linux-2.4.18-3]# patch -p1 < /tmp/rh-vserver
patching file arch/i386/kernel/entry.S
Hunk #1 succeeded at 650 with fuzz 2.
patching file arch/i386/kernel/init_task.c
patching file arch/i386/kernel/ptrace.c
patching file arch/i386/mm/extable.c
can't find file to patch at input line 61
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff -cr2P linux-2.4.18-3/arch/ppc/kernel/misc.S
|*** linux-2.4.18-3/arch/ppc/kernel/misc.S Fri Dec 27 15:48:17 2002
|--- ../linux-2.4.18-3/arch/ppc/kernel/misc.S Tue Apr 1 15:06:16
File to patch:
Here is seems that it can not find the misc.S file. And that´s correct -
since the only directroy I have in ../arch/ is the i386 directory.
Then I tried to remove the part refering to /ppc - /um - /sparc and so on
Now I get a lot of new errors...
I have tried to correct al the places where it does not work - but I´m not
sure the patching is being done ok... How do I check that?
Could someone point me in the right direction?