Kernel Compile [message #1107] |
Tue, 31 January 2006 18:43 |
johan_hammy
Messages: 99 Registered: December 2005
|
Member |
|
|
Getting OpenVZ working with a 3rd party driver is getting to be a PITA. How do I just compile the OpenVZ kernel from scratch?
For OpenVZ to gain traction, adding drivers to the host OS should not be any more complicated than doing so for CentOS.
|
|
|
Re: Kernel Compile [message #1108 is a reply to message #1107] |
Tue, 31 January 2006 19:11 |
|
I didn't quite get your question.
To recompile src.rpm, you run
rpmbuild --rebuild --target=i686 ovzkernel*.src.rpm
(if using x86_64, omit the --target option)
To recompile from sources, you need to get linux-2.6.x.tar.bz2 from kernel.org, then apply combined patch (available from kernel download page), then compile as usual.
Finally, if you have some hardware which is not supported in OpenVZ kernel, just file a bug report, specifying all the details (kernel you have used that works, openvz kernel that doesn't work, what hardware it is, lspci, lspci -n, there to take the driver etc.)
Kir Kolyshkin
|
|
|
|
|
|
|
|