[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] PCI passthrough to domU does not work with XEN 3.3
Hi Andreas,The Ubuntu Intrepid kernel uses Pv-Ops features to run on Xen, which sadly does not yet support PCI passthrough. Like most other distributors, Canonical/Ubuntu decided not to forward port the Xen Linux kernel and instead use the more or less early and incomplete, Pv-Ops support, already included in the vanilla kernel tree, leaving the forward port up to the community. There seem to be some efforts from Suse and Debian to produce more up-to-date patches, but nothing solid so far. So basically, your only choice for now is to use the Hardy kernel with your Intrepid installation, because it is based on a forward port of the Xen Linux kernel and hope, someone does the port soon, or do it yourself. Hope this helps, Paul. -- Paul Schulze Mail: avlex gmx net ($1@$2.$3) Public Key: http://solaris-net.dyndns.org/keys/key_avlex.asc "Making mistakes is human, but to really screw things up, you need Computers" Am 16.11.2008 um 21:02 schrieb Andreas Dahlén: Hi! As dom0 I'm running Ubuntu Hardy withe 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=256Mmodule /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/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 unbinddomu 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' ] extra = '2 console=hvc0' 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 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |