home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / oshthang.txt < prev    next >
Text File  |  1996-10-29  |  5KB  |  127 lines

  1. OSHTHANG - INTERMITTENT LOCKUPS RUNNING OS/2 2.X
  2. 01/29/96
  3.  
  4. =======================================================================
  5.                 Intermittent Lockups Running OS/2 2.x
  6. =======================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. --------------------------------------------------------------
  10.  
  11. DESCRIPTION
  12.  
  13. This document provides information to help you determine the cause of 
  14. intermittent lockups (or hangs).
  15.  
  16. RESOLUTION
  17.  
  18. Note: Make sure you have a backup of any file you intend to change.
  19.  
  20. * If the system locks up only when running a DOS or Windows program,
  21.   the problem is probably with an application:
  22.  
  23.   - If you are running an application from an icon, does the system
  24.     lock up if you run it from the command prompt? If so, the icon
  25.     might be corrupt. Delete it and re-migrate the application or
  26.     create it from the program template.
  27.  
  28.   - Does pressing Ctrl+Esc eliminate the lockup? If so, it is an
  29.     application problem; contact DOS or Windows support. If not, can
  30.     you restart the system by pressing Ctrl+Alt+Del, or do you have to
  31.     turn the system off?
  32.        
  33.     Do certain applications lock up or do all of them lock up? If the
  34.     problem is specific to certain applications, try changing some of
  35.     the following settings:
  36.  
  37.        DPMI_MEMORY_LIMIT to 64
  38.        DOS_RMSIZE        to 624
  39.        HW_ROM_TO_RAM     to ON
  40.        HW_TIMER          to ON (games or timing-sensitive applications)
  41.        IDLE_SECONDS      to 60
  42.        IDLE_SENSITIVITY  to 100
  43.        EMS_MEMORY_LIMIT  (increase or decrease depending on application
  44.                           needs)
  45.        XMS_MEMORY_LIMIT  (increase or decrease depending on application
  46.                            needs)
  47.        INT_DURING_IO     to ON (Multimedia applications and other DOS
  48.                                 applications)
  49.  
  50.     Note: These are general settings and might affect each application
  51.           differently. If the above information does not solve the
  52.           problem, contact OS/2 Support and ask for the DOS or Windows
  53.           application group.
  54.  
  55. * If the entire system is locking up randomly:
  56.  
  57.   1. Run diagnostic tests to see if there is a hardware problem. The
  58.      Diagnostics diskette contains the hardware-checking program.
  59.  
  60.      Note: For a Micro Channel system, get the diskette from the
  61.            hardware vendor or your Marketing Representative.
  62.  
  63.            For an Industry Standard Architecture (ISA) system, (also
  64.            called AT-bus system) refer to the system's hardware manual.
  65.  
  66.   2. Edit the CONFIG.SYS file and add the following as the second line
  67.      of the file:
  68.  
  69.         SET SHELLEXCEPTIONHANDLER=OFF 
  70.  
  71.      This might produce an error message to the Desktop when the system
  72.      locks up.
  73.  
  74.   3. Check interrupt-request (IRQ) assignments and communication (COM)
  75.      ports. The AT-bus cannot share IRQs, addressing, or direct memory
  76.      access (DMA). Also, it cannot skip COM port settings.
  77.  
  78.   When OS/2 starts, it opens all applications that were previously
  79.   running in OS/2. If the Desktop is displayed when the system starts,
  80.   and a previously opened application causes the system to lock up, do
  81.   the following:
  82.  
  83.   1. Edit the CONFIG.SYS file and add SET RESTARTOBJECTS=NO. When you
  84.      start the system, the applications that were running under OS/2
  85.      when the system was shut down will not restart.
  86.  
  87.      * If you have DOS on the system, and OS/2 is using the FAT file
  88.        system, use a DOS startable diskette, or start DOS; then edit
  89.        the CONFIG.SYS file and add the above statement.
  90.  
  91.      * If you do not have DOS on the system:
  92.  
  93.        a. Start the system with the Installation Diskette.
  94.      
  95.        b. When prompted, remove the Installation Diskette and insert
  96.           Diskette 1.
  97.  
  98.        c. At the Welcome screen, press Esc to get the A: prompt.
  99.  
  100.        d. Type x: and press Enter (x is the drive where OS/2 is
  101.           installed).
  102.  
  103.        e. Type COPY CONFIG.SYS CONFIG.BAD and press Enter to back up
  104.           the CONFIG.SYS file. If a CONFIG.BAD file already exists, use
  105.           a different extension.
  106.  
  107.        f. Type ECHO SET RESTARTOBJECTS=NO >> CONFIG.SYS and press Enter
  108.           to add the line to the CONFIG.SYS file.
  109.  
  110.   2. After the system loads the CONFIG.SYS file, you also can bring up
  111.      the Desktop without any applications opening by pressing
  112.      Ctrl+Shift+F1. If you hear a beeping sound, release the keys for a
  113.      moment, and then press them again.
  114.             
  115.   This procedure does not work as well as adding the statement,
  116.   SET RESTARTOBJECTS=NO, to the CONFIG.SYS file.
  117.  
  118. ______________________________________________________________________
  119. IBM disclaims all warranties, whether express or implied, including 
  120. without limitation, warranties of fitness and merchantability with 
  121. respect to the information in this document. By furnishing this 
  122. document, IBM grants no licenses to any related patents or copyrights.  
  123. Copyright (c) 1994, 1996 IBM Corporation. Any trademarks and product 
  124. or brand names referenced in this document are the property of their 
  125. respective owners. Consult your product manuals for complete trademark 
  126. information. 
  127.