home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / bit / listserv / aixl / 1908 next >
Encoding:
Internet Message Format  |  1992-12-21  |  42.2 KB

  1. Xref: sparky bit.listserv.aix-l:1908 comp.unix.aix:12746
  2. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!Germany.EU.net!gate!g6150e!afx
  3. From: afx@muc.ibm.de (Andreas Siegert)
  4. Newsgroups: bit.listserv.aix-l,comp.unix.aix
  5. Subject: AIXTIPS NEWS 92430
  6. Message-ID: <1992Dec21.131506.8924@muc.ibm.de>
  7. Date: 21 Dec 92 13:15:06 GMT
  8. Sender: news@muc.ibm.de (Newsagent-g6150)
  9. Reply-To: aixtips@ibm.de
  10. Followup-To: comp.unix.aix
  11. Organization: IBM AIX Field Support Center, Munich
  12. Lines: 768
  13.  
  14. This is AIXTIPS NEWS for customers released at Mon the 21. Dec 1992.
  15.  
  16. Table of contents:
  17. 92430. Books for AIX PS/2 1.3
  18. 92434. SIGDANGER - What's the 'correct' way of handling it
  19. 92435. Address change for AIXSERV in the US
  20. 92436. The real story about mixing SCSI-1 and SCSI-2 devices
  21. 92440. How to get your keyboard back after unplugging it the from /6000?
  22. 92444.  RISC SYSTEM LED RECOVER INFORMATION PACKAGE
  23. 92447. HOTW: What shared library funcs are loaded & running?  Use GENLD
  24. ======================================================================
  25.  
  26. Note:
  27. The information in this document has not been submitted to any formal IBM test
  28. or review and is distributed on an "as is" basis without any warranty either
  29. expressed or implied. The use of this information is a customer responsibility
  30. and customers attempting to adapt these techniques to their own environment
  31. do so at their own risk.
  32.  
  33. Some of the tips might reference internal TOOLS disks for more information.
  34. Please contact your IBM representative if you need those documents.
  35.  
  36. Your AIXTIPS Team                       Internet: aixtips@ibm.de
  37. ======================================================================
  38. >92430. Books for AIX PS/2 1.3
  39.  
  40. Note: AIX PS/2 1.3 is not announced in Europe, this is currently US only.
  41.  
  42. Here is the list of doc's and disks from puborder
  43.  
  44. S52G-9945-00   1 AIX PS/2 APPLICATION DEVELOPMENT TOOLK 28.44  92/12/08
  45. S52G-9946-00   1 AIX PS/2 TEXT FORMATTING SYSTEM V-1.3  10.28  92/12/08
  46. S52G-9947-00   1 AIX PS/2 DOS MERGE VERSION 1.3         11.20  92/12/08
  47. S52G-9948-00   1 AIX PS/2 NETWORK FILE SYSTEM VERSION 1  4.49  92/12/08
  48. S52G-9949-00   1 AIX PS/2 TRANS CTRL PROT/INTER PROT V-  9.67  92/12/08
  49. S52G-9950-00   1 AIX PS/2 X.25 VERSION 1.3               8.96  92/12/08
  50. S52G-9951-00   1 AIX PS/2 AIXWINDOWS ENVIROMENT FOR PS/120.00  92/12/08
  51. S52G-9952-00   1 AIX PS/2 X-WINDOWS VERSION 1.3         76.00  92/12/08
  52. S52G-9953-00   1 AIX PS/2 INED/INMAIL/INNET/INFTP VERSI 20.22  92/12/08
  53. S52G-9954-00   1 AIX PS/2 OPERATING SYSTEM EXTENSIONS V 57.29  92/12/08
  54. S52G-9955-00   1 AIX PS/2 XSTATION MANAGER VERSION 1.3  16.46  92/12/08
  55. S52G-9965-00   1 AIX PS/2 OPERATING SYSTEM EXTENSION V- 67.69  92/12/08
  56. S53G-0218-00   1 AIX PS/2 OPERATING SYSTEM VERSION 1.3 123.00  92/12/08
  57. S53G-0219-00   1 AIX PS/2 OPERATING SYSTEM VERSION 1.3 108.00  92/12/08
  58. S53G-0220-00   1 AIX PS/2 OPERATING SYSTEM VERSION 1.3 128.00  92/12/08
  59. S53G-0221-00   1 AIX PS/2 OPERATING SYSTEM V-1.3 UPGRAD113.00  92/12/08
  60. S53G-0226-00   1 AIX PS/2 OPER. SYS. EXT. V-1.3 UPGRADE 58.07  92/12/08
  61. S53G-0227-00   1 AIX PS/2 OPER. SYS. EXT. V-1.3 UPGRADE 68.48  92/12/08
  62. S53G-0228-00   1 AIX PS/2 APPLIC. DEV. TOOLKIT V-1.3 UP 12.00  92/12/08
  63. S53G-0231-00   1 AIX PS/2 FORMATTING SYSYEM V-1.3 UPGRA 11.04  92/12/08
  64. S53G-1159-00   1 AIX PS/2 DOS MERGE VERSION 1.3 UPGRADE  5.10  92/12/08
  65. S53G-1162-00   1 AIX PS/2 INED/INMAIL/INNET/INFTP V-1.3 20.98  92/12/08
  66. S53G-1165-00   1 AIX PS/2 NETWORK FILE SYSTEM V-1.3 UPG  6.04  92/12/08
  67. S53G-1171-00   1 AIX PS/2 X.25 VERSION 1.3 UPGRADE      23.16  92/12/08
  68. S53G-1174-00   1 AIX PS/2 AIXWINDOWS ENVIROMENT V-1.3 U121.00  92/12/08
  69. S53G-1177-00   1 AIX PS/2 X-WINDOWS VERSION 1.3 UPGRADE 65.00  92/12/08
  70. S53G-1180-00   1 AIX PS/2 XSTATION MANAGER V-1.3 UPGRAD 13.05  92/12/08
  71. S53G-1882-00   1 AIX PS/2 XSTATION MANAGER V-1.3         1.11  92/12/08
  72. S53G-1883-00   1 AIX PS/2 XSTA MGR V-1.3 ADD LIC UPGRAD  1.12  92/12/08
  73. S53G-1884-00   1 AIX PS/2 X-WINDOWS VERSION 1.3 ADDITIO  1.11  92/12/08
  74. S53G-1885-00   1 AIX PS/2 X-WIND. V-1.3 UPG ADD. LIC.    1.12  92/12/08
  75. S53G-1886-00   1 AIX PS/2 AIXWIND ENVIR V-1.3 ADD LIC.   1.11  92/12/08
  76. S53G-1887-00   1 AIX PS/2 AIXWIND ENV V-1.3 UPG ADD LIC  1.12  92/12/08
  77. S53G-1888-00   1 AIX PS/2 X.25 VERSION 1.3 ADD LIC       1.11  92/12/08
  78. S53G-1889-00   1 AIX PS/2 X.25 V-1.3 UPGRADE ADD LIC     1.12  92/12/08
  79. S53G-1890-00   1 AIX PS/2 TCP/IP VERSION 1.3 ADD LIC     1.11  92/12/08
  80. S53G-1891-00   1 AIX PS/2 TCP/IP V-1.3 UPG ADD LIC       1.12  92/12/08
  81. S53G-1892-00   1 AIX PS/2 NET FILE SYS V-1.3 ADD LIC     1.11  92/12/08
  82. S53G-1896-00   1 AIX PS/2 DOS MERGE V-1.3 ADD LIC        1.11  92/12/08
  83. S53G-1897-00   1 AIX PS/2 DOS MERGE V-1.3 UPG ADD LIC    1.12  92/12/08
  84. S53G-1898-00   1 AIX PS/2 TXT FORMAT SYS V-1.3 ADD LIC   1.11  92/12/08
  85. S53G-1900-00   1 AIX PS/2 APPL DEV TKIT V-1.3 ADD LIC    1.11  92/12/08
  86. S53G-1902-00   1 AIX PS/2 OP SYS V-1.3 EXT ADD LIC       1.11  92/12/08
  87. S53G-1903-00   1 AIX PS/2 OP SYS V-1.3 EXT UPG ADD LIC   1.11  92/12/08
  88. S53G-1904-00   1 AIX PS/2 OPER SYS V-1.3 ADD LIC         1.11  92/12/08
  89. S53G-1905-00   1 AIX PS/2 OP SYS V-1.3 UPG ADD LIC       1.11  92/12/08
  90. ======================================================================
  91. >92434. SIGDANGER - What's the 'correct' way of handling it
  92.  
  93. : 1) When does the AIX 3.2 generate SIGDANGER ?
  94. SIGDANGER is sent when the number of free pages falls below 512.
  95.  
  96. : 2) If the condition persists, will AIX 3.2 start killing processes ?
  97. :    If so, by what criteria will it choose its victim's (largest
  98. :    memory consumer, youngest process,...)?
  99. When less than 128 pages remain, the system starts killing processes.
  100. It kills the youngest first in 3.2.  It used to kill the largest.
  101. It will not kill any process that is catching SIGDANGER, unless that
  102. is the process that is demanding a new page and there are fewer than
  103. 64 pages remaining.
  104.  
  105. : 3) Are there any guidelines for the actions a process should take
  106. :    when SIGDANGER is delivered ?
  107. Get rid of any extra memory that you might have.  This is not a
  108. practical suggestion in most cases, but it is the only thing that
  109. could possibly help.  (It is not sufficient to free malloc'd memory.
  110. The disclaim() function can be used, but it must be done carefully.)
  111.  
  112. G.N.
  113. ======================================================================
  114. >92435. Address change for AIXSERV in the US
  115. *****************************************************************
  116. *                                                               *
  117. * NOTE:  CHANGE OF EMAIL ADDRESSES TO OCCUR DECEMBER 14TH 1992  *
  118. *                                                               *
  119. * On December 14th 1992 users of AIXServ will need to change    *
  120. * the addresses used to send AIXServ transactions to the Austin *
  121. * support center.  Use option 6) Edit defaults to change the    *
  122. * BUGADDR and SERVADDR fields.  The new entries should appear   *
  123. * as:                                                           *
  124. *                                                               *
  125. * BUGADDR="aixbugs@austin.ibm.com"                              *
  126. * SERVADDR="services@austin.ibm.com"                            *
  127. *                                                               *
  128. * The old address will no longer work after December 14th, but  *
  129. * must be used until that date.                                 *
  130. *                                                               *
  131. * Any questions regarding this change should be sent to         *
  132. * services@austin.ibm.com.                                      *
  133. *                                                               *
  134. * These address changes will allow much better response times   *
  135. * (minutes rather than hours or days).                          *
  136. *                                                               *
  137. *****************************************************************
  138.  
  139. ======================================================================
  140. >92436. The real story about mixing SCSI-1 and SCSI-2 devices
  141.  
  142.  My apologies, I posted an error in the AIXTIPS NEWS item 92359 about SCSI
  143.  compatibility. For mixing SCSI-2 and SCSI-1 devices on a SCSI-2 adapter the
  144.  following is correct:
  145.  
  146.  The transmission rate between a SCSI I/O controller and a SCSI device is
  147.  negotiated between the two; the synchronous transfer rate will be the fastest
  148.  rate supported by both devices. If you have a SCSI-1 I/O controller the
  149.  fastest rate you can get will be SCSI-1 rates regardless of what devices are
  150.  attached. If you have a SCSI-2 I/O Controller, it will negotiate a SCSI-1
  151.  rate(4-5 MB/sec) with SCSI-1 devices and it will negotiate a SCSI-2 rate(10
  152.  MB/sec) with SCSI-2 devices. I hope you can now understand why on a
  153.  SCSI-2 bus you will have different rates for SCSI-1 devices and SCSI-2
  154.  devices.
  155.  
  156.  SCSI-2 performance is also faster that just the rate difference(10 vs 4
  157.  MB/sec)as SCSI-2 includes a feature called "command tag queing" which
  158.  can que up commands for a device and thus reduce bus latency and improve
  159.  performance.
  160.  
  161.  Thanks to Ken for pointing this out.
  162. ======================================================================
  163. >92440. How to get your keyboard back after unplugging it the from /6000?
  164.  
  165.   How to get the keyboard back to life after unplugging?
  166.  
  167.   When you unplug your keyboard from a running system, and plug it back
  168.   in, the key mapping is wrong.  For example, keys like Caps Lock and Ctrl
  169.   don't work as designed.
  170.  
  171.   Now there is a solution : run the diagnostics on the keyboard.
  172.   But watch out, if you run diag and try to go through the
  173.   menus, you might be in trouble since the arrow keys don't work.
  174.  
  175.   The magic order is to type at the command line:
  176.                 /usr/lpp/diagnostics/da/dkbd
  177.  
  178.   Your screen goes black, you hear a few beep, and your keyboard is reset.
  179.   It works with any environment, Xwindows, hft, NLS...
  180.   Tips from Mickey Coggins and tested
  181.  
  182.   Anne Serre
  183. ======================================================================
  184. >92444.  RISC SYSTEM LED RECOVER INFORMATION PACKAGE
  185.                                                  
  186.                                                  
  187. Information:                                     
  188.                                                  
  189. TITLE: LED Recovery Procedures                   
  190.                                                  
  191. DESCRIPTION:  This file is a compilation of LED recovery procedures. 
  192.  
  193. DATE:  8/24/92                                                       
  194.  
  195.   RECOVERY FROM AN LED 201 IN AIX 3.1 AND 3.2                        
  196.  
  197.   CAUSES OF AN LED 201                                               
  198.  
  199.         An LED 201 during IPL is most often caused by a corrupted    
  200.         boot logical volume; however, it can also be caused by a     
  201.         hardware problem.  If LED 299 appears before LED 201, a      
  202.         corrupted boot logical volume is probably the cause.  If     
  203.         LED 299 does not appear, the cause may be hardware.          
  204.         The boot logical volume can become corrupted if the /        
  205.         (root) or /tmp filesystem is full when the bosboot           
  206.         command is run.  This may occur during the installation      
  207.         of updates.                                                  
  208.  
  209.   SUMMARY OF THE RECOVERY PROCEDURE                                  
  210.  
  211.         If the cause is a corrupted boot logical volume, erase       
  212.         files as necessary to free space on /dev/hd4 and             
  213.         /dev/hd3.                                                    
  214.        If the cause seems to be hardware, follow the steps to   
  215.        check the boot logical volume, to make sure the boot     
  216.        logical volume is not corrupted.  Then, check the error  
  217.        log for a hardware check stop, and contact your local    
  218.        branch office.  (To check the error log, type "errpt |   
  219.        more".)                                                  
  220.  
  221.  STEPS                                                          
  222.  
  223.        1.  Turn the key to the Service position.                
  224.  
  225.        2.  With bosboot diskettes or tape OF THE SAME VERSION   
  226.            AND LEVEL AS THE SYSTEM, boot the system, and go to  
  227.            the installation/maintenance menu.                   
  228.  
  229.            NOTES:                                               
  230.            a.  The bosboot diskettes or tape must match the     
  231.                version and level on the system.  If you mix AIX 
  232.                3.1 and 3.2, you may damage the system.  Also,   
  233.                many steps will not work if you mix levels of    
  234.                3.1.                                             
  235.  
  236.        3.  Choose the maintenance shell (option 5 for AIX 3.1,  
  237.            option 4 for AIX 3.2).                                 
  238.  
  239.                   Recovery from an LED 201 in AIX 3.1 and 3.2  1  
  240.  
  241.        4.  If you have more than one fixed disk, determine which  
  242.            one contains the boot logical volume (hd5).  To do     
  243.            this, see "Finding the Boot Logical Volume" at         
  244.            the end of this document.                              
  245.            If you have only one fixed disk, that disk             
  246.            (hdisk0) contains the boot logical volume.             
  247.  
  248.        5.  Now access the fixed disk that contains the boot       
  249.            logical volume by running /etc/continue (for AIX 3.1)  
  250.            or getrootfs (for AIX 3.2).  ('#' is the number of     
  251.            the fixed disk, determined in step 4.)                 
  252.            For AIX 3.1 only, run                                  
  253.                 /etc/continue hdisk#                              
  254.            For AIX 3.2 only, run                                  
  255.                 getrootfs hdisk#                                  
  256.  
  257.        6.  Use the df command to check for free space in          
  258.            /dev/hd3 and /dev/hd4.                                 
  259.                 df  /def/hd3                                      
  260.                  df  /def/hd3                                            
  261.                  df  /dev/hd4                                            
  262.  
  263.         7.  If df showed that either filesystem is out of space,         
  264.             erase some files from that filesystem.  Two files you        
  265.             may want to erase are /smit.log and /.sh_history.            
  266.  
  267.         8.  Determine which disk is the boot disk with the lslv          
  268.             command.  The boot disk will be shown in the PV1             
  269.             column of the lslv output.                                   
  270.                  lslv -m hd5                                             
  271.  
  272.         9.  Recreate the boot image.  (hdisk# is the boot disk           
  273.             determined in step 8.)                                       
  274.                  bosboot -a -d /dev/hdisk#                               
  275.  
  276.         10. With the key in Normal position, shutdown the system.        
  277.                  shutdown -Fr                                            
  278.  
  279.         11. If LED 201 still occurs when you reboot your system,         
  280.             contact your local branch office.                            
  281.  
  282. ----------------------------------------------------------------------
  283.   RECOVERY FROM LED 223/229, 225/229, 221/229, OR 221                    
  284.  
  285.   CAUSES OF LED 223/229, 225/229, 221/229, OR 221                 
  286.  
  287.        An alternating LED 223/229, alternating LED 225/229,      
  288.        alternating LED 221/229, or solid LED 221 occurs in AIX   
  289.        3.1 or 3.2 on the RISC System/6000 when the system cannot 
  290.        locate the boot image.                                    
  291.  
  292.  SUMMARY OF THE RECOVERY PROCEDURE                               
  293.  
  294.        To recover from this problem, rebuild the boot list.      
  295.  
  296.  STEPS                                                           
  297.  
  298.        1.  Turn the key to the Service position.                 
  299.  
  300.        2.  While booting from the hard disk, watch for the light 
  301.            on the diskette drive.  When you see the light, turn  
  302.            the key to Normal position.                           
  303.  
  304.        3.  When the machine has booted, log in as root.          
  305.  
  306.        4.  Use the bootlist command to rebuild the boot list.    
  307.                 bootlist -m normal scdisk                        
  308.  
  309.        5.  With the key in Normal position, shutdown and reboot. 
  310.                 shutdown -Fr                                     
  311.  
  312.        6.  If you still get LEDs 223/229, 225/229, 221/229, or   
  313.             221, you may have a more serious problem, such as a           
  314.             missing boot logical volume.  Contact your branch             
  315.             office SE (Systems Engineer).                                 
  316. ----------------------------------------------------------------------
  317.  
  318.  There are several reasons for an LED 551:                                
  319.  
  320.  You should be able to follow the procedures for LED 552 to correct       
  321.  the problems mentioned below.                                            
  322.  
  323.  PROBLEM                       Solution                                   
  324. _________________________________________________________________________ 
  325.  /dev missing, or corrupted  - mkdir /dev                                 
  326.  /bin empty or missing       - reinstall                                  
  327.  bad boot logical volume     - bosboot -a                                 
  328.  /etc problems               - restore selective files                    
  329.                                      if possible, or reinstall            
  330.  corrupted filesystems       - fsck /dev/hd4 as per LED552                
  331.  a bad install of the system - install AIX properly                       
  332. **********************************************************************    
  333.  
  334.  LED 552 SYSTEM RECOVERY FOR AIX 3.1 AND 3.2                    
  335.  
  336.  CAUSES OF AN LED 552                                           
  337.  
  338.        The known causes of an LED 552 during IPL on an RS/6000  
  339.        are:                                                     
  340.        o   A corrupted file system.                             
  341.        o   A corrupted journaled-file-system (JFS) log device.  
  342.        o   A bad IPL-device record or bad IPL-device magic      
  343.            number.  (The magic number indicates the device      
  344.            type.)                                               
  345.        o   A corrupted copy of the ODM (Object Data Manager)    
  346.            database on the boot logical volume.                 
  347.        o   A fixed disk (hard disk) in the state of inactive in 
  348.            the root volume group.                               
  349.  
  350.  SUMMARY OF THE RECOVERY PROCESS                                
  351.  
  352.        To diagnose and fix the problem, you will need to boot   
  353.        from the bosboot diskettes or tape and run fsck (file-   
  354.        system check) on each file system.  If the file-system   
  355.        check fails, you may need to reformat the JFS log.       
  356.                                                          
  357.  STEPS                                                          
  358.  
  359.        1.  Turn the key to the Service position.                
  360.  
  361.        2.  With bosboot diskettes or tape OF THE SAME VERSION   
  362.            AND LEVEL AS THE SYSTEM, boot the system, and go to  
  363.            the installation/maintenance menu.                   
  364.  
  365.            NOTES:                                               
  366.  
  367.            a.  The bosboot diskettes or tape must match the     
  368.                version and level on the system.  If you mix AIX 
  369.                3.1 and 3.2, you may damage the system.  Also,   
  370.                many steps will not work if you mix levels of    
  371.                3.1.                                             
  372.            b.  If you get a 552 on this step, the diskette or   
  373.                tape is bad, and the machine is trying to boot   
  374.                off the fixed disk.  Try it again with new       
  375.                bosboot diskettes or tape.                       
  376.  
  377.        3.  Choose the maintenance shell (option 5 for AIX 3.1,  
  378.            option 4 for AIX 3.2).                               
  379.  
  380.        4.  If you have more than one fixed disk, determine which
  381.            one contains the boot logical volume (hd5).  To do   
  382.            this, see "Finding the Boot Logical Volume" at the end  
  383.            of this document.                                       
  384.            If you have only one fixed disk, that disk              
  385.            (hdisk0) contains the boot logical volume.              
  386.  
  387.        5.  Now access the fixed disk that contains the boot        
  388.            logical volume by running /etc/continue (for AIX 3.1)   
  389.            or getrootfs (for AIX 3.2).  ('#' is the number of      
  390.            the fixed disk, determined in step 4.)                  
  391.            For AIX 3.1 only, run                                   
  392.                /etc/continue hdisk# sh                             
  393.            For AIX 3.2 only, run                                   
  394.                getrootfs hdisk# sh                                 
  395.  
  396.        6.  Next, run the following commands to check and repair    
  397.            file systems.  (The "-y" option gives fsck permission   
  398.            to repair file systems when necessary.)                 
  399.                fsck -y /dev/hd1                                    
  400.                fsck -y /dev/hd2                                    
  401.                fsck -y /dev/hd3                                    
  402.                fsck -y /dev/hd3                                    
  403.                fsck -y /dev/hd4                                    
  404.  
  405.            For AIX 3.2 only, also run                              
  406.                fsck -y /dev/hd9var                                 
  407.            If fsck indicates a file system with an unknown log     
  408.            record type or fails in the logredo process, then       
  409.            proceed to step 7.  IF THE FILE SYSTEM CHECKS WERE      
  410.            SUCCESSFUL, SKIP TO STEP 9.                             
  411.  
  412.        7.  A corruption of the JFS log logical volume has been     
  413.            detected.  Use the logform command to reformat it.      
  414.            On AIX 3.1 only, run                                    
  415.                /etc/aix/logform  /dev/hd8                          
  416.            On AIX 3.2 only, run                                    
  417.                logform /dev/hd8                                    
  418.            Answer YES when asked if you want to destroy the log.   
  419.  
  420.        8.  Repeat step 6.  If step 6 fails, the file system is     
  421.            almost always unrecoverable -- see "Dealing With        
  422.            Unrecoverable File Systems" after these steps.  In most 
  423.            cases, step 6 will be successful.  In that case, con-   
  424.            tinue to step 9.                                              
  425.  
  426.         9.  With the key in Normal position, power down your machine      
  427.             Wait a couple seconds, then power it back up.                 
  428.         The majority of LED 552s will be resolved at this point.          
  429.         If the LED 552 persists, contact your local branch                
  430.         office.                                                           
  431.  
  432.   DEALING WITH UNRECOVERABLE FILE SYSTEMS                                 
  433.  
  434.         The easiest way to fix an unrecoverable file system is to         
  435.         recreate it.  This involves deleting it from the system           
  436.         and restoring it from a backup.  Note that hd2 and hd3            
  437.         can be recreated but hd4 cannot be recreated.  If hd4 is          
  438.         unrecoverable, you must reinstall AIX.  For assistance            
  439.         with unrecoverable file systems, contact your local               
  440.         branch office.                                                    
  441.  
  442. ----------------------------------------------------------------------
  443.  
  444. LED 553                                                                   
  445.  
  446. The system will stop during IPL with 553 in the LEDs if init has a        
  447. problem running or in reading the inittab file.  This will often occur    
  448. when the /tmp or the / filesystem is full.                               
  449. The following procedure can be used to correct this problem.             
  450.   - With the key in the 'SERVICE' position, boot from your               
  451.     installation media                                                   
  452.   - Select option 5 from the installation menu                           
  453.   - Type the following command to vary on the root volume group          
  454.   AIX 3.1 only:                                                          
  455.            /etc/continue hdisk0                                          
  456.   AIX 3.2 only:                                                          
  457.            getrootfs hdisk0                                              
  458.   - check for and correct an out of space condition                      
  459.   Use 'df' to check for free space in /dev/hd4 and /dev/hd3.             
  460.   Erase files as necessary to correct the problem.  Suspect              
  461.   /smit.log and /smit.script as being the problem.                       
  462.   - Check the /etc/inittab for corruption:  Usually it will be empty, or 
  463.     missing or have an entry in it that is not correct:                  
  464.   - If inittab is corrupted then do the following:                       
  465.   - Create the /etc/inittab file using your favorite editor.  You       
  466.     must set your TERM environment variable using commands similar       
  467.     to the following prior to starting the editor.                       
  468.  
  469. # export  TERM=hft                                                       
  470.  
  471.   -  if the inittab file was ok, then check the following files for      
  472.      any modification or permissions problem:                            
  473.         /etc/environment                                                 
  474.         /bin/sh                                                          
  475.         /bin/bsh                                                         
  476.         /etc/fsck missing or corrupted.  This can be copied from the ram 
  477.             filesystem                                                   
  478.         /etc/profile                                                     
  479.         /.profile                                                        
  480.         /etc/brc  (3.1)                                                  
  481.            or                                                            
  482.         /sbin/rc.boot (3.2)                                              
  483.   - Also, if running 3.2, make sure the inittab is 3.2 (not 3.1).        
  484.     The line that starts out "brc" should read:                          
  485.            brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 (version 3.2) 
  486.                                                                          
  487.            brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 (version 3.2)  
  488.        NOT                                                                
  489.            brc::sysinit:/etc/brc >/dev/console 2>&1        (version 3.1)  
  490.   - Place the key in 'NORMAL', execute the following command              
  491.     shutdown -Fr                                                          
  492.  : @(#)inittab   1.22  com/cfg/etc,3.1,9021 4/6/90 17:18:07               
  493.  init:2:initdefault:                                                      
  494.  brc::sysinit:/etc/brc >/dev/console 2>&1 # Phase 2 of system boot        
  495.  rc:2:wait:/etc/rc > /dev/console 2>&1  # Multi-User checks               
  496.  srcmstr:2:respawn:/etc/srcmstr        # System Resource Controller       
  497.  rctcpip:2:wait:/etc/rc.tcpip > /dev/console 2>&1 # Start TCP/IP daemons  
  498.  cons:0123456789:respawn:/etc/getty /dev/console                          
  499.  piobe:2:once:/bin/rm -f /usr/lpd/pio/flags/*  # Clean up printer flags   
  500.  files                                                                    
  501.  cron:2:respawn:/etc/cron                                                 
  502.  qdaemon:2:once:/bin/startsrc -sqdaemon                                   
  503.  writesrv:2:once:/bin/startsrc -swritesrv                                 
  504.  
  505. LED C99                                                                   
  506.  
  507. The LED C99 is usually caused by a bad /usr/bin/odmget command.           
  508. /usr may be missing, or the /etc/filesystems file may be corrupted.     
  509.  
  510.  1) Boot from bosboot diskette or tape and get to install/maint menu    
  511.     - Key in service position                                           
  512.  
  513.  2) choose option 5                                                     
  514.  
  515.  3) run:                                                                
  516.     AIX 3.1 only:                                                       
  517.            /etc/continue hdisk0                                         
  518.     AIX 3.2 only:                                                       
  519.            getrootfs hdisk0                                             
  520.     - See the section on "Finding the Boot Logical Volume" at the       
  521.       end of this document.                                             
  522.  
  523.  4) Check to see if /etc/filesystems has the /usr filesystem in it.     
  524.  
  525.  5) use the mount command to check to see if /usr is mounted.           
  526.  
  527.  6) # cd /usr/bin                                                       
  528.     If the command fails, then /usr/bin needs to be restored.           
  529.  
  530.  7) # ls -l /usr/bin/odmget                                             
  531.     If there is no odmget, then check to see if other files are missing 
  532.     from /usr/bin.                                                      
  533.     from /usr/bin.                                                    
  534.  
  535. LED C31                                                               
  536.  
  537.  1) Boot from bosboot diskette or tape and get to install/maint menu  
  538.     - Key in service position                                         
  539.  
  540.  2) choose option 5                                                   
  541.  
  542.  3) run:                                                              
  543.     AIX 3.1 only:                                                     
  544.            /etc/continue hdisk0                                       
  545.     AIX 3.2 only:                                                     
  546.            getrootfs hdisk0                                           
  547.     - See the section on "Finding the Boot Logical Volume" at the     
  548.       end of this document.                                           
  549.  
  550.  4) chcons -a login=enable /dev/hft/0                                 
  551.  
  552.  5) reboot in normal mode.                                            
  553.  
  554.  6) If you still have LED C31, then repeat step 1-3, and goto step 7. 
  555.  
  556.  7)  Next,                                                            
  557. # mkdir /etc/objrepos/bak                                             
  558. # cp /etc/objrepos/Cu* /etc/objrepos/bak                              
  559. # cp /etc/objrepos/boot/Cu* /etc/objrepos                             
  560. # cp /etc/objrepos/boot/Cu* /etc/objrepos                                 
  561. # savebase                                                                
  562. ----------------------------------------------------------------------
  563. (from file /u/hsim/other/led518_3.2)                                      
  564.  
  565.   RECOVERY FROM AN LED 518 IN AIX 3.2                                     
  566.  
  567.   CAUSES OF LED 518                                                       
  568.  
  569.         When a preservation installation is followed by "BOS              
  570.         Installation Completion Tasks," some stanzas (sections)           
  571.         from the old /etc/filesystems file are copied over corre-         
  572.         sponding stanzas in the new file.  Because of differences         
  573.         between AIX 3.1 and 3.2, some variables are not set cor-          
  574.         rectly, and /dev/hd1 may be mapped to /u instead of               
  575.         /home.                                                            
  576.         This problem does not become apparent until                       
  577.         o   the user rebuilds the boot logical volume ("bosboot           
  578.             -a") and reboots or                                           
  579.         o   the user creates a system image with mksysb and then          
  580.             tries to reinstall from that image.                           
  581.         The first case results in an LED 518 during reboot.  The          
  582.         second results in a failed reinstall.                    
  583.  
  584.         NOTES:                                                   
  585.  
  586.         1.  This /etc/filesystems problem occurs whether the     
  587.             system is installed from tape, over a network, or    
  588.             from a /usr server.                                  
  589.  
  590.         2.  This problem does not occur with the "Upgrade Utili- 
  591.             ties" package.                                       
  592.  
  593.         3.  APAR IX26523 addresses this problem.                 
  594.  
  595.   SUMMARY OF RECOVERY PROCEDURE                                  
  596.  
  597.         In the file /etc/filesystems, append "type=bootfs" to the
  598.         /, /usr, and /var stanzas.  Make sure /dev/hd1 is mapped 
  599.         to /home in /etc/filesystems.  Then recreate the boot    
  600.         device.                                                  
  601.  
  602.   STEPS                                                          
  603.  
  604.         1.  Turn the key to the Service position.                
  605.  
  606.         2.  With bosboot diskettes or tape OF THE SAME VERSION   
  607.             AND LEVEL AS THE SYSTEM, boot the system, and go to  
  608.             the installation/maintenance menu.                   
  609.             the installation/maintenance menu.                    
  610.             NOTES:                                                
  611.             a.  The bosboot diskettes or tape must match the      
  612.                 version and level on the system.  If you mix AIX  
  613.                 3.1 and 3.2, you may damage the system.           
  614.  
  615.         3.  Choose the maintenance shell (option 4).              
  616.  
  617.         4.  Run getrootfs without any parameters, and note which  
  618.             fixed disk (hdisk#) is listed as the boot disk.  If   
  619.             getrootfs shows more than one boot disk, choose any   
  620.             boot disk listed.  (In a later step we will determine 
  621.             which one is really the boot disk.)                   
  622.                 getrootfs                                         
  623.  
  624.         5.  Now access the boot disk by running getrootfs with    
  625.             the hdisk name for the boot disk.                     
  626.                 getrootfs hdisk#                                  
  627.  
  628.         6.  Change to the /etc directory.                         
  629.                 cd /etc                                           
  630.  
  631.         7.  Set your terminal type in preparation for editing a   
  632.             file.  (xxx is a terminal type, such as hft, ibm3151, 
  633.             or vt100.)                                                    
  634.                 TERM=xxx                                                  
  635.                 export TERM                                               
  636.  
  637.         8.  Edit the file /etc/filesystems.  In stanzas /, /usr,          
  638.             and /var, append "type = bootfs".  Also, make sure /dev/hd1   
  639.             is mapped to /home and not to /u; meaning that the first      
  640.             line of the stanza that has "dev = /dev/hd1" in it is written 
  641.             as "/home:" rather than "/u:" and that the "vol = " line is   
  642.             "vol = /home" rather than "vol = /u", in that same stanza.    
  643.             (For an example, see "EXAMPLE OF /etc/filesystems FOR AIX     
  644.             3.2" after these steps.)                                      
  645.  
  646.         9.  Determine which disk is the boot disk with the lslv           
  647.             command.  The boot disk will be shown in the PV1              
  648.             column of the lslv output.                                    
  649.             If getrootfs showed only one boot disk in step 4,             
  650.             then lslv should show the same boot disk.  AT THIS            
  651.             POINT, IT IS VERY IMPORTANT TO DETERMINE THE CORRECT          
  652.             BOOT DISK.                                               
  653.                 lslv -m hd5                                          
  654.  
  655.         10. Now, recreate the boot device.  ('#' is the number of    
  656.             the fixed disk determined in step 9.)                    
  657.                 bosboot -a -d /dev/hdisk# -l /dev/hd5 -u             
  658.  
  659.         11. Shutdown the system.                                     
  660.                 shutdown -F                                          
  661.  
  662.         12. With the key in Normal position, reboot the system.      
  663.  
  664.         13. We recommend that you create a new full-system backup    
  665.             because previous ones may be bad.  To display the        
  666.             System Startup Menu, from which you can backup your      
  667.             system, type "smit startup".                             
  668.  
  669.   EXAMPLE OF /etc/filesystems FOR AIX 3.2                            
  670.  
  671.         The following is an example of the /, /usr, /var, and /home  
  672.         stanzas of the /etc/filesystems file.                        
  673.           /:                                                         
  674.                    dev   = /dev/hd4                                  
  675.                    vfs   = jfs                                       
  676.                    log   = /dev/hd8                                  
  677.                    log   = /dev/hd8    
  678.                    mount = automatic   
  679.                    check = false       
  680.                    type  = bootfs      
  681.                    vol   = root        
  682.                    free  = true        
  683.           /usr:                        
  684.                    dev   = /dev/hd2    
  685.                    vfs   = jfs         
  686.                    log   = /dev/hd8    
  687.                    mount = automatic   
  688.                    check = false       
  689.                    type  = bootfs      
  690.                    vol   = /usr        
  691.                    free  = false       
  692.           /var:                        
  693.                    dev   = /dev/hd9var 
  694.                    vfs   = jfs         
  695.                    log   = /dev/hd8    
  696.                    log   = /dev/hd8                                       
  697.                    mount = automatic                                      
  698.                    check = false                                          
  699.                    type  = bootfs                                         
  700.                    vol   = /var                                           
  701.                    free  = false                                          
  702.           /home:                                                          
  703.                    dev   = /dev/hd1                                       
  704.                    vfs   = jfs                                            
  705.                    log   = /dev/hd8                                       
  706.                    mount = true                                           
  707.                    check = true                                           
  708.                    vol   = /home                                          
  709.                    free  = false                                          
  710. ----------------------------------------------------------------------
  711.  
  712.   FINDING THE BOOT LOGICAL VOLUME                                         
  713.  
  714.         The Installation/Maintenance mode may assign a different          
  715.         hdisk name to a physical volume (fixed disk) than the             
  716.         multi-user mode assigns.  To access the boot logical      
  717.         volume with /etc/continue or getrootfs, you will need to  
  718.         know the hdisk name of one of the disks in the same       
  719.         volume group as hd5 (the boot logical volume).            
  720.  
  721.         NOTE:  For the bosboot command, you will need to know the 
  722.         exact disk for hd5 (not just one of the disks in the      
  723.         group).  THESE INSTRUCTIONS WILL NOT NECESSARILY PROVIDE  
  724.         THE CORRECT DISK FOR THE BOSBOOT COMMAND.                 
  725.         If you have only one disk, then that disk (hdisk0) con-   
  726.         tains hd5.  Use hdisk0 with the /etc/continue (for AIX    
  727.         3.1) or getrootfs (for AIX 3.2) command.                  
  728.         If you have more than one disk and you are running AIX    
  729.         3.2, run getrootfs without any parameters to get a        
  730.         listing of disks.                                         
  731.              getrootfs                                            
  732.         Use one of the disks marked as a boot disk for the        
  733.         getrootfs command.                                        
  734.         If you have more than one disk and you are running AIX    
  735.         3.1, run the following command for each hdisk# (hdisk0, 
  736.         hdisk1, etc.)  until hd5 appears in column two.  (This  
  737.         command lists all the all the physical and logical      
  738.         volumes in the volume group.)                           
  739.              lqueryvg -p hdisk# -At                             
  740.         The hdisk# for which hd5 appears is the hdisk# to use   
  741.         with /etc/continue.                                     
  742.  
  743. Source: IBM AIX Software Support Center, Austin, Texas
  744. ======================================================================
  745. >92447. HOTW: What shared library funcs are loaded & running?  Use GENLD
  746.  
  747.  Curious as to what shared library functions are loaded and running
  748.  by each process on your system?  GENLD is another one of those
  749.  un(der)documented and unsupported commands shipped with the AIX BOS.
  750.  It can be found in the directory, "/usr/lpp/bosperf/lib"
  751.  
  752.  Example:  # genld  (I've editted out many of the duller items)
  753.  
  754.  Proc_pid:     4919        Proc_name: inetd
  755.                                  d00ae000  /usr/lib/libs.a/shr.o
  756.                                  d0100000  /lib/libodm.a/shr.o
  757.                                  d0230000  /lib/libsrc.a/shr.o
  758.                                  d0227000  /lib/libbsd.a/shr.o
  759.                                  d00cb000  /usr/lib/libc.a/meth.o
  760.                                  d0002000  /usr/lib/libc.a/shr.o
  761.                                  10000000  inetd
  762.  
  763.  Proc_pid:     6746        Proc_name: X
  764.                                  d02e4000  /usr/lpp/gai/adapter3.r4/load2d/
  765.                                  d02dd000  /usr/lpp/gai/adapter3.r4/loadrms/
  766.                                  d02db000  /usr/lib/libgair4.a/shr.o
  767.                                  d02c0000  /usr/lpp/gai/loadddx/
  768.                                  d010d000  /lib/libcfg.a/shr.o
  769.                                  d0100000  /lib/libodm.a/shr.o
  770.                                  d029f000  /usr/lib/libdbm.a/shr.o
  771.                                  d00cb000  /usr/lib/libc.a/meth.o
  772. -d
  773. ======================================================================
  774.  
  775.  
  776. -- 
  777. Andreas Siegert / Postmaster   IBM Deutschland GmbH   |   Never grep a yacc
  778. AIX Field Support Center       Pocci Strasse 11       |   by the i-node!
  779. Internet: afx@ibm.de           D-8000 Muenchen 2      |   Opinions are my own,
  780. VNET: SIEGERT@MUNIVM4          Voice: (49)-(89)-7670-509  not IBM's.
  781.