All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@XenSource.com>
To: ron minnich <rminnich@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: pciback
Date: Thu, 14 Dec 2006 22:28:52 +0000	[thread overview]
Message-ID: <1166135332.28197.84.camel@localhost.localdomain> (raw)
In-Reply-To: <13426df10612141226x7547a08eyc78bbbfbed9a6f4b@mail.gmail.com>

On Thu, 2006-12-14 at 13:26 -0700, ron minnich wrote:
> On 12/14/06, Ian Campbell <Ian.Campbell@xensource.com> wrote:
> 
> > Did you unbind it from the current driver first? I use the script below
> > as "./pciback 0000:05:04.0"
> >
> Thanks for the script.
> 
> Running it for 2:1.0 produces:
> [root@q xen3]# ./pciback 2:1.0

>From the other output you showed I think you need to use 0000:02:01.0.
It needs to precisely match the directory in /sys/bus/pci/devices/ which
differs from that in the lspci output due to the extra field on the
front.

You will also need a matching "pci = ['0000:02:01.0']" in your domU
config.

>From the other mail
> 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.

/sys/bus/pci/devices/0000:02:01.0/driver will be a link
to ../../../../bus/pci/drivers/e1000 so it should just work based on the
PCI device number thing without needing to know which driver currently
owns the device.

I think the pciback hide option isn't working for you because by the
time you load the pciback module the real hardware driver will have
claimed the device. To make that work you probably need to build pciback
statically and use the kernel command line. I'm not sure about this
though since I never used this particular functionality.

Ian.

  reply	other threads:[~2006-12-14 22:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14  3:19 pciback ron minnich
2006-12-14  8:35 ` pciback Keir Fraser
2006-12-14 15:20   ` pciback ron minnich
2006-12-14 15:53 ` pciback Ian Campbell
2006-12-14 20:26   ` pciback ron minnich
2006-12-14 22:28     ` Ian Campbell [this message]
2006-12-14 22:55       ` pciback ron minnich
2006-12-15  7:15         ` pciback Ian Campbell
2006-12-15 16:50           ` pciback ron minnich
2006-12-14 21:43   ` pciback ron minnich
  -- strict thread matches above, loose matches on Subject: below --
2012-03-19  2:25 pciback Teo En Ming (Zhang Enming)
2012-03-19  2:29 ` pciback Fajar A. Nugraha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1166135332.28197.84.camel@localhost.localdomain \
    --to=ian.campbell@xensource.com \
    --cc=rminnich@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.