[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] rebased openSUSE dom0 xen patches for 2.6.31
On Thu, Dec 17, 2009 at 9:27 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote: > On Thu, Dec 17, 2009 at 3:47 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote: >> On Thu, Dec 17, 2009 at 3:34 PM, Andrew Lyon <andrew.lyon@xxxxxxxxx> wrote: >>> ubermicro linux-2.6.31 # ls xenpatch/ | sort | while read file ; do >>> patch -p1 -s -i xenpatch/$file ; done >>> >>> No errors, you must be doing something wrong. >> >> Ah, OK. I was testing it with --dry-run. Apparently without that it >> applies cleanly. > > > Finally got it running. However "xm save" (thus, migration) is still > broken, right? I tested save/restore of a hvm domain but not a pv!, I have just tested it and found that it does not work unless I use a kernel that has dom0 support enabled , this is because the menu option to select CONFIG_SUSPEND Depends on: !XEN_UNPRIVILEGED_GUEST so unless you select CONFIG_XEN_PRIVILEGED_GUEST (dom0 support) you cannot enable it when building a Xen kernel, however a simple change to drivers/xen/Kconfig will enable CONFIG_SUSPEND automatically for domU only kernels: At line 21 or thereabouts add "select SUSPEND": config XEN_UNPRIVILEGED_GUEST def_bool !XEN_PRIVILEGED_GUEST select PM select PM_SLEEP select SUSPEND select PM_SLEEP_SMP if SMP Save/Restore then seems to work ok apart from some errors logged in the domU: i686: ------------[ cut here ]------------ WARNING: at kernel/irq/manage.c:273 __enable_irq+0x32/0x5b() Unbalanced enable for IRQ 518 Modules linked in: Pid: 3087, comm: suspend Tainted: G W 2.6.31-xen-r9 #1 Call Trace: [<c0157037>] ? __enable_irq+0x32/0x5b [<c01244c7>] warn_slowpath_common+0x49/0x79 [<c012452b>] warn_slowpath_fmt+0x24/0x27 [<c0157037>] __enable_irq+0x32/0x5b [<c0158b6d>] resume_device_irqs+0x3b/0x5d [<c02c93cb>] dpm_resume_noirq+0x74/0x7b [<c02cfe74>] __xen_suspend+0xf7/0x101 [<c02cf488>] ? xen_resume_notifier+0x0/0x21 [<c02cf88f>] xen_suspend+0x4d/0xbe [<c02cf842>] ? xen_suspend+0x0/0xbe [<c01041bf>] kernel_thread_helper+0x7/0x10 ---[ end trace 36e45385cf944380 ]--- ------------[ cut here ]------------ WARNING: at kernel/irq/manage.c:273 __enable_irq+0x32/0x5b() Unbalanced enable for IRQ 520 Modules linked in: Pid: 3087, comm: suspend Tainted: G W 2.6.31-xen-r9 #1 Call Trace: [<c0157037>] ? __enable_irq+0x32/0x5b [<c01244c7>] warn_slowpath_common+0x49/0x79 [<c012452b>] warn_slowpath_fmt+0x24/0x27 [<c0157037>] __enable_irq+0x32/0x5b [<c0158b6d>] resume_device_irqs+0x3b/0x5d [<c02c93cb>] dpm_resume_noirq+0x74/0x7b [<c02cfe74>] __xen_suspend+0xf7/0x101 [<c02cf488>] ? xen_resume_notifier+0x0/0x21 [<c02cf88f>] xen_suspend+0x4d/0xbe [<c02cf842>] ? xen_suspend+0x0/0xbe [<c01041bf>] kernel_thread_helper+0x7/0x10 ---[ end trace 36e45385cf944381 ]--- ------------[ cut here ]------------ WARNING: at kernel/irq/manage.c:273 __enable_irq+0x32/0x5b() Unbalanced enable for IRQ 521 Modules linked in: Pid: 3087, comm: suspend Tainted: G W 2.6.31-xen-r9 #1 Call Trace: [<c0157037>] ? __enable_irq+0x32/0x5b [<c01244c7>] warn_slowpath_common+0x49/0x79 [<c012452b>] warn_slowpath_fmt+0x24/0x27 [<c0157037>] __enable_irq+0x32/0x5b [<c0158b6d>] resume_device_irqs+0x3b/0x5d [<c02c93cb>] dpm_resume_noirq+0x74/0x7b [<c02cfe74>] __xen_suspend+0xf7/0x101 [<c02cf488>] ? xen_resume_notifier+0x0/0x21 [<c02cf88f>] xen_suspend+0x4d/0xbe [<c02cf842>] ? xen_suspend+0x0/0xbe [<c01041bf>] kernel_thread_helper+0x7/0x10 ---[ end trace 36e45385cf944382 ]--- suspend: event channel 40 ------------[ cut here ]------------ x86_64: ------------[ cut here ]------------ WARNING: at kernel/irq/manage.c:273 resume_device_irqs+0x43/0x6d() Unbalanced enable for IRQ 390 Modules linked in: Pid: 10245, comm: suspend Tainted: G W 2.6.31-xen-r9 #1 Call Trace: [<ffffffff802692cb>] ? resume_device_irqs+0x43/0x6d [<ffffffff802692cb>] ? resume_device_irqs+0x43/0x6d [<ffffffff80232049>] ? warn_slowpath_common+0x77/0xa3 [<ffffffff802320d1>] ? warn_slowpath_fmt+0x51/0x59 [<ffffffff80453642>] ? xenbus_watch_path+0x23/0x5a [<ffffffff80446234>] ? platform_pm_resume_noirq+0x0/0x36 [<ffffffff802692cb>] ? resume_device_irqs+0x43/0x6d [<ffffffff80451074>] ? __xen_suspend+0x112/0x11b [<ffffffff80450528>] ? xen_resume_notifier+0x0/0x1b [<ffffffff80450997>] ? xen_suspend+0x58/0xcd [<ffffffff8020aa4a>] ? child_rip+0xa/0x20 [<ffffffff8045093f>] ? xen_suspend+0x0/0xcd [<ffffffff8020aa40>] ? child_rip+0x0/0x20 ---[ end trace 16035c20df7c2fef ]--- ------------[ cut here ]------------ WARNING: at kernel/irq/manage.c:273 resume_device_irqs+0x43/0x6d() Unbalanced enable for IRQ 392 Modules linked in: Pid: 10245, comm: suspend Tainted: G W 2.6.31-xen-r9 #1 Call Trace: [<ffffffff802692cb>] ? resume_device_irqs+0x43/0x6d [<ffffffff802692cb>] ? resume_device_irqs+0x43/0x6d [<ffffffff80232049>] ? warn_slowpath_common+0x77/0xa3 [<ffffffff802320d1>] ? warn_slowpath_fmt+0x51/0x59 [<ffffffff80453642>] ? xenbus_watch_path+0x23/0x5a [<ffffffff80267f2d>] ? default_enable+0x1a/0x28 [<ffffffff80267e2a>] ? check_irq_resend+0x16/0x54 [<ffffffff802692cb>] ? resume_device_irqs+0x43/0x6d [<ffffffff80451074>] ? __xen_suspend+0x112/0x11b [<ffffffff80450528>] ? xen_resume_notifier+0x0/0x1b [<ffffffff80450997>] ? xen_suspend+0x58/0xcd [<ffffffff8020aa4a>] ? child_rip+0xa/0x20 [<ffffffff8045093f>] ? xen_suspend+0x0/0xcd [<ffffffff8020aa40>] ? child_rip+0x0/0x20 ---[ end trace 16035c20df7c2ff0 ]--- ------------[ cut here ]------------ WARNING: at kernel/irq/manage.c:273 resume_device_irqs+0x43/0x6d() Unbalanced enable for IRQ 393 Modules linked in: Pid: 10245, comm: suspend Tainted: G W 2.6.31-xen-r9 #1 Call Trace: [<ffffffff802692cb>] ? resume_device_irqs+0x43/0x6d [<ffffffff802692cb>] ? resume_device_irqs+0x43/0x6d [<ffffffff80232049>] ? warn_slowpath_common+0x77/0xa3 [<ffffffff802320d1>] ? warn_slowpath_fmt+0x51/0x59 [<ffffffff80453642>] ? xenbus_watch_path+0x23/0x5a [<ffffffff80267f2d>] ? default_enable+0x1a/0x28 [<ffffffff80267e2a>] ? check_irq_resend+0x16/0x54 [<ffffffff802692cb>] ? resume_device_irqs+0x43/0x6d [<ffffffff80451074>] ? __xen_suspend+0x112/0x11b [<ffffffff80450528>] ? xen_resume_notifier+0x0/0x1b [<ffffffff80450997>] ? xen_suspend+0x58/0xcd [<ffffffff8020aa4a>] ? child_rip+0xa/0x20 [<ffffffff8045093f>] ? xen_suspend+0x0/0xcd [<ffffffff8020aa40>] ? child_rip+0x0/0x20 ---[ end trace 16035c20df7c2ff1 ]--- suspend: event channel 16 I have CC'ed Jan in case he has any comments. Andy > > -- > Fajar > _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |