Author Topic: LMCE on Xen (FC 7): How to use pciback  (Read 1466 times)

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
LMCE on Xen (FC 7): How to use pciback
« on: December 28, 2007, 10:30:24 pm »
Hi guys,

have been fooling around with LCME for the past two months or so, but I am getting close to a working system  ;D Now that audio and video is working on the MD's I would like to add the PVR card (Hauppauge PVR 150) to the DomU. I know I have to use pciback to free the assignment of the card to Dom0 but all my "googling" could not resolve the issue that pciback is not present in my Xen kernel. Not being a complete Tux guru I hope someone is around and has done this before  ::)
If you need any further info pleaze let me know....

Grtz

DBM
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: LMCE on Xen (FC 7): How to use pciback
« Reply #1 on: December 28, 2007, 10:53:42 pm »
Hi guys,

have been fooling around with LCME for the past two months or so, but I am getting close to a working system  ;D Now that audio and video is working on the MD's I would like to add the PVR card (Hauppauge PVR 150) to the DomU. I know I have to use pciback to free the assignment of the card to Dom0 but all my "googling" could not resolve the issue that pciback is not present in my Xen kernel. Not being a complete Tux guru I hope someone is around and has done this before  ::)
If you need any further info pleaze let me know....

Grtz

DBM
hmm, maybe it's compiled in. Where is your xen kernel from?
But I assume you will have more headache. As far as i know (may be outdated information) xen 3 is not able to assign pci devices to fully virtualized guests. If you use a domU kernel the modules from the pluto package won't fit. I think you have to compile the pvr drivers yourself.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: LMCE on Xen (FC 7): How to use pciback
« Reply #2 on: December 28, 2007, 11:30:02 pm »
Kernels are part of Fedora Core 7 (XEN), not customized
[root@bigbear ~]# uname -r
2.6.21-6.fc7xen

So you think I might have a problem when I am able to export the slots to the backend? Hmmm, this isn't making things easier. I refuse to run LCME as my base system, would run into LVM problems. Running it as a VM makes it easier not having to fool around with my stable eviroment. Are there any other options beside Xen to virtualize LCME (Virtual Box) and have PCI access in the VM?
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2420
    • View Profile
    • ago control
Re: LMCE on Xen (FC 7): How to use pciback
« Reply #3 on: December 28, 2007, 11:40:29 pm »
Kernels are part of Fedora Core 7 (XEN), not customized
[root@bigbear ~]# uname -r
2.6.21-6.fc7xen

So you think I might have a problem when I am able to export the slots to the backend? Hmmm, this isn't making things easier. I refuse to run LCME as my base system, would run into LVM problems. Running it as a VM makes it easier not having to fool around with my stable eviroment. Are there any other options beside Xen to virtualize LCME (Virtual Box) and have PCI access in the VM?

Maybe you can put the pci card in a media director?
rock your home - http://www.agocontrol.com home automation

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: LMCE on Xen (FC 7): How to use pciback
« Reply #4 on: December 28, 2007, 11:44:46 pm »
Also a solution but not a very green one ;D I'll have a go anyway, but I will continue my quest
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: LMCE on Xen (FC 7): How to use pciback
« Reply #5 on: December 31, 2007, 05:29:39 pm »
An hd homerun might work good in this configuration not sure if a SD version is available from someone else, or perhaps usb??



My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

pascal

  • First post!
  • Posts: 1
    • View Profile
Re: LMCE on Xen (FC 7): How to use pciback
« Reply #6 on: January 27, 2008, 07:57:40 pm »
As I'm a Debain user and not aware of Fedora I do not know, but isn't pciback available on every XEN system. As I'm quite new to XEN MythTV and LinuxMCE I cannot give you qualified advises, but have you add pciback.hide(xx:xx.x) to grub menu.lst and pci option to your xen domU config?

As I'm also interested in running LinuxMCE in a domU (i will not do anything else then domU's, no phyical machines anymore), how have you achived the installation? To you have some info's (docu's etc.)?

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: LMCE on Xen (FC 7): How to use pciback
« Reply #7 on: February 20, 2008, 09:51:16 pm »
Pascal,

i'm still working on things. Currently trying to decide to take it further with FC8 (but still have no pci hide garantee) or Ubuntu (work for me with a network card) first have to move my server to another system (website etc) after that I can build a new one from scratch using either. So no manual yet
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350