Re: [Vserver] CentOS RPM's

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Sun 25 Mar 2007 - 14:55:28 BST
Message-ID: <59357.192.168.101.6.1174830928.squirrel@intranet>

Matt Paine wrote:
> Hi Guys
>
> I've been a while (again) since I've mucked around with linux-vserver,
> but the time is here again. This time with CentOS.
>
> My ideal setup, as i've come to realise, is a CentOS installation as the
> host OS, with a linux vserver kernel.
>
> Now, my problem lies with an RPM that would suite my purposes. I am
> unable to find an out of the box kernel RPM, so I thought i'de give it a
> crack. I've started building RPM's for other software recently,so I
> thought it would be within my power to try a kernel build. I was wrong.
> I cant even build the CentOS4.4 kernel on a basic machine with the build
> software installed, and the src rpm from the CentOS site, let alone a
> patched version of the CentOS kernel, or a vanilla kernel. (yes, i've
> tried the vanilla kernel, with a make rpm-pkg and that has the same
> problems). By the way, trying to make a vanilla kernel, no patches, with
> standard make commands (no make rpm) fails with the same reasons
> (invalid string offset errors from the linker).

Sounds somewhat odd, but I've had problems trying to build 2.6.20 on it
too. Haven't really investigated it yet though.

> Has anyone got kernel RPM's with the linux vserver patches installed
> (vanilla or otherwise) that are build for CentOS4.4? I know Daniel has
> the fedora kernels, and I've been scouring his rpm repository to find
> the centos ones with no luck (plenty of util-vserver rpms, but no
> kernels). I had the thought that the vserver stuff might already be in
> the kernel (long shot i know, but anythings possible) so I downloaded
> the util-vserver rpms and tried them, to no avail of course :)

The problem with the CentOS kernel is that it's really old and it would
require major surgery in order to get any sort of recent Linux-VServer
version on there. I've been playing with the idea of providing more
recent, vanilla kernel RPMs too, but nothing has come out of that yet,
mostly because the userspace matches the old kernel. So in order to get a
recent kernel working nicely, you'd probably need to update at least udev
and mkinitrd.

> I would love to be able to compile a kernel and package it as an RPM,
> however at the moment my efforts are not being rewarded with anything
> remotely usable. If someone could help me with compiling the kernel that
> would be appreciated (I have the logs showing what errors I'm getting).

Posting the errors is always a good idea...

-- 
Daniel Hokka Zakrisson
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sun Mar 25 15:17:18 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 25 Mar 2007 - 15:17:22 BST by hypermail 2.1.8