Hi, i am planning to install pv drivers, when i compiled xen/unmodified_drivers/linux-2.6: # ./mkbuildtree #make -C /lib/modules/2.6.23/build/ M=$PWD modules it makes following errors: n/balloon.c:101:57: error: macro "DECLARE_WORK" passed 3 arguments, but takes just 2 unmodified_drivers/linux-2.6/balloon/balloon.c:101: warning: type defaults to ‘int’ in declaration of ‘DECLARE_WORK’ unmodified_drivers/linux-2.6/balloon/balloon.c: In function ‘balloon_alarm’: unmodified_drivers/linux-2.6/balloon/balloon.c:186: error: ‘balloon_worker’ undeclared (first use in this function) unmodified_drivers/linux-2.6/balloon/balloon.c:186: error: (Each undeclared identifier is reported only once unmodified_drivers/linux-2.6/balloon/balloon.c:186: error: for each function it appears unmodified_drivers/linux-2.6/balloon/balloon.c: In function ‘balloon_set_new_target’: unmodified_drivers/linux-2.6/balloon/balloon.c:410: error: ‘balloon_worker’ undeclared (first use in this function) unmodified_drivers/linux-2.6/balloon/balloon.c: In function ‘alloc_empty_pages_and_pagevec’: unmodified_drivers/linux-2.6/balloon/balloon.c:649: error: ‘balloon_worker’ undeclared (first use in this function) unmodified_drivers/linux-2.6/balloon/balloon.c: In function ‘free_empty_pages_and_pagevec’: unmodified_drivers/linux-2.6/balloon/balloon.c:682: error: ‘balloon_worker’ undeclared (first use in this function) unmodified_drivers/linux-2.6/balloon/balloon.c: In function ‘balloon_release_driver_page’: unmodified_drivers/linux-2.6/balloon/balloon.c:694: error: ‘balloon_worker’ undeclared (first use in this function) how can i fix it? thx. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Jul-29 07:57 UTC
Re: [Xen-users] Anyone know how to install pv drivers?
2011/7/29 Wu Tao <wutao4xen@163.com>:> Hi, > i am planning to install pv drivers, when i compiled > xen/unmodified_drivers/linux-2.6: > # ./mkbuildtree > #make -C /lib/modules/2.6.23/build/ M=$PWD modulesWhile you could probably search the wiki or list archive (I don''t have the exact link, sorry), it''s much easier to just use later kernels (e.g. 2.6.38 works, not sure what the earliest version was), and simply load xen-platform-pci (which should automatically load xen-blkfront and xen-netfront after that). -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2011-Jul-30 06:55 UTC
Re: [Xen-users] Anyone know how to install pv drivers?
On Fri, Jul 29, 2011 at 02:57:58PM +0700, Fajar A. Nugraha wrote:> 2011/7/29 Wu Tao <wutao4xen@163.com>: > > Hi, > > i am planning to install pv drivers, when i compiled > > xen/unmodified_drivers/linux-2.6: > > # ./mkbuildtree > > #make -C /lib/modules/2.6.23/build/ M=$PWD modules > > While you could probably search the wiki or list archive (I don''t have > the exact link, sorry), it''s much easier to just use later kernels > (e.g. 2.6.38 works, not sure what the earliest version was), and > simply load xen-platform-pci (which should automatically load > xen-blkfront and xen-netfront after that). >xen-platform-pci should usually be compiled in, and not be a module. xen-blkfront and xen-netfront can be modules. more info about Linux PVHVM drivers: http://wiki.xen.org/xenwiki/XenLinuxPVonHVMdrivers upstream kernel.org kernels since 2.6.36 contain Xen PVHVM drivers out-of-the-box. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Jul-30 08:52 UTC
Re: [Xen-users] Anyone know how to install pv drivers?
On Sat, Jul 30, 2011 at 1:55 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Fri, Jul 29, 2011 at 02:57:58PM +0700, Fajar A. Nugraha wrote: >> 2011/7/29 Wu Tao <wutao4xen@163.com>: >> > Hi, >> > i am planning to install pv drivers, when i compiled >> > xen/unmodified_drivers/linux-2.6: >> > # ./mkbuildtree >> > #make -C /lib/modules/2.6.23/build/ M=$PWD modules >> >> While you could probably search the wiki or list archive (I don''t have >> the exact link, sorry), it''s much easier to just use later kernels >> (e.g. 2.6.38 works, not sure what the earliest version was), and >> simply load xen-platform-pci (which should automatically load >> xen-blkfront and xen-netfront after that). >> > > xen-platform-pci should usually be compiled in, and not be a module.Yes, but currently at least Ubuntu and Fedora ship it as module. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2011-Jul-30 17:42 UTC
Re: [Xen-users] Anyone know how to install pv drivers?
On Sat, Jul 30, 2011 at 03:52:06PM +0700, Fajar A. Nugraha wrote:> On Sat, Jul 30, 2011 at 1:55 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote: > > On Fri, Jul 29, 2011 at 02:57:58PM +0700, Fajar A. Nugraha wrote: > >> 2011/7/29 Wu Tao <wutao4xen@163.com>: > >> > Hi, > >> > i am planning to install pv drivers, when i compiled > >> > xen/unmodified_drivers/linux-2.6: > >> > # ./mkbuildtree > >> > #make -C /lib/modules/2.6.23/build/ M=$PWD modules > >> > >> While you could probably search the wiki or list archive (I don''t have > >> the exact link, sorry), it''s much easier to just use later kernels > >> (e.g. 2.6.38 works, not sure what the earliest version was), and > >> simply load xen-platform-pci (which should automatically load > >> xen-blkfront and xen-netfront after that). > >> > > > > xen-platform-pci should usually be compiled in, and not be a module. > > Yes, but currently at least Ubuntu and Fedora ship it as module. >Hmm.. I remember at least earlier there was some problem if xen-platform-pci was a module. I wonder if that''s fixed already.. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users