PANIC(9) Driver Basics PANIC(9)NAME
panic - halt the system
SYNOPSIS
NORET_TYPE void panic(const char * fmt, ...);
ARGUMENTS
fmt
The text string to print
...
variable arguments
DESCRIPTION
Display a message, then perform cleanups.
This function never returns.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 PANIC(9)
Check Out this Related Man Page
addsev(3C) Standard C Library Functions addsev(3C)NAME
addsev - define additional severities
SYNOPSIS
#include <pfmt.h>
int addsev(int int_val, const char *string);
DESCRIPTION
The addsev() function defines additional severities for use in subsequent calls to pfmt(3C) or lfmt(3C). It associates an integer value
int_val in the range [5-255] with a character string, overwriting any previous string association between int_val and string.
If int_val is OR-ed with the flags argument passed to subsequent calls to pfmt() or lfmt(), string will be used as severity. Passing a null
string removes the severity.
RETURN VALUES
Upon successful completion, addsev() returns 0. Otherwise it returns-1.
USAGE
Only the standard severities are automatically displayed for the locale in effect at runtime. An application must provide the means for
displaying locale-specific versions of add-on severities. Add-on severities are only effective within the applications defining them.
EXAMPLES
Example 1 Example of addsev() function.
The following example
#define Panic 5
setlabel("APPL");
setcat("my_appl");
addsev(Panic, gettxt(":26", "PANIC"));
/* ... */
lfmt(stderr, MM_SOFT|MM_APPL|PANIC, ":12:Cannot locate database
");
will display the message to stderr and forward to the logging service
APPL: PANIC: Cannot locate database
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-safe |
+-----------------------------+-----------------------------+
SEE ALSO gettxt(3C), lfmt(3C), pfmt(3C), attributes(5)SunOS 5.11 29 Dec 1996 addsev(3C)
I have a SparcStation 10 and it came with an external CD Rom Drive. I am trying to install Solaris 2.6 Server on this machine from the Cd Rom. At the OK> prompt I type "boot cdrom - browser" and I get an error:
scsi device not found:error = -1
or something to that effect. Does anyone have any... (9 Replies)
Hi linux pals,
I am installing red hat linux 7.2 on my laptop which already has a windows XP installation on it. After successful installation when i boot to the linux system the system hangs showing the following error:
Kernel panic: No init found. Try passing init= option to kernel
I... (5 Replies)
Hello experts..
What is system panic? If a system is in that state.. what will happen?
Why is it goes to panic condition?
Just give me information about Panic condition.. How can i resolve this issue..?
If you know any links(URL) or Books...? replay me back....
Thanks in... (5 Replies)
Hi folks,
the following incident occured today:
by mistake one of our renowned administrators deleted the complete zoning for a 25K domain running solaris 10.
Thus the system lost all of it's external disks.
We've got oracle datafiles and oracle software residing on those lost... (6 Replies)
:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message:
PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14
KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD)
EAX=EF822000... (10 Replies)
Could you please help with problem with megaraid controller and Dell PowerEdge 2850, all that I can see on thi screenshot:
All drives successfuly passed verifing from LSI controllers (Ctrl+A at startup), also I tried to boot from rescue llive cd and mount all the morrored drives and check... (22 Replies)
I am trying to restore Unixware 7.1 from a backup using RestoreEdge which is from Microline version 2. The restore is on another machine using the same RAID controller and TBU. We are retiring the other machine.
Anyway, we get to disk #2 and it panics. Here is the Pic.
Can anyone tell me... (13 Replies)
I have another script which I found also on the net.
I keep getting an error:confused::
Here is the script for it:
{/usr/bin/bdf -l |awk '$0 !~ /^F/' |awk '{print $5"\t" $6}'| sed 's/'%'//' >/tmp/b
dflist}
panic ()
{while read percent dir; do
if ]
then ... (16 Replies)
A server that I am working on (SUN FIRE V240 , SOLARIS 10) doesn't boot because of a corrupted files system.
I tried to repair de file system, I also tried to to restore all the files systems with a backup of the server that I have but the message bellow appear
panic/thread=30002fc2060:... (8 Replies)
I installed a new kernel 3.0.22 on ubuntu server 11.04 32 bit.
when I select the kenel from boot loader it stops when
Code:
loading initial ramdisk...
I added all_generic_ide at the end of linux line and also added dev/sda1 to linux line: root=UUID=dev/sda1
now it says that
... (12 Replies)
Ok my first post and its a good/bad one I'm sure I came into work and the server was locked up on the tape back up screen. My only option at that point was to restart the machine without shutting it down. I'm running an old server with unix and SCO openserver 5 I managed to find a 3.5 boot floppy... (8 Replies)
Hello all,
I would like to install Debian Jessie on my i386
When I boot from the installiso I see the menu and pick 'install'. The bios beeps once immediately and I get the following output:
I 've tried 3 cd's already...(md5 sum=ok) this computer always ran... (13 Replies)
Dear all
i have two aix system
-Model : P770
-OS version: AIX 6.1
-patch level : 6100-07-04-1216
-ha version : HACMP v 6.1.0.8
-host : A, B
last Wednesday, my B system suddenly went down with crash dump. after 1 minute, A system went down with crash dump. I checked the dump of A-system... (6 Replies)