[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxaxp::vmsnotes

Title:VAX and Alpha VMS
Notice:This is a new VMSnotes, please read note 2.1
Moderator:VAXAXP::BERNARDO
Created:Wed Jan 22 1997
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:703
Total number of notes:3722

404.0. "INSTALL-E-NOGHREG, insufficient memory in GHR" by CRVETE::LENTZ (Peggy Lentz, Rocky Mountain PSC) Mon Mar 31 1997 13:19

    Alpha 8400, VMS 6.2-1H3
    
    I've linked an image /section_binding/notrace/share
    When I try to the install the image (either /shared/open/header/resident or
    /shared/open/resident), I get:
    
    %INSTALL-I-NORES, installed image non-resident with other specified
    options
    %INSTALL-E-NOGHREG, insufficient memory in the code or data granularity
    hint region
    
    So I tried to autogen and force larger values (via MIN_ values in
    MODPARAMS.DAT) for GH_RSRVPGCNT (2048), GH_RES_CODE (1536),
    GH_EXEC_CODE (768), GH_EXEC_DATA (256) -- these selected based on the
    HELP/MESSAGE suggested user action and reading the Linker Utility
    Manual.  I still could not get the image to install resident.  What am
    I missing here?
    
    thanks,
    Peggy
T.RTitleUserPersonal
Name
DateLines
404.1How Many `Hints' Are Needed?XDELTA::HOFFMANSteve, OpenVMS EngineeringMon Mar 31 1997 13:215
   How much of the GHR is required by this image?  (Did the GHR values
   get raised enough?)

   I'll assume you've rebooted after the autogen...
404.2EEMELI::MOSEROrienteers do it in the bush...Mon Mar 31 1997 14:1315
    where do you install your image? after STARTUP.COM finished or as
    part of SYSTARTUP_VMS.COM?
    
    Even if you bumped the GH_xxx up and then rebooted your system, and
    then logged in and tried to install, it might fail, because LDR_WRAPUP
    gives back everything not needed at the end of the startup.
    
    If this is the case, then use the GH_RSRVPGCNT and set it to a value
    large enough for your needs. I do this occasionally when testing new
    stuff and need to be able to install after startup finished.
    
    For a normal system a value of GH_RSRVPGCNT of zero is good because
    nothing is wasted.
    
    /cmos
404.3Sharing my solutionCRVETE::LENTZPeggy Lentz, Rocky Mountain PSCWed Apr 09 1997 14:1622
    For documentation purposes, I'm reporting back my solution.
    
    Key question from .1: How much of the GHR is required by this image?
    
    byte count: 8076288/8192 = 986 Alpha pages
    
    My original modparams.dat values were:
    MIN_GH_RSRVPGCNT= 2048 
    MIN_GH_RES_CODE = 1536
    MIN_GH_EXEC_CODE= 768
    MIN_GH_EXEC_DATA= 256
    
    When I still saw lots of released pages associated with Execlet code
    and data regions and the Resident image code region kept Free pages, I 
    changed the values to: 
    MIN_GH_RSRVPGCNT= 2048 
    MIN_GH_RES_CODE = 2048
    MIN_GH_EXEC_CODE= 512
    MIN_GH_EXEC_DATA= 104
    
    And after a reboot and installing after startup finishes, this big
    image did install resident.
404.4EEMELI::MOSEROrienteers do it in the bush...Wed Apr 09 1997 15:084
    actually AUTOGEN is smart enough to detect this and raise the needed
    GH_xxx params. Run it with feedback of course...
    
    /cmos