WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] xen: fix hypervisor crash with xentrace

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] xen: fix hypervisor crash with xentrace
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Wed, 6 Apr 2011 15:32:00 +0100
Delivery-date: Wed, 06 Apr 2011 07:33:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.10
Hi,

Attached patch fixes hypervisor crashes when xentrace buffer gets initialized.

The xen backtraces I have seen are:

(XEN) Xen call trace:
(XEN)    [<ffff82c48025cf70>] early_stack+0x0/0x48
(XEN)    [<ffff82c4801278d0>] tb_control+0x182/0x278
(XEN)    [<ffff82c480124aac>] do_sysctl+0x1fc/0xa40
(XEN)    [<ffff82c480213248>] syscall_enter+0xc8/0x122
(XEN)
(XEN) Pagetable walk from ffff82c48025cf70:
(XEN)  L4[0x105] = 00000000cfcaa027 5555555555555555
(XEN)  L3[0x112] = 00000000cfcab027 5555555555555555
(XEN)  L2[0x001] = 000000022f27b063 5555555555555555
(XEN)  L1[0x05c] = 00000000cfc5c262 5555555555555555
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) FATAL PAGE FAULT
(XEN) [error_code=0010]
(XEN) Faulting linear address: ffff82c48025cf70
(XEN) ****************************************


(XEN) Xen call trace:
(XEN)    [<ffff82c48025d852>] notifier_chain_register+0x0/0x35
(XEN)    [<ffff82c4801275b2>] alloc_trace_bufs+0x5cd/0x7a9
(XEN)    [<ffff82c480127910>] tb_control+0x182/0x278
(XEN)    [<ffff82c480124aec>] do_sysctl+0x1fc/0xa40
(XEN)    [<ffff82c480213288>] syscall_enter+0xc8/0x122
(XEN)
(XEN) Pagetable walk from ffff82c48025d852:
(XEN)  L4[0x105] = 00000000cfcaa027 5555555555555555
(XEN)  L3[0x112] = 00000000cfcab027 5555555555555555
(XEN)  L2[0x001] = 000000022f27b063 5555555555555555
(XEN)  L1[0x05d] = 00000000cfc5d262 5555555555555555
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 1:
(XEN) FATAL PAGE FAULT
(XEN) [error_code=0010]
(XEN) Faulting linear address: ffff82c48025d852
(XEN) ****************************************


Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

Attachment: xen_xentrace.diff
Description: xen_xentrace.diff

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel