From: Ian Campbell Subject: Re: Re: [Xen-users] Hypervisor hangs on startup, 2.6.32-5-xen dom0 kernel panic Date: Tue, 21 Dec 2010 13:13:29 +0000 Message-ID: <1292937209.4500.1852.camel@zakaz.uk.xensource.com> References: <4D0AD782.8030204@wavecon.de> <4D0B3DF2.5000100@wavecon.de> <20101217115132.GG2754@reaktio.net> <4D0B7E79.4010106@wavecon.de> <20101220201819.GN2754@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20101220201819.GN2754@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Pasi =?ISO-8859-1?Q?K=E4rkk=E4inen?= Cc: Arno Toell , "xen-devel@lists.xensource.com" , "xen-users@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Mon, 2010-12-20 at 20:18 +0000, Pasi K=C3=A4rkk=C3=A4inen wrote: > > > [ 6.122370] Initializing CPU#0 > > > [ 6.131080] DMA: Placing 64MB software IO TLB between ffff880020= 000000 - ffff880024000000 > > > [ 6.131087] DMA: software IO TLB at phys 0x20000000 - 0x24000000 > > > [ 6.131090] xen_swiotlb_fixup: buf=3Dffff880020000000 size=3D671= 08864 > > > [ 6.139836] Kernel panic - not syncing: DMA(-12): Failed to exch= ange pages allocated for DMA with Xen! We either don't have the permissio= n or you do not ! This suggests that the xen_exchange_memory hypercall has failed for some reason. -12 is -ENOMEM but size is only 64M and this is start of day so I can't think why this would be the case (or at least why it wouldn't always be the case if it was happening at all). Might be worth trying the dom0_mem hypervisor parameter to limit the initial size of dom0, perhaps to 32G. Ian. > > > [ 6.139838] > > > [ 6.139845] Pid: 0, comm: swapper Not tainted 2.6.32-5-xen-amd64= #1 > > > [ 6.139847] Call Trace: > > > [ 6.139856] [] ? panic+0x86/0x143 > > > [ 6.139862] [] ? xen_restore_fl_direct_end+0x= 0/0x1 > > > [ 6.139867] [] ? _spin_unlock_irqrestore+0xd/= 0xe > > > [ 6.139871] [] ? xen_create_contiguous_region= +0xc8/0xe1 > > > [ 6.139878] [] ? xen_swiotlb_fixup+0x8b/0xba > > > [ 6.139882] [] ? _etext+0x0/0x1f360d > > > [ 6.139887] [] ? xen_swiotlb_init+0x5c/0x5f > > > [ 6.139891] [] ? pci_xen_swiotlb_init+0x17/0x= 24 > > > [ 6.139895] [] ? pci_iommu_alloc+0x72/0x78 > > > [ 6.139900] [] ? mem_init+0x15/0xe5 > > > [ 6.139904] [] ? start_kernel+0x202/0x3e8 > > > [ 6.139908] [] ? xen_start_kernel+0x586/0x58a > > > (XEN) Domain 0 crashed: rebooting machine in 5 seconds.=20