WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-API] Re: XCP - How to compile IBM Mpp-rdac driver in XCP

To: xen-users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>, xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Re: XCP - How to compile IBM Mpp-rdac driver in XCP
From: DJ Roger <djroger.abalando@xxxxxxxxx>
Date: Thu, 8 Sep 2011 18:05:47 -0300
Cc:
Delivery-date: Thu, 08 Sep 2011 14:07:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5dURrqaOtQnH0FEtYvezrMPp+Eh2T/DfGdKiFBFz+PM=; b=CF7375Zh4z2l/YOAIE3uluqwt3E+6Z0qmpf4JSgCtHZGRyZRc00BLficsxQrinuWka +hoBySKyuoAGUOHeXvxUMrzuM2TumM4Mi5jHFlFMvpNqsROtfjnkJ4rNwZeHYznynSbW FHtKqylcmghVxTuKMq2/vg2nOijOCwEJoVAIc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAEUiGPoWrJkLmSPfAZD26_OvzNfXZD4g+WWbYRx82nSQ2z3SmQ@xxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <CAEUiGPoWrJkLmSPfAZD26_OvzNfXZD4g+WWbYRx82nSQ2z3SmQ@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>