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

Re: [Xen-ia64-devel] [Patch0/2] support config SPARSEMEM

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [Patch0/2] support config SPARSEMEM
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Thu, 01 Feb 2007 17:04:32 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Feb 2007 16:03:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1CC7461CCA3E82takebe_akio@xxxxxxxxxxxxxx>
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>
Organization: HP OSLO R&D
References: <1CC7461CCA3E82takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2007-02-02 at 01:19 +0900, Akio Takebe wrote:
> Hi,
> 
> These patches are for supporting domain config of SPARSEMEM.
> See the following thread.
> http://lists.xensource.com/archives/html/xen-ia64-devel/2007-01/msg00278.html
> 
> [1/2] change config SPARSEMEM
> [2/2] remove pfn_valid for supporting SPARSEMEM

Hi Akio,

   Dom0 boots with this, but booting a domU w/ the -xen kernel does bad
things:

Xen p2m: assign p2m table of [0x0000000000000000, 0x0000000100000000)
Xen p2m: to [0x0000000100000000, 0x0000000103ffc000) (65536 KBytes)
XENBUS: Device with no driver: device/console/0
Unable to handle kernel NULL pointer dereference (address 0000000000000000)
swapper[0]: Oops 11012296146944 [1]
Modules linked in:

Pid: 0, CPU 0, comm:              swapper
psr : 0000121008026010 ifs : 800000000000040b ip  : [<a0000001005010a1>]    Not 
tainted
ip is at __sync_single+0x61/0x1e0
unat: 0000000000000000 pfs : 800000000000038c rsc : 0000000000000008
rnat: 0000021008026010 bsps: a0000001000dac30 pr  : 0000000000019aa5
ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c0270033f
csd : 0000000000000000 ssd : 0000000000000000
b0  : a0000001005013e0 b6  : a00000010062e9a0 b7  : 0000000000000000
f6  : 000000000000000000000 f7  : 000000000000000000000
f8  : 000000000000000000000 f9  : 000000000000000000000
f10 : 000000000000000000000 f11 : 000000000000000000000
r1  : a0000001010ff400 r2  : 0000000000000030 r3  : a000000100cc3b98
r8  : e000000103a08928 r9  : 0000000000000000 r10 : 0000000000000000
r11 : 0000000000000000 r12 : a000000100cc3b80 r13 : a000000100cbc000
r14 : a000000100cc3ba0 r15 : e000000000000000 r16 : a000000100cc3ba8
r17 : a00000010116f400 r18 : 0000000000000c92 r19 : 0000000000649000
r20 : e000000005378000 r21 : a000000100f283e8 r22 : a000000100f283b8
r23 : e000000000000000 r24 : 00000000059c0000 r25 : 0000000000001000
r26 : 0000000000003fff r27 : 0000000000000008 r28 : 0000000000000000
r29 : 00001412082a6010 r30 : 8000000000000006 r31 : 0000000000000000

Call Trace:
 [<a00000010001d0c0>] show_stack+0x40/0xa0
                                sp=a000000100cc3730 bsp=a000000100cbd498
 [<a00000010001dd20>] show_regs+0x840/0x880
                                sp=a000000100cc3900 bsp=a000000100cbd440
 [<a000000100041520>] die+0x1c0/0x380
                                sp=a000000100cc3900 bsp=a000000100cbd3f0
 [<a000000100065e70>] ia64_do_page_fault+0x810/0x940
                                sp=a000000100cc3920 bsp=a000000100cbd3a0
 [<a000000100068840>] xen_leave_kernel+0x0/0x3c0
                                sp=a000000100cc39b0 bsp=a000000100cbd3a0
 [<a0000001005010a0>] __sync_single+0x60/0x1e0
                                sp=a000000100cc3b80 bsp=a000000100cbd348
 [<a0000001005013e0>] unmap_single+0xa0/0x220
                                sp=a000000100cc3b90 bsp=a000000100cbd310
 [<a000000100502b10>] swiotlb_unmap_single+0x270/0x320
                                sp=a000000100cc3ba0 bsp=a000000100cbd2d0
 [<a00000010006b4e0>] dma_unmap_single+0xa0/0xc0
                                sp=a000000100cc3ba0 bsp=a000000100cbd298
 [<a00000010062ebe0>] cciss_softirq_done+0x240/0x5a0
                                sp=a000000100cc3ba0 bsp=a000000100cbd248
 [<a0000001004ca680>] blk_done_softirq+0x240/0x2a0
                                sp=a000000100cc3ba0 bsp=a000000100cbd230
 [<a0000001000959b0>] __do_softirq+0x1b0/0x340
                                sp=a000000100cc3bb0 bsp=a000000100cbd1b0
 [<a000000100095c60>] do_softirq+0x120/0x240
                                sp=a000000100cc3bb0 bsp=a000000100cbd150
 [<a000000100095e00>] irq_exit+0x80/0xa0
                                sp=a000000100cc3bb0 bsp=a000000100cbd138
 [<a0000001006c49b0>] evtchn_do_upcall+0x1d0/0x320
                                sp=a000000100cc3bb0 bsp=a000000100cbd0a0
 [<a000000100068240>] xen_event_callback+0x380/0x3c0
                                sp=a000000100cc3bb0 bsp=a000000100cbd0a0
 [<a0000001005013e0>] unmap_single+0xa0/0x220
                                sp=a000000100cc3bb0 bsp=a000000100cbd0a0
 <0>Kernel panic - not syncing: Aiee, killing interrupt handler!
 (XEN) Domain 0 crashed: rebooting machine in 5 seconds.
(XEN) Domain0 halts the machine


-- 
Alex Williamson                             HP Open Source & Linux Org.


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