Re: EisfairNG durchreichen eines Gerätes

Peter Bäumer <[email protected]>
Newsgroups spline.eisxen
Organization spline
Message-ID <[email protected]>
Glück Auf! Gerd,
ob das beim EisfairNG funzt weiß ich nicht, bei Debian hab ich ein 
Skript dafür:

#!/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



Mfg
   Peter

Am 21.05.2014 21:17, schrieb Gerd Walter:
> Am 21.05.2014 19:48 schrieb Heinz-Peter Faasen folgendes:
>> Hallo Gerd,
>>
>>> Bei mir wird das xen-pciback.ko Modul nicht geladen.
>>
>> wie meinst Du das? Nicht automatisch oder geht auch ein
>>
>> modprobe xen-pciback
>>
>> nicht?
>
> Ich habe noch mal alles durchgeforstet. Bei meinen letzten Versuchen vor
> einiger Zeit war noch etwas in /etc/modprobe.d/ liegengeblieben.
>
> Die Domain startet jetzt, aber es kommt folgender Fehler:
>
> Parsing config from /etc/xen/xm/xmvdr
> libxl: error: libxl_pci.c:1056:libxl__device_pci_add: PCI device
> 0:37:4.0 is not assignable
>
> Gruß
> Gerd
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.