
Hi all out there, For the last few weeks i have been playing with xen and asterisk I have now got the base install completed and have a few extentions working internally The part i am up to now is assigning my tdm400 card over to the asterisk pvm I have completed the lspci with the tv flags Here is the output: -[0000:00]-+-00.0 Intel Corporation 82P965/G965 Memory Controller Hub +-02.0 Intel Corporation 82G965 Integrated Graphics Controller +-03.0 Intel Corporation 82P965/G965 HECI Controller +-19.0 Intel Corporation 82566DC Gigabit Network Connection +-1a.0 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 +-1a.1 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 +-1a.7 Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 +-1b.0 Intel Corporation 82801H (ICH8 Family) HD Audio Controller +-1c.0-[01]-- +-1c.1-[02]----00.0 Marvell Technology Group Ltd. 88SE6101/6102 single-port PATA133 interface +-1c.2-[03]-- +-1c.3-[04]-- +-1c.4-[05]-- +-1d.0 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 +-1d.1 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 +-1d.2 Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 +-1d.7 Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 +-1e.0-[06]--+-00.0 Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) | +-01.0 Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller | +-02.0 Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface | \-03.0 Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] +-1f.0 Intel Corporation 82801HH (ICH8DH) LPC Interface Controller +-1f.2 Intel Corporation 82801 SATA Controller [RAID mode] \-1f.3 Intel Corporation 82801H (ICH8 Family) SMBus Controller I have also written/copied a couple of scripts to make things nice and easy start_pci.sh - used to get it all running ( hide and assign the device to xl etc) #!/bin/bash /data/domains/windows/start_pci1.sh 0000:06.2.0 modprobe xen-pciback 'hide=(0000:06.2.0)' xl pci-assignable-add 06.2.0 and also start_pci1.sh - used to get it all ready #!/bin/bash if [ $# -eq 0 ]; then echo "Require PCI devices in format: <domain>:<bus>:<slot>.<function>" echo "Eg: $(basename $0) 0000:00:1b.0" exit 1 fi modprobe xen-pciback for pcidev in $@; do if [ -h /sys/bus/pci/devices/"$pcidev"/driver ]; then echo "Unbinding $pcidev from" $(basename $(readlink /sys/bus/pci/devices/"$pcidev"/driver)) echo -n "$pcidev" > /sys/bus/pci/devices/"$pcidev"/driver/unbind fi echo "Binding $pcidev to pciback" echo -n "$pcidev" > /sys/bus/pci/drivers/pciback/new_slot echo -n "$pcidev" > /sys/bus/pci/drivers/pciback/bind done now when I try and get it all running I get the following errors Binding 0000:06.2.0 to pciback /data/domains/windows/start_pci1.sh: line 17: echo: write error: Invalid argument /data/domains/windows/start_pci1.sh: line 18: echo: write error: No such device pci-assignable-add: malformed BDF specification "06.2.0" if anyone can help I can supply beer :) Jonathan