Re: [Vserver] patched Debian kernels?

From: Sam Vilain <sam_at_vilain.net>
Date: Thu 13 Oct 2005 - 00:48:34 BST
Message-Id: <1129160914.12765.83.camel@wilber.wgtn.cat-it.co.nz>

On Wed, 2005-10-12 at 12:28 +0200, Eugen Leitl wrote:
> I'm running kernel-image-2.6.8-2-k7 in a couple of machines.
> Unfortunately, rolling your own kernels on that hardware
> has turned out to be flaky (some magical module missing,
> which ruins WoL and can't do more than 1 GByte memory).
>
> Does anyone have vserver patched kernel images for
> above kernels? (Unlikely, I know, but asking doesn't hurt).

There's one built for sarge at:

  deb http://apt.utsl.gen.nz/debian sarge all

Add that to your sources.list, then run something like this to see which
kernels are available:

   apt-get update && apt-cache search kernel-image vs

The one there is based on 2.6.13, but is not built for athlon.

> Alternatively, I would be very thankful for a procedure
> to build default kernel-image-2.6.8-2-k7 (with all
> the Debian magic applied) from source, so I can
> try patching it first, and build a package.

basically along the lines of:

   apt-get install kernel-tree-2.6.8 kernel-patch-debian-2.6.8 \
                   module-init-tools kernel-package build-essential
   vi /etc/kernel-pkg.conf # setup your maintainer e-mail
   cd /usr/src
   tar xzf kernel-tree-2.6.8.tar.gz
   cd kernel-tree-2.6.8
   cp /boot/config-2.6.8-2-k7 .config
   export PATCH_THE_KERNEL=YES
   make-kpkg --rootcmd fakeroot --initrd --uc --revision 1 \
             --append-to-version -2-k7 binary-arch

Something like that will get you a package very similar to the standard
debian image. If it doesn't work, ping me back a personal e-mail or
jump on IRC (#vserver on irc.oftc.net) and we'll nut it out.

> I'd be willing to maintain such packages in future for
> diverse K7/C3/AMD64 kernels, as I need those for work.

Sure, let's talk off-list about this too...

Sam.

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Received on Thu Oct 13 00:49:10 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 13 Oct 2005 - 00:49:16 BST by hypermail 2.1.8