|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Re: PCI passthrough of cciss HBA
Matthias Reif wrote: All,I would like to run the following issue past the list to confirm that my problem analysis makes sense or whether I missed something:We have a HP ML370G6 server with VT-x and VT-d enabled in the BIOS. It is equipped with two Smart Array HBAs - one connected to the HDD array (SmartArray P800) and one connected to an LTO tape drive (SmartArray P212). Both controllers use the same driver on the dom0 (cciss).dom0 OS = CentOS 5.3 Linux 2.6.18-164.el5xen x86_64 Xen = 3.4.1My plan was to use PCI passthrough to give a domU unrestricted access to the tape drive. However, I have been unable to get pciback to seize the P212 controller at boot time.Firstly, I modified the initrd to preload the pciback module: # mkinitrd -f --preload=pciback /boot/initrd-$(uname -r).img $(uname -r) Then I added the following lines to modprobe.conf: options pciback hide=(0000:10:00.0)install cciss /sbin/modprobe pciback ; /sbin/modprobe --first-time --ignore-install cciss Using the pciback kernel or module option is not the only way to have pciback seize a device. You could use calls to the sysfs structure to unbind the device from the cciss driver and then assign it to pciback. Something along those lines might work after loading pciback: echo -n '0000:10:00.0' > /sys/bus/pci/drivers/cciss/unbind echo -n '0000:10:00.0' > /sys/bus/pci/drivers/pciback/new_slot echo -n '0000:10:00.0' > /sys/bus/pci/drivers/pciback/bindMake sure you are not using any of the resources (i.e. exclude this is vgscan or automounts) to avoid unexpected results... Best regards, Christian _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |