For successfull compiling & booting openvz kernel 2.6.18 ( 028stab079.2 ) on debian lenny it should be compiled with
1) gawk installed instead of default mawk
2) gcc-4.1 instead of default gcc-4.3
3) command line should look like MAKEFLAGS="CC=gcc-4.1" CONCURRENCY_LEVEL=5 make-kpkg --initrd --append-to-version '-mykernel-gcc4.1' kernel_image
(
Read more... )