lei yang
2010-Jul-14 15:53 UTC
[Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
Hi experts, How can I use this patches for dom0 kernel? Lei _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
lei yang
2010-Jul-15 00:50 UTC
Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
Got it, Thanks Lei On Thu, Jul 15, 2010 at 12:01 AM, 0bo0 <0.bugs.only.0@gmail.com> wrote:> Please stop spamming the list repeating the same question over and > over. If someone has an answer, they''ll reply. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Jul-15 04:00 UTC
Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
On Wed, Jul 14, 2010 at 10:53 PM, lei yang <yanglei.fage@gmail.com> 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 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@lists.xensource.com http://lists.xensource.com/xen-users
lei yang
2010-Jul-15 06:10 UTC
Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
On Thu, Jul 15, 2010 at 12:00 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, Jul 14, 2010 at 10:53 PM, lei yang <yanglei.fage@gmail.com> 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.configThanks 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@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Jul-15 06:17 UTC
Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
On Thu, Jul 15, 2010 at 1:10 PM, lei yang <yanglei.fage@gmail.com> wrote:> 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 versionNope, sorry. You could probably start with 64bit config and adjust as needed. If your system is 64-bit capable, I actually suggest you use 64bit, at least for the xen hypervisor and dom0 kernel, as it seems to be more stable and tested (at least that''s true with Debian Lenny''s case) -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Jul-17 14:48 UTC
Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
> Here''s the config I use: http://pastebin.com/WrrNHbTqor> http://www.mediafire.com/file/0itbbmmymmm4zz2/kernel-2.6.34-x86_64-xen.configI''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@gmail.com> wrote: From: lei yang <yanglei.fage@gmail.com> 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@fajar.net> Cc: "Xen Mailing List" <xen-users@lists.xensource.com> Date: Thursday, July 15, 2010, 2:10 AM On Thu, Jul 15, 2010 at 12:00 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, Jul 14, 2010 at 10:53 PM, lei yang <yanglei.fage@gmail.com> 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.configThanks 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 andCONFIG_SYSFS_DEPRECATED_V2=y)> > -- > Fajar >_______________________________________________ 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
Boris Derzhavets
2010-Jul-17 15:15 UTC
Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
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@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> 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@fajar.net>, "lei yang" <yanglei.fage@gmail.com> Cc: "Xen Mailing List" <xen-users@lists.xensource.com> Date: Saturday, July 17, 2010, 10:48 AM> Here''s the config I use: http://pastebin.com/WrrNHbTqor> http://www.mediafire.com/file/0itbbmmymmm4zz2/kernel-2.6.34-x86_64-xen.configI''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@gmail.com> wrote: From: lei yang <yanglei.fage@gmail.com> 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@fajar.net> Cc: "Xen Mailing List" <xen-users@lists.xensource.com> Date: Thursday, July 15, 2010, 2:10 AM On Thu, Jul 15, 2010 at 12:00 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, Jul 14, 2010 at 10:53 PM, lei yang <yanglei.fage@gmail.com> 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.configThanks 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''tneed> CONFIG_SYSFS_DEPRECATED=y andCONFIG_SYSFS_DEPRECATED_V2=y)> > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ 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
Mike Viau
2010-Jul-17 16:23 UTC
RE: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
>On Sat, 17 Jul 2010 08:15:50 -0700 <bderzhavets@yahoo.com> wrote:>Disabling the kernel''s CONFIG_SYSFS_DEPRECATED option >does allow kernel to boot under Xen 4.0.1 >Might be debian issue.>Boris.What version are you using, lenny, squeeze, etc? Thanks. _________________________________________________________________ Turn down-time into play-time with Messenger games http://go.microsoft.com/?linkid=9734385 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Jul-17 16:29 UTC
RE: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
Ubuntu 10.04 Server. However, been loaded under Xen 4.0.1-rc4 2.6.34-xen gives me "Hotplug scripts not working" issue. Boris. --- On Sat, 7/17/10, Mike Viau <viaum@sheridanc.on.ca> wrote: From: Mike Viau <viaum@sheridanc.on.ca> Subject: RE: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0 To: xen-users@lists.xensource.com Date: Saturday, July 17, 2010, 12:23 PM>On Sat, 17 Jul 2010 08:15:50 -0700 <bderzhavets@yahoo.com> wrote:>Disabling the kernel''s CONFIG_SYSFS_DEPRECATED option >does allow kernel to boot under Xen 4.0.1 >Might be debian issue.>Boris.What version are you using, lenny, squeeze, etc? Thanks. Your Photo on Bing.ca: You Could WIN on Canada Day! Submit a Photo Now! -----Inline Attachment Follows----- _______________________________________________ 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
Boris Derzhavets
2010-Jul-17 17:58 UTC
Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
> Here''s the config I use: http://pastebin.com/WrrNHbTqor> http://www.mediafire.com/file/0itbbmmymmm4zz2/kernel-2.6.34-x86_64-xen.configAll three configs suggested above :- 1. Have backend Dom0 drivers described as modules <M> , what causes "Hotplug scripts not working" issue to raise up right away. Exactly as for pvops kernel backend Dom0 drivers should be described as hard linked <*> to avoid issue mentioned above at least on Ubuntu 10.04 Server. 2. CONFIG_SYSFS_DEPRECATED should not be set also at least on Ubuntu 10.04 Server. Boris. --- On Thu, 7/15/10, lei yang <yanglei.fage@gmail.com> wrote: From: lei yang <yanglei.fage@gmail.com> 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@fajar.net> Cc: "Xen Mailing List" <xen-users@lists.xensource.com> Date: Thursday, July 15, 2010, 2:10 AM On Thu, Jul 15, 2010 at 12:00 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, Jul 14, 2010 at 10:53 PM, lei yang <yanglei.fage@gmail.com> 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.configThanks 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Jul-17 19:28 UTC
Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
I am also experiencing issue with virt-install. It may be started only in nographics mode under 2.6.34 xenified and at the same time vnc mode is available under 2.6.32.16 pvops. It''s Libvirt 0.8.2 ( along with all related packages : virtinst,python-virtinst,...) & Xen 4.0.1-rc4 on top of Ubuntu Lucid Server. Something goes wrong in interaction Xen VFB with 2.6.34 xenified. Boris. --- On Sat, 7/17/10, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> 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@fajar.net> Cc: "Xen Mailing List" <xen-users@lists.xensource.com> Date: Saturday, July 17, 2010, 1:58 PM> Here''s the config I use: http://pastebin.com/WrrNHbTqor> http://www.mediafire.com/file/0itbbmmymmm4zz2/kernel-2.6.34-x86_64-xen.configAll three configs suggested above :- 1. Have backend Dom0 drivers described as modules <M> , what causes "Hotplug scripts not working" issue to raise up right away. Exactly as for pvops kernel backend Dom0 drivers should be described as hard linked <*> to avoid issue mentioned above at least on Ubuntu 10.04 Server. 2. CONFIG_SYSFS_DEPRECATED should not be set also at least on Ubuntu 10.04 Server. Boris. --- On Thu, 7/15/10, lei yang <yanglei.fage@gmail.com> wrote: From: lei yang <yanglei.fage@gmail.com> 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@fajar.net> Cc: "Xen Mailing List" <xen-users@lists.xensource.com> Date: Thursday, July 15, 2010, 2:10 AM On Thu, Jul 15, 2010 at 12:00 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, Jul 14, 2010 at 10:53 PM, lei yang <yanglei.fage@gmail.com> 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.configThanks 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 andCONFIG_SYSFS_DEPRECATED_V2=y)> > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -----Inline Attachment Follows----- _______________________________________________ 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
Fajar A. Nugraha
2010-Jul-18 02:47 UTC
Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
On Sun, Jul 18, 2010 at 12:58 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> > > 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 > > All three configs suggested above :-those are the same .config :D> > 1. Have backend Dom0 drivers described as modules <M> , what causes "Hotplug scripts not working" issue to raise up right away. Exactly as for pvops kernel backend Dom0 drivers should be described as hard linked <*> to avoid issue mentioned above at least on Ubuntu 10.04 Server.correct. As I mentioned, it was tested on RHEL5. The kernel config is created to be as close as possible to RHEL''s kernel-xen configuration (which loads the modules from xend service).> 2. CONFIG_SYSFS_DEPRECATED should not be set also at least on Ubuntu 10.04 Server.correct. I did mention "newer distros don''t need CONFIG_SYSFS_DEPRECATED=y and CONFIG_SYSFS_DEPRECATED_V2=y". -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Jul-18 20:23 UTC
[Xen-users] Hotplug scripts not working on opensuse 11.3 (Xen 4.0, 2.6.34-12-xen)
Follow up http://lists.xensource.com/archives/html/xen-users/2010-06/msg00307.html How to get kernel source and current .config ? I have a stupid suspect Dom0''s backends are not hard linked to kernel and it''s not RHEL5. Boris. Quote from previous thread :- On Sun, Jul 18, 2010 at 12:58 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> > > Here''s the config I use: http://pastebin.com/WrrNHbTqor> > http://www.mediafire.com/file/0itbbmmymmm4zz2/kernel-2.6.34-x86_64-xen.config > >All three configs suggested above :- those are the same .config :D> > 1. Have backend Dom0 drivers described as modules<M> , what causes "Hotplug scripts not working" issue to raise up right away. Exactly as for pvops kernel backend Dom0 drivers should be described as hard linked <*> to avoid issue mentioned above at least on Ubuntu 10.04 Server. correct. As I mentioned, it was tested on RHEL5. The kernel config is created to be as close as possible to RHEL''s kernel-xen configuration (which loads the modules from xend service).> 2. CONFIG_SYSFS_DEPRECATED should not beset also at least on Ubuntu 10.04 Server. correct. I did mention "newer distros don''t need CONFIG_SYSFS_DEPRECATED=y and CONFIG_SYSFS_DEPRECATED_V2=y". -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mike Viau
2010-Aug-06 17:32 UTC
RE: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
> On Sun, 18 Jul 2010 09:47:07 +0700 > Subject: Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0 > From: fajar@fajar.net > To: xen-users@lists.xensource.com > > > 1. Have backend Dom0 drivers described as modules <M> , what causes "Hotplug scripts not working" issue to raise up right away. Exactly as for pvops kernel backend Dom0 drivers should be described as hard linked <*> to avoid issue mentioned above at least on Ubuntu 10.04 Server. > > correct. As I mentioned, it was tested on RHEL5. The kernel config is > created to be as close as possible to RHEL''s kernel-xen configuration > (which loads the modules from xend service).I noticed the following BACKEND options in the config previously mentioned. CONFIG_XEN_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=m CONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_PCIDEV_BACKEND=m CONFIG_XEN_PCIDEV_BACKEND_VPCI=y # CONFIG_XEN_PCIDEV_BACKEND_PASS is not set # CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set # CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set # CONFIG_XEN_PCIDEV_BE_DEBUG is not set CONFIG_XEN_TPMDEV_BACKEND=m CONFIG_XEN_SCSI_BACKEND=m CONFIG_XEN_USB_BACKEND=m What modules (listed above or not) are loaded by the RHEL5 xend service? What BACKEND modules should be hard linked if one''s xend service does not start any modules? Also what consideration should be taken on the *DEV options such as: BLKDEV, NETDEV, PCIDEV, TPMDEV Thanks.> > > 2. CONFIG_SYSFS_DEPRECATED should not be set also at least on Ubuntu 10.04 Server. > > correct. I did mention "newer distros don''t need > CONFIG_SYSFS_DEPRECATED=y and CONFIG_SYSFS_DEPRECATED_V2=y". > > -- > Fajar-M _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2010-Aug-06 18:45 UTC
RE: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
> What modules (listed above or not) are loaded by the RHEL5 xend service?What BACKEND modules should be hard linked if one''s xend service does not start any modules? On opensuse 11.3 xend starts like that :- case "$1" in start) check $1 echo -n "Starting xend " if [ ! -z "$XEND" ]; then echo -n "(already running pid $XEND) " else cleanup fi # Load XEN backend modules # Sidenote: They could be loaded later: # - netbk and blkbk when the dom0 hotplug events occur # (in xen-network-common.sh and block-common.sh) # - xenblk when xend prepares for bootloader # but for now it''s safest to have them loaded when xend starts in dom0. modprobe evtchn 2>/dev/null || true modprobe blktap 2>/dev/null || true modprobe blkbk 2>/dev/null || true modprobe xenblk 2>/dev/null || true modprobe netbk 2>/dev/null || true modprobe gntdev 2>/dev/null || true modprobe usbbk 2>/dev/null || true xend start await_daemons_up ;; Attached is config of "KOTD" ( kernel of the day) Boris. --- On Fri, 8/6/10, Mike Viau <viaum@sheridanc.on.ca> wrote: From: Mike Viau <viaum@sheridanc.on.ca> Subject: RE: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0 To: xen-users@lists.xensource.com Date: Friday, August 6, 2010, 1:32 PM> On Sun, 18 Jul 2010 09:47:07 +0700 > Subject: Re: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0 > From: fajar@fajar.net > To: xen-users@lists.xensource.com > > > 1. Have backend Dom0 drivers described as modules <M> , what causes "Hotplug scripts not working" issue to raise up right away. Exactly as for pvops kernel backend Dom0 drivers should be described as hard linked <*> to avoid issue mentioned above at least on Ubuntu 10.04 Server. > > correct. As I mentioned, it was tested on RHEL5. The kernel config is > created to be as close as possible to RHEL''s kernel-xen configuration > (which loads the modules from xend service).I noticed the following BACKEND options in the config previously mentioned. CONFIG_XEN_BACKEND=m CONFIG_XEN_BLKDEV_BACKEND=m CONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_PCIDEV_BACKEND=m CONFIG_XEN_PCIDEV_BACKEND_VPCI=y # CONFIG_XEN_PCIDEV_BACKEND_PASS is not set # CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set # CONFIG_XEN_PCIDEV_BACKEND_CONTROLLER is not set # CONFIG_XEN_PCIDEV_BE_DEBUG is not set CONFIG_XEN_TPMDEV_BACKEND=m CONFIG_XEN_SCSI_BACKEND=m CONFIG_XEN_USB_BACKEND=m What modules (listed above or not) are loaded by the RHEL5 xend service? What BACKEND modules should be hard linked if one''s xend service does not start any modules? Also what consideration should be taken on the *DEV options such as: BLKDEV, NETDEV, PCIDEV, TPMDEV Thanks.> > > 2. CONFIG_SYSFS_DEPRECATED should not be set also at least on Ubuntu 10.04 Server. > > correct. I did mention "newer distros don''t need > CONFIG_SYSFS_DEPRECATED=y and CONFIG_SYSFS_DEPRECATED_V2=y". > > -- > Fajar-M -----Inline Attachment Follows----- _______________________________________________ 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
Mike Viau
2010-Aug-06 19:58 UTC
RE: [Xen-users] how can I use this patch xen-patches-2.6.34-1.tar.bz2 for dom0
> What modules (listed above or not) are loaded by the RHEL5 xend service?What BACKEND modules should be hard linked if one''s xend service does not start any modules? On opensuse 11.3 xend starts like that :- case "$1" in start) check $1 echo -n "Starting xend " if [ ! -z "$XEND" ]; then echo -n "(already running pid $XEND) " else cleanup fi # Load XEN backend modules # Sidenote: They could be loaded later: # - netbk and blkbk when the dom0 hotplug events occur # (in xen-network-common.sh and block-common.sh) # - xenblk when xend prepares for bootloader # but for now it''s safest to have them loaded when xend starts in dom0. modprobe evtchn 2>/dev/null || true modprobe blktap 2>/dev/null || true modprobe blkbk 2>/dev/null || true modprobe xenblk 2>/dev/null || true modprobe netbk 2>/dev/null || true modprobe gntdev 2>/dev/null || true modprobe usbbk 2>/dev/null || true xend start await_daemons_up ;; I got some warnings unrelated to the BACKEND kernel options when compiling the xenified 2.6.34 kernel sources. I ran my make with CONFIG_DEBUG_SECTION_MISMATCH=y to get the trace of the warnings. See attachment vga16fb-compile.error for the output. Any suggestions to clear up this compile issue? Does anyone else get this output when compiling with the CONFIG_DEBUG_SECTION_MISMATCH=y option? Also again, what consideration should be taken on the *DEV options such as: BLKDEV, NETDEV, PCIDEV, TPMDEV Are these for debugging messages or are they required for production? Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users