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-devel

Re: [Xen-devel] The most recent attempt to build 2.6.29-rc8

To: M A Young <m.a.young@xxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] The most recent attempt to build 2.6.29-rc8
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Wed, 25 Mar 2009 11:37:54 -0700 (PDT)
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 25 Mar 2009 11:38:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1238006274; bh=79B6yIEzH85axDw7hDJl0U6G2UQRs1pDapIphOe9KTk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=q5D+7CFbjMwDyD/hGbEjIs14IC9QtE8KBhqx4c2bYiZk90zy9rQBUsfC6GINEZlkqc+LqHMd828V3dr59f5y62P9n9vmdOMVDHOP8xPIwJIQ0rpilNxrTJh61WZSItXFcZqS65VUMTlDrPBSyFupbOfPOFp6+M6OF5RTEnRkk4A=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=P0ZZcXa4QgfwFgtHmMrlWdwpJ4Omlj01dWbDLfiia7PJoyVUYaSvatuw17W20cnHXm+L07EQmSVCgNbuBMrlxYWRTinpFXcl2bYBuPFFfwqIGjTaG4afTeCoxEzpGJwngUhvZtd+IPyKO1P/WiaUpRTqdZCnr8uTrVWX03pJFdc=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49CA6DC7.6000307@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
With the most recent update i was able to build
kernel with attached .config

CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_XENBUS_FRONTEND=y

root@ServerXen331:/usr/src/linux-2.6-xen# git pull
remote: Counting objects: 34, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 19 (delta 16), reused 0 (delta 0)
Unpacking objects: 100% (19/19), done.
From git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen
   ce44abd..10a340b  xen/dom0/hackery -> origin/xen/dom0/hackery
Updating ce44abd..10a340b
Fast forward
 drivers/input/Kconfig |    1 +
 drivers/net/Kconfig   |    2 +-
 drivers/video/Kconfig |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)

Boris

--- On Wed, 3/25/09, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] The most recent attempt to build 2.6.29-rc8
To: "M A Young" <m.a.young@xxxxxxxxxxxx>
Cc: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>, "Xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Wednesday, March 25, 2009, 1:45 PM

M A Young wrote:
> On Wed, 25 Mar 2009, M A Young wrote:
>
>> On Wed, 25 Mar 2009, Jeremy Fitzhardinge wrote:
>>
>>> M A Young wrote:
>>>> On Sun, 22 Mar 2009, Boris Derzhavets wrote:
>>>>
>>>>> Yes, i've noticed also that after build completed
>>>>>
>>>>> CONFIG_XEN_XENBUS_FRONTEND
>>>>> gets reset to "m"
>>>>
>>>> I think the attached patch fixes the XEN_XENBUS_FRONTEND
configuration dependencies.
>>>
>>> (This patch was full of ^M's)
>>
>> That's strange because it wasn't when I sent it. I wonder if
it got mangled in-transit.
>>
>>> Unfortunately this didn't help me; it still ended up making
this 'm', which doesn't work. The simple fix is, I think, to make
this a "bool", so it gets built in. Its not really big enough to
bother with.
>>
>> I have been using XEN_XENBUS_FRONTEND=m on some of my kernels so it
didn't cause me a problem, though of course if any of the dependent modules
were "y" then that would indeed be incorrect. I did have an alternate
way of doing it that I could try.
>
> I should probably have said that the alternate idea was to remove the
selects, then make XEN_XENBUS_FRONTEND default y and depends on
XEN_FBDEV_FRONTEND || XEN_NETDEV_FRONTEND || XEN_BLKDEV_FRONTEND ||
XEN_KBDDEV_FRONTEND

Doesn't scale very well as we add more frontends though.

I don't see a huge benefit in making it separately compilable anyway;
it's pretty small, and I can't think of much plausible use for a Xen
kernel without frontends. (On the other hand, making all of xenbus a single
module might be useful, so that a non-Xen boot doesn't have to carry it.)

J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

Attachment: kernel-xen1.conf
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel