Hi all! I need to compile de IBM Mpp-rdac driver in XCP 1.0 to use with the IBM DS4700 storage. Is there any way to do this? -- Rogério da Costa _______________________________________________ xen-api mailing list xen-api@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api
DJ Roger
2011-Sep-08 21:05 UTC
[Xen-API] Re: XCP - How to compile IBM Mpp-rdac driver in XCP
I got a solution: 1 - Disable Citrix yum repository commenting every line of the file /etc/yum.repos.d/Citrix.repo 2 - install the development packages for CentOS: yum --enablerepo=base install gcc yum --enablerepo=base install make 3 - Install the kernel dev packages from XCP 1.0 binpkg.iso ( http://downloads.xen.org/XCP/42052/sources/binpkg.iso) rpm -ivh * kernel-extra-devel-2.6.32.12-0.7.1.xs1.0.0.311.170586.i686.rpm rpm -ivh kernel-xen-devel-2.6.32.12-0.7.1.xs1.0.0.311.170586.i686.rpm 4 - *Change the file / etc / redhat-release (support for redhat 5) from: Release 1.0.0-42052c XCP (XCP) to: Release 5.0.0-42052c XCP (XCP) 5 - Download and install the latest version of mpprdac driver for Linux that can be found at: http://www.lsi.com/sep/Pages/rdac/ds4000.aspx 6 - Extract the downloaded package, enter the directory and change the line 66 of file mppLnx26p_upper.c from: # include <.. / drivers / base / base.h> to: # include </ usr/src/linux-2.6.32.12-0.7.1.xs1.0.0.311.170586/drivers/base/base.h> 7 - Run the commands to compile and install: make clean make make install At the end of processing the last command an error occurs because there is no bootloader recognized. ignore the error because all files were generated and copied to the correct locations. 8 - Now run the script to create the initrd XCP and make other settings to boot. /opt/xensource/libexec/mpp-rdac --enablerepo 9 - Expose Lums to the server and restart. After the reboot run the following commands to verify that the support for HBAs is correct. 2011/9/5 DJ Roger <djroger.abalando@gmail.com>> Hi all! > > I need to compile de IBM Mpp-rdac driver in XCP 1.0 to use with the IBM > DS4700 storage. > > Is there any way to do this? > > -- > Rogério da Costa > >-- Rogério da Costa _______________________________________________ xen-api mailing list xen-api@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api
DJ Roger
2011-Sep-09 14:57 UTC
[Xen-API] Re: XCP - How to compile IBM Mpp-rdac driver in XCP
Sorry correcting the last instructions: 8 - Now run the script to create the initrd XCP and make other settings to boot. /opt/xensource/libexec/mpp-rdac --enable 9 - Expose Lums to the server and restart. After the reboot run the following commands to verify that the support for HBAs is correct. mppUtil -a mppUtil -g 0 This is show the storage path infos. 2011/9/8 DJ Roger <djroger.abalando@gmail.com>> I got a solution: > > > 1 - Disable Citrix yum repository commenting every line of the file /etc/yum.repos.d/Citrix.repo > > > > > > 2 - install the development packages for CentOS: > > yum --enablerepo=base install gcc > yum --enablerepo=base install make > > > > 3 - Install the kernel dev packages from XCP 1.0 binpkg.iso ( > http://downloads.xen.org/XCP/42052/sources/binpkg.iso) > > rpm -ivh * > kernel-extra-devel-2.6.32.12-0.7.1.xs1.0.0.311.170586.i686.rpm > rpm -ivh kernel-xen-devel-2.6.32.12-0.7.1.xs1.0.0.311.170586.i686.rpm > > > > 4 - *Change the file / etc / redhat-release (support for redhat 5) > > from: > > Release 1.0.0-42052c XCP (XCP) > > to: > > Release 5.0.0-42052c XCP (XCP) > > > > > 5 - Download and install the latest version of mpprdac driver for Linux > that can be found at: > > http://www.lsi.com/sep/Pages/rdac/ds4000.aspx > > > > 6 - Extract the downloaded package, enter the directory and change the > line 66 of file mppLnx26p_upper.c > > from: > > # include <.. / drivers / base / base.h> > > > to: > > # include </ > usr/src/linux-2.6.32.12-0.7.1.xs1.0.0.311.170586/drivers/base/base.h> > > > > 7 - Run the commands to compile and install: > > make clean > make > make install > > At the end of processing the last command an error occurs because there is > no bootloader recognized. ignore the error because all files were > generated and copied to the correct locations. > > > > 8 - Now run the script to create the initrd XCP and make other settings to > boot. > > /opt/xensource/libexec/mpp-rdac --enablerepo > > > 9 - Expose Lums to the server and restart. > > After the reboot run the following commands to verify that the support for > HBAs is correct. > > > > > > 2011/9/5 DJ Roger <djroger.abalando@gmail.com> > >> Hi all! >> >> I need to compile de IBM Mpp-rdac driver in XCP 1.0 to use with the IBM >> DS4700 storage. >> >> Is there any way to do this? >> >>-- Rogério da Costa _______________________________________________ xen-api mailing list xen-api@lists.xensource.com http://lists.xensource.com/mailman/listinfo/xen-api