Re: Question about the BLCR installation requirements

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Sun Feb 06 2005 - 15:41:33 PST

  • Next message: Michael Klemm: "BLCR on kernel version 2.6.x"
    Paolo,
    
       BLCR needs at a minimum a set of "genuine" kernel headers which 
    includes a linux/version.h.  On many distributions, you may be able to 
    use their kernel-headers (or similar) package to meet this need without 
    the full kernel sources.  By "genuine", I mean that the headers that are 
    now often installed under /usr/include/linux and /usr/include/asm along 
    with glibc will not work, because they lack many of the prototypes 
    needed to compile BLCR's two kernel modules.
    
       Various distributions do different things with their kernel header 
    packages and you might or might not find a suitable version.h.  We have 
    used RedHat on many of our systems in the past, and therefore the 
    handling of RedHat systems by BLCFR is probably a bit more automatic 
    than others.  I believe that for RedHat 7.3 through 9, the 
    kernel-headers RPM will provide all you need.  If you need help getting 
    BLCR built with any particular Linux distribution's kernel headers, 
    please send us the errors you encounter and we'll try to be of 
    assistance.  We'd like to make the installation process as painless as 
    possible.
    
       In addition to needing the header files, you will need either the 
    System.map or the vmlinux (not vmlinuz which lacks a symbol table) file 
    for the kernel you are compiling against.  This is because BLCR needs to 
    call some kernel functions that are not exported for use by kernel modules.
    
    -Paul
    
    Paolo Victor wrote:
    > Hello,
    > 
    > I plan using your checkpointing solution (BLCR) for linux, but I have
    > a question about some of its requirements. First: Why are the kernel
    > sources needed? And second: Are the sources only needed for creating
    > the linux/version.h file?
    > 
    > Thanks for your attention,
    > Paolo
    
    -- 
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group
    HPC Research Department                   Tel: +1-510-495-2352
    Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
    

  • Next message: Michael Klemm: "BLCR on kernel version 2.6.x"