Re: EisfairNG durchreichen eines Gerätes

Gerd Walter <[email protected]>
Newsgroups spline.eisxen
Organization spline
Message-ID <[email protected]>
Hallo Peter,

> 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

Danke, damit bekomme ich die Karte in die DomU durchgereicht.

Die einzige Meldung die jetzt noch beim Starten stört ist:

libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel
doesn't support reset from sysfs for PCI device 0000:37:04.0

Aber für heut ist erst mal Schluß.

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.