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-ia64-devel

[Xen-ia64-devel] Xen panic if not initializing SHARED_INFO_VA

To: "xen-ia64-devel" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Xen panic if not initializing SHARED_INFO_VA
From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Nov 2006 09:19:46 +0100
Delivery-date: Mon, 06 Nov 2006 00:19:55 -0800
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=BAOD9CY+QXp7zRM1N85QMFJvPfAkKDPDyy9nRXudpewle5TWUBg+T6GiuVplQ3PMemfi8G79WEn6Lg+zenbZCI8C5D6+Q9PNgim3H/C3+Vw9vbrRnEzLWmEeXY+L/UvO;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
Hi,

I after a month I updated to the current cset (12018:11b718eb22c9) for porting 
the mini-os and xen did a panic.
I tracked the problem down to:
- I did not initializing SHARED_INFO_VA (see early_xen_setup() for linux)
- the next access to the shared info area leads to a
  alternate data tlb trap:
    shared_info_t *HYPERVISOR_shared_info = (shared_info_t *)XSI_BASE;
    ...
    pfn = HYPERVISOR_shared_info->arch.start_info_pfn

My trap handler inserts a tlb entry for all region 7 addresses without
any checks (and addresses 0xf.... are region 7 addresses too).
Therewidth it installs tlb entries for the shared info pages.
Later the hypervisor panics - see below.
Thanks.

Dietmar.


 (XEN) ### domain f000000007d9c080: rid=80000-c0000 mp_rid=2000
(XEN) arch_domain_create: domain=f000000007d9c080
(XEN) DomainU EFI build up: ACPI 2.0=0x1000
(XEN) dom mem: type=13, attr=0x8000000000000008, 
range=[0x0000000000000000-0x0000000000001000) (4KB)
(XEN) dom mem: type=10, attr=0x8000000000000008, 
range=[0x0000000000001000-0x0000000000002000) (4KB)
(XEN) dom mem: type= 6, attr=0x8000000000000008, 
range=[0x0000000000002000-0x0000000000003000) (4KB)
(XEN) dom mem: type= 7, attr=0x0000000000000008, 
range=[0x0000000000003000-0x0000000007ff4000) (127MB)
(XEN) dom mem: type=12, attr=0x0000000000000001, 
range=[0x00000ffffc000000-0x0000100000000000) (64MB)
(XEN) lookup_domain_mpa: d 0xf000000007d9c080 id 6 current 0xf000000007db8000 
id 0
(XEN) lookup_domain_mpa: bad mpa 0x3fffffff01010 (=> 0x8000000)
(XEN) ia64_fault, vector=0x18, ifa=0xfffffffffff01010, iip=0xf0000000040451c0, 
ipsr=0x0000121008226018, isr=0x0000008000000030
(XEN) General Exception: IA-64 Reserved Register/Field fault (data access).
(XEN) d 0xf000000007d9c080 domid 6
(XEN) vcpu 0xf000000007db8000 vcpu 0
(XEN) 
(XEN) CPU 1
(XEN) psr : 0000121008226018 ifs : 8000000000000713 ip  : [<f0000000040451c1>]
(XEN) ip is at printk+0x421/0x530
(XEN) unat: 0000000000000000 pfs : 0000000000000592 rsc : 0000000000000003
(XEN) rnat: 0009804c8a70033f bsps: f000000004122cc9 pr  : 00000000000182a9
(XEN) ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c8a70033f
(XEN) csd : 0000000000000000 ssd : 0000000000000000
(XEN) b0  : f00000000406cd80 b6  : f000000004063020 b7  : 0000000000000000
(XEN) f6  : 0fffafffffffff0000000 f7  : 0ffde8000000000000000
(XEN) f8  : 100028000000000000000 f9  : 100038000000000000000
(XEN) f10 : 0fffdfffffffff0000000 f11 : 1003e0000000000000000
(XEN) r1  : f000000004317050 r2  : f100000000000000 r3  : f000000007dbffe8
(XEN) r8  : 001c000000000561 r9  : 0000000000000000 r10 : 0000000000000000
(XEN) r11 : 0009804c0270033f r12 : f000000007dbfdc0 r13 : f000000007db8000
(XEN) r14 : 0000000000000000 r15 : 0000001008226018 r16 : f000000007d9c080
(XEN) r17 : 0000000000004000 r18 : f000000004117f68 r19 : f0000000042a4080
(XEN) r20 : 03c6808080000002 r21 : 0000000003c68080 r22 : 000000001fffffff
(XEN) r23 : 0000000000000000 r24 : f000000007dbfe20 r25 : f000000007dbfe28
(XEN) r26 : 0000000000000000 r27 : 0000000000000000 r28 : 0000000000000000
(XEN) r29 : 0000000000000000 r30 : 0000000000000000 r31 : f000000004125c70
(XEN) 
(XEN) Call Trace:
(XEN)  [<f000000004095680>] show_stack+0x80/0xa0
(XEN)                                 sp=f000000007dbf9f0 bsp=f000000007db9018
(XEN)  [<f000000004065ca0>] ia64_fault+0x130/0x4f0
(XEN)                                 sp=f000000007dbfbc0 bsp=f000000007db8fd8
(XEN)  [<f000000004092680>] ia64_leave_kernel+0x0/0x310
(XEN)                                 sp=f000000007dbfbc0 bsp=f000000007db8fd8
(XEN)  [<f0000000040451c0>] printk+0x420/0x530
(XEN)                                 sp=f000000007dbfdc0 bsp=f000000007db8f40
(XEN)  [<fffffffffff00000>] ???
(XEN)                                 sp=f000000007dbfe00 bsp=f000000007db8e40
(XEN) 
(XEN) ****************************************
(XEN) Panic on CPU 1:
(XEN) Fault in Xen.
(XEN) ****************************************
(XEN) 
(XEN) Reboot in five seconds...

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] Xen panic if not initializing SHARED_INFO_VA, Dietmar Hahn <=