Subject: Re: [vserver] About patch file to be download
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Tue, 26 Aug 2008 10:41:10 +0200

On Tue, Aug 26, 2008 at 04:20:14PM +0800, Stephen Liu wrote:
> 
> --- Herbert Poetzl <herbert@13thfloor.at> wrote:
> 
> > On Tue, Aug 26, 2008 at 03:28:33PM +0800, Stephen Liu wrote:
> 
> - snip -
>  
> > > On;
> > > http://vserver.13thfloor.at/Experimental/
> > > 
> > > I found patch-2.6.24.4-vs2.3.0.34.diff which matches linux-source
> > > version
> > > 
> > > 
> > > Whether download it and using it to run;
> > > cd linux-source-2.6.24
> > > wget
> > >
> >
> http://vserver.13thfloor.at/Experimental/patch-2.6.24.4-vs2.3.0.34.diff
> > > patch -pl < patch-2.6.24.4-vs2.3.0.34.diff
> >         ~~~ should be -p1
> > > ....
> > > ???
> > > 
> > > 
> > > Please advise.  TIA
> 
> > 
> > simple: don't do it, 2.6.24 is broken.
> > 
> > better get a 2.6.22 kernel (+ patch) or a 2.6.26.3
> > kernel, where you can get experimental patches
> 
> 
> Thanks for your advice.
> 
> 
> I'll run;
> 
> # apt-get remove linux-source-2.6.24 kernel-package linux-kernel-devel
> 
> to delelt all of them.
> 
> 
> But I can't find linux-source-2.6.26.3 on Ubuntu repo
> 
> # apt-cache search linux-source-2.6.26.3
> No printout
> 
> 
> # apt-cache search linux-source
> linux-source - Linux kernel source with Ubuntu patches
> linux-source-2.6.24 - Linux kernel source for version 2.6.24 with
> Ubuntu patches
> 
> 
> I found;
> http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.3.tar.gz 

yep, that's fine, the patches for that one are here:

> But I can't find a patch file to match it.

 http://vserver.13thfloor.at/Experimental/

for best results, get the following two files:

 http://vserver.13thfloor.at/Experimental/patch-2.6.26.3-vs2.3.0.35.diff
 http://vserver.13thfloor.at/Experimental/delta-cowbl-fix02.diff

apply them as usual (patch -p1 inside the kernel source)
copy your 'working' .config (zcat /proc/config.gz >.config)
and work your way through a kernel config (e.g. make oldconfig)

once you are happy with the config, build and install
the kernel 

HTH,
Herbert

> whether download it to build a customized kernel according to;
> http://linux-vserver.org/Installation_on_Ubuntu#Howto_Devel_2.6.17.14-vs2.0.2.1-grsec2.1.9
> 
> Whether download the following patch tarball;
> http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.26.3.bz2
> 
> and decompress it?
> 
> 
> TIA
> 
> 
> B.R.
> Stephen L
> 
> Send instant messages to your online friends http://uk.messenger.yahoo.com