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

[Xen-devel] HVM guests hanging in hpet_rtc_interrupt


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Thu, 31 Jan 2013 18:07:18 +0100
  • Delivery-date: Thu, 31 Jan 2013 17:07:43 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.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:
  [<ffffffff81034b97>] hpet_rtc_interrupt+0x97  <--
  [<ffffffff8165e9cc>] _raw_spin_unlock_irqrestore+0xc
  [<ffffffff8109aa2b>] handle_irq_event_percpu+0x4b
  [<ffffffff8109ab8c>] handle_irq_event+0x3c
  [<ffffffff8109d79d>] handle_edge_irq+0x6d
  [<ffffffff8142b474>] __xen_evtchn_do_upcall+0x1a4
  [<ffffffff8142ca6a>] xen_evtchn_do_upcall+0x2a
  [<ffffffff81660aad>] 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 <c9> 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:
  [<ffffffff810360d6>] native_safe_halt+0x6  <--
  [<ffffffff81014735>] default_idle+0x45
  [<ffffffff81014a68>] cpu_idle+0x88
  [<ffffffff8165824a>] 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:
  [<ffffffff81034b97>] hpet_rtc_interrupt+0x97  <--
  [<ffffffff8165e9cc>] _raw_spin_unlock_irqrestore+0xc
  [<ffffffff8109aa2b>] handle_irq_event_percpu+0x4b
  [<ffffffff8109ab8c>] handle_irq_event+0x3c
  [<ffffffff8109d79d>] handle_edge_irq+0x6d
  [<ffffffff8142b474>] __xen_evtchn_do_upcall+0x1a4
  [<ffffffff8142ca6a>] xen_evtchn_do_upcall+0x2a
  [<ffffffff81660aad>] 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 <c9> 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:
  [<ffffffff810360d6>] native_safe_halt+0x6  <--
  [<ffffffff81014735>] default_idle+0x45
  [<ffffffff81014a68>] cpu_idle+0x88
  [<ffffffff8165824a>] 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:
  [<ffffffff81034b97>] hpet_rtc_interrupt+0x97  <--
  [<ffffffff8165e9cc>] _raw_spin_unlock_irqrestore+0xc
  [<ffffffff8109aa2b>] handle_irq_event_percpu+0x4b
  [<ffffffff8109ab8c>] handle_irq_event+0x3c
  [<ffffffff8109d79d>] handle_edge_irq+0x6d
  [<ffffffff8142b474>] __xen_evtchn_do_upcall+0x1a4
  [<ffffffff8142ca6a>] xen_evtchn_do_upcall+0x2a
  [<ffffffff81660aad>] 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 <c9> 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:
  [<ffffffff810360d6>] native_safe_halt+0x6  <--
  [<ffffffff81014735>] default_idle+0x45
  [<ffffffff81014a68>] cpu_idle+0x88
  [<ffffffff8165824a>] 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:
  [<ffffffff81034b97>] hpet_rtc_interrupt+0x97  <--
  [<ffffffff8165e9cc>] _raw_spin_unlock_irqrestore+0xc
  [<ffffffff8109aa2b>] handle_irq_event_percpu+0x4b
  [<ffffffff8109ab8c>] handle_irq_event+0x3c
  [<ffffffff8109d79d>] handle_edge_irq+0x6d
  [<ffffffff8142b474>] __xen_evtchn_do_upcall+0x1a4
  [<ffffffff8142ca6a>] xen_evtchn_do_upcall+0x2a
  [<ffffffff81660aad>] 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 <c9> 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:
  [<ffffffff810360d6>] native_safe_halt+0x6  <--
  [<ffffffff81014735>] default_idle+0x45
  [<ffffffff81014a68>] cpu_idle+0x88
  [<ffffffff8165824a>] start_secondary+0x188
...


Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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