[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] IVTV in domU: Cannot request encoder memory region on card 0
Hi, i can confirm i have a similar setup running fine on Debian etch with a PVR500 and a PVR250. I am using xen 3.0 (debian is a bit behind) and i've seen some posts of people having trouble with this on xen 3.1 in any case i thought i'd give you my notes from almost 2 years of playing with this: - i never got this to work on 32bit with PAE. I think PAE does something weird on PCI level. Avoid PAE if possible. - i did get this to run on 32bit, but it was never stable enough for everyday use. - since i switched to 64bit, almost all troubles disappeared. - your kernel params look fine, i have something very similar (no special parameters on dom0, domu: extra = "root=/dev/hda1 iommu=soft swiotlb=force") -> i advise you to drop the swiotlb stuff from dom0, it should only be needed on domU. - the swiotlb stuff reserves some memory for drivers. That means that you will have to make sure to assign enough memory to the domU to boot from. I had to transfer a minimum of about 480MB before the system would even boot. It has been running in 512MB ever since. Note that i run the DB on another (virtual) system. - make sure that the IVTV fireware and drivers on domU are in sync with the kernel you load. Especially for recent PVR500 cards (with the samsung tuners) you need a very recent version of the ivtv drivers. - IVTV cards need to load firmware at boot-time. When testing with multiple reboots, the cards can easily get into a screwed-up state. Powerdown completely and leave powered off for about 2 minutes before rebooting to clear this up. - i'm not sure that the pciback.hide stuff still works as kernel parameter. I use this script as a late-phase boot-script: SLOT=0000:04:08.0 # Add a new slot to the PCI Backend's list echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot # Now that the backend is watching for the slot, bind to it echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind SLOT=0000:04:09.0 # Add a new slot to the PCI Backend's list echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot # Now that the backend is watching for the slot, bind to it echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind SLOT=0000:05:0a.0 echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind - make sure that you first make sure that IVTV is running ok before starting to debug mythtv. i hope at least some of this is helpful. Greetings, SVen On Jan 4, 2008 4:16 AM, Truls Asheim <
truls@xxxxxxxxxx> wrote:
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |