Dietmar Hahn
2008-Jun-11 13:55 UTC
[Xen-devel] Xen panics while working with xenoprof in dom0
Hi list, I played with oprofile and got reproducible xen panics. I use SuSE SLES10 SP2 with a xen version 3.2.0_16718_14-0.4. I do the following steps: 1. Start minios 2. Start oprofile with --passive-domains=minios-domid 3. xm destroy minios-domid 4. shutdown oprofile This sequence repeated multiple (around 5) times leads to the Xen panic below. It looks like the allocated memory for the passive domain is not correct released. Is this is a known (and maybe fixed in xen-unstable) issue or a new one? Thanks. Dietmar. alba1 login: xenoprofile_init: ret 0, events 2, xenoprof_is_primary 1 (XEN) Xen BUG at page_alloc.c:414 (XEN) ----[ Xen-3.2.0_16718_14-0.4 x86_64 debug=n Tainted: C ]---- (XEN) CPU: 0 (XEN) RIP: e008:[<ffff828c8010fe55>] alloc_heap_pages+0x205/0x320 (XEN) RFLAGS: 0000000000010286 CONTEXT: hypervisor (XEN) rax: 00000000ffffffff rbx: ffff828401dd5300 rcx: 0000000000000004 (XEN) rdx: ffffffff00000000 rsi: 0000ffff00000000 rdi: 0000000000000000 (XEN) rbp: ffff828c80238d60 rsp: ffff828c80227dd8 r8: ffff828401dd5300 (XEN) r9: 0000000000000030 r10: 0000000000000000 r11: 0000000000000010 (XEN) r12: 0000000000000004 r13: 0000000000000000 r14: 0000000000000001 (XEN) r15: 0000000000000010 cr0: 000000008005003b cr4: 00000000000026b0 (XEN) cr3: 00000001c507e000 cr2: 00000000005a1a38 (XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: e010 cs: e008 (XEN) Xen stack trace from rsp=ffff828c80227dd8: (XEN) 00000000003c8710 0000000000000000 0000000000000300 0000000000000293 (XEN) ffffffff883b02c0 0000000000000004 0000000000000800 0000000000008030 (XEN) 0000000000000001 0000000000000009 ffff8300bfde6080 ffff828c8010ff94 (XEN) ffff8300bee1e080 ffff828c8011a61d ffff8300bfdec080 00000000ffffffea (XEN) ffffffff883b0480 ffff8300bee1e080 ffffffff883b02c0 ffffffff883b02c0 (XEN) 0000000000000000 ffff828c8011a998 000008000000000d 0000803000000001 (XEN) 00000000befd0000 ffff828c80194071 00000000ffffffda 0000000000000004 (XEN) ffffffff883b0480 ffffffff883b02c0 ffffffff883b02c0 ffff828c8011b41d (XEN) 00002ba278e7b0a0 000000000000e033 0000000000000246 00007fff322a2528 (XEN) ffff8300bfdec080 0000000000000000 ffffffff883b0480 ffffffff883b02c0 (XEN) ffffffff883b02c0 ffff828c80192169 0000000000000000 ffffffff883b02c0 (XEN) ffffffff883b02c0 ffffffff883b0480 0000000000000000 0000000000000000 (XEN) 0000000000000296 0000000000000001 0000000000000000 000000000000000a (XEN) 000000000000001f ffffffff801063ea 000000000000000d ffffffff883b0480 (XEN) 0000000000000004 0000010000000000 ffffffff801063ea 000000000000e033 (XEN) 0000000000000296 ffff880070cffe20 000000000000e02b 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000000 0000000000000000 (XEN) ffff8300bfdec080 (XEN) Xen call trace: (XEN) [<ffff828c8010fe55>] alloc_heap_pages+0x205/0x320 (XEN) [<ffff828c8010ff94>] alloc_xenheap_pages+0x24/0x80 (XEN) [<ffff828c8011a61d>] alloc_xenoprof_struct+0x11d/0x1f0 (XEN) [<ffff828c8011a998>] add_passive_list+0xb8/0x310 (XEN) [<ffff828c80194071>] toggle_guest_mode+0x21/0x30 (XEN) [<ffff828c8011b41d>] do_xenoprof_op+0x3ad/0x740 (XEN) [<ffff828c80192169>] tracing_off+0xb/0x10 (XEN) (XEN) (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) Xen BUG at page_alloc.c:414 (XEN) **************************************** (XEN) (XEN) Reboot in five seconds... _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel