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

[Xen-users] Compiling pv drivers for Xen 3.3 for domU kernel 2.6.31, 2.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Compiling pv drivers for Xen 3.3 for domU kernel 2.6.31, 2.6.32
From: Alex Bligh <alex@xxxxxxxxxxx>
Date: Fri, 23 Apr 2010 19:51:43 +0100
Cc: Alex Bligh <alex@xxxxxxxxxxx>
Delivery-date: Fri, 23 Apr 2010 11:53:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Reply-to: Alex Bligh <alex@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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