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] [RFC] Xen machine vector

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [RFC] Xen machine vector
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Thu, 03 May 2007 22:35:23 -0600
Delivery-date: Thu, 03 May 2007 21:33:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1178249758.28577.122.camel@bling>
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: <1178249758.28577.122.camel@bling>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2007-05-03 at 21:35 -0600, Alex Williamson wrote:
> I need to add some error catching,
> copyrights, and actually get it working reliably (it seem to be getting
> upcalls while unmapping DMA and ending up in bad page faults in dom0),
> but I thought I'd run this idea by the group before doing all the
> polishing.

FWIW, here's how dom0 is currently panic'ing when booting a domU.  I'm
booting my dom0 with machvec=dig to force it to use the swiotlb path.  A
similar panic occurs with sba_iommu.  I must be missing something in the
unmap case.  Thanks,

        Alex

Unable to handle kernel paging request at virtual address a0007ffffcb46390
swapper[0]: Oops 8813272891392 [1]
Modules linked in:

Pid: 0, CPU 0, comm:              swapper
psr : 0000101008026010 ifs : 8000000000000006 ip  : [<a0000001004f6d60>]    Not 
tainted
ip is at mark_clean+0x60/0xe0
unat: 0000000000000000 pfs : 800000000000038d rsc : 0000000000000008
rnat: 000000000001aaa5 bsps: a00000010012dba0 pr  : 0000000000016565
ldrs: 0000000000000000 ccv : 0000000000000000 fpsr: 0009804c0270033f
csd : 0000000000000000 ssd : 0000000000000000
b0  : a0000001004f8b00 b6  : a0000001004f8940 b7  : 0000000000000000
f6  : 000000000000000000000 f7  : 000000000000000000000
f8  : 000000000000000000000 f9  : 000000000000000000000
f10 : 000000000000000000000 f11 : 000000000000000000000
r1  : a000000101142f30 r2  : e0000000fbdfc000 r3  : 00000000001b8c72
r8  : 00000000001f7bf0 r9  : 000000000003ef7e r10 : e000000000000000
r11 : a000000100f6c900 r12 : a000000100cfbba0 r13 : a000000100cf4000
r14 : ffffffffffffc000 r15 : e0000000fbdfbfff r16 : a0007ffffbd80000
r17 : a0007ffffcb46390 r18 : e0000000fbdfc000 r19 : 0000000000000200
r20 : a000000100f6be48 r21 : a000000100f6c908 r22 : 0000000000000000
r23 : a000000100cf5030 r24 : 0000000000000000 r25 : 0000000000000000
r26 : 800000000000038d r27 : 0000000000000008 r28 : a0000001000685c0
r29 : 00001412082a6010 r30 : 8000000000000006 r31 : 00000000000156a5

Call Trace:
 [<a00000010001d600>] show_stack+0x40/0xa0
                                sp=a000000100cfb750 bsp=a000000100cf53f0
 [<a00000010001e260>] show_regs+0x840/0x880
                                sp=a000000100cfb920 bsp=a000000100cf5398
 [<a0000001000426e0>] die+0x1c0/0x380
                                sp=a000000100cfb920 bsp=a000000100cf5350
 [<a000000100066670>] ia64_do_page_fault+0x870/0x9a0
                                sp=a000000100cfb940 bsp=a000000100cf5300
 [<a000000100069060>] xen_leave_kernel+0x0/0x3e0
                                sp=a000000100cfb9d0 bsp=a000000100cf5300
 [<a0000001004f6d60>] mark_clean+0x60/0xe0
                                sp=a000000100cfbba0 bsp=a000000100cf52d0
 [<a0000001004f8b00>] swiotlb_unmap_single+0x1c0/0x260
                                sp=a000000100cfbba0 bsp=a000000100cf5298
 [<a000000100637c10>] cciss_softirq_done+0x270/0x5e0
                                sp=a000000100cfbba0 bsp=a000000100cf5248
 [<a0000001004c14e0>] blk_done_softirq+0x240/0x2a0
                                sp=a000000100cfbba0 bsp=a000000100cf5230
 [<a000000100095bb0>] __do_softirq+0x1b0/0x340
                                sp=a000000100cfbbb0 bsp=a000000100cf51b0
 [<a000000100095e60>] do_softirq+0x120/0x240
                                sp=a000000100cfbbb0 bsp=a000000100cf5150
 [<a000000100096000>] irq_exit+0x80/0xa0
                                sp=a000000100cfbbb0 bsp=a000000100cf5138
 [<a0000001006d4e70>] evtchn_do_upcall+0x1d0/0x320
                                sp=a000000100cfbbb0 bsp=a000000100cf50a0
 [<a000000100068960>] xen_event_callback+0x380/0x3c0
                                sp=a000000100cfbbb0 bsp=a000000100cf50a0
 [<a0000001004f8b00>] swiotlb_unmap_single+0x1c0/0x260
                                sp=a000000100cfbbb0 bsp=a000000100cf50a0
 <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

<Prev in Thread] Current Thread [Next in Thread>