APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS














(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



Boot Up Messages

1998



When your SCO machine boots, there are numerous messages output to the screen. Most of these messages come from drivers announcing their hardware configuration (address, interrupt, etc.). You also get information about memory found, and how much of it has been allocated for I/O buffers. These messages are not just displayed to the screen, however: they are also stored in a file.

The messages will be found in /usr/adm/messages. Unless something or somebody has been cleaning this out now and then, you will find that this file has messages starting back when the machine was booted for the very first time. If you've been running for a few years, and re-booting daily, the file could be of an impressive size by now, and you might want to truncate it ("> /usr/adm/messages" will do it) or edit it down to a more reasonable size ("tail -200 /usr/adm/messages > /tmp/ saveme; cp /tmp/saveme /usr/adm/messages" might be useful).

There are a couple of things you may want to consider before doing that, however. The startup messages are useful in that they show what drivers were present over time and what the supposed hardware configurations were. You can sometimes get an idea of what troubles the installer had by looking at the earliest messages in the file, and if you are changing hardware now, this file can tell you how your working hardware was addressed.

But beyond that, /usr/adm/messages also contains messages from your system, and some of them could be important. As a start toward determining that, I like to do :

egrep "CONFIG|NOTICE|WARN" /usr/adm/messages | sort -u

to see what has been. You may get some messages that indicate conditions that have long since been corrected (you'll need to go into the file to see WHEN these occurred), or that are unimportant (tape left out, no floppy in drive), but you may also find things that you were previously unaware of and should know about. In those cases, you might want to copy off the file for more extensive examination.

Booting also includes messages from the rc scripts. Every script that runs in rc2.d generates output to a log of the same name in /etc/rc2.d/messages. The same is true for rc0.d, which writes to /etc/rc0.d/messages on shutdown.

The "prc_sync" command also logs to this directory; examining that can identify and scripts that did not complete (and generated the "/etc/rc2: xxx Alarm Call" messages). By the way, a common reason for that is setting a default route that is not yet up and running.

And, of course, there is /var/adm/syslog, which gets the output from many of the daemons that get started by rc2.d scripts, and finally there are small logs in var.adm for rc0, rc1, rc2 and pmd (the power management daemon).

If you are just after the driver initialization messages, "hwconfig" will show those.


© 1998 Anthony Lawrence. All rights reserved.








Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!



 I sell and support
 Kerio Mail server




pavatar.jpg
More:
       - Kernel/Internals
       - Basics
       - OSR5


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress