Kernel Compile [message #1107] |
Tue, 31 January 2006 18:43 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
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 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
|
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
|
|
|
|
|
|
|
|