不知道
2009-Nov-09 09:47 UTC
[Xen-users] problems about compiling the unmodified drivers in xen-3.4.0
Hi, all: I want to check the function of the balloon driver in HVM guest. But I met a lot of problems when I compiling the balloon driver. I have read the related questions in the mailing-list, but still can not solve this problem. According to the README file in xen-3.4.0/unmodified_drivers, I did the following work. step 1: ./mkbuildtree (It''s ok) step 2: make -C xen-3.4.0/linux-2.6.18-xen.hg M=$PWD modules After a lot of redefined warning messages, I get the error message "In file included from include/asm/mach-xen/asm/pgtable.h:259, from include/linux/mm.h:39, from xen-3.4.0/unmodified_drivers/linux-2.6/balloon/balloon.c:40: include/asm/mach-xen/asm/pgtable-3level.h:178: error: expected ‘)’ before numeric constant" How can I solve this problem? thanks! BTW: I want to the balloon driver can work in HVM guest with higher kernel version. for example: the HVM guest''s kernel is 2.6.29. when I use the mkbuildtree script, the file path in this script doesn''t exist in 2.6.29 kernel. For example, the 2.6.18-xen.hg kernel has the "drivers/xen/core" directory but the 2.6.29 kernel hasn''t, It has only "drivers/xen" directory. So How can I compile a balloon driver for higher kernel HVM guest? any suggestion are welcome. thanks again! ___________________________________________________________ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-Nov-09 10:31 UTC
Re: [Xen-users] problems about compiling the unmodified drivers in xen-3.4.0
On Mon, Nov 09, 2009 at 05:47:42PM +0800, ????????? wrote:> Hi, all: > I want to check the function of the balloon driver in HVM guest. But > I met a lot of problems when I compiling the balloon driver. I have read > the related questions in the mailing-list, but still can not solve this > problem. > > According to the README file in xen-3.4.0/unmodified_drivers, I did > the following work. > > step 1: ./mkbuildtree (It''s ok) > step 2: make -C xen-3.4.0/linux-2.6.18-xen.hg M=$PWD modules > > After a lot of redefined warning messages, I get the error message > "In file included from include/asm/mach-xen/asm/pgtable.h:259, > from include/linux/mm.h:39, > from > xen-3.4.0/unmodified_drivers/linux-2.6/balloon/balloon.c:40: > include/asm/mach-xen/asm/pgtable-3level.h:178: error: expected â**)â** > before numeric constant" > > How can I solve this problem? thanks! > > BTW: I want to the balloon driver can work in HVM guest with higher kernel > version. > for example: the HVM guest''s kernel is 2.6.29. when I use the mkbuildtree > script, the file path in this script doesn''t exist in 2.6.29 kernel. For > example, the 2.6.18-xen.hg kernel has the "drivers/xen/core" directory > but the 2.6.29 kernel hasn''t, It has only "drivers/xen" directory. So How > can I compile a balloon driver for higher kernel HVM guest? > > any suggestion are welcome. thanks again! >The problem is unmodified_drivers is not really (yet) ported for newer kernels. Feel free to send patches :) I think Novell has patches somewhere to make it compile at least with 2.6.27, which is what SLES11 ships with. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
不知道
2009-Nov-10 01:51 UTC
Re: [Xen-users] problems about compiling the unmodified drivers in xen-3.4.0
Thanks Pasi: you said "The problem is unmodified_drivers is not really (yet) ported for newer kernels." It means that the unmodified drivers in the xen-3.4.0.tar.gz (the latest release version at www.xen.org) is not ported for the linux-2.6.18.8 kernel which is in the xen-3.4.0.tar.gz? thanks! --- 09年11月9日,周一, Pasi Kärkkäinen <pasik@iki.fi> 写道: 发件人: Pasi Kärkkäinen <pasik@iki.fi> 主题: Re: [Xen-users] problems about compiling the unmodified drivers in xen-3.4.0 收件人: "?????????" <vmkernelli@yahoo.com.cn> 抄送: xen-users@lists.xensource.com 日期: 2009年11月9日,周一,下午6:31 On Mon, Nov 09, 2009 at 05:47:42PM +0800, ????????? wrote:> Hi, all: > I want to check the function of the balloon driver in HVM guest. But > I met a lot of problems when I compiling the balloon driver. I have read > the related questions in the mailing-list, but still can not solve this > problem. > > According to the README file in xen-3.4.0/unmodified_drivers, I did > the following work. > > step 1: ./mkbuildtree (It''s ok) > step 2: make -C xen-3.4.0/linux-2.6.18-xen.hg M=$PWD modules > > After a lot of redefined warning messages, I get the error message > "In file included from include/asm/mach-xen/asm/pgtable.h:259, > from include/linux/mm.h:39, > from > xen-3.4.0/unmodified_drivers/linux-2.6/balloon/balloon.c:40: > include/asm/mach-xen/asm/pgtable-3level.h:178: error: expected â**)â** > before numeric constant" > > How can I solve this problem? thanks! > > BTW: I want to the balloon driver can work in HVM guest with higher kernel > version. > for example: the HVM guest''s kernel is 2.6.29. when I use the mkbuildtree > script, the file path in this script doesn''t exist in 2.6.29 kernel. For > example, the 2.6.18-xen.hg kernel has the "drivers/xen/core" directory > but the 2.6.29 kernel hasn''t, It has only "drivers/xen" directory. So How > can I compile a balloon driver for higher kernel HVM guest? > > any suggestion are welcome. thanks again! >The problem is unmodified_drivers is not really (yet) ported for newer kernels. Feel free to send patches :) I think Novell has patches somewhere to make it compile at least with 2.6.27, which is what SLES11 ships with. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users ___________________________________________________________ 好玩贺卡等你发,邮箱贺卡全新上线! http://card.mail.cn.yahoo.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-Nov-10 07:19 UTC
Re: [Xen-users] problems about compiling the unmodified drivers in xen-3.4.0
On Tue, Nov 10, 2009 at 09:51:52AM +0800, ????????? wrote:> Thanks Pasi: > you said "The problem is unmodified_drivers is not really (yet) > ported for newer > kernels." > > It means that the unmodified drivers in the xen-3.4.0.tar.gz (the > latest release version at www.xen.org) is not ported for the > linux-2.6.18.8 kernel which is in the xen-3.4.0.tar.gz? >xen-3.4.1.tar.gz is the latest release (3.4.2 will be released soon). unmodified_drivers works with 2.6.18. -- Pasi> thanks! > > --- 09幎11æ**9æ*¥ïŒ*å*šäž*, Pasi KÀrkkÀinen <pasik@iki.fi> å**é**ïŒ* > > å**件人: Pasi KÀrkkÀinen <pasik@iki.fi> > äž»é¢*: Re: [Xen-users] problems about compiling the unmodified drivers > in xen-3.4.0 > æ*¶ä»¶äºº: "?????????" <vmkernelli@yahoo.com.cn> > æ**é**: xen-users@lists.xensource.com > æ*¥æ**: 2009幎11æ**9æ*¥,å*šäž*,äž*å**6:31 > > On Mon, Nov 09, 2009 at 05:47:42PM +0800, ????????? wrote: > > Hi, all: > > I want to check the function of the balloon driver in HVM > guest. But > > I met a lot of problems when I compiling the balloon driver. I have > read > > the related questions in the mailing-list, but still can not solve > this > > problem. > > > > According to the README file in xen-3.4.0/unmodified_drivers, I > did > > the following work. > > > > step 1: ./mkbuildtree (It''s ok) > > step 2: make -C xen-3.4.0/linux-2.6.18-xen.hg M=$PWD modules > > > > After a lot of redefined warning messages, I get the error > message > > "In file included from include/asm/mach-xen/asm/pgtable.h:259, > > from include/linux/mm.h:39, > > from > > xen-3.4.0/unmodified_drivers/linux-2.6/balloon/balloon.c:40: > > include/asm/mach-xen/asm/pgtable-3level.h:178: error: expected > â**)â** > > before numeric constant" > > > > How can I solve this problem? thanks! > > > > BTW: I want to the balloon driver can work in HVM guest with higher > kernel > > version. > > for example: the HVM guest''s kernel is 2.6.29. when I use the > mkbuildtree > > script, the file path in this script doesn''t exist in 2.6.29 > kernel. For > > example, the 2.6.18-xen.hg kernel has the "drivers/xen/core" > directory > > but the 2.6.29 kernel hasn''t, It has only "drivers/xen" directory. > So How > > can I compile a balloon driver for higher kernel HVM guest? > > > > any suggestion are welcome. thanks again! > > > > The problem is unmodified_drivers is not really (yet) ported for newer > kernels. Feel free to send patches :) > > I think Novell has patches somewhere to make it compile at least with > 2.6.27, which is what SLES11 ships with. > > -- Pasi > > _______________________________________________ > Xen-users mailing list > [1]Xen-users@lists.xensource.com > [2]http://lists.xensource.com/xen-users > > -------------------------------------------------------------------------- > > [3]奜ç*©èŽºå*¡ç*äœ å**ïŒ*é*®ç®±èŽºå*¡å*šæ*°äž*线ïŒ* > > References > > Visible links > 1. file:///mc/compose?to=Xen-users@lists.xensource.com > 2. http://lists.xensource.com/xen-users > 3. http://cn.rd.yahoo.com/mail_cn/tagline/card/*http:/card.mail.cn.yahoo.com/_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-Nov-10 18:11 UTC
Re: [Xen-users] problems about compiling the unmodified drivers in xen-3.4.0
On Tue, Nov 10, 2009 at 09:19:39AM +0200, Pasi Kärkkäinen wrote:> On Tue, Nov 10, 2009 at 09:51:52AM +0800, ????????? wrote: > > Thanks Pasi: > > you said "The problem is unmodified_drivers is not really (yet) > > ported for newer > > kernels." > > > > It means that the unmodified drivers in the xen-3.4.0.tar.gz (the > > latest release version at www.xen.org) is not ported for the > > linux-2.6.18.8 kernel which is in the xen-3.4.0.tar.gz? > > > > xen-3.4.1.tar.gz is the latest release (3.4.2 will be released soon). >And now Xen 3.4.2 has been released.> unmodified_drivers works with 2.6.18. >You can get the latest official Xen (dom0) kernel with: hg clone http://xenbits.xen.org/linux-2.6.18-xen.hg -- Pasi> > > thanks! > > > > --- 09幎11æ**9æ*¥ïŒ*å*šäž*, Pasi KÀrkkÀinen <pasik@iki.fi> å**é**ïŒ* > > > > å**件人: Pasi KÀrkkÀinen <pasik@iki.fi> > > äž»é¢*: Re: [Xen-users] problems about compiling the unmodified drivers > > in xen-3.4.0 > > æ*¶ä»¶äºº: "?????????" <vmkernelli@yahoo.com.cn> > > æ**é**: xen-users@lists.xensource.com > > æ*¥æ**: 2009幎11æ**9æ*¥,å*šäž*,äž*å**6:31 > > > > On Mon, Nov 09, 2009 at 05:47:42PM +0800, ????????? wrote: > > > Hi, all: > > > I want to check the function of the balloon driver in HVM > > guest. But > > > I met a lot of problems when I compiling the balloon driver. I have > > read > > > the related questions in the mailing-list, but still can not solve > > this > > > problem. > > > > > > According to the README file in xen-3.4.0/unmodified_drivers, I > > did > > > the following work. > > > > > > step 1: ./mkbuildtree (It''s ok) > > > step 2: make -C xen-3.4.0/linux-2.6.18-xen.hg M=$PWD modules > > > > > > After a lot of redefined warning messages, I get the error > > message > > > "In file included from include/asm/mach-xen/asm/pgtable.h:259, > > > from include/linux/mm.h:39, > > > from > > > xen-3.4.0/unmodified_drivers/linux-2.6/balloon/balloon.c:40: > > > include/asm/mach-xen/asm/pgtable-3level.h:178: error: expected > > â**)â** > > > before numeric constant" > > > > > > How can I solve this problem? thanks! > > > > > > BTW: I want to the balloon driver can work in HVM guest with higher > > kernel > > > version. > > > for example: the HVM guest''s kernel is 2.6.29. when I use the > > mkbuildtree > > > script, the file path in this script doesn''t exist in 2.6.29 > > kernel. For > > > example, the 2.6.18-xen.hg kernel has the "drivers/xen/core" > > directory > > > but the 2.6.29 kernel hasn''t, It has only "drivers/xen" directory. > > So How > > > can I compile a balloon driver for higher kernel HVM guest? > > > > > > any suggestion are welcome. thanks again! > > > > > > > The problem is unmodified_drivers is not really (yet) ported for newer > > kernels. Feel free to send patches :) > > > > I think Novell has patches somewhere to make it compile at least with > > 2.6.27, which is what SLES11 ships with. > > > > -- Pasi > > > > _______________________________________________ > > Xen-users mailing list > > [1]Xen-users@lists.xensource.com > > [2]http://lists.xensource.com/xen-users > > > > -------------------------------------------------------------------------- > > > > [3]奜ç*©èŽºå*¡ç*äœ å**ïŒ*é*®ç®±èŽºå*¡å*šæ*°äž*线ïŒ* > > > > References > > > > Visible links > > 1. file:///mc/compose?to=Xen-users@lists.xensource.com > > 2. http://lists.xensource.com/xen-users > > 3. http://cn.rd.yahoo.com/mail_cn/tagline/card/*http:/card.mail.cn.yahoo.com/ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users