This discussion is archived
14 Replies Latest reply: Aug 16, 2012 9:46 AM by Dude! RSS

Linux RDAC Driver Package for UEK

955802 Newbie
Currently Being Moderated
Hello,

I have a new server connected to an IBM DS3524 SAN that uses RDAC for multipathing.

I needed to install rdac-LINUX-09.03.0C05.0638-source.tar.gz package under el5 kernel (I use OEL 5.7 32b) to use the SAN.

Is it possible to compile these drivers also under recent Unbreakable Kernels ? Is it certified ?


Regards.
  • 1. Re: Linux RDAC Driver Package for UEK
    Avi Miller Guru
    Currently Being Moderated
    952799 wrote:
    Is it possible to compile these drivers also under recent Unbreakable Kernels ? Is it certified ?
    You would have to ask IBM both of those questions. It's their driver. :) They provide the support and certification.
  • 2. Re: Linux RDAC Driver Package for UEK
    Dude! Guru
    Currently Being Moderated
    The following links should be useful:

    http://www.redbooks.ibm.com/abstracts/tips0836.html
    http://delivery04.dhe.ibm.com/sar/CMA/SDA/0376f/0/ibm_sw_ds3-5krdac_09.03.0C05.0638_linux_anycpu.txt

    According to the above the UEK2 kernel is not supported, but the UEK kernel (2.6.32) might work. You will most likely have to give it a try or use the supplied original RHEL kernel.

    I recommend to use Oracle Linux x86_64 rather than x86 if your hardware supports it.
  • 3. Re: Linux RDAC Driver Package for UEK
    955802 Newbie
    Currently Being Moderated
    Hi,

    I've decided to follow your suggestion and to install a new OEL 6.2 64 bit-

    Unfortunately the driver doesn't compile and I'm not able to use the SAN :(

    This is the output of the make command under UEK kernel :


    [root@localhost linuxrdac-09.03.0C05.0638]# make
    make[1]: Entering directory `/usr/src/kernels/2.6.32-300.3.1.el6uek.x86_64'
    CC [M] /root/linuxrdac-09.03.0C05.0638/MPP_hba.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_upper.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_sysdep.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppCmn_s2tos3.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppCmn_SysInterface.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhbamisc.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhbatask.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhba.o
    /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhba.c: In function âmppLnx_vhba_updateHostTemplateâ:
    /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhba.c:2850: error: âQUEUE_FLAG_CLUSTERâ undeclared (first use in this function)
    /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhba.c:2850: error: (Each undeclared identifier is reported only once
    /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhba.c:2850: error: for each function it appears in.)
    /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhba.c:2869: error: implicit declaration of function âblk_queue_max_segmentsâ
    make[2]: *** [root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhba.o] Error 1
    make[1]: *** [_module_/root/linuxrdac-09.03.0C05.0638] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.32-300.3.1.el6uek.x86_64'
    make: *** [mppUpper] Error 2
    [root@localhost linuxrdac-09.03.0C05.0638]#


    Has someone some suggestions for me ?

    Thanks a lot.
  • 4. Re: Linux RDAC Driver Package for UEK
    Dude! Guru
    Currently Being Moderated
    Well, I suggested to install x86_64, but did not suggest to jump from Oracle Linux 5.7 to 6.2.

    There was a previous post about someone trying to compile linuxrdac under 5.7 UEK kernel, and Oracle support provided a patch (p11667507_100_Generic.zip).

    If you don't have access to Oracle support your alternative could be to use the original supplied RHEL kernel and contact IBM in case of further trouble.
  • 5. Re: Linux RDAC Driver Package for UEK
    955802 Newbie
    Currently Being Moderated
    Unfortunately I don't have access to this specific product support.

    The patch would solve the issue on 5.7, not 6.x release right ? I'm installing a new server and I would like to use most recent certified release (with longer lifecycle) instead of the old one.

    I would like to test the new server with the UEK kernel before buying a regular subscription and deliver on production this solution.

    I'm trying to receive support from IBM but honestly I believe that they will say that OEL isn't certified (I wrote a few hours ago a similiar post on their forum).

    Just an opinion : shouldn't Oracle deliver some public hotfixes for Linux so that all community users could benefit (although with some delay from official release) ? The support should help people, but patches and updates delivery process should be a different thing !

    Regards.
  • 6. Re: Linux RDAC Driver Package for UEK
    Avi Miller Guru
    Currently Being Moderated
    p.celentano wrote:
    Just an opinion : shouldn't Oracle deliver some public hotfixes for Linux so that all community users could benefit (although with some delay from official release) ? The support should help people, but patches and updates delivery process should be a different thing !
    We can't fix IBM's proprietary RDAC drivers. We provide the default Linux device-mapper-multipath which has RDAC support.
  • 7. Re: Linux RDAC Driver Package for UEK
    Dude! Guru
    Currently Being Moderated
    Just an opinion : shouldn't Oracle deliver some public hotfixes for Linux
    It actually does, Oracle Public yum provides the latest updates and errata with the OL_latest repository, without the need for a subscription. What you are looking for, however, is not a hotfix and hence not part of errata and patches.
  • 8. Re: Linux RDAC Driver Package for UEK
    Avi Miller Guru
    Currently Being Moderated
    Dude wrote:
    It actually does, Oracle Public yum provides the latest updates and errata with the OL_latest repository, without the need for a subscription. What you are looking for, however, is not a hotfix and hence not part of errata and patches.
    BTW, the URL to our Public Yum site is (unsurprisingly) http://public-yum.oracle.com
  • 9. Re: Linux RDAC Driver Package for UEK
    Dude! Guru
    Currently Being Moderated
    I have some good news for you:

    I just tried the following in Oracle Linux 6.3 x86_64.

    <pre>
    # uname -r
    2.6.39-200.29.2.el6uek.x86_64

    # wget http://support.netapp.com/NOW/public/apbu/oemcp/09.03.0C05.0638/rdac-LINUX-09.03.0C05.0638-source.tar.gz
    # tar zxvf rdac-LINUX-09.03.0C05.0638-source.tar.gz
    # cd linuxrdac-09.03.0C05.0638

    # make
    make[1]: Entering directory `/usr/src/kernels/2.6.39-200.29.2.el6uek.x86_64'
    CC [M] /root/linuxrdac-09.03.0C05.0638/MPP_hba.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_upper.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_sysdep.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppCmn_s2tos3.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppCmn_SysInterface.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhbamisc.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhbatask.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhba.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhbaproc.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhbalib.o
    CC [M] /root/linuxrdac-09.03.0C05.0638/mppLnx26p_vhbaio.o
    LD [M] /root/linuxrdac-09.03.0C05.0638/mppUpper.o
    LD [M] /root/linuxrdac-09.03.0C05.0638/mppVhba.o
    Building modules, stage 2.
    MODPOST 2 modules
    CC /root/linuxrdac-09.03.0C05.0638/mppUpper.mod.o
    LD [M] /root/linuxrdac-09.03.0C05.0638/mppUpper.ko.unsigned
    NO SIGN [M] /root/linuxrdac-09.03.0C05.0638/mppUpper.ko
    CC /root/linuxrdac-09.03.0C05.0638/mppVhba.mod.o
    LD [M] /root/linuxrdac-09.03.0C05.0638/mppVhba.ko.unsigned
    NO SIGN [M] /root/linuxrdac-09.03.0C05.0638/mppVhba.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.39-200.29.2.el6uek.x86_64'
    make[1]: Entering directory `/usr/src/kernels/2.6.39-200.29.2.el6uek.x86_64'
    Building modules, stage 2.
    MODPOST 2 modules
    ...
    etc.
    ...
    gcc mppUtil.o mppUtilSysdep.o -o mppUtil
    gcc -o genuniqueid genuniqueid.c
    #
    </pre>

    so apparently that works fine. Problem solved?
  • 10. Re: Linux RDAC Driver Package for UEK
    955802 Newbie
    Currently Being Moderated
    Yes :) :) :) :)

    Thanks a lot ! I will appreciate with the time the OEL distribution.


    Thanks again.
  • 11. Re: Linux RDAC Driver Package for UEK
    Dude! Guru
    Currently Being Moderated
    You're welcome! Please note it's considered good practice to assign points for helpful and correct answers.
  • 12. Re: Linux RDAC Driver Package for UEK
    955802 Newbie
    Currently Being Moderated
    I just assigned point to helpful and correct answers.

    I'm a newbie :)
  • 13. Re: Linux RDAC Driver Package for UEK
    955802 Newbie
    Currently Being Moderated
    Assuming that I need to update the kernel what are the steps to follow to correctly reinstall the driver with updated kernel info ?

    I tested a simple yum update and I updated to the last public uek2 kernel, but I wasn't able to recompile the module until I rebooted in single user mode and issued a "make clean && make && make install"

    Is there an alternative method I can use ? How can I avoid to auto-replace kernel when I use yum update ?

    Regards.
  • 14. Re: Linux RDAC Driver Package for UEK
    Dude! Guru
    Currently Being Moderated
    How about the following:

    yum --exclude=kernel\* update                                                                                                                                                                                                       

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points