home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 418 / FAXDOC.ZIP / 1012661.TXT < prev    next >
Text File  |  1993-06-07  |  12KB  |  266 lines

  1.  
  2.  
  3.                                      FYI
  4.  
  5. (Note:  The origin of this information may be internal or external to Novell. 
  6. Novell makes every effort within its means to verify this information. 
  7. However, the information provided in this document is FOR YOUR INFORMATION
  8. ONLY.  Novell makes no explicit or implied claims to the validity of this
  9. information.)
  10.  
  11.           TITLE:    DOS Memory Managers and NetWare Lite v1.1
  12.    DOCUMENT ID#:    FYI.P.6136
  13.            DATE:    15APR93
  14.         PRODUCT:    NetWare Lite
  15. PRODUCT VERSION:    All versions
  16.      SUPERSEDES:    FYI.P.6101
  17.  LITE FAX DOC #:    2661
  18.  
  19. SYMPTOM
  20.  
  21.      NA
  22.  
  23. ISSUE/PROBLEM
  24.  
  25.      DOS Memory Managers and NetWare Lite v1.1
  26.  
  27.      Note:  Information listed is intended for use on 386 or 486 based
  28.      computers.  For information on other machines, please consult your DOS
  29.      manual.  This document is intended to aid the user in the basic steps of
  30.      loading NetWare Lite items into upper memory.
  31.  
  32.      General Information
  33.  
  34.      This basic summary is necessary to understand how to create the best
  35.      performing servers and clients with NetWare Lite.
  36.  
  37.      Random Access Memory (RAM) in 386 and 486 computers has a uniform
  38.      structure.  The first 640KB of memory is known as conventional memory,
  39.      the location where applications load.  The next 384KB of memory is known
  40.      as upper memory, where system files and other files (such as mouse
  41.      drivers or network drivers) can be loaded if memory management software
  42.      is used.  On machines with more than 1MB of RAM, the first 64KB of memory
  43.      above 1MB is known as the HMA (High Memory Area).
  44.  
  45.      All the necessary files in NetWare Lite v1.1 may be loaded into upper
  46.      memory.  These files are normally loaded from the STARTNET.BAT file found
  47.      in the NWLITE directory.  These files are the following:  LSL.COM, your
  48.      network board driver (NE2000.COM), IPXODI A, SHARE (found in your DOS
  49.      directory), SERVER.EXE, and CLIENT.EXE.  The proper syntax for loading
  50.      these files into upper memory depends on which version of DOS and memory
  51.      manager you choose to use.  Following are instructions to load NetWare
  52.      Lite files into upper memory by using memory managers from DR DOS 6.0 and
  53.      MS-DOS 5.0.  If you have any questions that are not answered in this
  54.      document, please consult your DOS documentation.
  55.  
  56.      The memory manager, EMM386, will relocate software into upper memory. 
  57.      Without the use of the EMM386 manager, the only memory that can be used
  58.      is conventional memory (the first 640KB of memory).
  59.  
  60.      DR DOS 6.0
  61.  
  62.      The memory manager included with DR DOS 6.0 is EMM386.SYS.  To load
  63.      drivers and programs into upper memory, several steps must be followed.
  64.  
  65.      Note:  EMM386.SYS cannot be used with other memory managers.
  66.  
  67.      The following is an example of a CONFIG.SYS file that is configured to
  68.      allow access to upper memory (UMB) and HMA.
  69.  
  70.      HIDOS=ON
  71.      DEVICE=C:\DRDOS\EMM386.SYS /F=AUTO /K=AUTO /B=FFFF /R=AUTO /E=[START-END]
  72.  
  73.      HIDOS=ON
  74.  
  75.      In the CONFIG.SYS file, the HIDOS=ON line should be included.  This
  76.      allows the computer to put information into HMA if memory is available.
  77.  
  78.      EMM386.SYS
  79.  
  80.      [/F=AUTO] Performs an automatic search through upper memory for a free
  81.                64KB window.  This is the default.  This sets up your machine
  82.                to use expanded or extended memory, whatever your software
  83.                requests.  NetWare Lite will not be able to load completely
  84.                into upper memory if this option is used because of limited
  85.                space.  Novell suggests if possible you use [/F=NONE] that will
  86.                set your machine up to use extended memory and free up
  87.                considerably more upper memory.
  88.  
  89.      [/K=AUTO] Allocates expanded memory.  The amount of memory is determined
  90.                by how much your application requests.
  91.  
  92.      [/B=FFFF] Relocates the DR DOS kernel, freeing space in conventional
  93.                memory for use by applications.  By using the ffff location of
  94.                memory, the kernel will be placed into HMA (if available).
  95.  
  96.      [/R=AUTO] Copies data and code from Read Only Memory (ROM) that is slow
  97.                to run into Random Access Memory (RAM) that is very fast.
  98.  
  99.      [/E=[START-END]     Excludes an area of upper memory from the area being
  100.                          checked for availability of use.  This switch should
  101.                          be used if an item uses a specific memory location. 
  102.                          For example:  If your network board had a memory
  103.                          address setting of CC00 and you used the switch
  104.                          [/E=CC00-CFFF], then the EMM386.SYS driver would not
  105.                          allow any software to occupy the same area of memory. 
  106.                          This is a solution to random errors (the machine
  107.                          lockup) that may occur if the network-board driver is
  108.                          overwritten.
  109.  
  110.      To load NetWare Lite required files into high memory in your STARTNET.BAT
  111.      file, your syntax should be similar to the following:
  112.  
  113.           HILOAD LSL
  114.           HILOAD NE2000
  115.           HILOAD IPXODI A
  116.           HILOAD SHARE
  117.           HILOAD SERVER
  118.           HILOAD CLIENT
  119.  
  120.      To examine where your items are loaded into high memory, type the
  121.      following from the DOS prompt:  MEM /A /P
  122.  
  123.           (/A shows all information.  /P pauses at the end of every screen.)
  124.  
  125.  
  126.      From this screen you will be given several screens of information.  To
  127.      determine what is located in upper memory, be aware that the address
  128.      A000:0000 is where conventional memory ends and upper memory begins, and
  129.      FFFF:0000 is where upper memory ends and the high memory area begins. 
  130.      For complete information on the MEM command, please refer to page 258 to
  131.      259 of the DR DOS 6.0 User's Guide or call the DRI Automated Fax system
  132.      at 1-408-649-2344.  The titles pertaining to memory management are the
  133.      following:
  134.  
  135.      Document  Title
  136.      1000      Master Index  (A Complete Listing of all Files on the DR DOS
  137.                Fax System.)
  138.      1300      DR DOS 6 Memory Management overview
  139.      1301      Basic Memory optimization
  140.      1302      Trouble shooting
  141.      1303      Using Third-party memory managers
  142.      1305      XMS-EMS memory pool
  143.      1306      Preventing DR DOS from loading into HMA
  144.      1307      The MEM /A Command
  145.      1308      Gate A20 and Printing Problems
  146.  
  147.      MS-DOS 5.0
  148.  
  149.      The memory manager included with MS-DOS 5.0 is EMM386.EXE.  To load
  150.      drivers and programs into upper memory, several steps must be followed.
  151.  
  152.      In the CONFIG.SYS file, device drivers for HIMEM.SYS and EMM386.EXE must
  153.      be included and placed in a specific order.  To ensure the proper setup,
  154.      it is best to have the device line containing HIMEM.SYS at the beginning
  155.      of the CONFIG.SYS file, the second line should contain the EMM386.EXE
  156.      line, and the third line should contain a specification of where to load
  157.      the DOS system files.  For example:
  158.  
  159.           DEVICE=C:\DOS\HIMEM.SYS
  160.           DEVICE=C:\DOS\EMM386.EXE /X=MMMM-NNNN NOEMS
  161.           DOS=HIGH,UMB
  162.  
  163.      HIMEM.SYS
  164.  
  165.      Generally, the default specifications for HIMEM.SYS are sufficient for
  166.      your system.  The main exception is the /MACHINE:XXXX specification;
  167.      replace XXXX with your machine type.  Please see page 611 in the MS-DOS
  168.      5.0 User's Guide for complete information.
  169.  
  170.      EMM386.EXE
  171.  
  172.      Switches included with EMM386.EXE that are most commonly used to increase
  173.      system performance are the following:
  174.  
  175.      [X=[MMMM-NNNN]]     Where MMMM-NNNN denotes an address that EMM386.EXE
  176.                          will not be allowed to use.  This is very useful for
  177.                          excluding the address of your network-board driver so
  178.                          it will not be overwritten by DOS.  (If the board
  179.                          memory address is set at CC00, the switch would be
  180.                          X=CC00-CFFF.)
  181.  
  182.      [NOEMS]   Allows access to upper memory and prevents access to expanded
  183.                memory.  It does allow access to extended memory.  Other
  184.                switches can be found in the MS-DOS 5.0 User's Guide on pages
  185.                605 to 609.
  186.  
  187.  
  188.      DOS
  189.  
  190.      The HIGH switch allows DOS to relocate the system files into a location
  191.      called the HMA (High Memory Area), freeing up more conventional memory
  192.      space.  The UMB (Upper Memory Block) switch is for linking conventional
  193.      memory with upper memory.  Loading drivers or devices into upper memory
  194.      is necessary.
  195.  
  196.      Remember, to load any command high, the line must follow the three lines
  197.      listed above.  The command to load a device high in the CONFIG.SYS file
  198.      is DEVICEHIGH.  The command to load an item high in the AUTOEXEC.BAT file
  199.      or any .BAT file is LH or LOADHIGH.
  200.  
  201.      To load the required NetWare Lite files into high memory in your
  202.      STARTNET.BAT file, your syntax should be similar to the following:
  203.  
  204.           LH  LSL
  205.           LH  NE2000
  206.           LH  IPXODI A
  207.           LH  SHARE
  208.           LH  SERVER
  209.           LH  CLIENT
  210.  
  211.      To examine where your items are loaded into high memory, type the
  212.      following from the DOS prompt:  MEM /C |MORE
  213.  
  214.      (/C classifies programs by memory usage.  It also displays conventional
  215.      memory and upper memory in separate blocks to easily determine where
  216.      programs are loaded.  |MORE pauses at the end of every screen.)
  217.  
  218.      For further questions and concerns about loading software into upper
  219.      memory, consult the MS-DOS 5.0 User's Guide or contact Microsoft
  220.      Technical Support.
  221.  
  222.      QEMM-386 (by Quarterdeck)
  223.  
  224.      Other memory managers may be used and there is a good variety on the
  225.      market.  If you use QEMM, Novell suggests that you consider the following
  226.      information.
  227.  
  228.      QEMM uses a feature called Stealth mode that hides ROM code and makes its
  229.      memory address mappable as HIGH RAM, then it may be used for loading TSRs
  230.      or device drivers.  This Stealth mode is turned on in the CONFIG.SYS with
  231.      an ST:x parameter.  The x may be an F for Frame or M for Mapping.
  232.  
  233.           Example:  Device=c:\qemm\qemm386.sys ST:F or ST:M
  234.  
  235.      FRAME shares the page frame with a ROM area.  It must see 64KB of
  236.      contiguous HIGH RAM; otherwise, it will revert back to using conventional
  237.      RAM starting at 576KB to 640KB (64KB total).
  238.  
  239.      MAPPING, makes use of the 386 memory mapping capabilities.
  240.  
  241.      Memory problems may manifest themselves through random lockup, generally
  242.      upon initial bootup when device drivers are loading, or at later times
  243.      when applications are loaded.
  244.  
  245.      If you suspect memory problems while using NetWare Lite and QEMM-386, try
  246.      removing the Stealth parameter from the CONFIG.SYS, then reboot and see
  247.      if problem persists.  If it does not, then refer to your troubleshooting
  248.      documentation or contact Quarterdeck for instructions on debugging the
  249.  
  250.      problem.  Usually it is merely a memory conflict that may be corrected by
  251.      excluding certain memory ranges.  Novell's experience shows the most
  252.      common memory range to exclude is the network board.  See the previous
  253.      information for exclude examples.
  254.  
  255.      In addition, their may be problems or conflicts with disk caching
  256.      utilities due to improper page frame preservation.  If you are using disk
  257.      cache and suspect conflicts manifest by system failures or corruption,
  258.      remove the caching utility.  If the problem goes away, the conflict may
  259.      be due to advanced disk features.  Consult your appropriate documentation
  260.      and turn off advanced features such as advanced reads and writes, then
  261.      reload the cache utility.
  262.  
  263. SOLUTION
  264.  
  265.      NA
  266.