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] how can I use this patch xen-patches-2.6.34-1.tar.bz2 fo

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
From: lei yang <yanglei.fage@xxxxxxxxx>
Date: Thu, 15 Jul 2010 14:10:50 +0800
Cc: Xen Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Jul 2010 23:12:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=VktKRQP2Darug12mJknwam7U0vK3XDtPWFvVsXvdct4=; b=pMsdLUCuSOY0Mxhxm7EYcansOau19JuFtODB3+ljQL4onkxjWYY8UW1YTjbwM+HM1a +H5O1Ok0gImIa9Yp8/ZnVYEsht6OoQDEYNBypBvoxTCrTgyFLTSGRDb5XxVhMtOttwax CeJx9bQ+59oE3woqGSmes9WVQtYl4/rFxeEOo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RehcCuO6Hs8qv5NJVBickNoum7ADuyV2lwdQ8/fhh+RUT9Hr4xmEFY4w66DHSUohW4 eus2h6IHCNTk/mx67c2H9DhNvNvBA2nnEFeB0GlW56VtetGvrwLwGj7AbPjVBTA60Xm9 DTf530jqVmdp0LzGmyIdvvQLQDGZjWfI0IdAg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTiliozoJggP-qHcDXCYYlYwXeej3ZBk9-ngl1kVw@xxxxxxxxxxxxxx>
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>
References: <AANLkTilYjNc7ch7S7CoAVvAvuGMvr_2yoPwx5jD4kh3J@xxxxxxxxxxxxxx> <AANLkTiliozoJggP-qHcDXCYYlYwXeej3ZBk9-ngl1kVw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Jul 15, 2010 at 12:00 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Wed, Jul 14, 2010 at 10:53 PM, lei yang <yanglei.fage@xxxxxxxxx> wrote:
>> Hi experts,
>>
>> How can I use this patches for dom0 kernel?
>
> It's generally assumed that you have a sufficient knowlodge to use
> them. Otherwise, you'd probably best stick with vendor packaged
> kernel. A short intro on kernel patches:
> http://www.mjmwired.net/kernel/Documentation/applying-patches.txt
>
> Anyway, a short summary:
> download kernel 2.6.34 from kernel.org (2.6.34.1 might or might not
> work, I haven't tried)
> - extract it somewhere
> - download xen patches
> - create a new directory (lest assume it's called xen-patches)
> - extract the patches on that directory
> - change to kernel's extracted directory
> - run
>
> for p in /path/to/xen-patches/*.patch*;do patch -p1 < $p;done
>
> basically you'd need to apply all the patches one by one according to
> the applying-patches documentation.
>
> - configure the kernel like you usually do, selecting xen dom0 options.
>
> Here's the config I use: http://pastebin.com/WrrNHbTq or
> http://www.mediafire.com/file/0itbbmmymmm4zz2/kernel-2.6.34-x86_64-xen.config

Thanks very much, I have applied th patches, do you have a
2.6.34_x86_32-xen.config  for dom0 kernel
I want to to use a 32 bit version

Lei




> Here's the SRPM I use:
> http://www.mediafire.com/file/moojqnt3ygw2tit/kernel-2.6.34-1.el5.fan.src.rpm
> It's tested on RHEL5 x86_64 with Xen 4.0 RPM from http://www.gitco.de/repo/
> Other distros might require different config (like the fact that newer
> distros don't need
> CONFIG_SYSFS_DEPRECATED=y and CONFIG_SYSFS_DEPRECATED_V2=y)
>
> --
> Fajar
>

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