From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Xen4.2 S3 regression? Date: Tue, 25 Sep 2012 10:06:12 -0400 Message-ID: <20120925140611.GB16478@phenom.dumpdata.com> References: <50605E9A020000780009D486@nat28.tlf.novell.com> <5060640B020000780009D4D2@nat28.tlf.novell.com> <20120924122203.GG8912@reaktio.net> <20120924140411.GH31618@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Javier Marcet Cc: Keir Fraser , john.baboval@citrix.com, Konrad Rzeszutek Wilk , xen-devel , Ben Guthro , Jan Beulich , Thomas Goetz List-Id: xen-devel@lists.xenproject.org On Mon, Sep 24, 2012 at 11:36:23PM +0200, Javier Marcet wrote: > On Mon, Sep 24, 2012 at 4:04 PM, Konrad Rzeszutek Wilk > wrote: > > >> >> xen-acpi-processor driver was merged to upstream Linux kernel v3.4. > >> >> > >> > > >> > I see - so the advanced methods are not being used then > > > > You mean with the v3.5 kernel? I would think they would be used.. > > > >> > This same kernel does work with Xen-4.0.x though. Is there an assumption in > >> > the code that ties Xen-4.2 to a newer kernel? > >> > >> I'm being bitten by this bug with a 3.5 kernel and Xen 4.2 > > > > Huh? How so? > > I've tried adding a wbinvd() call before the halts in > xen/arch/x86/domain.c:default_idle and I could do full suspend and > resume cycle once, but a reboot later I couldn't resume anymore. Here Did you use the patch that Jan posted? > is the trace I get: That is a different issue. That is the kernel, while the outstanding issue in regards to suspend/resume is in the hypervisor. > > [ 142.322778] ACPI: Preparing to enter system sleep state S3 > [ 142.723286] PM: Saving platform NVS memory > [ 142.736453] Disabling non-boot CPUs ... > [ 142.851387] ------------[ cut here ]------------ > [ 142.851397] WARNING: at > /home/storage/src/ubuntu-precise/kernel/rcutree.c:1550 > rcu_do_batch.isra.41+0x5f/0x213() which ought to be fixed, but lets concentrate on one thing at a time. If you use the patch that Jan posted, does it work? And I presume you also have the two out-of-tree patches to make resume work in the dom0? > [ 142.851401] Hardware name: To Be Filled By O.E.M. > [ 142.851404] Modules linked in: blktap(O) ip6table_filter ip6_tables > ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 > xt_state nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp > iptable_filter ip_tables x_tables [last unloaded: cx25840] > [ 142.851466] Pid: 32, comm: migration/7 Tainted: G O > 3.5.0-14-i7 #18~precise1 > [ 142.851469] Call Trace: > [ 142.851473] [] warn_slowpath_common+0x7e/0x96 > [ 142.851488] [] warn_slowpath_null+0x15/0x17 > [ 142.851496] [] rcu_do_batch.isra.41+0x5f/0x213 > [ 142.851504] [] ? > check_for_new_grace_period.isra.35+0x38/0x44 > [ 142.851512] [] __rcu_process_callbacks+0xc6/0xee > [ 142.851520] [] rcu_process_callbacks+0x20/0x3e > [ 142.851527] [] __do_softirq+0x87/0x113 > [ 142.851536] [] ? __xen_evtchn_do_upcall+0x1a0/0x1dd > [ 142.851546] [] call_softirq+0x1c/0x30 > [ 142.851557] [] do_softirq+0x41/0x7e > [ 142.851566] [] irq_exit+0x3f/0x9a > [ 142.851573] [] xen_evtchn_do_upcall+0x2c/0x39 > [ 142.851580] [] xen_do_hypervisor_callback+0x1e/0x30 > [ 142.851588] [] ? hypercall_page+0x22a/0x1000 > [ 142.851601] [] ? hypercall_page+0x22a/0x1000 > [ 142.851609] [] ? xen_force_evtchn_callback+0xd/0xf > [ 142.851618] [] ? check_events+0x12/0x20 > [ 142.851627] [] ? xen_restore_fl_direct_reloc+0x4/0x4 > [ 142.851635] [] ? arch_local_irq_restore+0xb/0xd > [ 142.851644] [] ? stop_machine_cpu_stop+0xc1/0xd3 > [ 142.851652] [] ? queue_stop_cpus_work+0xb5/0xb5 > [ 142.851660] [] ? cpu_stopper_thread+0xf7/0x187 > [ 142.851667] [] ? finish_task_switch+0x82/0xc1 > [ 142.851676] [] ? __schedule+0x428/0x454 > [ 142.851685] [] ? _raw_spin_unlock_irqrestore+0x15/0x18 > [ 142.851693] [] ? cpu_stop_signal_done+0x30/0x30 > [ 142.851701] [] ? kthread+0x86/0x8e > [ 142.851710] [] ? kernel_thread_helper+0x4/0x10 > [ 142.851718] [] ? retint_restore_args+0x5/0x6 > [ 142.851726] [] ? gs_change+0x13/0x13 > [ 142.851736] ---[ end trace 3722a99bcc5ae37a ]--- > [ 144.257229] ACPI: Low-level resume complete > [ 144.257322] PM: Restoring platform NVS memory > > > -- > Javier Marcet > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel >