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-users

Re: [Xen-users] Re: Re: Re: MythTV and Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: Re: Re: MythTV and Xen
From: "sven waeyenbergh" <sven.waeyenbergh@xxxxxxxxx>
Date: Wed, 26 Dec 2007 14:04:19 +0100
Delivery-date: Wed, 26 Dec 2007 05:04:53 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=ZPdxLPDnrBFi0vAjVqoin8j9OHJmQ288n1J5NjhLvX8=; b=RjNic7Vr9o11GwTIWIdoFC+80sHfKHBmzj69dy29viSiagAx4l3FdoyU2vR78BUjmgbPcYDEkAiwwIPEhIT/ECSvkDFA8vwDoQIQIBpsz0UmBavgVQC9f9qI4bYqYYWVgVVTQV+j4kIQajOpsuz5qm17C7ySFPipICuPFzifIWU=
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=CSArpzeW3ZOwL1+dBGNaXwgtyfWekvvPEngOajCFYgHyHvuNnLgz+8XJCnp0oxFqoSrVZqoHCCmwqR7Vt5qmZRg+zrzDM5ON+D73T1Fg4XL5kcS9vw74WJ9W0w9YFP5XHlL7ay8W/R4amDesdcIii6eLo1JFYCTSP1cknlZ4Dz4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <fkpd4e$gbo$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <476BF537.7000003@xxxxxxxxxxxxx> <fkhdvf$75a$1@xxxxxxxxxxxxx> <476D787A.2000404@xxxxxxxxxxxxx> <fkm20d$mb9$1@xxxxxxxxxxxxx> <476EE9C6.8060900@xxxxxxxxxxxxx> <fkpd4e$gbo$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear list, FYI:

i have been running a mythbackend inside a domU for a long time now.
I have "transported" 2 ivtv cards to this domU, and also a serial port for the external channel changer,
that works just fine.

I'm using the standard xen kernel for debian etch with no special kernel options or anything else.

I did have to set some kernel options to get the domU kernel for the myth machine running.
the options i used are : extra = "root=/dev/hda1 iommu=soft swiotlb=force"

some version info:
ii  linux-image-2.6.18-4-xen-amd64      2.6.18.dfsg.1-12etch2                Linux 2.6.18 image on AMD64
ii  linux-modules-2.6.18-4-xen-amd64    2.6.18.dfsg.1-12etch2                Linux 2.6.18 modules on AMD64
ii  linux-modules-2.6.18-5-xen-amd64    2.6.18.dfsg.1-13etch6                Linux 2.6.18 modules on AMD64
ii  xen-hypervisor-3.0.3-1-amd64        3.0.3-0-4                            The Xen Hypervisor on AMD64
ii  xen-linux-system-2.6.18-4-xen-amd64 2.6.18.dfsg.1-12etch2                XEN system with Linux 2.6.18 image on AMD64
ii  xen-utils-3.0.3-1                   3.0.3-0-4                            XEN administrative tools
ii  xen-utils-common                    3.0.3-0-2                            XEN administrative tools - common files


some notes:
- before i did this 64bit version i tried to get this working on 32bit. However, it seemed that almost all ditributions are (were) switching to a PAE-enabled kernel. This kernel made the transfer of PCI cards very buggy. switching to 64bit and allocating enough memory on the domU (see swiotlb setting) solved these.
- i'm using pciback hiding on dom0
- my pvr500 (dual tuner) is connected to a simple cable, but my PVR150 is connected to a skybox STB that is connected to my dish. It uses an external channel changer that works very fine in myth.(see here: http://www.dusky-control.com/ )
- don't forget to install the ivtv drivers & firmware on domU & regenerate the initrd.
- at the moment i'm using the xen emulated network adapter on domU. I normally have only 1 or possibly 2 frontends on at any one time. I do have the feeling that i'm close to the maximum transfer speeds for the emulated adapter. i think that setups that need more than 2 FE's will also have to use an "exported, real" network card on domU for speed reasons. This could be related to the fact that i'm still using xen 3.0.3 and not 3.1. It seems like the 3.1 version will solve a lot of speed and i/o issues.

Greetings,
Sven
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users