what file tells me what happens during boot up unixware7


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers what file tells me what happens during boot up unixware7
# 1  
Old 02-20-2006
what file tells me what happens during boot up unixware7

I am trying to figure out why my server is crashing on startup. Smilie
# 2  
Old 02-23-2006
SCO Tech Notes - Saving crash image on Unixware

Quote:
Problem

My UnixWare 7 system panics. What are the steps for saving the dumpfile?

Note

The information below is often necessary for SCO Technical Support to be able to assist you with a system panic.

In addition, make sure to have a list of all of the hardware in the computer (make and model) as well as the versions of any third party drivers being used, a list of third party software in the system and any messages relating to errors on the console or in the /usr/adm/syslog file.

Solution

When the system panics, you should see a message similar to the following:

Panic: "some information"
"some address information"

Saving system memory image for crash analysis.
# = scanning memory, . = dump to disk
(press any key to abort dump)
#...........
System memory dump complete.
System has halted and may be powered off (Press any key to
reboot)


Restart the system and enter Maintenance mode.

To enter Maintenance mode:

At the white screen displaying the UnixWare 7 logo press the "space" key. You should now see the following:

Bootstrap Command Processor
Ready for boot commands...[? for help]

[boot]


At the [boot] prompt, type:

INITSTATE=s <Enter>

You will get another [boot] prompt. At this point, type:

go <Enter>.


The UnixWare 7 logo screen will display again and the system will come up to the following prompt:

UX:dumpcheck: INFO: There is a system dump memory image in a
swap device.
Do you want to save it? (y/n)>

Enter: y <Enter>

The next prompt will be:

Do you want to save it on:
1 - low density 5.25" (360k) diskettes
2 - high density 5.25" (1.2M) diskettes
3 - low density 3.5" (720k) diskettes
4 - high density 3.5" (1.44M) diskettes
t - Cartridge tape
f - file [/dumpfile]
n - no, QUIT
>

At the ">" prompt enter the appropriate choice (which will probably be "t" for tape or "f" for saving to the hard drive).

You will be prompted (y/n) to compress the dumpfile. If you answer yes you will need to uncompress the file, using the standard compress/uncompress utility, before you will be able to run crash against the dumpfile. If you choose not to compress the dumpfile at this time you will be able to compress it using the compress utility after running crash.

Once the dump has been saved the following prompt will come up:

Type Ctrl-d to proceed with normal startup,
(or give root password for Single User Mode):


At this prompt you can either enter single-user mode or do a normal startup; either way the dump image is preserved.

If you choose to save the dumpfile to the hard drive, it will be in the root directory under the filename "dumpfile".

You should create a directory for saving the dumpfile and then move the dumpfile to that directory and rename it for future reference. (It is suggested that you rename dumpfile with the date of the dump, for example, "dumpfile.010198".)

In addition to saving the dump you will also have to make a copy of the kernel and copy the contents of the "mod.d" directory.

To copy the UNIX kernel:

# cp /stand/unix /<directory_dump_is_in>

Now you can rename "unix" with a name that will coincide with the dumpfile name.

To copy the /etc/conf/mod.d directory, first create a subdirectory named something similar to:

mod.d.<date>

under the directory that the dumps are being saved to, then copy the mod.d directory to that subdirectory:

# cp /etc/conf/mod.d/* /<directory_dump_is_in>/mod.d.<date>

Once the dumpfile, kernel and mod.d directory have been saved, you are ready to run the crash utility against the dumpfile.

To run the crash utility use the following syntax:

# crash -d <dumpfile_name> -n <kernel_name> -m <mod.d
directory>
-w <output_text_name> <Enter>

You should now see a secondary prompt, ">".

At the ">" prompt, type in the following commands:

> panic
> trace
> stack
> user
> proc
> quit


You should now have a text file that can be viewed and will show information that may help lead to what caused the panic.

Next, find the "eip" value in the "PANIC REGISTERS" section. For example:

eip:c015633c


Now you can use "eip" address to try to find the failing function (although this may not always be successful):

# crash -d <dumpfile_name> -n <kernel_name> -m <mod.d directory> -w


At the secondary prompt ">" enter the following:

> ts <eip_address>
> quit


For example:

> ts c015633c


Make a note of the information returned, which would look similar to this:

0xc015633c T xcmn_panic+4c


Note

On UnixWare 7.1.0 and later versions, the crash(1M) program has an additional -a <analysis_file> flag which automatically performs crash dump analysis and writes the result into analysis_file.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. SCO

What is the equivalent command of sysadmsh in UNIXware7.1.3?

Sir I have read the book SCO Unix System Administrators Guide and I have found the command sysadmsh useful for system administration. I have tried the above command in unixware7.1.3 and I got the message command not found. Currently I am running unixware7.1.3 in VmWare WorkStsation10.0. ... (1 Reply)
Discussion started by: rupeshforu3
1 Replies

2. SCO

How to add extra memory to root file system in UNIXware7.1.3?

Sir I have installed unixware7.1.3 on vmware workstation previously and I have allotted 8GB to the whole system. I want to add extra space to the existing system by using another virtual harddisk added by using VMware. Kindly suggest the procedure. Regards, Rupesh. (3 Replies)
Discussion started by: rupeshforu3
3 Replies

3. SCO

Requesting procedure to install UNIXware7.1.4 on vmware workstation9.0.2

sir I want to practice sco Unix so I want to install unixware7.1.4 on VMware workstation9.0.2 so kindly suggest the procedure . I have downloaded all the iso images and floppy images and they are working fine. I have basic knowledge about Unix system so if you suggest something I can easily... (0 Replies)
Discussion started by: rupeshforu3
0 Replies

4. SCO

Failure while installing SCO UNIXWare7.1.4 on vmware workstation9, virtualbox

Sir I am trying to install UnixWare7.1.4 on vmware workstation9, virtualbox and I am getting the following error FATAL BOOT ERROR: decompression failed For installing SCO Unixware7.1.4 I have created virtual harddisk of size 18GB, 1024 RAM, 64bit video memory, chosen unixware7.1.4... (1 Reply)
Discussion started by: rupeshforu3
1 Replies

5. UNIX for Advanced & Expert Users

Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix)

Hey ! I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range. According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Discussion started by: fredo
2 Replies

6. IP Networking

setting ip address on UnixWare7

Help!! I've inherited a UnixWare 7 box to be connected to my network but can't find how to set the ip address. I've used "smit" on AIX and "netsetup" on Tru64, but can't find a similar tool on UW7. I know there has to be an easy way to get it done on UW7. Thanks in advance! (1 Reply)
Discussion started by: jalburger
1 Replies
Login or Register to Ask a Question