|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
[Xen-users] PCI passthrough to domU does not work with XEN 3.3
 
Hi!
As dom0 I'm running Ubuntu Hardy (Server x86_64) with xen 3.3 from backports.
 Reason to using xen 3.3 is that I could get Intrepid stock kernel to  
work as domu with xen 3.2.
Now the problem I have is that I can't passthrough PCI-devices to my domu.
If I run lspci in the domu nothing is returned.
 I've tried to use the kernel from Hardy (2.6.24-21-xen) and stock  
kernel from Intrepid (2.6.27-7-server). Without any difference.
If I use Xen 3.2 and kernel (2.6.24-21-xen) pci passthrough work.
What could be wrong with PCI passthrough in xen 3.3?
What could I do to solve the problem?
Some additional information that may help;
Dom0 is booted with this text in grub.conf
title           Xen 3.3 / Ubuntu 8.04.1, kernel 2.6.24-21-xen
root            (hd0,0)
kernel          /xen-3.3.gz dom0_mem=256M
 module          /vmlinuz-2.6.24-21-xen  
root=/dev/mapper/vgZeus-lvZeusRoot ro console=tty0 swiotlb=128  
pciback.permissive pciback.hide=(04:03.0)(04:04.0)
module          /initrd.img-2.6.24-21-xen
quiet
ls -l /sys/bus/pci/drivers/pciback/
[Göm citerad text]
lrwxrwxrwx 1 root root    0 2008-11-16 20:53 0000:04:03.0 ->
../../../../devices/pci0000:00/0000:00:1e.0/0000:04:03.0
lrwxrwxrwx 1 root root    0 2008-11-16 20:53 0000:04:04.0 ->
../../../../devices/pci0000:00/0000:00:1e.0/0000:04:04.0
--w------- 1 root root 4096 2008-11-16 20:53 bind
lrwxrwxrwx 1 root root    0 2008-11-16 20:53 module ->
../../../../module/pciback
--w------- 1 root root 4096 2008-11-16 20:53 new_id
--w------- 1 root root 4096 2008-11-16 20:53 new_slot
-rw------- 1 root root 4096 2008-11-16 20:53 permissive
-rw------- 1 root root 4096 2008-11-16 20:53 quirks
--w------- 1 root root 4096 2008-11-16 20:53 remove_slot
-r-------- 1 root root 4096 2008-11-16 20:53 slots
--w------- 1 root root 4096 2008-11-16 20:53 uevent
--w------- 1 root root 4096 2008-11-16 20:53 unbind
domu config (/etc/xen/test.cfg)
#kernel      = '/boot/vmlinuz-2.6.24-21-xen'
#ramdisk     = '/boot/initrd.img-2.6.24-21-xen'
kernel       = '/boot/xen/vmlinuz-2.6.27-7-server'
ramdisk     = '/boot/xen/initrd.img-2.6.27-7-server'
memory      = '256'
root        = '/dev/xvda2 ro'
 disk        = [  
'phy:/dev/vgZeus/test-swap,xvda1,w','phy:/dev/vgZeus/test-disk,xvda2,w'  
]
name        = 'test'
dhcp        = 'dhcp'
vif         = [ 'mac=00:16:3E:FF:00:8D' ]
pci         = [ '04:04.0' ]
Parts from dmesg on domU that could be interesting;
 [    0.000000] Allocating PCI resources starting at 20000000 (gap:  
10000000:f0000000)
[    0.038071] PCI: Fatal: No config space access function found
[    0.040252] PCI: System does not support PCI
[    0.040258] PCI: System does not support PCI
[    0.271698] XENBUS: Device with no driver: device/pci/0
/Andreas
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-users] PCI passthrough to domU does not work with XEN 3.3,
Andreas Dahlén <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |