Re: How to install BLCR without 'config' file?

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Tue Sep 18 2007 - 08:17:46 PDT

  • Next message: Research Letters in Physics: "Invitation to Submit an Article"
    John Hodrien wrote:
    > On Tue, 18 Sep 2007, Mher Movsisyan wrote:
    >
    >> Hi,
    >>
    >> I'm trying to install BLCR on Linux 2.4.24 which does not have 
    >> configured linux kernel source tree. I couldn't find my config-2.4.24 
    >> file. Is there a way to create configured kernel source tree without 
    >> config file or some another workaround for BLCR installation?
    >
    > You *can* use /proc/kallsyms as a config, although I don't know the 
    > wisdom of
    > such an approach.  Take a copy rather than try to use it direct.
    >
    > jh
    >
    
      The usability of /proc/kallsysms varies by architecture, by kernel 
    version and in some cases by distro-specific properties.  We do not 
    recommend /proc/ksysms for in place of System.map because of this 
    variability.  (We don't currently have complete enough info to document 
    when and where it does work).
      However, it sounds like the user is in need of 
    /usr/src/linx-2.4.24/.config or similar.  I am afraid there is no 
    workaround available here - if we don't have configured kernel headers 
    then we can't know, for instance, if the kernel is UP or SMP or the 
    sizes of certain data structures.
      I'd first suggest that if you have not yet done so you check in the 
    locations listed in the BLCR FAQ 
    (http://mantis.lbl.gov/blcr/doc/html/FAQ.html#unconfig).  After that 
    also look to see if there is a subdirectory such as "configs" under your 
    kernel source directory.  Finally, if your kernel is from a specific 
    distro, then perhaps you could tell us the distro information and 
    somebody on this list might know more about where to look (or what 
    package you might need to install).
      Also, if you are using a specific distro, try asking in some 
    distro-specific forum about what is needed to get "configured kernel 
    headers for compiling external modules".
    
    -Paul
    
    -- 
    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: Research Letters in Physics: "Invitation to Submit an Article"