Deployment Solution

 View Only
  • 1.  7.5 LinuxPE modules for HP Smart Array

    Posted Apr 25, 2014 02:34 AM

    Hi

    Im atempting to boot LinuxPE from DS 7.5 on HP DL360/DL380 G5-G8 but as the kernel modules for HP Smart Array (cciss and hpsa) is missing from the kernel it will not find any storage devices.

    We have about 600 servers  from hp mostly DL360/DL380 G5-G8 that we want to manage but as we can not use LinuxPE we cant upgrade to 7.5.

    I have atempted to build the cciss and hpsa modules but as I can not get the exact source or config file from the kernel used in LinuxPE in DS 7.5 all atempts have failed, compiling the module is no problem but I get "Unknown symbol xxxx" for both modules when I atempt to load them so the kernel itself is missing some components thats needed by the modules.

    I tryed to do en ugly hack by adding the missing blk_queue_max_xxx functions to the cciss module it self and then the module loaded and found the controler but failed with "No memory BAR found" error message. So I atempted a fow other ways to get the correct memory BAR but none of them worked.

    What I need help with is getting a working LinuxPE image or working cciss and hpsa modules so we can use ds 7.5 as there are other fetures in DS 7.5 that we need.

     

     



  • 2.  RE: 7.5 LinuxPE modules for HP Smart Array

    Posted Apr 30, 2014 05:41 AM

    you could download kernel version 2.6.32-358.el6  from RHEL download share.

    use config file shipped with 7.5 and compile the kernel.

    Then you could make changes to config file so that you could compile CCISS and HPSA modules.

    After compilation you could directly add these modules to kernel.

    I am not sure about CCISS but you could get HPSA modules inbuilt in kernel. 

    For CCISS please try following steps

        Download kernel 2.6.32-358.el6 and compile it.

        Download CCISS drivers and perform following steps

        tar jxf cciss-<version>.tar.bz2

        cd cciss-<version>

        cp include/cciss_ioctl.h /usr/src/<kerneldir>.../include/linux

        cp include/cciss_defs.h  /usr/src/<kerneldir>.../include/linux

        cd driver/block

        # Uncomment "#define" for the OS being built on in cciss_kernel_compat.h

        make -C <path for Linux kernel> M=cciss-<version>/drivers/block modules



  • 3.  RE: 7.5 LinuxPE modules for HP Smart Array

    Posted May 02, 2014 04:40 AM

    Hi

    This is what I have done, i have used the following cciss versions:
    cciss-3.6.28-22.tar.bz2
    cciss-4.6.28-22.tar.bz2
    cciss-source-2.6.20-23.tar.gz

    But the closest I get is with 3.6.28 and 4.6.28.22 but in both cases I get the following errors when I load the module:
    cciss: Unknown symbol blk_queue_max_hw_segments
    cciss: Unknown symbol blk_queue_max_phys_segments
    cciss: Unknown symbol blk_queue_max_sectors

    By adding this 3 functions directly to the kernel module code and recompile I get a bit further but then I get the error:

    pci : no memory BAR found
    cciss: probe of 000:06:00.0 failed with error -1

    And with hpsa I get the error:
    hpsa: Unknown symbol scsi_add_host

    Have not attempted to add the function to hpsa as the scsi_add_host function is more complex.

    I did an attempt with replacing the kernel completely but that failed with a kernel panic during boot up.

    If you could attempt to compile and load the kernel modules and if you manage to load them in your linuxPE environment in DS 7.5 (you do not have to have the hardware as it do not get that far as detecting hw), 
    if you manage to do that please attach the binary files here.



  • 4.  RE: 7.5 LinuxPE modules for HP Smart Array
    Best Answer

    Posted Sep 01, 2014 05:17 AM

    Im now able to compile drivers,

    The information that I was missing was the following:

    Dist: rhel server 6.4 i386 
    Kernel: 2.6.32-358.el6 
     

    When I installed a vm with rhel server 6.4 and added the kernel sources and then the kernelconfig from altiris the compiling of drivers where no problem.