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] Troubles building the xen linux pv drivers

To: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
Subject: Re: [Xen-devel] Troubles building the xen linux pv drivers
From: "C.J. Adams-Collier" <cjcollier@xxxxxxxxx>
Date: Tue, 17 Nov 2009 09:09:20 -0800
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 17 Nov 2009 09:09:51 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer; bh=qdImmEGWHy8Q7PQhUdYyM/pGPU+jbh3Tz5H+PQn/AQA=; b=f+c/fZnZUj42+mwavOTzB9Jj/EqlGH6NxrCoQpn4Spmo7mye/Uf55/6fXWeZN9ugvW mG5hEhsGwq1t7wjac2+/GRpyEVb950qQDkNf/zZxBSFXh0P3fksxs5HCWnnmXiP9timK zskHxTWxRFMfUET2uSQ1t/9SO75HdFLUCtlRo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer; b=pTmp+MuK4zKtPdR51Vi48mhqG63jLi4P/vd6IiXiFbRqhSivkOmwL34JAJEeIokwcd rk0gfjd0FAuhiqAtlu4BznKjRmtLjv6lXH99jOnMj16wtdWShrzqQfRH0GNj8sk05Zuw Tais0y5dlb5w5xwIqAAUKGqjo4AqQv0mrooGs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AF46483.80606@xxxxxxxx>
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>
Organization: Collier Technologies
References: <4AF205D0.7070001@xxxxxxxx> <20091105095515.GK1434@xxxxxxxxxxx> <4AF46483.80606@xxxxxxxx>
Reply-to: cjac@xxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2009-11-06 at 19:01 +0100, Guillaume Rousse wrote:
> Pasi Kärkkäinen a écrit :
> > On Wed, Nov 04, 2009 at 11:53:04PM +0100, Guillaume Rousse wrote:
> >> Hello list.
> >>
> >> I'm having trouble building the xen linux pv drivers from xen 3.4.1:
> >> [guillaume@oberkampf linux-2.6]$ make -C 
> >> /lib/modules/2.6.31.5-desktop-1mnb/build/ M=$PWD modules
> >> make: Entering directory `/usr/src/linux-2.6.31.5-desktop-1mnb'
> >>   CC [M] 
> >> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.o
> >> In file included from 
> >> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.c:51:
> >> include/xen/interface/memory.h:32: error: expected 
> >> specifier-qualifier-list before 'GUEST_HANDLE'
> >> include/xen/interface/memory.h:53: warning: data definition has no type 
> >> or storage class
> >>
> >> My current kernel is a 2.6.31.5, and I'm using a vanilla 2.6.30.2 + 
> >> Andrew Lyon patches as xenified linux tree.
> >>
> > 
> > I think unmodified_drivers is currently only supported on Linux 2.6.18.
> They are commit logs message in mercurial about fixing build with Linux 
> 2.6.27+, so I think at least 2.6.27 is supposed to build.
> 
> > Novell has some patches to make it work on 2.6.27.
> Is there a public repository available for them ?

They keep the patches in the source rpm:

ftp://ftp.suse.com/pub/projects/kernel/kotd/SLE11_BRANCH/x86_64/kernel-xen-2.6.27.39-0.0.0.2.a1d3483.x86_64.rpm

I tried building it yesterday and failed at platform-pci.  See attached
build log.  Any help anyone could provide would be greatly appreciated.

> > Also, afaik, someone at Redhat is working on porting the
> > unmodified_drivers to pv_ops framework for upstream Linux kernel.
> Again, I'm interested by any reference about where to find the code.

Attachment: log
Description: Text document

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>