home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / info / faq / os2_20 / os2help / wps1.fax < prev    next >
Encoding:
Text File  |  1993-06-21  |  15.7 KB  |  363 lines

  1. ┌───────────────────────────────────────────────────────────────────────────┐
  2. │                          OS/2 2.0 Technical Tips                          │
  3. │                                 From the                                  │
  4. │                        OS/2 Technical Support Team                        │
  5. │                            Boca Raton, Florida                            │
  6. │                                                                           │
  7. ├───────────────────┬─────────────────────────────────────┬─────────────────┤
  8. │    File Name      │   Description                       │ Number of pages │
  9. ├───────────────────┼─────────────────────────────────────┼─────────────────┤
  10. │   WPS.FAX         │ OS/2 Workplace Shell Information    │        6        │
  11. └───────────────────┴─────────────────────────────────────┴─────────────────┘
  12.  
  13.  
  14.  
  15. WORKPLACE SHELL PROBLEMS/WORKAROUNDS
  16. ------------------------------------
  17.  
  18. The following problems are addressed in this fax document:
  19.  
  20.    BlankDesktop - Some customers have experienced a blank
  21.                   desktop containing only a mobile mouse
  22.                   pointer.  If this cannot be resolved
  23.                   permanently with Alt-F1 the workaround
  24.                   here may apply.
  25.  
  26.    DrivesIcon   - Some customers are experiencing problems
  27.                   with DRIVES icons opening and then closing
  28.                   immediately.
  29.  
  30.    LostIcon     - Customer has lost an icon for a workplace
  31.                   shell folder, such as the OS2 System Folder
  32.                   icon has defaulted to yellow folder.
  33.  
  34.    SaveIcons    - Customers are having problems associating an
  35.                   icon with an object .
  36.  
  37.    Copying Large- Copying large folders from any type drive to any other
  38.    Folders        drive sometimes causes many subfolders to be created
  39.  
  40.    Corrupted
  41.    Desktop      - There may be cases where you've run DOS disk defragmenters
  42.                   and your desktop comes up in a "half baked" state.
  43.                   This procedure will help you recover.
  44.  
  45.    General WPS
  46.    Problem
  47.    Determination- This section provides general help for some of the commonly
  48.                   asked questions and problems with the Workplace Shell.
  49. ===========================================================
  50.  
  51. BLANKDESKTOP
  52. ============
  53. If a customer experiences a blank desktop containing only a
  54. mobile mouse pointer he/she may have INI file or CONFIG.SYS
  55. corruption.  One possible cause for this blank desktop
  56. problem that we've found are extra SET USER_INI and SET
  57. SYSTEM_INI statements in the CONFIG.SYS.  The following
  58. statements are as they should appear:
  59.  
  60. SET USER_INI=C:\OS2\OS2.INI
  61. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  62.  
  63. If the customer has any additional SET USER_INI or SET
  64. SYSTEM_INI statements in their CONFIG.SYS, they should be
  65. removed.  Also, a MAKEINI or Alt-F1 may be required to
  66. return the desktop to normal.
  67.  
  68. DRIVESICON
  69. ==========
  70.  
  71. Some customers are experiencing problems with DRIVES icons
  72. opening and then closing immediately.  This seems to be a
  73. disk problem which can be cleared up with a CHKDSK on the
  74. offending disk.  To do so:
  75.    1) Boot with the OS/2 install diskette.
  76.    2) Follow prompts and enter install disk 1 when prompted.
  77.    3) Follow the prompts, ESC to exit when prompted.
  78.    4) With install disk 2 in the A Drive run:
  79.              CHKDSK /F (FAT)
  80.                 or
  81.              CHKDSK /F:3 (HPFS)
  82.  
  83.    If this does not work, have the customer erase the hidden
  84.    file WP_ROOT._SF (Fat) or WP ROOT. SF (HPFS).
  85.    Of course, the file will have to be unhidden first.
  86.  
  87. LOSTICON
  88. ========
  89.  
  90. Customer has lost an icon for a workplace shell folder, such
  91. as the OS2 System Folder icon has defaulted to yellow
  92. folder-to recover:
  93.  
  94. 1) Must have access to another OS/2 2.0 machine.
  95. 2) Copy the Extended Attributes from this other machine's
  96.    OS/2 System folder to diskette with EAUTIL as follows:
  97.  
  98.   FAT -EAUTIL C: OS!2_2.0_d OS!2_SYS easave /P /S
  99.                     or
  100.   HPFS-EAUTIL "C: OS!2 2.0 Desktop OS!2 SYSTEM" easave /P /S
  101.  
  102.    where C:  is the actual drive on which the operating
  103.    system resides
  104. 3) Take the diskette to the machine with the missing
  105.    icon and copy the extended attributes in easave to the
  106.    os2 system folder with eautil:
  107.  
  108.   FAT -EAUTIL C: OS!2_2.0_d OS!2_SYS easave /O /J
  109.                     or
  110.   HPFS-EAUTIL "C: OS!2 2.0 Desktop OS!2 SYSTEM" easave /O /J
  111.  
  112.   where it doesn't matter if the machines are mix and match
  113.   Fat and HPFS, just use the right directory names for the
  114.   file system you are copying to or from at the time.  After
  115.   a shutdown and reboot the correct icon should appear, and
  116.   the customer will not have lost any customization.
  117.  
  118. SAVEICONS
  119. =========
  120.  
  121. For Customers having problems associating an icon with an
  122. object this method seems to work:
  123.  
  124. 1) Open a settings notebook for the object.
  125. 2) Select the General Page and push the FIND pushbutton.
  126. 3) Select the LOCATE pushbutton
  127. 4) Select the PATH tab
  128. 5) In the Location field, enter the path in which the icon
  129.    physically resides:  C: MYICONS (or whatever)
  130. 6) Press the OK pushbutton
  131. 7) Change the Name field to the filename of your icon:
  132.    MYICON.ICO (or whatever)
  133. 8) Make sure that ICON is hilighted in your Types box
  134. 9) Check "search just this folder"
  135. 10)Press the Find pushbutton
  136. 11)Your icon should now appear selected on the screen-
  137.    Press OK
  138.  
  139. That should do it! Your icon should now "stick".
  140.  
  141. PROBLEM WITH COPYING LARGE FOLDERS
  142. ==================================
  143. Copying large folders from any type drive to any other type
  144. drive sometimes causes many subfolders to be created, each with
  145. the entire directory structure of what is being copied. In
  146. essence, this operation will fill a partition with garbage.
  147. Problem seems to be more easily recreatable when source and
  148. destination partitions have different file systems (i.e.,
  149. copying from hpfs to fat).  This problem occurs whether using
  150. context menu to copy or dragging and dropping.
  151.  
  152. The solution for this problem for now is to use the copy command
  153. from the command line.
  154.  
  155.  
  156.  
  157. METHODS FOR RESTORING A CORRUPTED DESKTOP
  158. -----------------------------------------
  159.  
  160. There may be cases where your desktop may have been corrupted. An example
  161. is if you booted DOS and tried to rearrange your hard disk and corrupted
  162. either INI files or Extended Attributes. The following mechanisms have
  163. been implemented to help in these cases.  There are 3 methods of restoring
  164. your desktop.
  165.  
  166.  
  167. Method (1)
  168. The first method tries to migrate your current desktop configuration by
  169. merging new initialization files with your corrupt initialization files.
  170. Customization will not be lost!
  171.  
  172.  
  173.       1)    Restart your computer using the OS/2 Installation Diskette;
  174.             then insert disk #1 when prompted.
  175.       2)    When the IBM logo appears with the options to 'Enter' to
  176.             continue or 'ESC' to cancel; press 'ESC' to cancel.  This will
  177.             drop you off  at the A: prompt.
  178.       3)    Change to the drive containing OS/2.  Then switch to the OS2
  179.             sub-directory ( Ex. C:\OS2> ).
  180.       4)    At the command line type:
  181.                   MAKEINI OS2.INI INI.RC  (Press 'ENTER')
  182.                   MAKEINI OS2SYS.INI INISYS.RC  (Press 'ENTER')
  183.       5)    At the command line use the attrib command to delete the
  184.             hidden file WP ROOT. SF in the OS2 startable partition.
  185.             At the command line type:
  186.                   ATTRIB C:\WP?ROOT.?SF -s -r -h
  187.                   DEL    C:\WP?ROOT.?SF
  188.       6)    Re-boot your computer by pressing CTRL-ALT-DEL.  This should
  189.             re-build your desktop to your current desktop by replacing the
  190.             corrupt .ini files with new .ini files created with the
  191.             MAKEINI commands.
  192.       7)    It is highly recommended to do an IMMEDIATE shutdown after the
  193.             system is installed to make sure that all programs and files
  194.             have been associated correctly.  Use the system shutdown on the
  195.             system menu by clicking with the right mouse button on the
  196.             desktop (*not on any icon*). A system menu with the shutdown
  197.             option in the middle will be seen.
  198.  
  199.  
  200. Method (2)
  201. This method copies your original desktop and initialization file and then
  202. generates new files from copies that are stored in the OS2\INSTALL sub-
  203. directory.  This method will not save shadow copies of icons or extended
  204. services icons on your desktop.  This will start the tutorial and generate
  205. the desktop as though you have just finished the installation process.
  206.  
  207.       1)    If possible do a controlled 'Shutdown' of OS2.
  208.       2)    Re-boot your system by pressing CTRL-ALT-DEL.
  209.       3)    As soon as you hear a single beep, or you press 'Enter' at the
  210.             Boot Manager menu or password prompt; Press and HOLD ALT-F1
  211.             keys.  Hold these keys down until the keyboard buffer is full,
  212.             the buffer is full when a rapid beeping sound is heard.
  213.       4)    Release keys after the buffer is filled.
  214.       5)    The system will boot past the normal 'Black' OS2 Colored
  215.             Circles and then will a note saying that 3 files have been
  216.             renamed and re-created from copies in the OS2\INSTALL sub-
  217.             directory.
  218.       6)    Your system should now return to the original desktop.  This
  219.             process can take up to 10 minutes.  Sometimes the tutorial
  220.             will start-up again and you may wish to review the tutorial
  221.             while your desktop is being generated.
  222.       7)    It is highly recommended to do an IMMEDIATE shutdown after the
  223.             system is installed to make sure that all programs and files
  224.             have been associated correctly.  Use the system shutdown the
  225.             system menu by clicking with the right mouse button on the
  226.             desktop (*not on any icon*) and a system menu with the
  227.             shutdown option in the middle.
  228.  
  229. Method (3)
  230. If the above methods do not work this is a manual way of re-installing
  231. without having to install with the diskettes.
  232.  
  233.       1)    Restart your computer using the OS/2 Installation Diskette;
  234.             then insert disk #1 when prompted.
  235.       2)    When the IBM logo appears with the options to 'Enter' to
  236.             continue or 'ESC' to cancel; press 'ESC' to cancel.  This will
  237.             drop you off  at the A: prompt.
  238.       3)    Change to the drive containing OS/2.  Then switch to the OS2
  239.             sub-directory ( Ex. C:\OS2> ).
  240.       4)    Delete OS2.INI and OS2SYS.INI files.
  241.       5)    At the command line type:
  242.                   MAKEINI OS2.INI INI.RC  (Press 'ENTER')
  243.                   MAKEINI OS2SYS.INI INISYS.RC  (Press 'ENTER')
  244.       6)    At the command line use the attrib command to delete the
  245.             hidden file WP ROOT. SF in the OS2 startable partition.
  246.             At the command line type:
  247.                   ATTRIB C:\WP?ROOT.?SF -s -r -h
  248.                   DEL    C:\WP?ROOT.?SF
  249.       7)    Change to the desktop sub-directory and remove all the
  250.             subsequent sub-directories located beneath the desktop
  251.             directory.  The desktop directory in a FAT system is named
  252.             OS!2_2.0_D and HPFS is named
  253.             OS!2 2.0 DESKTOP.  In order to change to the sub-directory
  254.             type:
  255.                   CD OS!2_2.0_D    (For FAT system)
  256.                   CD "OS!2 2.0 DESKTOP"     (For HPFS system)
  257.             To remove sub-directories issue the 'RD subdir' to remove sub-
  258.             directories where subdir is the name of the sub-directory to
  259.             be deleted.
  260.             ***NOTE :  In FAT systems blanks in folder names are
  261.             represented by underscores '_', and in HPFS folder names with
  262.             blanks in them must be enclosed in double quotes '"'.
  263.       8)    Re-boot your computer by pressing CTRL-ALT-DEL.  This should
  264.             re-build your desktop to your current desktop by replacing the
  265.             corrupt .ini files with new .ini files created with the
  266.             MAKEINI commands.
  267.       9)    It is highly recommended to do an IMMEDIATE shutdown after the
  268.             system is installed to make sure that all programs and files
  269.             have been associated correctly.  Use the system shutdown the
  270.             system menu by clicking with the right mouse button on the
  271.             desktop (*not on any icon*) and a system menu with the
  272.             shutdown option in the middle.
  273.  
  274.  
  275. WORKPLACE SHELL PROBLEMS DETERMINATION
  276. --------------------------------------
  277.  
  278. The following areas are discussed:
  279. Extended Attributes (including sections on file systems, Dos
  280. utilities, Deinstalling OS/2, and CHKDSK), Shutdown, INI files,
  281. Nowhere directory, and the WP ROOT. SF file.
  282.  
  283. EA's
  284.  EA's play a major role in OS/2 2.0. The Workplace Shell uses
  285.  ea's for everything.
  286.  The WP Object is the object in workplace shell from which the
  287.  other objects descend. EA's contain the information as to kind
  288.  of object, where it is located, etc.
  289.  Three types of objects:
  290.    Persistent - These objects persist across boots
  291.      1. File system objects : Program references and folders are
  292.         examples.  The Desktop Directory contains the ea's for
  293.         these objects.
  294.      2. Abstract objects : Printer, shredder, color palette are
  295.         examples. The information for these objects are stored
  296.         in the ini files.
  297.      3. Transients - These objects are gone upon reboot ( Find
  298.         results or Task List)
  299.  
  300.  
  301. HPFS file systems have the ea attributes attached to each file.
  302. FAT file systems have all the ea's in the ea data. sf file.
  303.  
  304. DOS Utilities
  305. Most DOS utilities are not concerned with preserving the
  306. pointers to the ea attributes that are contained in the FAT
  307. table. These utilities often do absolute sector reads and
  308. writes instead of manipulating the entire FAT entries.
  309. This is the reason people should not run disk defragmenters even
  310. from the DOS environment on a dual boot system. The pointers in
  311. the FAT cross-linked, etc.) result.  Chkdsk /f cannot always
  312. clear these pointer from the FAT table entries.
  313.  
  314.  
  315. DOS utilities cannot harm a disk with an HPFS OS/2 partition
  316. since DOS cannot see the partition or manipulate the files.
  317.  
  318.  
  319.  
  320. Deinstalling OS/2
  321. The only way recommended for deinstalling OS/2 (for a successful
  322. reinstall of OS/2) is to format.
  323.  
  324. HPFS
  325. Chkdsk should not be run on a live drive. (Swapper will always
  326. show allocation errors as it cannot be correct with the
  327. shrinking and growing. Swapper allocation errors should not be
  328. of concern.)
  329.  
  330. Chkdsk /f may take several passes to clean up an HPFS drive as
  331. it cleans up primary structures and then secondary structures
  332. in several passes.
  333.  
  334. Shutdown
  335. A poor shutdown can corrupt ini files because the workplace
  336. shell uses lazywrite threads and the information may be only
  337. half written out to the ini files.  EA information may not be
  338. completely written either.
  339.  
  340. INI's
  341. If you run makeini without erasing the ini file, you will be
  342. updating the ini. This is the best method to try for replacing
  343. objects that have been lost from the desktop.
  344. This procedure will not reinitialize your desktop to its default
  345. state.
  346.  
  347. Placing your current ini files and config.sys in the install
  348. directory should restore your system to its current state when
  349. an ALT-F1 is performed.
  350.  
  351. Nowhere
  352. The nowhere directory should have nothing in it. When an object
  353. doesn't know where to go, it goes there. It can get moved by
  354. moving it from the command prompt.
  355.  
  356. WP ROOT. SF
  357. This file exists for each drive (including floppies and lan
  358. drives). A place was needed for ea's to be kept for drives
  359. objects since ea's can't be attached to the root directory.
  360. This file should be erased when drive objects are not working
  361. correctly, as when the icons are messed up, files are missing,
  362. or the drives icon opens and immediately closes.
  363.