[Users] OpenVZ Compilation Help

2015-07-03 Thread Phil Daws
Hello all: Request a little help please in compiling up a new OpenVZ kernel (CentOS 6) with an additional module enabled. I have setup the rpmbuild environment, downloaded the source RPM https://openvz.org/Download/kernel/rhel6/042stab108.5, and installed the kernel. Then following https://op

Re: [Users] OpenVZ Compilation Help

2015-07-03 Thread Vasily Averin
Dear Phil. Are you sure that you want to rebuild whole kernel? If you want to build some 3rd-party module only -- there is much simple way. Just install according vzkenrel and vzkernel-devel packages on your node and use out-of-tree compilation described in http://lxr.free-electrons.com/source/

Re: [Users] OpenVZ Compilation Help

2015-07-03 Thread Phil Daws
Hi Vasily, Yes, will build the whole kernel as I have a dedicated CentOS6 build server for all my locally maintained packages. Thanks, Phil - On 3 Jul, 2015, at 10:25, Vasily Averin v...@virtuozzo.com wrote: > Dear Phil. > > Are you sure that you want to rebuild whole kernel? > > If you

Re: [Users] OpenVZ Compilation Help

2015-07-03 Thread Vasily Averin
Dear Phil, in our rhel6-based test kernels we adjust config options in config-vz file. I don't know details of rhel6 build machinery, but this works well for build openVZ kernels. Thank you, Vasily Averin On 03.07.2015 13:30, Phil Daws wrote: > Hi Vasily, > > Yes, will build the whole

Re: [Users] OpenVZ Compilation Help

2015-07-03 Thread Phil Daws
Hi Vasily, That appears to be the missing magic to get the new kernel module compiled in :) Thank you very much for your help and have a great weekend. Phil - On 3 Jul, 2015, at 12:00, Vasily Averin v...@virtuozzo.com wrote: > Dear Phil, > in our rhel6-based test kernels we adjust config o