WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pciback

To: "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] pciback
From: "ron minnich" <rminnich@xxxxxxxxx>
Date: Thu, 14 Dec 2006 14:43:59 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Dec 2006 13:43:57 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OoEl4lKBYlwrdF9DmzrtUhOhGmnWcv8Vs+/dIfFPkwkZFcpD3HSGpw9NjOIRNOdydvYbBIV7xQ3cA13JeYB4NtQav2UozrmKJE+JWPvkYwvUnAsPb1rlvYyxJVcTP9GSLGJaJRWHZkKx2ICeQgVTBZ1SuD1PvRQCrtRpDiJPdcg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1166111605.3005.8.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <13426df10612131919t2a59f6ablb7528d88dbd0bfda@xxxxxxxxxxxxxx> <1166111605.3005.8.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 12/14/06, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> wrote:

Ian.


#!/bin/sh

if [ $# -eq 0 ] ; then
   echo "Require a PCI device as parameter"
   exit 1
fi

for pcidev in $@ ; do
    if [ -h /sys/bus/pci/devices/"$pcidev"/driver ] ; then

Ian, I think there is some difference at work here. On my system, you
have to unbind in a path such as /sys/bus/pci/devices/e1000/unbind.
There's no unbind entry in the bus:dev.fn path.

I also tried this,in modules.conf,  but it did not work at all:
# hide (0000:02:01.0)
options pciback hide=(0000:02:01.0)
install e1000 /sbin/modprobe pciback ; /sbin/modprobe --first-time
--ignore-install e1000


Anyway, I finally got something to sort of go.

ifdown eth0
rmmod e1000
sh pciback.sh 0000:02:01.0

I'm going to reboot and make sure this sequence works.

At least now, the driver symlink for 0000:02:01.0 is pciback.

But still nothing in xenstore for that device; should there be?

ron

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>