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