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] Re: [Xen-users] Xen-3.4-testing build failure

To: Pasi Kärkkäinen <pasik@xxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] Xen-3.4-testing build failure
From: "Kashmira. K." <chimnee@xxxxxxxxx>
Date: Thu, 7 Jan 2010 12:34:22 -0800 (PST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Jan 2010 12:35:15 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1262896462; bh=ph2C1lNZSZTl6G1j/YVJQ8Ql/hz4owrNJBDUwO6Dmgg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nw6nck4SKTULEw+AhcAUbyrRU8v0Ws/7VvOvskD8HOsZCuVkudEQ1A8dnvtntWoCivHQCicv+CDqvjsF2ujlNb+glr6bskbK2vVbi1HpkCzve7L0GtXfRX2JByPtwhnt8bGs9V7MpO5Ew6atTSVu0jNwemWrLT6vbusnrxVLqNk=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UguiKFyRouGayY+5izpCwzR7uQIUIQghL5rJtHQqXcXPGUtCU49LYeS3ZRDRZC7M7t2/bUPhv+zhtUzs8AMsQl9yrl1Chgf6tXzikKI1MMKGkM5MZBG38Tk452a/2wkuhSeealCkfrz+lKPOK0ifU7tI2UHgFekk+B0FouhZdpA=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B45A64F0200007800028962@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Jan,

I patch this change manually and restart "make world". It does not work. "make 
world" pulls the 2.6.18 tree again overwriting the changes.

Thanks
Kashmira

--- On Thu, 1/7/10, Jan Beulich <JBeulich@xxxxxxxxxx> wrote:

> From: Jan Beulich <JBeulich@xxxxxxxxxx>
> Subject: [Xen-devel] Re: [Xen-users] Xen-3.4-testing build failure
> To: "Pasi Kärkkäinen" <pasik@xxxxxx>, "Kashmira. K." <chimnee@xxxxxxxxx>
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
> Date: Thursday, January 7, 2010, 12:15 AM
> On Wed, Jan 06, 2010 at 10:23:04PM
> -0800, Kashmira. K. wrote:
> > Hello Xen users
> > 
> > I am trying to do a Xen cable linux build and am
> seeing a build failures.
> > 
> > I did 
> >     - hg clone http://xenbits.xensource.com/xen-3.4-testing.hg 
> >     - cd xen-3.4-testing
> >     - make world
> > 
> > During the  "make world" I see the following
> compile error. 
> >   LD     
> drivers/xen/pcifront/built-in.o
> >   CC     
> drivers/xen/privcmd/privcmd.o
> >
> /root/work/xen-3.4-testing.hg/linux-2.6.18-xen.hg/drivers/xen/privcmd/privcmd.c:
> 37: error: expected declaration
> specifiers or �?...�?? before
> �?pgtable_t�??
> >
> /root/work/xen-3.4-testing.hg/linux-2.6.18-xen.hg/drivers/xen/privcmd/privcmd.c: 
> In function
> �?enforce_singleshot_mapping�??:
> >
> /root/work/xen-3.4-testing.hg/linux-2.6.18-xen.hg/drivers/xen/privcmd/privcmd.c:
> 48: warning: passing argument 4 of
> �?apply_to_page_range�?? from incompatible point
> er type
> > make[9]: *** [drivers/xen/privcmd/privcmd.o] Error 1
> > make[8]: *** [drivers/xen/privcmd] Error 2
> > make[7]: *** [drivers/xen] Error 2
> > make[6]: *** [drivers] Error 2
> > make[5]: *** [vmlinuz] Error 2
> > make[4]: *** [vmlinuz] Error 2
> > 
> > Any pointer on how to fix this.
> 
> Patch below - pgtable_t apparently didn't exist in 2.6.18
> yet.
> 
> Jan
> 
> Subject: privcmd: fix build
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
> 
> ---
> head-2010-01-04.orig/drivers/xen/privcmd/privcmd.c   
> 2010-01-04 13:32:08.000000000 +0100
> +++
> head-2010-01-04/drivers/xen/privcmd/privcmd.c   
> 2010-01-05 11:21:42.000000000 +0100
> @@ -34,7 +34,7 @@ static struct proc_dir_entry *capabiliti
>  static struct proc_dir_entry *capabilities_intf;
>  
>  #ifndef HAVE_ARCH_PRIVCMD_MMAP
> -static int enforce_singleshot_mapping_fn(pte_t *pte,
> pgtable_t token,
> +static int enforce_singleshot_mapping_fn(pte_t *pte,
> struct page *pmd_page,
>             
>          unsigned
> long addr, void *data)
>  {
>      return pte_none(*pte) ? 0 : -EBUSY;
> 
> 
> 




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