11/14/94 Recovery from Console Error 89B52AA5 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. | | | +----------------------------------------------------------+ EXPLANATION OF CONSOLE ERROR 89B52AA5 This document explains the usual reason for an error log entry similar to the following: ERROR LABEL: CONSOLE ERROR ID: 89B52AA5 Date/Time: Fri Aug 20 14:45:53 Sequence Number: 20660 Machine Id: 000044144100 Node Id: mst3000 Class: S Type: PERM Resource Name: console Error Description SOFTWARE PROGRAM ERROR Probable Causes SOFTWARE PROGRAM Failure Causes SOFTWARE PROGRAM Recommended Actions REVIEW DETAILED DATA Detail Data DETECTING MODULE conwrite FAILING MODULE UIO_WRITE RETURN CODE 538976309 8224 Recovery from Console Error 89B52AA5 in AIX 3.2 1 11/14/94 ERROR CODE 538976304 2105344 This error is typically caused by an application that is started automatically during bootup in one of the /etc/rc* or /etc/inittab files. Many applications open the console device to report errors or status. When the application writes to the console after bootup has completed, the write() call will return EIO due to POSIX Std 1003.1 section 6.4.2.4: The implementation supports job control, the process is in a background process group and is attempting to write to its controlling terminal, TOSTOP is set, the process is neither ignoring nor blocking SIGTTOU signals, and the process group of the process is orphaned." When the console device driver senses that the write() call has failed, it logs an error to indicate that some program has attempted to notify you and has failed. It is not important to understand the reason that you are getting this entry in the error log; instead, it is important to find exactly which program is causing this error. The best way to do this is to put the following line into your /etc/inittab file immediately after the line that begins with "powerfail": swcons:2:wait:/etc/swcons /tmp/cons.out > /dev/console 2>&1 Then enter the following command (as root): swcons /tmp/cons.out Periodically check the file /tmp/cons.out for error messages that should be recognizable as coming from an application that is started during bootup. You may have to reboot your system to see these messages. Please be aware that messages that you used to see on your console (including bootup mes- sages) will no longer appear there; they will now appear in /tmp/cons.out. You should monitor the size of this file, so that it does not fill the /tmp file system. To make the file empty, enter "> /tmp/cons.out". Once you have determined exactly which program is causing these errors you can do one of the following: o Contact your application vendor and explain the situ- ation to them. They can change their source code to eliminate this problem. o Leave the "swcons" command in your /etc/inittab file. o Start the offending program from the command line. Recovery from Console Error 89B52AA5 in AIX 3.2 2 11/14/94 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: ______________________________________________________________________ END OF DOCUMENT (console.error.krn, 4FAX# 1007) Recovery from Console Error 89B52AA5 in AIX 3.2 3