From: "ron minnich" Subject: Re: pciback Date: Thu, 14 Dec 2006 14:43:59 -0700 Message-ID: <13426df10612141343w191697ffk2ed4ef84dd4048fd@mail.gmail.com> References: <13426df10612131919t2a59f6ablb7528d88dbd0bfda@mail.gmail.com> <1166111605.3005.8.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1166111605.3005.8.camel@localhost.localdomain> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 12/14/06, Ian Campbell 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