[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

panic Kernel Service

Purpose

Crashes the system.

Syntax

#include <sys/types.h>
#include <sys/errno.h>


panic ( s)
char *s;

Parameter

s Points to a character string to be written to the error log.

Description

The panic kernel service is called when a catastrophic error occurs and the system can no longer continue to operate. The panic service performs these two actions:

The system halts after the dump. You should wait for the dump to complete, reboot the system, and then save and analyze the dump.

Execution Environment

The panic kernel service can be called from either the process or interrupt environment.

Return Values

The panic kernel service has no return values.

Related Information

RAS Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]