home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 198 / DOS6ALL.ZIP / PD0457.TXT < prev    next >
Text File  |  1993-02-04  |  8KB  |  182 lines

  1. ======================================================================
  2.   Microsoft(R) Product Support Services Application Note (Text File)
  3.     PD0457: HIMEM.SYS REPORTS "ERROR: UNABLE TO CONTROL A20 LINE!"
  4. ======================================================================
  5.                                                    Revision Date: 4/93
  6.                                                       No Disk Included
  7.  
  8. The following information applies to Microsoft MS-DOS(R) versions 5.0
  9. and 6.0.
  10.  
  11. Introduction
  12. ------------
  13.  
  14. If your computer displays the "ERROR: Unable to control A20 line!"
  15. message when you start your computer, HIMEM.SYS did not load properly
  16. and therefore cannot make extended memory or the high memory area
  17. (HMA) available. If HIMEM.SYS is not loaded correctly, programs such
  18. as EMM386.EXE, Windows 3.0, and Windows 3.1 are unable to use extended
  19. memory, and Microsoft MS-DOS cannot load into the HMA. This problem
  20. occurs if HIMEM.SYS incorrectly identifies your machine type, or if
  21. the /cpuclock and /machine switches need to be added to the DEVICE
  22. command for HIMEM.SYS.
  23.  
  24. Troubleshooting
  25. ---------------
  26.  
  27. To correct this problem, add the /cpuclock and /machine switches to
  28. the DEVICE command that starts HIMEM.SYS:
  29.  
  30.  1. If you are using MS-DOS 5.0, create a startup disk. To do so,
  31.     insert a formatted floppy disk in drive A and type the following:
  32.  
  33.       sys c: a:
  34.  
  35.      Notes
  36.      -----
  37.    
  38.       - Do not use drive B when you create the startup disk. Most
  39.         computer BIOS startup procedures do not look for a disk in
  40.         drive B when starting the computer, even though the light on
  41.         drive B may turn on momentarily.
  42.  
  43.       - If you are using MS-DOS 6.0, you can skip to step 3. You do not
  44.         need to create a startup floppy disk because you can use the MS-
  45.         DOS 6 .0 interactive startup key (F8) to bypass commands in
  46.         your CONFIG.SYS file if they cause your system to stop
  47.         responding (hang). For more information on using interactive
  48.         startup, see the "MS-DOS User's Guide and Reference," Chapter
  49.         4, "Configuring Your System."
  50.  
  51.  2. Copy your CONFIG.SYS file to the startup disk by typing the
  52.     following:
  53.     
  54.       copy c:\config.sys a:\
  55.  
  56.  3. Edit your CONFIG.SYS file. To edit the file using MS-DOS
  57.     Editor, type the following at the MS-DOS command prompt:
  58.  
  59.       edit c:\config.sys
  60.  
  61.  4. Make sure your CONFIG.SYS file contains a DEVICE command for
  62.     HIMEM.SYS. This command should appear before any other DEVICE
  63.     commands:
  64.  
  65.       device=c:\dos\himem.sys
  66.  
  67.  5. Add the /cpuclock:on switch to the DEVICE command for
  68.     HIMEM.SYS. The command should now appear as follows:
  69.  
  70.       device=c:\dos\himem.sys /cpuclock:on
  71.  
  72.      NOTE: If you are using MS-DOS 6.0, you should also add the /v
  73.      (verbose) switch following the /cpuclock:on switch to force
  74.      HIMEM.SYS to display informational messages when it loads.
  75.  
  76.  6. If you're using MS-DOS Editor, choose Exit from the File menu.
  77.     When MS-DOS Editor displays a dialog box prompting you to save your
  78.     file, choose the Yes button or press ENTER.
  79.  
  80.  7. Restart your computer by pressing CTRL+ALT+DEL.
  81.  
  82.     Watch the messages that your computer displays during startup. If
  83.     HIMEM.SYS is working properly, it should display a message similar
  84.     to the following:
  85.  
  86.      Installed A20 handler number 1.
  87.      64K High Memory Area is available.
  88.  
  89.     If the error message no longer appears, HIMEM.SYS starts correctly,
  90.     and your system is working properly, the problem has been
  91.     corrected. If you still see the "ERROR: Unable to control A20
  92.     line!" message, continue with the next step.
  93.  
  94.  8. Edit your CONFIG.SYS file again. Locate the DEVICE command for
  95.     HIMEM.SYS and add the /machine switch to it. The /machine switch
  96.     specifies the type of computer you have. The switch should be
  97.     followed by a colon (:) and your machine number (see the following
  98.     list). For example, the following DEVICE command specifies that
  99.     your computer is a Toshiba(R) 5100 (machine number 7):
  100.  
  101.       device=c:\dos\himem.sys /cpuclock:on /machine:7
  102.     
  103.     The following table lists machine types in alphabetical order, and
  104.     shows the corresponding number to specify with the /machine switch:
  105.  
  106.      Machine Type                          Number
  107.      ------------------------------------------------------
  108.      Abacus 386                            1
  109.      Acer 1100                             6
  110.      AT&T(R) 6300 Plus                     5
  111.      Bull Micral 60                        16
  112.      Chaplet                               1
  113.      CompuAdd(R) 386 systems               1 or 8
  114.      CSS Labs                              12
  115.      Datamedia 386/486                     2
  116.      Everex(TM) AT Plus 1800               1
  117.      Everex Notebook ELX                   1
  118.      Excel Computer Systems                13
  119.      Hitachi(R) HL500C                     8
  120.      Hewlett-Packard(R) (HP[R]) Vectra(R)  14
  121.      HP Vectra (A and A+)                  4
  122.      IBM(R) PC/AT(R)                       1, 11, 12, or 13
  123.      IBM PS/2(R)                           2
  124.      Intel(R) 301z or 302                  8
  125.      JDR 386/33                            1
  126.      OPT 386-25 motherboard                1
  127.      Pak 386SX                             1
  128.      PC Limited                            4
  129.      PC 380/33C, PC 350/33C, or PC300/33C  2
  130.      BIOS revision 1.14               
  131.      Philips                               13
  132.      Phoenix Cascade BIOS                  3, 1 or 8
  133.      Toshiba 1600 and 1200XE               7
  134.      Toshiba 5100                          7
  135.      Tulip(R) SX                           9
  136.      Unisys(R) PowerPort                   2
  137.      WYSE(R) 12.5 MHz 286                  8
  138.      Zenith(R) ZBIOS                       10
  139.  
  140.     If your computer is not on the list, you are not sure which number
  141.     to use, or the machine number for your computer doesn't correct the
  142.     problem, try these machine numbers in the following order: 1, 11,
  143.     12, 13, 8, 2-10, 14-16.
  144.  
  145.  9. If you're using MS-DOS Editor, choose Exit from the File menu.
  146.     When MS-DOS Editor displays a dialog box prompting you to save your
  147.     file, choose Yes or press ENTER.
  148.  
  149. 10. Restart your computer by pressing CTRL+ALT+DEL.
  150.  
  151.     Watch the messages that your computer displays during startup. If
  152.     HIMEM.SYS is working properly, it should display a message similar
  153.     to the following:
  154.  
  155.      Installed A20 handler number 1.
  156.      64K High Memory Area is available.
  157.  
  158.    If your computer fails when you restart it or you receive the
  159.    "ERROR: Unable to control A20 line!" message, the machine number you
  160.    specified is incorrect for your hardware. If the computer hangs and
  161.    you are using MS-DOS 5.0, insert the startup disk in drive A and
  162.    restart your system. If you are using MS-DOS 6.0, use the F8 key to
  163.    start the interactive startup procedure. When you are prompted to
  164.    load HIMEM.SYS, press the N key.
  165.  
  166.    Next, edit your CONFIG.SYS file, specify a different machine number,
  167.    save your changes, and restart your system. You may need to try
  168.    several machine numbers before you identify the one that works for
  169.    your computer.
  170.  
  171. Additional Information
  172. ----------------------
  173.  
  174. If you are using MS-DOS 5.0, refer to the "Microsoft MS-DOS User's
  175. Guide and Reference," pages 610-613, for more information.
  176.  
  177. If you are using MS-DOS 6.0, refer to the MS-DOS Help Command
  178. Reference by typing the following at the MS-DOS command prompt:
  179.  
  180.      help himem.sys
  181.  
  182.