From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Re: Panic on cpu0 Date: Thu, 16 Dec 2010 11:47:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ZhouPeng Cc: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org You might need a line like the following in /etc/fstab in dom0: none /proc/xen xenfs defaults 0 0 -- Keir On 16/12/2010 11:24, "ZhouPeng" wrote: > Thank you for your reply. >=20 > We want to=A0 work in 32-bit system. > And fortunately we don't need IOMMU and passthr at the present. >=20 > There is another problem: > xend start failed > err msg is: > xen.lowlevel.xc.Error: (1, "Internal error"), 'Could not obtain handle on > privileged command interface (2 =3D=A0 No such file or directory)' >=20 > I find there is nothing in "/proc/xen/" but there is privcmd.o in > "bulid-linux-2.6-pvos_x86_32/drivers/xen/xenfs/" >=20 > 2010/12/16 Keir Fraser >> Could you build a 64-bit hypervisor instead? In all honesty, the 32-bit >> build gets hardly any testing these days, and not much love. >>=20 >> =A0-- Keir >>=20 >> On 16/12/2010 09:41, "ZhouPeng" wrote: >>=20 >>> The bug exist in iommu(Intel VT-d) support code. >>>=20 >>> After I disabled the vt-d in bios, system can boot properly. >>>=20 >>> 2010/12/16 ZhouPeng >>>> The err msg appears in >>>> void *map_domain_page(unsigned long mfn) >>>> =A0=A0=A0=A0=A0 BUG_ON(idx >=3D MAPCACHE_ENTRIES); >>>>=20 >>>> printk idx is 1024 and BUG_ON is called. >>>>=20 >>>> I print=A0 Xen call trace msg: >>>>=20 >>>> []=A0 map_domain_page+0x1a2/0x230 >>>> [] unmap_domain_page+0x148/0x160 >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 addr_to_dma_page_maddr+0x1f6/0x250 >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 __find_next_zero_bit+0x80/0x90 >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 intel_iommu_map_page+0x14a/0x250 >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 domain_context_mapping+0x14a/0x250 >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 rmrr_identity_mapping+0xb7/0x120 >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 intel_iommu_dom0_init+0x143/0x1eb >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 construct_dom0+0x138f/0x16b0 >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 __start_xen+0x109a/0x1680 >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 e820nf+0x0/0x4 >>>> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 __high_start+0x58/0x5a >>>>=20 >>>> 2010/12/16 Pasi K=E4rkk=E4inen >>>>=20 >>>>> On Thu, Dec 16, 2010 at 03:41:17PM +0800, ZhouPeng wrote: >>>>>> =A0 =A0(XEN) Panic on CPU 0: >>>>>> =A0 =A0(XEN) Xen BUG at domain_page.c:102 >>>>>>=20 >>>>>> =A0 =A0Any solutions? >>>>>>=20 >>>>>=20 >>>>> You need to post the full boot log, including all output from both Xe= n and >>>>> dom0 Linux. >>>>> See: http://wiki.xen.org/xenwiki/XenSerialConsole >>>>>=20 >>>>> -- Pasi >>>>>=20 >>>>>> =A0 =A02010/12/16 ZhouPeng <[1]zpengxen@gmail.com> >>>>>>=20 >>>>>> =A0 =A0 =A0Hi all, >>>>>>=20 >>>>>> =A0 =A0 =A0I build xen4.1 from the tarbll (with kernel 2.6.32.26 downloade= d by >>>>>> =A0 =A0 =A0default) on fedora8. >>>>>>=20 >>>>>> =A0 =A0 =A0After installing, I get the err msg on startup: >>>>>>=20 >>>>>> =A0 =A0 =A0(XEN) Panic on CPU 0: >>>>>> =A0 =A0 =A0(XEN) Xen BUG at domain_page.c:102 >>>>>>=20 >>>>>> =A0 =A0 =A05 seconds later, the machine reboot. >>>>>>=20 >>>>>> =A0 =A0 =A0How to deal with this problem. >>>>>>=20 >>>>>> =A0 =A0 =A0Thanks, >>>>>> =A0 =A0 =A0-- >>>>>> =A0 =A0 =A0Zhou Peng >>>>>> =A0 =A0 =A0My daily E-Mail: [2]ailvpeng25@gmail.com >>>>>>=20 >>>>>> =A0 =A0-- >>>>>> =A0 =A0Zhou Peng >>>>>> =A0 =A0My daily E-Mail: [3]ailvpeng25@gmail.com >>>>>>=20 >>>>>> References >>>>>>=20 >>>>>> =A0 =A0Visible links >>>>>> =A0 =A01. mailto:zpengxen@gmail.com >>>>>> =A0 =A02. mailto:ailvpeng25@gmail.com >>>>>> =A0 =A03. mailto:ailvpeng25@gmail.com >>>>>=20 >>>>>> _______________________________________________ >>>>>> Xen-devel mailing list >>>>>> Xen-devel@lists.xensource.com >>>>>> http://lists.xensource.com/xen-devel >>>>>=20 >>>>=20 >>>>=20 >>=20 >>=20 >=20 >=20