01/24/95 Recovery from an LED 727 in AIX 3.2 SPECIAL NOTICES Information in this document is correct to the best of our knowledge at the time of this writing. Please send feedback by fax to "AIXServ Information" at (512) 823-4009. Please use this information with care. IBM will not be responsible for damages of any kind resulting from its use. The use of this information is the sole responsibility of the customer and depends on the customer's ability to eval- uate and integrate this information into the customer's operational environment. +----------------------------------------------------------+ | | | NOTE: The information in this document has NOT been | | verified for AIX 4.1. | | | +----------------------------------------------------------+ CAUSE OF AN LED 727 In AIX 3.2 on the RISC System/6000, the system may hang on LED 727 during a boot in Normal mode if devices are defined on a concentrator but are not attached. This is a known problem -- refer to APAR ix23405 for more information. SUMMARY OF THE RECOVERY PROCEDURE To recover from LED 727, list all the ttys and printers with lsdev. Then, for each device listed as "defined", remove the definition or attach the device. STEPS 1. Turn the key to the Service position. 2. With BOSboot diskettes or tape OF THE SAME VERSION AND LEVEL AS THE OPERATING SYSTEM, boot the system. +----------------------------------------------------------+ | | | WARNING: If you boot a 3.2 system with 3.1 media, or | | boot a 3.1 system with 3.2 media, then you will not be | | able to use the standard scripts (getrootfs or | | /etc/continue) to bring your workstation into full main- | | tenance mode. | | | | Moreover, performing the scripts on a 3.1 system with | | 3.2 boot media may actually remove some files and | | prevent your system from booting successfully in normal | | mode until missing files (/etc/mount and /etc/umount) | | are replaced on the disk. | | | +----------------------------------------------------------+ Recovery from an LED 727 in AIX 3.2 1 01/24/95 NOTES: a. For information on BOSboot diskettes, refer to InfoExplorer or order fax #2462 from 1-800-IBM-4FAX (or 415-855-4FAX outside the U.S. from a fax machine phone). b. If booting from diskettes, when you see LED c07, insert the next diskette. This may be the optional display extensions diskette (required for AIX 3.2.5) or the display diskette. c. If you have AIX 3.2.5, used a fddi network install, and selected that option for the install device, you will need the communications extensions diskette. If this diskette is not available, you can build it from another system with fddi installed or call your branch office for assistance. Follow the prompts to the installation/maintenance menu. 3. Choose the maintenance shell (option 4). 4. Determine the hdisk# to use with the getrootfs command. If you have only one disk, then "hdisk0" is the proper hdisk# to use. If you have more than one disk, do the following: o FOR AIX 3.2.4 OR LATER: Run getrootfs The output indicates the disk that should be used with getrootfs in the next step. o FOR AIX 3.2 TO 3.2.3E: Run lqueryvg -Atp hdisk# | grep hd5 for each hdisk# (hdisk0, hdisk1, etc.) until you get output that looks like: 00005264feb3631c.2 hd5 1 The exact output you get will be different but will follow the form large_number.x hd5 1 You may find more than one disk has this output. These will all be disks which belong to the rootvg volume group. You may use any of the disks identi- fied to be in rootvg in the following step. Recovery from an LED 727 in AIX 3.2 2 01/24/95 5. Now access the rootvg volume group by running getrootfs. ('#' is the number of the fixed disk, determined in step 4.) getrootfs hdisk# If you get errors from getrootfs, do not continue with the rest of this procedure. Correct the problem causing the error. If you need assistance correcting the problem causing the error, contact one of the following: o local branch office o your point of sale o 1-800-CALL-AIX (to register for fee-based services) 6. For AIX 3.2.4 or greater, enter the following command: ODMDIR=/dev/objrepos 7. Next, set the TERM environment variable in preparation for using smit in later steps (xxx is a terminal type, such as hft, ibm3151, or vt100). TERM=xxx export TERM 8. To list all ttys and printers, run the following com- mands: lsdev -C | grep tty lsdev -C | grep lp 9. For each 16-port concentrator device that is shown as "defined", either remove its definition or attach it so that it becomes "available". Example 1: Suppose "lsdev -C | grep tty" shows: tty0 available 00-00-S1-00 tty3 available 00-07-01-13 tty4 defined 00-07-04-15 You do not have to worry about tty0, because it is on serial port 1, or tty3, because it is "available". For tty4, you need to either remove the definition or attach a terminal device to concentrator port 00-07-04-15. Example 2: Suppose "lsdev -C | grep lp" shows: lp0 available 00-00-0p-00 lp3 available 00-07-01-13 lp4 defined 00-07-04-15 lp1 defined 00-07-02-11 You do not have to worry about lp0, because it is on the parallel port, or lp3, because it is "available". For lp1 and lp4, you need to either remove the definitions or attach printers to concentrator ports 00-07-04-15 and 00-07-02-11. Recovery from an LED 727 in AIX 3.2 3 01/24/95 10. If you decide to attach the devices, you can do so through the smit interface with "smit device". When you are finished, reboot in Normal mode. IF YOU SUCCESSFULLY ATTACHED THE DEVICES AND REBOOTED, YOU ARE FINISHED WITH THESE INSTRUCTIONS. If the system still hangs on LED 727, or if you do not have the devices to attach to the "defined" ports, then you must remove these device definitions from the system. 11. You can remove the devices through the smit interface with "smit device" or from the command line with one of the following commands. (Replace "#" with the appro- priate number.) rmdev -l lp# -d or rmdev -l tty# -d IF YOU SUCCESSFULLY REMOVED THE DEVICES, SKIP TO STEP 15. YOU MAY RECEIVE THE FOLLOWING ERROR WHEN YOU TRY TO REMOVE THE DEVICES. 0514-039 ERROR UNLOADING KERNEL EXTENSION METHOD ERROR: /ETC/METHODS/UCFTTY 12. IF YOU RECEIVE THE ABOVE ERRORS, CREATE A FILE CALLED "DEL_DEV" CONSISTING OF THE FOLLOWING LINES: ODMDELETE -Q "NAME=${1}" -O CUAT ODMDELETE -Q "NAME=${1}" -O CUDV ODMDELETE -Q "VALUE3=${1}" -O CUDVDR SAVE THE FILE AND EXIT THE EDITOR. 13. THEN RUN THE FOLLOWING COMMAND TO CHANGE THE FILE TYPE TO EXECUTABLE. CHMOD +X DEL_DEV 14. THEN ENTER DEL_DEV XXX WHERE "XXX" IS THE DEFINITION YOU WANT TO REMOVE ("LP1", FOR EXAMPLE). 15. AFTER YOU HAVE REMOVED ALL THE NECESSARY DEVICES, BE SURE TO ENTER THE FOLLOWING COMMAND: SAVEBASE Recovery from an LED 727 in AIX 3.2 4 01/24/95 16. NOW, SWITCH THE KEY TO NORMAL, REMOVE THE DISKETTE OR TAPE FROM WHICH YOU BOOTED, AND RUN THE FOLLOWING TO REBOOT IN NORMAL MODE. SHUTDOWN -FR NOTE: IF ALL ELSE FAILS, AND YOU NEED TO GET YOUR SYSTEM RUNNING, YOU CAN TURN THE SYSTEM OFF AND REMOVE THE 64-PORT ADAPTER CARD. THEN REBOOT. FOR ASSISTANCE WITH REMOVING THE CARD, CONTACT YOUR BRANCH OFFICE OR CALL HARDWARE SUPPORT AT 1-800-IBM-SERV. Recovery from an LED 727 in AIX 3.2 5 01/24/95 READER'S COMMENTS PLEASE FAX THIS FORM TO (512) 823-4009, ATTENTION "AIXSERV INFORMA- TION". YOU MAY ALSO E-MAIL COMMENTS TO: ELIZABET@AUSTIN.IBM.COM. THESE COMMENTS SHOULD INCLUDE THE SAME CUSTOMER INFORMATION REQUESTED BELOW. USE THIS FORM TO TELL US WHAT YOU THINK ABOUT THIS DOCUMENT. IF YOU HAVE FOUND ERRORS IN IT, OR IF YOU WANT TO EXPRESS YOUR OPINION ABOUT IT (SUCH AS ORGANIZATION, SUBJECT MATTER, APPEARANCE) OR MAKE SUG- GESTIONS FOR IMPROVEMENT, THIS IS THE FORM TO USE. IF YOU NEED TECHNICAL ASSISTANCE, CONTACT YOUR LOCAL BRANCH OFFICE, POINT OF SALE, OR 1-800-CALL-AIX (FOR INFORMATION ABOUT SUPPORT OFFER- INGS). THESE SERVICES MAY BE BILLABLE. FAXES ON A VARIETY OF SUB- JECTS MAY BE ORDERED FREE OF CHARGE FROM 1-800-IBM-4FAX. OUTSIDE THE U.S. CALL 415-855-4329 USING A FAX MACHINE PHONE. WHEN YOU SEND COMMENTS TO IBM, YOU GRANT IBM A NONEXCLUSIVE RIGHT TO USE OR DISTRIBUTE YOUR COMMENTS IN ANY WAY IT BELIEVES APPROPRIATE WITHOUT INCURRING ANY OBLIGATION TO YOU. NOTE: IF YOU HAVE A PROBLEM REPORT OR ITEM NUMBER, SUPPLYING THAT NUMBER MAY HELP US DETERMINE WHY A PROCEDURE DID OR DID NOT WORK IN YOUR SPECIFIC SITUATION. PROBLEM REPORT OR ITEM #: BRANCH OFFICE OR CUSTOMER #: BE SURE TO PRINT YOUR NAME AND FAX NUMBER BELOW IF YOU WOULD LIKE A REPLY: NAME: FAX NUMBER: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ END OF DOCUMENT (LED727.32.KRN, 4FAX# 1989) Recovery from an LED 727 in AIX 3.2 6