[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, lei yang <yanglei.fage@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Sat, 17 Jul 2010 08:15:50 -0700 (PDT)
  • Cc: Xen Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 17 Jul 2010 08:17:14 -0700
  • 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=ftaVkqHgm9OCRpwY2kw3BrEOufHYs70ElNCBZzqJ8BF8kAt3JXLTXM/hUTtOToddRfcXFTbT9JLeSObvR8VXGdQCKYcZU+55FPz/4WzuItLtHCykEkjXyk7YQUtUgFqe4Pr1z3/rKtt6zyjKcy1XHJ0rA6X39Z7zHEgqDrpUUsg=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Disabling the kernel's CONFIG_SYSFS_DEPRECATED option
does allow kernel to boot under Xen 4.0.1
Might be debian issue.

Boris.


--- On Sat, 7/17/10, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, "lei yang" <yanglei.fage@xxxxxxxxx>
Cc: "Xen Mailing List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Date: Saturday, July 17, 2010, 10:48 AM

> 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

I've tried to build 2.6.34 xenified kernel via xen-patches-2.6.34-1.tar.bz2 with each one
of three .configs  files providing at links above.
Attempt to load kernel 2.6.34 been built under Xen 4.0.1-rc4 ( Xen 4.1-unstable (tip CS)
results Dom0 loading hangs with the last message sent to console :-

udevd-work[3374]: error opening ATTR { /sys/class/sound/controlC0/../uevent}
for writing: No such file or directory.

Boris.


--- On Thu, 7/15/10, lei yang <yanglei.fage@xxxxxxxxx> wrote:

From: lei yang <yanglei.fage@xxxxxxxxx>
Subject: Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Cc: "Xen Mailing List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Date: Thursday, July 15, 2010, 2:10 AM

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


-----Inline Attachment Follows-----

_______________________________________________
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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.