WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Looking for xen-blkback patch for 2.6.39 kernel

To: Iain Kay <spam@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] Looking for xen-blkback patch for 2.6.39 kernel
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Fri, 3 Jun 2011 12:46:44 -0700 (PDT)
Cc: Konrad Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Fri, 03 Jun 2011 12:47:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EB199958-1D5B-41F0-9502-4CA417F92444@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <EB199958-1D5B-41F0-9502-4CA417F92444@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> From: Iain Kay [mailto:spam@xxxxxxxxxxx]
> Sent: Friday, June 03, 2011 11:51 AM
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Looking for xen-blkback patch for 2.6.39
> kernel
> 
> On 3 Jun 2011, at 16:46, Konrad Rzeszutek Wilk wrote:
> 
> > Or you can just get the 2.6.39 stable tree that has those patches and
> some more from
> >
> > stable/2.6.39.x
> >
> 
> I have attempted to compile this stable/2.6.39.x branch however running
> into difficulties. The error I receive during make is:
> 
>  MODPOST vmlinux.o
>  GEN     .version
>  CHK     include/generated/compile.h
>  UPD     include/generated/compile.h
>  CC      init/version.o
>  LD      init/built-in.o
>  LD      .tmp_vmlinux1
> mm/built-in.o: In function `enable_swap_info':
> /usr/local/src/stable/2.6.39.x/mm/swapfile.c:1566: undefined reference
> to `frontswap_init'
> make: *** [.tmp_vmlinux1] Error 1

Sorry, that's my bug.  I pointed Konrad to a git tree
which included frontswap but it was accidentally a stale
tree.  There is another commit to fix it but I don't
think Konrad has had a chance to pull the fix yet
into his tree.

A quick workaround is to enable CONFIG_FRONTSWAP.... it
doesn't do anything without being enabled at runtime so
will have no effect unless you know how to enable it.

Or you can manully pull this commit from my tree:
http://git.kernel.org/?p=linux/kernel/git/djm/tmem.git;a=commit;h=4cc8924f141157c39e1b2c113b2bf6f95a10f741
 

Dan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel