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

[Xen-users] IVTV in domU: Cannot request encoder memory region on card 0



Hi

 

I am trying to get my Happauge PVR-500 working inside a domU. Both host and guest are running Gentoo 2007.0 with kernel 2.6.20-r6-xen and xen verson 3.1.2.

 

My problem is that when i try to load the itvtv kernel module the following appears in dmesg:

 

Linux video capture interface: v2.00
ivtv:Â ==================== START INIT IVTV ====================
ivtv:Â version 0.10.6 (tagged release) loading
ivtv:Â Linux version: 2.6.20-xen-r6 SMP mod_unload

ivtv:Â In case of problems please include the debug info between
ivtv:Â the START INIT IVTV and END INIT IVTV lines, along with
ivtv:Â any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected Hauppauge card (cx23416 based)
PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
ivtv0: Cannot request encoder memory region on card 0.
ivtv0: Error -5 on initialization
ivtv: probe of 0000:00:00.0 failed with error -5
ivtv:Â ======================Â NEXT CARDÂ ======================
ivtv1: Autodetected Hauppauge card (cx23416 based)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
ivtv1: Cannot request encoder memory region on card 1.
ivtv1: Error -5 on initialization
ivtv: probe of 0000:00:01.0 failed with error -5
ivtv:Â ====================Â END INIT IVTVÂ ====================

 

In the dmesg of the dom0 the following appears:

 

pciback 0000:07:08.0: set power state to 0
PCI: Enabling device 0000:07:08.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:07:08.0[A] -> GSI 21 (level, low) -> IRQ 21
pciback 0000:07:09.0: set power state to 0
PCI: Enabling device 0000:07:09.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:07:09.0[A] -> GSI 22 (level, low) -> IRQ 22

Â

My current config is as follows:

 

The dom0 kernel is being booted with:

module /kernel-2.6.20-xen0 root=/dev/md1 dom0_mem=-128M swiotlb=128,force pciback.hide=(06:01.0)(07:08.0)(07:09.0)

 

I added the dom0_mem and swiotlb parameters in an attempt to make the ivtv driver work based on information i found on various places but they doesn't seem to make any difference.

The first pci device being hidden is a network card dedicated for my firewall running in another domU. The two last devices represents the tuners on the pvr-500 card.

 

The domU kernel is being booted with:Â extra = "swiotlb=force iommu=soft";Â and the pci devices are being imported with pci = [ '07:08.0', '07:09.0']; in the domU config file.

Once again the swiotlb and iommu parameters were added as an attempt to make the ivtv driver work. Neither of them have made any difference.

 

I have seen other people reporting that they are able to get the ivtv driver working inside an domU so i'm pretty sure its possible i just have no idea where to start debugging the problem.

 

Any help will be appreciated!

 

Regards

Truls AsheimÂ

 

 

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

 


Rackspace

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