H,

I am currently having some trouble getting PCI Passthrough working. I am trying to forward a PCI Sangoma card to the VM, but I get nothing on the VM (empty lspci).

I have a Centos 5.6 dom0 setup. What I have :

$ uname -a
Linux jp-desktop 2.6.18-238.12.1.el5xen #1 SMP Tue May 31 14:02:29 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
$ lspci | grep -i san
0a:01.0 Network controller: Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card

I have added the ID to the pciback.hide to grub of dom0 :

title CentOS (2.6.18-238.12.1.el5xen)
    root (hd0,0)
    kernel /xen.gz-2.6.18-238.12.1.el5 loglvl=all guest_loglvl=all
    module /vmlinuz-2.6.18-238.12.1.el5xen ro root=/dev/host/root console=tty0 irqpoll xen-pciback.permissive pciback.hide=(0000:0a:01.0)
    module /initrd-2.6.18-238.12.1.el5xen.img

It is confirmed that they are bound to pciback :

$ ll /sys/bus/pci/drivers/pciback/ | grep 0a:01.0
total 0
lrwxrwxrwx 1 root root    0 Jun 19 20:59 0000:0a:01.0 -> ../../../../devices/pci0000:00/0000:00:1e.0/0000:0a:01.0

Xen even have them assigned to the VM :

$ xm pci-list asterisk
domain   bus   slot   func
0    a     1      0      

My VM config file has the appropriate pci & extra parameter to its config file :

$ cat ubuntu/asterisk_backup.cfg | grep pci
pci=['0000:0a:01.0']


$ cat ubuntu/asterisk_backup.cfg | grep extra
extra='swiotlb=force iommu=soft'

However when I try to lspci inside the VM, I get nothing :

jp@asterisk:~$ sudo lspci
jp@asterisk:~$ 

On my VM :

jp@asterisk:~$ uname -a
Linux asterisk 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64 GNU/Linux

Any help would be appreciated.

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.