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

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



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


 


Rackspace

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