Summary of BLCR w/ 2.6.31

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Sat Nov 07 2009 - 13:59:53 PST

  • Next message: Paul H. Hargrove: "Cumulative patch for BLCR-0.8.2 and recent kernels"
    I am aware of the following issues and (possible) solutions for building 
    BLCR w/ 2.6.31 kernels.
    These are in addition to the configure problems seen with 2.6.30 
    (failure to identify and problems with conditional C++ probe 
    and recent autoconf versions).
    At least #3 has not been posted on this list previously.
    1) No modules built by make.
        Due to change in kbuild, fixed by the following patch provided by 
    Alan Woodland:
        (though I favor a checking different variable, the difference is 
    2) Configure probe locates find_task_by_pid_ns(), but it is not found at 
        Probably fixed by the one-line addition to configure in the 
    following email:
    3) find_task_by_pid_type_ns() is missing and leads to #error at compile time
        I looked into this and found that this function is only used by 
    debugging code.  So, the attached (untested) 1-line change should be 
    sufficient.  I have the proper fix in mind, but lack the time to test it 
    4) Neal Becker has reported "unable to determine composition of struct 
    nameidata" failures at configure time that I have tried, but failed, to 
    reproduce.  I don't currently have any fix or work around for this one.
    I will collect all the patches I believe are needed for support of 
    2.6.30 and 2.6.31 kernels and post the URL in a separate email.
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group                 Tel: +1-510-495-2352
    HPC Research Department                   Fax: +1-510-486-6900
    Lawrence Berkeley National Laboratory     
    Index: cr_module/cr_kcompat.h
    RCS file: /var/local/cvs/lbnl_cr/cr_module/cr_kcompat.h,v
    retrieving revision
    diff -u -r1.247.8.2 cr_kcompat.h
    --- cr_module/cr_kcompat.h	12 Jun 2009 20:37:03 -0000
    +++ cr_module/cr_kcompat.h	7 Nov 2009 21:51:30 -0000
    @@ -274,7 +274,7 @@
     #elif HAVE_2_ARG_FIND_PID
       #define cr_have_pid(T,P) (find_pid((T),(P)) != NULL)
    -  #error
    +  #define cr_have_pid(T,P) (0) /* Used only in an assertion, so we fake it for now */
     // Process table iterators

  • Next message: Paul H. Hargrove: "Cumulative patch for BLCR-0.8.2 and recent kernels"