[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] DL385 G2 - PCI-DMA: Random memory would be DMAed


  • To: Zachary Richmond <zak@xxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Fri, 19 Oct 2007 11:40:18 +0100
  • Delivery-date: Fri, 19 Oct 2007 03:41:09 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcgSPHDOr3jjdH4vEdyl9wAX8io7RQ==
  • Thread-topic: [Xen-devel] DL385 G2 - PCI-DMA: Random memory would be DMAed

On 18/10/07 20:05, "Zachary Richmond" <zak@xxxxxxxxxxx> wrote:

> Regarding the full error message, all I am getting is:
> 
> kernel panic not syncing: PCI-DMA: Random memory would be DMAed
> 
> since the machine is rebooting after that.  There maybe somewhere else to get
> more detail, but beyond dmesg or messages I am not sure where else to look.

You should also get a line immediately before that saying:
"PCI-DMA: Out of SW-IOMMU space for xxx bytes at device xxx"

This message makes it clear that your swiotlb is not big enough. The default
size is 2MB if your machine has less than 2GB RAM. Otherwise the default is
64MB. You can increase the swiotlb size by, for example, adding
'swiotlb=128' as a boot parameter to your dom0 kernel (the example here
would set the swiotlb size to be 128MB).

Setting the parameter too small will make your system crash (as you have
seen). Setting it bigger than necessary will waste memory. The optimum
setting will depend on your system.

 -- Keir



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.