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-users

Re: [Xen-users] Compiling pv drivers for Xen 3.3 for domU kernel 2.6.31,

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Compiling pv drivers for Xen 3.3 for domU kernel 2.6.31, 2.6.32
From: Fantu <fantonifabio@xxxxxxxxxx>
Date: Fri, 23 Apr 2010 13:03:26 -0700 (PDT)
Delivery-date: Fri, 23 Apr 2010 13:09:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <884D584A4BCFFC558188867A@xxxxxxxxxxxx>
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>
References: <884D584A4BCFFC558188867A@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
For .31 or new use pv_ops from vanilla git (for dom0 and domU support)
http://wiki.xensource.com/xenwiki/XenParavirtOps
Or vanilla mainstream (actual only domU support) http://kernel.org/

Alex Bligh wrote:
> 
> I want to produce loadable modules for recent kernels that will have
> pv driver support for Xen3.3. Of course these kernels would run
> fine in domU with pvops were they running on a later Xen plus host
> kernel, but today's task is to get them running on a standard
> Xen3.3 install without pvops support.
> 
> Documentation, such as it is, suggests I need to pull down
> the kernel source and then compile. I get errors like these:
> 
> $ make -C /home/amb/pvdrivers/linux-source-2.6.32 M=$PWD modules
> make: Entering directory `/home/amb/pvdrivers/linux-source-2.6.32'
> make[2]: *** No rule to make target 
> `/home/amb/pvdrivers/xen-3.3-testing.hg/unmodified_drivers/linux-2.6/balloon/balloon.o',
>  
> needed by 
> `/home/amb/pvdrivers/xen-3.3-testing.hg/unmodified_drivers/linux-2.6/balloon/xen-balloon.o'.
>  
> Stop.
> make[1]: *** 
> [/home/amb/pvdrivers/xen-3.3-testing.hg/unmodified_drivers/linux-2.6/balloon] 
> Error 2
> make: *** 
> [_module_/home/amb/pvdrivers/xen-3.3-testing.hg/unmodified_drivers/linux-2.6] 
> Error 2
> make: Leaving directory `/home/amb/pvdrivers/linux-source-2.6.32'
> 
> I can copy .o files around, but eventually I get to the point where
> it tries to find blkfront.o, and there is no blkfront.c in my kernel
> source, nor within unmodified_drivers. Do I need to apply Xen patches to
> the source too, and if so where is the best place to get them from?
> 
> unmodified_drivers from xenunstable does the same.
> 
> -- 
> Alex Bligh
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Compiling-pv-drivers-for-Xen-3.3-for-domU-kernel-2.6.31%2C-2.6.32-tp28345090p28345759.html
Sent from the Xen - User mailing list archive at Nabble.com.


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

<Prev in Thread] Current Thread [Next in Thread>