[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [Xen-users] Xen-3.4-testing build failure


  • To: Pasi KÃrkkÃinen <pasik@xxxxxx>
  • From: "Kashmira. K." <chimnee@xxxxxxxxx>
  • Date: Thu, 7 Jan 2010 17:08:08 -0800 (PST)
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, Jan Beulich <JBeulich@xxxxxxxxxx>
  • Delivery-date: Thu, 07 Jan 2010 17:08:45 -0800
  • 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=gWkPbcI5jbIzgl2Tju4gGGrnGzREI5+kHXejOIJIgaD8t4AzPhW3SovsAxtIlxWqQjxJmEj1CRZo/C+brvdr4L7tket8o1d8bn2hCYLMSF7Ro8BmUgek36qhlQOCYEqqgzKhd83qOkupScvn9o8X+X+Psk2NAms8u07wx6bSP3Q=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Thanks Pasi,

That worked for me. I could apply the patch and build linux, and then 
separately built xen.

-Kashmira

--- On Thu, 1/7/10, Pasi KÃrkkÃinen <pasik@xxxxxx> wrote:

> From: Pasi KÃrkkÃinen <pasik@xxxxxx>
> Subject: Re: [Xen-devel] Re: [Xen-users] Xen-3.4-testing build failure
> To: "Kashmira. K." <chimnee@xxxxxxxxx>
> Cc: "Jan Beulich" <JBeulich@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, 
> xen-users@xxxxxxxxxxxxxxxxxxx
> Date: Thursday, January 7, 2010, 1:00 PM
> On Thu, Jan 07, 2010 at 12:34:22PM
> -0800, Kashmira. K. wrote:
> > 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.
> > 
> 
> You can always pull the 2.6.18-xen tree manually, and
> compile it
> separately from Xen.
> 
> hg clone http://xenbits.xen.org/linux-2.6.18-xen.hg
> 
> -- Pasi
> 
> > 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.