[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] pciback

  • To: "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 12/14/06, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> wrote:



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

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?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.