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

Re: [Xen-devel] Re: Panic on cpu0

To: Pasi Kärkkäinen <pasik@xxxxxx>, stephen.spector@xxxxxxxxxx, keir.fraser@xxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: Panic on cpu0
From: ZhouPeng <zpengxen@xxxxxxxxx>
Date: Thu, 16 Dec 2010 17:41:11 +0800
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 16 Dec 2010 01:41:53 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Rm4mIbruDDMZodInGhJbhTqDaZCGxZq/wOBhmck7j9Y=; b=hYQsPAi+ix6SJWfaWizXbmSIynm8ACdG4a5Lzjj2vOoWTrY1ra6K7Ycx4sf2Zthcn4 9ruIkLkZDtLfsQIr/bMoz+UFkidFxuoP55FF6n0h9QEzCgoL3GusWSUT8/wG/OxEJUwl 76fBAZxs0a/BgDa9FYx4/X5MPpBQj9rpvIybo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QTBmCT03A1IWgHjIgPiUAQYTK3xiRks/YLoC2AlH4HT/UoK1a8d3dg1ZjcLc0V0Qpu sRnZwEUuF1rhVlvRO8kTIDn9gYN+jA5d4GwBAGAYpQ1OEXT3hYnc+QRvOrzhHWbHOL7i u8u+ZpxjnVvuA26vfc/YqUBIHCE1YOiYYX+tk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=mLQzJkJ08DxMHDXWrLxyH++BymrTNPP-F9zba@xxxxxxxxxxxxxx>
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>
References: <AANLkTima5WK3t1D6T2C5FVEWdxzJhUA9GGaY5pnY6ec5@xxxxxxxxxxxxxx> <AANLkTimZifyh7Zw=AG=JP=Q7zP5Pevr4fYXudftrKNUG@xxxxxxxxxxxxxx> <20101216075912.GG2754@xxxxxxxxxxx> <AANLkTi=mLQzJkJ08DxMHDXWrLxyH++BymrTNPP-F9zba@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The bug exist in iommu(Intel VT-d) support code.

After I disabled the vt-d in bios, system can boot properly.

2010/12/16 ZhouPeng <zpengxen@xxxxxxxxx>
The err msg appears in
void *map_domain_page(unsigned long mfn)
      BUG_ON(idx >= MAPCACHE_ENTRIES);

printk idx is 1024 and BUG_ON is called.

I print  Xen call trace msg:

[<ffcd3c2>]  map_domain_page+0x1a2/0x230
[<ff1cd718>] unmap_domain_page+0x148/0x160
                   addr_to_dma_page_maddr+0x1f6/0x250
                   __find_next_zero_bit+0x80/0x90
                   intel_iommu_map_page+0x14a/0x250
                   domain_context_mapping+0x14a/0x250
                   rmrr_identity_mapping+0xb7/0x120
                   intel_iommu_dom0_init+0x143/0x1eb
                   construct_dom0+0x138f/0x16b0
                   __start_xen+0x109a/0x1680
                   e820nf+0x0/0x4
                   __high_start+0x58/0x5a

2010/12/16 Pasi Kärkkäinen <pasik@xxxxxx>

On Thu, Dec 16, 2010 at 03:41:17PM +0800, ZhouPeng wrote:
>    (XEN) Panic on CPU 0:
>    (XEN) Xen BUG at domain_page.c:102
>
>    Any solutions?
>

You need to post the full boot log, including all output from both Xen and dom0 Linux.
See: http://wiki.xen.org/xenwiki/XenSerialConsole

-- Pasi

>    2010/12/16 ZhouPeng <[1]zpengxen@xxxxxxxxx>
>
>      Hi all,
>
>      I build xen4.1 from the tarbll (with kernel 2.6.32.26 downloaded by
>      default) on fedora8.
>
>      After installing, I get the err msg on startup:
>
>      (XEN) Panic on CPU 0:
>      (XEN) Xen BUG at domain_page.c:102
>
>      5 seconds later, the machine reboot.
>
>      How to deal with this problem.
>
>      Thanks,
>      --
>      Zhou Peng
>      My daily E-Mail: [2]ailvpeng25@xxxxxxxxx
>
>    --
>    Zhou Peng
>    My daily E-Mail: [3]ailvpeng25@xxxxxxxxx
>
> References
>
>    Visible links
>    1. mailto:zpengxen@xxxxxxxxx
>    2. mailto:ailvpeng25@xxxxxxxxx
>    3. mailto:ailvpeng25@xxxxxxxxx

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




--
Zhou Peng
My daily E-Mail: ailvpeng25@xxxxxxxxx



--
Zhou Peng
My daily E-Mail: ailvpeng25@xxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel