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

[Xen-users] Re: calculating the needed swiotlb in dom0

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Christopher Isip" <cmisip@xxxxxxxxx>
  • Date: Wed, 28 May 2008 23:14:13 -0400
  • Delivery-date: Wed, 28 May 2008 20:14:48 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=taXVBPrzM6mTUIK/gXdowfXZIgeoRPNyHUBP+9DTao7KEea8tcx2hkFPolZW3CIiEo1Cq+RPF/YTmPipQFWww0ny4cyI0caj+OPHRDayHhJVG/v79a9syPavLHpk6ZN/Uyh88dLbx2KPbLcTp9BV5OLLQ0XTdZPbtN+xouN3fX4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, May 28, 2008 at 8:30 AM, Christopher Isip <cmisip@xxxxxxxxx> wrote:
I just found out that setting swiotlb=128 in dom0 grub.conf allowed me to run my mythtv domU with additonal options to ivtv:
in /etc/modprobe.d/options
options ivtv enc_mpg_buffers=8

Setting this to any higher value causes a kernel panic.   I want to be able to specify
options ivtv enc_mpg_buffers=16 enc_vbi_buffers=8

How much swiotlb do I need? Is there a way to figure this out or is it just trial and error.


After a bunch of trials, I managed to get mythtv to boot without SW-IOMMU errors and without  kernel panic with the ivtv options set at " options ivtv enc_mpg_buffers=16 enc_vbi_buffers=8" .  I had to specify on the kernel line in dom0's grub.conf : swiotlb=256 and then in the myth domU's grub.conf : swiotlb=128,force.

It would probably work with the dom0 grub swiotlb set at 128 only although I haven't tried that yet.

Hopefully, this will get rid of a bunch of ivtv buffer errors in dmesg.


Xen-users mailing list



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