View Single Post
  #3  
Old 15th February 2007, 09:27
pjdevries pjdevries is offline
HowtoForge Supporter
 
Join Date: Sep 2006
Posts: 130
Thanks: 7
Thanked 12 Times in 5 Posts
Default

Thanks for the reply Falko.

I downloaded all the kernel compilation prerequisites using a sligthly modified version of the aptitude command you describe in your tutorial:
apt-get install kernel-package linux-source-2.6.18 kernel-patch-openvz libncurses5-dev
This should install the same kernel sources and patch as the ones you mention. The error messages I get when running the make-kpkg command are:
START applying openvz patch (OpenVZ kernel patch for virtual server support)
Testing whether "OpenVZ kernel patch for virtual server support" patch for 2.6.18 applies (dry run):
1 out of 7 hunks FAILED -- saving rejects to file mm/fremap.c.rej
5 out of 44 hunks FAILED -- saving rejects to file mm/memory.c.rej
1 out of 6 hunks FAILED -- saving rejects to file mm/mprotect.c.rej
6 out of 29 hunks FAILED -- saving rejects to file net/ipv4/netfilter/ip_tables.c.rej
1 out of 8 hunks FAILED -- saving rejects to file net/ipv6/udp.c.rej
"OpenVZ kernel patch for virtual server support" patch for 2.6.18 does not apply cleanly
Patch /usr/src/kernel-patches/all/apply/openvz failed.
So the real answer to your second question is: probably not

Any helpful suggestions are very welcome and highly appreciated but I guess I'll just have to wait until a modified version of the kernel patch will be available in the Etch package repository.
Reply With Quote