From: Olaf Hering Subject: HVM guests hanging in hpet_rtc_interrupt Date: Thu, 31 Jan 2013 18:07:18 +0100 Message-ID: <20130131170718.GB19350@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Current xen-unstable has appearently issues with HVM guest. Within the guest I run either a SLES11SP2 kernel or a 3.7 pvops kernel. dom0 is either SLES11SP2 or also 3.7 pvops. After a first start of pvops guest on a pvops dom0 I see the guest hanging with the backtrace below, after the boot scripts set the real time clock. Once I kill the guest and start it again booting proceeds. After I do a xl migrate domU localhost I can not access the guest again with xl console. xenctx shows the same backtrace as shown below. With a sles11sp2 dom0 + domU I see in guest dmesg 'hpet1: lost 2000 timer interrupts' (or similar) printed every second. Any idea what could be the reason? The domU.cfg, started with xl create, looks like this: ... name="name" description="something" uuid="a062cabb-5981-4472-9d3b-da7bd8e2594e" memory=512 vcpus=2 serial="pty" builder="hvm" boot="dcn" disk=[ 'file:/some/loop-disk0,hda,w', ] vif=[ 'bridge=br0,model=rtl8139,type=netfront' ] vfb = [ 'type=vnc,vncunused=1,keymap=de' ] on_crash="preserve" ... xenctx output: ... rip: ffffffff81034b97 hpet_rtc_interrupt+0x97 flags: 00000086 s nz p rsp: ffff88001b003df8 rax: 00000000bc004a66 rcx: 00000000000ee6b2 rdx: 00000000ba6b145a rbx: 000000000000087d rsi: ffff88001aec5000 rdi: 0000000000000008 rbp: ffff88001b003e68 r8: ffff88001ac06800 r9: ffff88001b003e38 r10: 000000000000008c r11: 000000000000f800 r12: ffff88001ac06884 r13: 0000000000000000 r14: 0000000000000000 r15: 0000000000000008 cs: 0010 ss: 0018 ds: 0000 es: 0000 fs: 0000 @ 0000000000000000 gs: 0000 @ ffff88001b000000/0000000000000000 Code (instr addr ffffffff81034b97) 00 89 10 48 8b 05 74 da d0 00 83 c3 01 48 05 f0 00 00 00 8b 00 <3b> 05 d3 da d0 00 79 c9 85 db 74 Stack: ffff88001b003e68 ffff88001aec5000 0000000000000000 0000000800000000 ffff88001ad49c68 0000000000000000 00000008156570c6 ffffffff8165e9cc ffff88001b0125c0 ffff880019278480 ffff88001ac06884 0000000000000000 0000000000000000 0000000000000008 ffff88001b003eb8 ffffffff8109aa2b Call Trace: [] hpet_rtc_interrupt+0x97 <-- [] _raw_spin_unlock_irqrestore+0xc [] handle_irq_event_percpu+0x4b [] handle_irq_event+0x3c [] handle_edge_irq+0x6d [] __xen_evtchn_do_upcall+0x1a4 [] xen_evtchn_do_upcall+0x2a [] xen_hvm_callback_vector+0x6d rip: ffffffff810360d6 native_safe_halt+0x6 flags: 00000246 i z p rsp: ffff88001acbdef8 rax: 0000000000000000 rcx: 00000000ffffffff rdx: 0000000000000000 rbx: ffff88001acbc010 rsi: 0140000000000000 rdi: 0000000000000086 rbp: ffff88001acbdef8 r8: 0000000000000000 r9: 0000000000000000 r10: 0000000000000001 r11: 0000000000000000 r12: ffffffff81c62330 r13: 0000000000000000 r14: 0000000000000000 r15: 0000000000000000 cs: 0010 ss: 0018 ds: 0000 es: 0000 fs: 0000 @ 0000000000000000 gs: 0000 @ ffff88001b040000/0000000000000000 Code (instr addr ffffffff810360d6) 48 89 e5 fb c9 c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb f4 c3 0f 1f 84 00 00 00 00 00 55 Stack: ffff88001acbdf08 ffffffff81014735 ffff88001acbdf28 ffffffff81014a68 0000000000000001 0000000000000000 ffff88001acbdf48 ffffffff8165824a 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 Call Trace: [] native_safe_halt+0x6 <-- [] default_idle+0x45 [] cpu_idle+0x88 [] start_secondary+0x188 rip: ffffffff81034b97 hpet_rtc_interrupt+0x97 flags: 00000086 s nz p rsp: ffff88001b003df8 rax: 00000000bc004a66 rcx: 00000000000ee6b2 rdx: 00000000ba6b145a rbx: 000000000000087d rsi: ffff88001aec5000 rdi: 0000000000000008 rbp: ffff88001b003e68 r8: ffff88001ac06800 r9: ffff88001b003e38 r10: 000000000000008c r11: 000000000000f800 r12: ffff88001ac06884 r13: 0000000000000000 r14: 0000000000000000 r15: 0000000000000008 cs: 0010 ss: 0018 ds: 0000 es: 0000 fs: 0000 @ 0000000000000000 gs: 0000 @ ffff88001b000000/0000000000000000 Code (instr addr ffffffff81034b97) 00 89 10 48 8b 05 74 da d0 00 83 c3 01 48 05 f0 00 00 00 8b 00 <3b> 05 d3 da d0 00 79 c9 85 db 74 Stack: ffff88001b003e68 ffff88001aec5000 0000000000000000 0000000800000000 ffff88001ad49c68 0000000000000000 00000008156570c6 ffffffff8165e9cc ffff88001b0125c0 ffff880019278480 ffff88001ac06884 0000000000000000 0000000000000000 0000000000000008 ffff88001b003eb8 ffffffff8109aa2b Call Trace: [] hpet_rtc_interrupt+0x97 <-- [] _raw_spin_unlock_irqrestore+0xc [] handle_irq_event_percpu+0x4b [] handle_irq_event+0x3c [] handle_edge_irq+0x6d [] __xen_evtchn_do_upcall+0x1a4 [] xen_evtchn_do_upcall+0x2a [] xen_hvm_callback_vector+0x6d rip: ffffffff810360d6 native_safe_halt+0x6 flags: 00000246 i z p rsp: ffff88001acbdef8 rax: 0000000000000000 rcx: 00000000ffffffff rdx: 0000000000000000 rbx: ffff88001acbc010 rsi: 0140000000000000 rdi: 0000000000000086 rbp: ffff88001acbdef8 r8: 0000000000000000 r9: 0000000000000000 r10: 0000000000000001 r11: 0000000000000000 r12: ffffffff81c62330 r13: 0000000000000000 r14: 0000000000000000 r15: 0000000000000000 cs: 0010 ss: 0018 ds: 0000 es: 0000 fs: 0000 @ 0000000000000000 gs: 0000 @ ffff88001b040000/0000000000000000 Code (instr addr ffffffff810360d6) 48 89 e5 fb c9 c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb f4 c3 0f 1f 84 00 00 00 00 00 55 Stack: ffff88001acbdf08 ffffffff81014735 ffff88001acbdf28 ffffffff81014a68 0000000000000001 0000000000000000 ffff88001acbdf48 ffffffff8165824a 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 Call Trace: [] native_safe_halt+0x6 <-- [] default_idle+0x45 [] cpu_idle+0x88 [] start_secondary+0x188 rip: ffffffff81034b97 hpet_rtc_interrupt+0x97 flags: 00000086 s nz p rsp: ffff88001b003df8 rax: 00000000bc004a66 rcx: 00000000000ee6b2 rdx: 00000000ba6b145a rbx: 000000000000087d rsi: ffff88001aec5000 rdi: 0000000000000008 rbp: ffff88001b003e68 r8: ffff88001ac06800 r9: ffff88001b003e38 r10: 000000000000008c r11: 000000000000f800 r12: ffff88001ac06884 r13: 0000000000000000 r14: 0000000000000000 r15: 0000000000000008 cs: 0010 ss: 0018 ds: 0000 es: 0000 fs: 0000 @ 0000000000000000 gs: 0000 @ ffff88001b000000/0000000000000000 Code (instr addr ffffffff81034b97) 00 89 10 48 8b 05 74 da d0 00 83 c3 01 48 05 f0 00 00 00 8b 00 <3b> 05 d3 da d0 00 79 c9 85 db 74 Stack: ffff88001b003e68 ffff88001aec5000 0000000000000000 0000000800000000 ffff88001ad49c68 0000000000000000 00000008156570c6 ffffffff8165e9cc ffff88001b0125c0 ffff880019278480 ffff88001ac06884 0000000000000000 0000000000000000 0000000000000008 ffff88001b003eb8 ffffffff8109aa2b Call Trace: [] hpet_rtc_interrupt+0x97 <-- [] _raw_spin_unlock_irqrestore+0xc [] handle_irq_event_percpu+0x4b [] handle_irq_event+0x3c [] handle_edge_irq+0x6d [] __xen_evtchn_do_upcall+0x1a4 [] xen_evtchn_do_upcall+0x2a [] xen_hvm_callback_vector+0x6d rip: ffffffff810360d6 native_safe_halt+0x6 flags: 00000246 i z p rsp: ffff88001acbdef8 rax: 0000000000000000 rcx: 00000000ffffffff rdx: 0000000000000000 rbx: ffff88001acbc010 rsi: 0140000000000000 rdi: 0000000000000086 rbp: ffff88001acbdef8 r8: 0000000000000000 r9: 0000000000000000 r10: 0000000000000001 r11: 0000000000000000 r12: ffffffff81c62330 r13: 0000000000000000 r14: 0000000000000000 r15: 0000000000000000 cs: 0010 ss: 0018 ds: 0000 es: 0000 fs: 0000 @ 0000000000000000 gs: 0000 @ ffff88001b040000/0000000000000000 Code (instr addr ffffffff810360d6) 48 89 e5 fb c9 c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb f4 c3 0f 1f 84 00 00 00 00 00 55 Stack: ffff88001acbdf08 ffffffff81014735 ffff88001acbdf28 ffffffff81014a68 0000000000000001 0000000000000000 ffff88001acbdf48 ffffffff8165824a 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 Call Trace: [] native_safe_halt+0x6 <-- [] default_idle+0x45 [] cpu_idle+0x88 [] start_secondary+0x188 rip: ffffffff81034b97 hpet_rtc_interrupt+0x97 flags: 00000086 s nz p rsp: ffff88001b003df8 rax: 00000000bc004a66 rcx: 00000000000ee6b2 rdx: 00000000ba6b145a rbx: 000000000000087d rsi: ffff88001aec5000 rdi: 0000000000000008 rbp: ffff88001b003e68 r8: ffff88001ac06800 r9: ffff88001b003e38 r10: 000000000000008c r11: 000000000000f800 r12: ffff88001ac06884 r13: 0000000000000000 r14: 0000000000000000 r15: 0000000000000008 cs: 0010 ss: 0018 ds: 0000 es: 0000 fs: 0000 @ 0000000000000000 gs: 0000 @ ffff88001b000000/0000000000000000 Code (instr addr ffffffff81034b97) 00 89 10 48 8b 05 74 da d0 00 83 c3 01 48 05 f0 00 00 00 8b 00 <3b> 05 d3 da d0 00 79 c9 85 db 74 Stack: ffff88001b003e68 ffff88001aec5000 0000000000000000 0000000800000000 ffff88001ad49c68 0000000000000000 00000008156570c6 ffffffff8165e9cc ffff88001b0125c0 ffff880019278480 ffff88001ac06884 0000000000000000 0000000000000000 0000000000000008 ffff88001b003eb8 ffffffff8109aa2b Call Trace: [] hpet_rtc_interrupt+0x97 <-- [] _raw_spin_unlock_irqrestore+0xc [] handle_irq_event_percpu+0x4b [] handle_irq_event+0x3c [] handle_edge_irq+0x6d [] __xen_evtchn_do_upcall+0x1a4 [] xen_evtchn_do_upcall+0x2a [] xen_hvm_callback_vector+0x6d rip: ffffffff810360d6 native_safe_halt+0x6 flags: 00000246 i z p rsp: ffff88001acbdef8 rax: 0000000000000000 rcx: 00000000ffffffff rdx: 0000000000000000 rbx: ffff88001acbc010 rsi: 0140000000000000 rdi: 0000000000000086 rbp: ffff88001acbdef8 r8: 0000000000000000 r9: 0000000000000000 r10: 0000000000000001 r11: 0000000000000000 r12: ffffffff81c62330 r13: 0000000000000000 r14: 0000000000000000 r15: 0000000000000000 cs: 0010 ss: 0018 ds: 0000 es: 0000 fs: 0000 @ 0000000000000000 gs: 0000 @ ffff88001b040000/0000000000000000 Code (instr addr ffffffff810360d6) 48 89 e5 fb c9 c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb f4 c3 0f 1f 84 00 00 00 00 00 55 Stack: ffff88001acbdf08 ffffffff81014735 ffff88001acbdf28 ffffffff81014a68 0000000000000001 0000000000000000 ffff88001acbdf48 ffffffff8165824a 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 Call Trace: [] native_safe_halt+0x6 <-- [] default_idle+0x45 [] cpu_idle+0x88 [] start_secondary+0x188 ... Olaf