OpenVZ Forum


Home » General » Support » Unable to apply patch 025stab014 on Debian Etch (testing) 2.6.15-k8-smp
Unable to apply patch 025stab014 on Debian Etch (testing) 2.6.15-k8-smp [message #3452] Mon, 29 May 2006 20:09 Go to next message
cyndicate is currently offline  cyndicate
Messages: 1
Registered: May 2006
Junior Member
Hi,

I'm running a Debian Etch system on an AMD X2 64 machine
with the actual 2.6.15-k8-smp kernel from the Debian/testing distribution.

I obtained the kernel sources using

# apt-get linux-sources-2.6.15

While trying to apply the patch patch-025stab014-combined I'm getting the error messages "HUNK #... FAILED at ..." (see the attachment patch.output.txt).

An attemt to compile (make after running make menuconfig with appropriate *.config.ovz file) results in a compiler error in the file fs/exec.c :

CHK include/linux/version.h
CHK include/linux/compile.h
CHK usr/initramfs_list
CC fs/exec.o
fs/exec.c: In function ‘zap_threads’:
fs/exec.c:1425: warning: implicit declaration of function ‘do_each_thread’
fs/exec.c:1425: error: syntax error before ‘{’ token
fs/exec.c: At top level:
fs/exec.c:1430: warning: type defaults to ‘int’ in declaration of ‘while_each_thread’
fs/exec.c:1430: warning: parameter names (without types) in function declaration
fs/exec.c:1430: warning: data definition has no type or storage class
fs/exec.c:1431: error: syntax error before ‘do’
make[1]: *** [fs/exec.o] Error 1
make: *** [fs] Error 2

Please help!
Re: Unable to apply patch 025stab014 on Debian Etch (testing) 2.6.15-k8-smp [message #3458 is a reply to message #3452] Tue, 30 May 2006 06:24 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
The only reason I see is that apt-get downloads not vanilla kernel, rather 2.6.15 kernel with some debian patches.
But openvz patch is against vanilla kernel.
You can donwload vanilla kernel manually from kernel.org, than
patch can be applied without problems.

Good luck!
Re: Unable to apply patch 025stab014 on Debian Etch (testing) 2.6.15-k8-smp [message #3470 is a reply to message #3458] Tue, 30 May 2006 14:34 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

BTW, 2.6.15 is not updated any more in OpenVZ, so you are recommended to stick to 2.6.16 or -stable 2.6.8


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: *SOLVED* vzctl Got signal 4
Next Topic: Virtual hosting
Goto Forum:
  


Current Time: Thu Aug 22 22:17:59 GMT 2024

Total time taken to generate the page: 0.02973 seconds