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] problems about compiling the unmodified drivers in xen-3

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] problems about compiling the unmodified drivers in xen-3.4.0
From: 不知道 <vmkernelli@xxxxxxxxxxxx>
Date: Tue, 10 Nov 2009 09:51:52 +0800 (CST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 09 Nov 2009 17:52:42 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.cn; s=s1024; t=1257817912; bh=EgMdrZK5t5uB6MoG4onCqGE5uSoHZLEY1so5D5+reZE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=wrm0A1dJHoITF+3yu1JYAFA+J0FzfJqB5fq9/t5pbNBslMuUcQaFx7WfZrp3mJut6AnlYUMbqLFVrO7Wch0cKsvMhO/KyHN5almA463nWppakvYluuJSATPC2+xKyq47NXJSNqXX7DH2GqmWXhnz+qO0OLie2wKK9OlK5jrEcAM=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=0sjI220wkt/QAQs3NepGq1lu1LN9sFQiOIQ3WGpUULmUuLQr6z2sOnXhaZaDZ+kL+2CNeFIYkt+Zdk95ZRkXahyw14qdG5yF/f0/td4iE7yc2XtvuqKGIEOOtlJB3NlD7FRtgZrO/ijJcmQK1VKHsMu3/D+1W9mgfDuVXXfCoNk=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091109103154.GC16033@xxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxx> 写道:

发件人: Pasi Kärkkäinen <pasik@xxxxxx>
主题: Re: [Xen-users] problems about compiling the unmodified drivers in xen-3.4.0
收件人: "?????????" <vmkernelli@xxxxxxxxxxxx>
抄送: xen-users@xxxxxxxxxxxxxxxxxxx
日期: 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


好玩贺卡等你发,邮箱贺卡全新上线!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users