|
|
|
|
|
|
|
|
|
|
xen-devel
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> |
Re: [Xen-devel] pciback,
ron minnich <=
|
|
|
|
|